Home
last modified time | relevance | path

Searched refs:endptr (Results 1 – 8 of 8) sorted by relevance

/trusted-firmware-a/include/lib/libc/
A Dstdlib.h28 long strtol(const char *nptr, char **endptr, int base);
29 unsigned long strtoul(const char *nptr, char **endptr, int base);
30 long long strtoll(const char *nptr, char **endptr, int base);
31 unsigned long long strtoull(const char *nptr, char **endptr, int base);
/trusted-firmware-a/lib/libc/
A Dstrtoul.c48 unsigned long strtoul(const char *nptr, char **endptr, int base) in strtoul() argument
109 if (endptr != NULL) in strtoul()
110 *endptr = (char *)(any ? s - 1 : nptr); in strtoul()
A Dstrtoull.c48 unsigned long long strtoull(const char *nptr, char **endptr, int base) in strtoull() argument
109 if (endptr != NULL) in strtoull()
110 *endptr = (char *)(any ? s - 1 : nptr); in strtoull()
A Dstrtol.c48 long strtol(const char *nptr, char **endptr, int base) in strtol() argument
130 if (endptr != NULL) in strtol()
131 *endptr = (char *)(any ? s - 1 : nptr); in strtol()
A Dstrtoll.c48 long long strtoll(const char *nptr, char **endptr, int base) in strtoll() argument
131 if (endptr != NULL) in strtoll()
132 *endptr = (char *)(any ? s - 1 : nptr); in strtoll()
/trusted-firmware-a/tools/encrypt_fw/src/
A Dmain.c90 char *endptr; in parse_fw_enc_status_flag() local
92 flag = strtoul(arg, &endptr, 16); in parse_fw_enc_status_flag()
93 if (*endptr != '\0' || flag > FW_ENC_WITH_BSSK) { in parse_fw_enc_status_flag()
/trusted-firmware-a/lib/libfdt/
A Dfdt_overlay.c449 char *sep, *endptr; in overlay_fixup_phandle() local
479 poffset = strtoul(sep + 1, &endptr, 10); in overlay_fixup_phandle()
480 if ((*endptr != '\0') || (endptr <= (sep + 1))) in overlay_fixup_phandle()
/trusted-firmware-a/tools/fiptool/
A Dfiptool.c633 char *endptr; in parse_plat_toc_flags() local
636 flags = strtoull(arg, &endptr, 16); in parse_plat_toc_flags()
637 if (*endptr != '\0' || flags > UINT16_MAX || errno != 0) in parse_plat_toc_flags()
650 char *endptr; in get_image_align() local
654 align = strtoul(arg, &endptr, 0); in get_image_align()
655 if (*endptr != '\0' || !is_power_of_2(align) || errno != 0) in get_image_align()

Completed in 11 milliseconds