| /netbsd-src/external/apache2/llvm/dist/libcxx/include/__support/xlocale/ |
| H A D | __strtonum_fallback.h | 22 inline _LIBCPP_INLINE_VISIBILITY float strtof_l(const char *nptr, in strtof_l() argument 24 return ::strtof(nptr, endptr); in strtof_l() 27 inline _LIBCPP_INLINE_VISIBILITY double strtod_l(const char *nptr, in strtod_l() argument 29 return ::strtod(nptr, endptr); in strtod_l() 32 inline _LIBCPP_INLINE_VISIBILITY long double strtold_l(const char *nptr, in strtold_l() argument 34 return ::strtold(nptr, endptr); in strtold_l() 38 strtoll_l(const char *nptr, char **endptr, int base, locale_t) { in strtoll_l() argument 39 return ::strtoll(nptr, endptr, base); in strtoll_l() 43 strtoull_l(const char *nptr, char **endptr, int base, locale_t) { in strtoull_l() argument 44 return ::strtoull(nptr, endptr, base); in strtoull_l() [all …]
|
| /netbsd-src/external/bsd/libbind/dist/irs/ |
| H A D | getnetent_r.c | 43 getnetbyname_r(const char *name, struct netent *nptr, NET_R_ARGS) { in getnetbyname_r() argument 48 if (ne == NULL || (n = copy_netent(ne, nptr, NET_R_COPY)) != 0) in getnetbyname_r() 59 return (copy_netent(ne, nptr, NET_R_COPY)); in getnetbyname_r() 67 getnetbyaddr_r(GETNETBYADDR_ADDR_T addr, int type, struct netent *nptr, NET_R_ARGS) { in getnetbyaddr_r() argument 72 if (ne == NULL || (n = copy_netent(ne, nptr, NET_R_COPY)) != 0) in getnetbyaddr_r() 84 return (copy_netent(ne, nptr, NET_R_COPY)); in getnetbyaddr_r() 95 getnetent_r(struct netent *nptr, NET_R_ARGS) { in getnetent_r() argument 100 if (ne == NULL || (n = copy_netent(ne, nptr, NET_R_COPY)) != 0) in getnetent_r() 112 return (copy_netent(ne, nptr, NET_R_COPY)); in getnetent_r() 150 copy_netent(struct netent *ne, struct netent *nptr, NET_R_COPY_ARGS) { in copy_netent() argument [all …]
|
| /netbsd-src/external/apache2/llvm/dist/libcxx/include/__support/musl/ |
| H A D | xlocale.h | 27 static inline long long strtoll_l(const char *nptr, char **endptr, int base, in strtoll_l() argument 29 return strtoll(nptr, endptr, base); in strtoll_l() 32 static inline unsigned long long strtoull_l(const char *nptr, char **endptr, in strtoull_l() argument 34 return strtoull(nptr, endptr, base); in strtoull_l() 37 static inline long long wcstoll_l(const wchar_t *nptr, wchar_t **endptr, in wcstoll_l() argument 39 return wcstoll(nptr, endptr, base); in wcstoll_l() 42 static inline unsigned long long wcstoull_l(const wchar_t *nptr, in wcstoull_l() argument 45 return wcstoull(nptr, endptr, base); in wcstoull_l() 48 static inline long double wcstold_l(const wchar_t *nptr, wchar_t **endptr, in wcstold_l() argument 50 return wcstold(nptr, endptr); in wcstold_l()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/bn/asm/ |
| H A D | x86_64-mont5.pl | 1090 my $nptr="%rcx"; # const BN_ULONG *nptr, 1195 movq $nptr,%xmm2 # save $nptr 1210 movq %xmm2,$nptr 1775 my ($nptr,$tptr,$carry,$m0)=("%rbp","%rdi","%rsi","%rbx"); 1778 movq %xmm2,$nptr 1781 lea ($nptr,$num),%rcx # end of n[] 1807 mov 8*0($nptr),%rax # n[0] 1814 mov 8*1($nptr),%rax # n[1] 1821 mov 8*2($nptr),%rax 1830 mov 8*3($nptr),%rax [all …]
|
| H A D | x86_64-mont.pl | 826 my $nptr="%rcx"; # const BN_ULONG *nptr, 918 movq $nptr, %xmm2 # save pointer to modulus 1110 my ($aptr, $bptr, $nptr, $tptr, $mi, $bi, $zero, $num)= 1137 mulx 0*8($nptr),%rax,%r10 1140 mulx 1*8($nptr),%rax,%r11 1143 .byte 0xc4,0x62,0xfb,0xf6,0xa1,0x10,0x00,0x00,0x00 # mulx 2*8($nptr),%rax,%r12 1148 mulx 3*8($nptr),%rax,%r15 1153 lea 4*8($nptr),$nptr 1176 mulx 0*8($nptr),%rax,%r15 1179 mulx 1*8($nptr),%rax,%r15 [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/bn/asm/ |
| H A D | x86_64-mont5.pl | 1088 my $nptr="%rcx"; # const BN_ULONG *nptr, 1193 movq $nptr,%xmm2 # save $nptr 1208 movq %xmm2,$nptr 1773 my ($nptr,$tptr,$carry,$m0)=("%rbp","%rdi","%rsi","%rbx"); 1776 movq %xmm2,$nptr 1779 lea ($nptr,$num),%rcx # end of n[] 1805 mov 8*0($nptr),%rax # n[0] 1812 mov 8*1($nptr),%rax # n[1] 1819 mov 8*2($nptr),%rax 1828 mov 8*3($nptr),%rax [all …]
|
| H A D | x86_64-mont.pl | 824 my $nptr="%rcx"; # const BN_ULONG *nptr, 916 movq $nptr, %xmm2 # save pointer to modulus 1108 my ($aptr, $bptr, $nptr, $tptr, $mi, $bi, $zero, $num)= 1135 mulx 0*8($nptr),%rax,%r10 1138 mulx 1*8($nptr),%rax,%r11 1141 .byte 0xc4,0x62,0xfb,0xf6,0xa1,0x10,0x00,0x00,0x00 # mulx 2*8($nptr),%rax,%r12 1146 mulx 3*8($nptr),%rax,%r15 1151 lea 4*8($nptr),$nptr 1174 mulx 0*8($nptr),%rax,%r15 1177 mulx 1*8($nptr),%rax,%r15 [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/asan/ |
| H A D | asan_interceptors.cpp | 475 INTERCEPTOR(long, strtol, const char *nptr, char **endptr, int base) { in INTERCEPTOR() argument 480 return REAL(strtol)(nptr, endptr, base); in INTERCEPTOR() 483 long result = REAL(strtol)(nptr, &real_endptr, base); in INTERCEPTOR() 484 StrtolFixAndCheck(ctx, nptr, endptr, real_endptr, base); in INTERCEPTOR() 488 INTERCEPTOR(int, atoi, const char *nptr) { in INTERCEPTOR() argument 492 if (UNLIKELY(!asan_inited)) return REAL(atoi)(nptr); in INTERCEPTOR() 496 return REAL(atoi)(nptr); in INTERCEPTOR() 503 int result = REAL(strtol)(nptr, &real_endptr, 10); in INTERCEPTOR() 504 FixRealStrtolEndptr(nptr, &real_endptr); in INTERCEPTOR() 505 ASAN_READ_STRING(ctx, nptr, (real_endptr - nptr) + 1); in INTERCEPTOR() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/asan/ |
| H A D | asan_interceptors.cc | 486 INTERCEPTOR(long, strtol, const char *nptr, // NOLINT in INTERCEPTOR() argument 492 return REAL(strtol)(nptr, endptr, base); in INTERCEPTOR() 495 long result = REAL(strtol)(nptr, &real_endptr, base); // NOLINT in INTERCEPTOR() 496 StrtolFixAndCheck(ctx, nptr, endptr, real_endptr, base); in INTERCEPTOR() 500 INTERCEPTOR(int, atoi, const char *nptr) { in INTERCEPTOR() argument 504 if (UNLIKELY(!asan_inited)) return REAL(atoi)(nptr); in INTERCEPTOR() 508 return REAL(atoi)(nptr); in INTERCEPTOR() 515 int result = REAL(strtol)(nptr, &real_endptr, 10); in INTERCEPTOR() 516 FixRealStrtolEndptr(nptr, &real_endptr); in INTERCEPTOR() 517 ASAN_READ_STRING(ctx, nptr, (real_endptr - nptr) + 1); in INTERCEPTOR() [all …]
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
| H A D | asan_interceptors.cc | 483 INTERCEPTOR(long, strtol, const char *nptr, // NOLINT in INTERCEPTOR() argument 489 return REAL(strtol)(nptr, endptr, base); in INTERCEPTOR() 492 long result = REAL(strtol)(nptr, &real_endptr, base); // NOLINT in INTERCEPTOR() 493 StrtolFixAndCheck(ctx, nptr, endptr, real_endptr, base); in INTERCEPTOR() 497 INTERCEPTOR(int, atoi, const char *nptr) { in INTERCEPTOR() argument 501 if (UNLIKELY(!asan_inited)) return REAL(atoi)(nptr); in INTERCEPTOR() 505 return REAL(atoi)(nptr); in INTERCEPTOR() 512 int result = REAL(strtol)(nptr, &real_endptr, 10); in INTERCEPTOR() 513 FixRealStrtolEndptr(nptr, &real_endptr); in INTERCEPTOR() 514 ASAN_READ_STRING(ctx, nptr, (real_endptr - nptr) + 1); in INTERCEPTOR() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/stdc/ |
| H A D | stdlib.d | 105 double atof(scope const char* nptr); 107 int atoi(scope const char* nptr); 109 c_long atol(scope const char* nptr); 111 long atoll(scope const char* nptr); 114 double strtod(scope inout(char)* nptr, scope inout(char)** endptr); 116 float strtof(scope inout(char)* nptr, scope inout(char)** endptr); 118 c_long strtol(scope inout(char)* nptr, scope inout(char)** endptr, int base); 120 long strtoll(scope inout(char)* nptr, scope inout(char)** endptr, int base); 122 c_ulong strtoul(scope inout(char)* nptr, scope inout(char)** endptr, int base); 124 ulong strtoull(scope inout(char)* nptr, scope inout(char)** endptr, int base); [all …]
|
| /netbsd-src/common/lib/libc/stdlib/ |
| H A D | _strtoul.h | 46 _FUNCNAME(const char *nptr, char **endptr, int base) in _FUNCNAME() argument 54 INT_FUNCNAME(_int_, _FUNCNAME, _l)(const char *nptr, char **endptr, in _FUNCNAME() 63 _DIAGASSERT(nptr != NULL); in _FUNCNAME() 72 *endptr = __UNCONST(nptr); in _FUNCNAME() 84 s = nptr; in _FUNCNAME() 159 *endptr = __UNCONST(any ? s - 1 : nptr); in _FUNCNAME() 166 _FUNCNAME(const char *nptr, char **endptr, int base) in _FUNCNAME() argument 168 return INT_FUNCNAME(_int_, _FUNCNAME, _l)(nptr, endptr, base, _current_locale()); in _FUNCNAME() 172 INT_FUNCNAME(, _FUNCNAME, _l)(const char *nptr, char **endptr, int base, locale_t loc) 174 return INT_FUNCNAME(_int_, _FUNCNAME, _l)(nptr, endptr, base, loc);
|
| H A D | _strtol.h | 46 _FUNCNAME(const char *nptr, char **endptr, int base) in _FUNCNAME() argument 54 INT_FUNCNAME(_int_, _FUNCNAME, _l)(const char *nptr, char **endptr, in _FUNCNAME() 63 _DIAGASSERT(nptr != NULL); in _FUNCNAME() 72 *endptr = __UNCONST(nptr); in _FUNCNAME() 84 s = nptr; in _FUNCNAME() 196 *endptr = __UNCONST(any ? s - 1 : nptr); in _FUNCNAME() 203 _FUNCNAME(const char *nptr, char **endptr, int base) in _FUNCNAME() argument 205 return INT_FUNCNAME(_int_, _FUNCNAME, _l)(nptr, endptr, base, _current_locale()); in _FUNCNAME() 209 INT_FUNCNAME(, _FUNCNAME, _l)(const char *nptr, char **endptr, int base, locale_t loc) 211 return INT_FUNCNAME(_int_, _FUNCNAME, _l)(nptr, endptr, base, loc);
|
| /netbsd-src/lib/libc/locale/ |
| H A D | _wcstod.h | 60 INT_NAME(_int_, _FUNCNAME, _l)(const wchar_t * __restrict nptr, in INT_NAME() 68 _DIAGASSERT(nptr != NULL); in INT_NAME() 71 src = nptr; in INT_NAME() 129 *endptr = __UNCONST(nptr); in INT_NAME() 134 INT_NAME(, _FUNCNAME, )(const wchar_t * __restrict nptr, 137 return INT_NAME(_int_, _FUNCNAME, _l)(nptr, endptr, _current_locale()); 141 INT_NAME(, _FUNCNAME, _l)(const wchar_t * __restrict nptr, 144 return INT_NAME(_int_, _FUNCNAME, _l)(nptr, endptr, loc);
|
| H A D | _wcstoul.h | 52 INT_FUNCNAME(_int_, _FUNCNAME, _l)(const wchar_t *nptr, wchar_t **endptr, in INT_FUNCNAME() 61 _DIAGASSERT(nptr != NULL); in INT_FUNCNAME() 74 s = nptr; in INT_FUNCNAME() 121 *endptr = __UNCONST(any ? s - 1 : nptr); in INT_FUNCNAME() 126 _FUNCNAME(const wchar_t *nptr, wchar_t **endptr, int base) in _FUNCNAME() argument 128 return INT_FUNCNAME(_int_, _FUNCNAME, _l)(nptr, endptr, base, in _FUNCNAME() 133 INT_FUNCNAME(, _FUNCNAME, _l)(const wchar_t *nptr, wchar_t **endptr, 136 return INT_FUNCNAME(_int_, _FUNCNAME, _l)(nptr, endptr, base, loc);
|
| H A D | _wcstol.h | 53 INT_FUNCNAME(_int_, _FUNCNAME, _l)(const wchar_t *nptr, wchar_t **endptr, in INT_FUNCNAME() 62 _DIAGASSERT(nptr != NULL); in INT_FUNCNAME() 80 s = nptr; in INT_FUNCNAME() 145 *endptr = __UNCONST(any ? s - 1 : nptr); in INT_FUNCNAME() 150 _FUNCNAME(const wchar_t *nptr, wchar_t **endptr, int base) in _FUNCNAME() argument 152 return INT_FUNCNAME(_int_, _FUNCNAME, _l)(nptr, endptr, base, in _FUNCNAME() 157 INT_FUNCNAME(, _FUNCNAME, _l)(const wchar_t *nptr, wchar_t **endptr, 160 return INT_FUNCNAME(_int_, _FUNCNAME, _l)(nptr, endptr, base, loc);
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| H A D | sanitizer_libc.cc | 20 s64 internal_atoll(const char *nptr) { in internal_atoll() argument 21 return internal_simple_strtoll(nptr, nullptr, 10); in internal_atoll() 230 s64 internal_simple_strtoll(const char *nptr, const char **endptr, int base) { in internal_simple_strtoll() argument 232 while (IsSpace(*nptr)) nptr++; in internal_simple_strtoll() 236 char *old_nptr = const_cast<char *>(nptr); in internal_simple_strtoll() 237 if (*nptr == '+') { in internal_simple_strtoll() 239 nptr++; in internal_simple_strtoll() 240 } else if (*nptr == '-') { in internal_simple_strtoll() 242 nptr++; in internal_simple_strtoll() 244 while (IsDigit(*nptr)) { in internal_simple_strtoll() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_libc.cpp | 19 s64 internal_atoll(const char *nptr) { in internal_atoll() argument 20 return internal_simple_strtoll(nptr, nullptr, 10); in internal_atoll() 230 s64 internal_simple_strtoll(const char *nptr, const char **endptr, int base) { in internal_simple_strtoll() argument 232 while (IsSpace(*nptr)) nptr++; in internal_simple_strtoll() 236 char *old_nptr = const_cast<char *>(nptr); in internal_simple_strtoll() 237 if (*nptr == '+') { in internal_simple_strtoll() 239 nptr++; in internal_simple_strtoll() 240 } else if (*nptr == '-') { in internal_simple_strtoll() 242 nptr++; in internal_simple_strtoll() 244 while (IsDigit(*nptr)) { in internal_simple_strtoll() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_libc.cc | 18 s64 internal_atoll(const char *nptr) { in internal_atoll() argument 19 return internal_simple_strtoll(nptr, nullptr, 10); in internal_atoll() 228 s64 internal_simple_strtoll(const char *nptr, const char **endptr, int base) { in internal_simple_strtoll() argument 230 while (IsSpace(*nptr)) nptr++; in internal_simple_strtoll() 234 char *old_nptr = const_cast<char *>(nptr); in internal_simple_strtoll() 235 if (*nptr == '+') { in internal_simple_strtoll() 237 nptr++; in internal_simple_strtoll() 238 } else if (*nptr == '-') { in internal_simple_strtoll() 240 nptr++; in internal_simple_strtoll() 242 while (IsDigit(*nptr)) { in internal_simple_strtoll() [all …]
|
| /netbsd-src/lib/libc/stdlib/ |
| H A D | reallocarr.c | 61 void *nptr; in __weak_alias() local 67 nptr = NULL; in __weak_alias() 68 memcpy(ptr, &nptr, sizeof(ptr)); in __weak_alias() 85 nptr = realloc(optr, number * size); in __weak_alias() 86 if (__predict_false(nptr == NULL)) { in __weak_alias() 90 memcpy(ptr, &nptr, sizeof(ptr)); in __weak_alias()
|
| /netbsd-src/external/apache2/llvm/dist/libcxx/include/ |
| H A D | cstdlib | 34 double atof (const char* nptr); 35 int atoi (const char* nptr); 36 long atol (const char* nptr); 37 long long atoll(const char* nptr); // C99 38 double strtod (const char* restrict nptr, char** restrict endptr); 39 float strtof (const char* restrict nptr, char** restrict endptr); // C99 40 long double strtold (const char* restrict nptr, char** restrict endptr); // C99 41 long strtol (const char* restrict nptr, char** restrict endptr, int base); 42 long long strtoll (const char* restrict nptr, char** restrict endptr, int base); // C99 43 unsigned long strtoul (const char* restrict nptr, char** restrict endptr, int base); [all …]
|
| /netbsd-src/sys/arch/ia64/stand/common/ |
| H A D | strtol.c | 57 strtol(const char *nptr, char **endptr, int base) in strtol() argument 66 if (nptr == NULL) in strtol() 67 nptr = ""; in strtol() 68 s = nptr; in strtol() 137 *endptr = (char *)(any ? s - 1 : nptr); in strtol()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/kdf/ |
| H A D | scrypt.c | 20 static int atou64(const char *nptr, uint64_t *result); 32 static int atou64(const char *nptr, uint64_t *result) in atou64() argument 36 while (*nptr) { in atou64() 40 if ((*nptr < '0') || (*nptr > '9')) { in atou64() 43 digit = (unsigned int)(*nptr - '0'); in atou64() 50 nptr++; in atou64()
|
| /netbsd-src/external/gpl2/diffutils/dist/lib/ |
| H A D | strtol.c | 260 INTERNAL (strtol) (nptr, endptr, base, group LOCALE_PARAM) 261 const STRING_TYPE *nptr; 313 save = s = nptr; 437 if (save - nptr >= 2 && TOUPPER (save[-1]) == L_('X') 442 *endptr = (STRING_TYPE *) nptr; 459 INT strtol PARAMS ((const STRING_TYPE *nptr, STRING_TYPE **endptr, int base)); 467 strtol (nptr, endptr, base LOCALE_PARAM) 468 const STRING_TYPE *nptr; 473 return INTERNAL (strtol) (nptr, endptr, base, 0 LOCALE_PARAM);
|
| /netbsd-src/external/gpl2/grep/dist/lib/ |
| H A D | strtol.c | 264 INTERNAL (strtol) (nptr, endptr, base, group LOCALE_PARAM) 265 const STRING_TYPE *nptr; 317 save = s = nptr; 441 if (save - nptr >= 2 && TOUPPER (save[-1]) == L_('X') 446 *endptr = (STRING_TYPE *) nptr; 463 INT strtol PARAMS ((const STRING_TYPE *nptr, STRING_TYPE **endptr, int base)); 471 strtol (nptr, endptr, base LOCALE_PARAM) 472 const STRING_TYPE *nptr; 477 return INTERNAL (strtol) (nptr, endptr, base, 0 LOCALE_PARAM);
|