Searched refs:endptr (Results 1 – 6 of 6) sorted by relevance
/busybox-1.35.0/libbb/ |
D | bb_strtonum.c | 57 char *endptr; in bb_strtoull() local 59 if (!endp) endp = &endptr; in bb_strtoull() 75 char *endptr; in bb_strtoll() local 78 if (!endp) endp = &endptr; in bb_strtoll() 96 char *endptr; in bb_strtoul() local 98 if (!endp) endp = &endptr; in bb_strtoul() 110 char *endptr; in bb_strtol() local 113 if (!endp) endp = &endptr; in bb_strtol() 129 char *endptr; in bb_strtou() local 131 if (!endp) endp = &endptr; in bb_strtou() [all …]
|
D | bb_strtod.c | 18 char *endptr; 24 v = strtod(arg, &endptr); 26 *endp = endptr; 27 if (endptr[0]) { 29 if (isalnum(endptr[0]) || errno) {
|
D | procps.c | 112 static unsigned long long fast_strtoull_16(char **endptr) in fast_strtoull_16() argument 115 char *str = *endptr; in fast_strtoull_16() 126 *endptr = str; /* We skip trailing space! */ in fast_strtoull_16() 133 static unsigned long fast_strtoul_10(char **endptr) in fast_strtoul_10() argument 136 char *str = *endptr; in fast_strtoul_10() 143 *endptr = str + 1; /* We skip trailing space! */ in fast_strtoul_10() 148 static long fast_strtol_10(char **endptr) in fast_strtol_10() argument 150 if (**endptr != '-') in fast_strtol_10() 151 return fast_strtoul_10(endptr); in fast_strtol_10() 153 (*endptr)++; in fast_strtol_10() [all …]
|
/busybox-1.35.0/shell/ |
D | math.c | 512 static arith_t strto_arith_t(const char *nptr, char **endptr) in strto_arith_t() argument 518 n = strtoull(nptr, endptr, 0); in strto_arith_t() 520 n = strtoul(nptr, endptr, 0); in strto_arith_t() 522 if (**endptr != '#' in strto_arith_t() 534 nptr = *endptr + 1; in strto_arith_t() 569 *endptr = (char*)nptr; in strto_arith_t() 574 # define strto_arith_t(nptr, endptr) strtoull(nptr, endptr, 0) argument 576 # define strto_arith_t(nptr, endptr) strtoul(nptr, endptr, 0) argument
|
/busybox-1.35.0/networking/ |
D | brctl.c | 91 char *endptr; in str_to_jiffies() local 93 dd = /*bb_*/strtod(time_str, &endptr); in str_to_jiffies() 94 if (endptr == time_str || dd < 0) in str_to_jiffies()
|
/busybox-1.35.0/modutils/ |
D | modutils-24.c | 3497 const char *value, *ptr, *endptr; in obj_gpl_license() local 3499 endptr = ptr + sec->header.sh_size; in obj_gpl_license() 3500 while (ptr < endptr) { in obj_gpl_license() 3516 ptr = endptr; in obj_gpl_license()
|