| /trueos/usr.sbin/bsnmpd/tools/libbsnmptools/ |
| HD | bsnmptc.c | 340 char *endptr, *ptr; in snmp_date2asn_oid() local 351 v = strtoul(ptr, &endptr, 10); in snmp_date2asn_oid() 356 if (*endptr != '-') in snmp_date2asn_oid() 364 ptr = endptr + 1; in snmp_date2asn_oid() 366 v = strtoul(ptr, &endptr, 10); in snmp_date2asn_oid() 371 if (*endptr != '-') in snmp_date2asn_oid() 377 ptr = endptr + 1; in snmp_date2asn_oid() 379 v = strtoul(ptr, &endptr, 10); in snmp_date2asn_oid() 384 if (*endptr != '-') in snmp_date2asn_oid() 390 ptr = endptr + 1; in snmp_date2asn_oid() [all …]
|
| /trueos/contrib/amd/libamu/ |
| HD | mtab.c | 175 char *eq, *endptr; in hasmntvalerr() local 191 endptr = NULL; in hasmntvalerr() 192 i = strtol(eq, &endptr, 0); /* hex and octal allowed ;-) */ in hasmntvalerr() 193 if (!endptr || in hasmntvalerr() 194 (endptr != eq && (*endptr == ',' || *endptr == '\0'))) { in hasmntvalerr() 234 char *endptr = strchr(eq, ','); in hasmntstr() local 237 if (!endptr) in hasmntstr() 241 int len = endptr - eq; in hasmntstr()
|
| /trueos/lib/libc/locale/ |
| HD | wcstod.c | 50 wcstod_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstod_l() argument 79 if (endptr != NULL) in wcstod_l() 80 *endptr = (wchar_t *)nptr; in wcstod_l() 97 if (endptr != NULL) { in wcstod_l() 99 *endptr = (wchar_t *)nptr + (end - buf); in wcstod_l() 101 *endptr += spaces; in wcstod_l() 110 wcstod(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) in wcstod() argument 112 return wcstod_l(nptr, endptr, __get_locale()); in wcstod()
|
| HD | wcstold.c | 44 wcstold_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstold_l() argument 64 if (endptr != NULL) in wcstold_l() 65 *endptr = (wchar_t *)nptr; in wcstold_l() 75 if (endptr != NULL) { in wcstold_l() 77 *endptr = (wchar_t *)nptr + (end - buf); in wcstold_l() 79 *endptr += spaces; in wcstold_l() 87 wcstold(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) in wcstold() argument 89 return wcstold_l(nptr, endptr, __get_locale()); in wcstold()
|
| HD | wcstof.c | 44 wcstof_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstof_l() argument 61 if (endptr != NULL) in wcstof_l() 62 *endptr = (wchar_t *)nptr; in wcstof_l() 72 if (endptr != NULL) in wcstof_l() 73 *endptr = (wchar_t *)nptr + (end - buf); in wcstof_l() 80 wcstof(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) in wcstof() argument 82 return wcstof_l(nptr, endptr, __get_locale()); in wcstof()
|
| HD | wcstoul.c | 49 wcstoul_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoul_l() argument 120 if (endptr != NULL) in wcstoul_l() 121 *endptr = (wchar_t *)(any ? s - 1 : nptr); in wcstoul_l() 125 wcstoul(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base) in wcstoul() argument 127 return wcstoul_l(nptr, endptr, base, __get_locale()); in wcstoul()
|
| HD | wcstol.c | 49 wcstol_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int in wcstol_l() argument 122 if (endptr != NULL) in wcstol_l() 123 *endptr = (wchar_t *)(any ? s - 1 : nptr); in wcstol_l() 127 wcstol(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base) in wcstol() argument 129 return wcstol_l(nptr, endptr, base, __get_locale()); in wcstol()
|
| HD | wcstoumax.c | 55 wcstoumax_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoumax_l() argument 126 if (endptr != NULL) in wcstoumax_l() 127 *endptr = (wchar_t *)(any ? s - 1 : nptr); in wcstoumax_l() 131 wcstoumax(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoumax() argument 134 return wcstoumax_l(nptr, endptr, base, __get_locale()); in wcstoumax()
|
| HD | wcstoull.c | 55 wcstoull_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoull_l() argument 126 if (endptr != NULL) in wcstoull_l() 127 *endptr = (wchar_t *)(any ? s - 1 : nptr); in wcstoull_l() 131 wcstoull(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoull() argument 134 return wcstoull_l(nptr, endptr, base, __get_locale()); in wcstoull()
|
| HD | wcstoll.c | 55 wcstoll_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoll_l() argument 128 if (endptr != NULL) in wcstoll_l() 129 *endptr = (wchar_t *)(any ? s - 1 : nptr); in wcstoll_l() 133 wcstoll(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base) in wcstoll() argument 135 return wcstoll_l(nptr, endptr, base, __get_locale()); in wcstoll()
|
| /trueos/usr.sbin/cpucontrol/ |
| HD | cpucontrol.c | 140 char *endptr; in do_cpuid() local 145 level = strtoul(cmdarg, &endptr, 16); in do_cpuid() 146 if (*cmdarg == '\0' || *endptr != '\0') { in do_cpuid() 176 char *cmdarg1, *endptr, *endptr1; in do_cpuid_count() local 184 level = strtoul(cmdarg, &endptr, 16); in do_cpuid_count() 185 if (*cmdarg == '\0' || *endptr == '\0') { in do_cpuid_count() 191 cmdarg1 = strstr(endptr, ","); in do_cpuid_count() 235 char *endptr; in do_msr() local 250 msr = strtoul(cmdarg, &endptr, 16); in do_msr() 251 switch (*endptr) { in do_msr() [all …]
|
| /trueos/sbin/sysctl/ |
| HD | sysctl.c | 203 char *cp, *bufp, buf[BUFSIZ], *endptr, fmt[BUFSIZ], line[BUFSIZ]; in parse() local 306 intval = (int)strtol(newval, &endptr, in parse() 308 if (endptr == newval || *endptr != '\0') { in parse() 318 uintval = (int) strtoul(newval, &endptr, 0); in parse() 319 if (endptr == newval || *endptr != '\0') { in parse() 328 longval = strtol(newval, &endptr, 0); in parse() 329 if (endptr == newval || *endptr != '\0') { in parse() 338 ulongval = strtoul(newval, &endptr, 0); in parse() 339 if (endptr == newval || *endptr != '\0') { in parse() 350 i64val = strtoimax(newval, &endptr, 0); in parse() [all …]
|
| /trueos/lib/libc/stdlib/ |
| HD | strtol.c | 55 strtol_l(const char * __restrict nptr, char ** __restrict endptr, int base, in strtol_l() argument 145 if (endptr != NULL) in strtol_l() 146 *endptr = (char *)(any ? s - 1 : nptr); in strtol_l() 150 strtol(const char * __restrict nptr, char ** __restrict endptr, int base) in strtol() argument 152 return strtol_l(nptr, endptr, base, __get_locale()); in strtol() 155 strtold(const char * __restrict nptr, char ** __restrict endptr) in strtold() argument 157 return strtold_l(nptr, endptr, __get_locale()); in strtold()
|
| HD | strtoull.c | 54 strtoull_l(const char * __restrict nptr, char ** __restrict endptr, int base, in strtoull_l() argument 123 if (endptr != NULL) in strtoull_l() 124 *endptr = (char *)(any ? s - 1 : nptr); in strtoull_l() 128 strtoull(const char * __restrict nptr, char ** __restrict endptr, int base) in strtoull() argument 130 return strtoull_l(nptr, endptr, base, __get_locale()); in strtoull()
|
| HD | strtoumax.c | 54 strtoumax_l(const char * __restrict nptr, char ** __restrict endptr, int base, in strtoumax_l() argument 123 if (endptr != NULL) in strtoumax_l() 124 *endptr = (char *)(any ? s - 1 : nptr); in strtoumax_l() 128 strtoumax(const char * __restrict nptr, char ** __restrict endptr, int base) in strtoumax() argument 130 return strtoumax_l(nptr, endptr, base, __get_locale()); in strtoumax()
|
| HD | strtoul.c | 54 strtoul_l(const char * __restrict nptr, char ** __restrict endptr, int base, locale_t locale) in strtoul_l() argument 122 if (endptr != NULL) in strtoul_l() 123 *endptr = (char *)(any ? s - 1 : nptr); in strtoul_l() 127 strtoul(const char * __restrict nptr, char ** __restrict endptr, int base) in strtoul() argument 129 return strtoul_l(nptr, endptr, base, __get_locale()); in strtoul()
|
| HD | strtoimax.c | 54 strtoimax_l(const char * __restrict nptr, char ** __restrict endptr, int base, in strtoimax_l() argument 145 if (endptr != NULL) in strtoimax_l() 146 *endptr = (char *)(any ? s - 1 : nptr); in strtoimax_l() 150 strtoimax(const char * __restrict nptr, char ** __restrict endptr, int base) in strtoimax() argument 152 return strtoimax_l(nptr, endptr, base, __get_locale()); in strtoimax()
|
| HD | strtoll.c | 54 strtoll_l(const char * __restrict nptr, char ** __restrict endptr, int base, in strtoll_l() argument 145 if (endptr != NULL) in strtoll_l() 146 *endptr = (char *)(any ? s - 1 : nptr); in strtoll_l() 150 strtoll(const char * __restrict nptr, char ** __restrict endptr, int base) in strtoll() argument 152 return strtoll_l(nptr, endptr, base, __get_locale()); in strtoll()
|
| /trueos/contrib/sendmail/libsm/ |
| HD | strto.c | 44 sm_strtoll(nptr, endptr, base) 46 char **endptr; variable 161 if (endptr != 0) 162 *endptr = (char *) (any ? s - 1 : nptr); 185 sm_strtoull(nptr, endptr, base) in sm_strtoull() argument 187 char **endptr; 251 if (endptr != 0) 252 *endptr = (char *) (any ? s - 1 : nptr);
|
| /trueos/sys/libkern/ |
| HD | inet_aton.c | 43 char *endptr; in inet_aton() local 57 l = strtoul(c, &endptr, 0); in inet_aton() 59 if (l == ULONG_MAX || (l == 0 && endptr == c)) in inet_aton() 70 if (endptr == c) in inet_aton() 73 c = endptr; in inet_aton()
|
| /trueos/contrib/gcclibs/libcpp/ |
| HD | makeucnid.c | 77 char *endptr; in read_ucnid() local 78 start = strtoul (l, &endptr, 16); in read_ucnid() 79 if (endptr == l || (*endptr != '-' && ! isspace (*endptr))) in read_ucnid() 81 l = endptr; in read_ucnid() 86 end = strtoul (l + 1, &endptr, 16); in read_ucnid() 89 l = endptr; in read_ucnid()
|
| /trueos/usr.sbin/pkg_install/lib/ |
| HD | version.c | 171 char *endptr; in get_component() local 173 component->n = strtoll(pos, &endptr, 10); in get_component() 175 component->n = strtol(pos, &endptr, 10); in get_component() 178 pos = endptr; in get_component() 229 char *endptr; in get_component() local 231 component->pl = strtoll(pos, &endptr, 10); in get_component() 233 component->pl = strtol(pos, &endptr, 10); in get_component() 236 pos = endptr; in get_component()
|
| /trueos/lib/libc/iconv/ |
| HD | _strtol.h | 47 _FUNCNAME(const char *nptr, char **endptr, int base) in _FUNCNAME() argument 58 if (endptr != NULL) in _FUNCNAME() 60 *endptr = __DECONST(void *, nptr); in _FUNCNAME() 163 if (endptr != NULL) in _FUNCNAME() 165 *endptr = __DECONST(void *, any ? s - 1 : nptr); in _FUNCNAME()
|
| /trueos/contrib/ipfilter/ |
| HD | genmask.c | 17 char *endptr = 0L; local 44 bits = (int)strtol(msk, &endptr, 0); 49 if ((*endptr != '\0') || (bits < 0) || (bits > 128)) 54 if (*endptr != '\0' || bits > 32 || bits < 0)
|
| /trueos/usr.bin/setchannel/ |
| HD | setchannel.c | 84 char *endptr; in main() local 178 freq = strtol(argv[optind], &endptr, 10) * 1000; in main() 179 if (ptr != endptr) { in main() 186 fraction = strtol(ptr, &endptr, 10); in main() 187 if (!isdigit(*ptr) || *endptr != '\0') { in main() 192 for (i = endptr - ptr; i > 3; i--) in main()
|