Home
last modified time | relevance | path

Searched refs:nptr (Results 1 – 25 of 91) sorted by relevance

1234

/freebsd-12.1/crypto/openssl/crypto/bn/asm/
H A Dx86_64-mont5.pl1877 lea 8*8($nptr),$nptr
1969 lea 8*8($nptr),$nptr
2066 lea 8*4($nptr),$nptr
2546 lea 4*8($nptr),$nptr
2584 lea 4*8($nptr),$nptr
2643 lea ($nptr,$num),$nptr # rewind $nptr
2673 lea 4*8($nptr),$nptr
2711 lea 4*8($nptr),$nptr
3421 lea 8*8($nptr),$nptr
3484 lea 8*8($nptr),$nptr
[all …]
H A Dx86_64-mont.pl1151 lea 4*8($nptr),$nptr
1190 lea 4*8($nptr),$nptr
1211 sub $num,$nptr # rewind $nptr
1252 lea 4*8($nptr),$nptr
1298 lea 4*8($nptr),$nptr
1316 sub $num,$nptr # rewind $nptr
1330 sbb 8*0($nptr),%r11
1331 sbb 8*1($nptr),%r12
1332 sbb 8*2($nptr),%r13
1333 sbb 8*3($nptr),%r14
[all …]
/freebsd-12.1/contrib/compiler-rt/lib/asan/
H A Dasan_interceptors.cc489 return REAL(strtol)(nptr, endptr, base); in INTERCEPTOR()
497 INTERCEPTOR(int, atoi, const char *nptr) { in INTERCEPTOR() argument
505 return REAL(atoi)(nptr); in INTERCEPTOR()
513 FixRealStrtolEndptr(nptr, &real_endptr); in INTERCEPTOR()
514 ASAN_READ_STRING(ctx, nptr, (real_endptr - nptr) + 1); in INTERCEPTOR()
526 return REAL(atol)(nptr); in INTERCEPTOR()
530 FixRealStrtolEndptr(nptr, &real_endptr); in INTERCEPTOR()
531 ASAN_READ_STRING(ctx, nptr, (real_endptr - nptr) + 1); in INTERCEPTOR()
555 return REAL(atoll)(nptr); in INTERCEPTOR()
559 FixRealStrtolEndptr(nptr, &real_endptr); in INTERCEPTOR()
[all …]
/freebsd-12.1/usr.sbin/pw/
H A Dpw_utils.c41 pw_checkfd(char *nptr) in pw_checkfd() argument
46 if (strcmp(nptr, "-") == 0) in pw_checkfd()
48 fd = strtonum(nptr, 0, INT_MAX, &errstr); in pw_checkfd()
51 nptr, errstr); in pw_checkfd()
56 pw_checkid(char *nptr, uintmax_t maxval) in pw_checkid() argument
61 id = strtounum(nptr, 0, maxval, &errstr); in pw_checkid()
63 errx(EX_USAGE, "Bad id '%s': %s", nptr, errstr); in pw_checkid()
/freebsd-12.1/lib/libc/locale/
H A Dwcstod.c52 wcstod_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstod_l() argument
64 wcp = nptr; in wcstod_l()
84 *endptr = (wchar_t *)nptr; in wcstod_l()
89 *endptr = (wchar_t *)nptr; in wcstod_l()
105 *endptr = (wchar_t *)nptr + (end - buf); in wcstod_l()
115 wcstod(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) in wcstod() argument
117 return wcstod_l(nptr, endptr, __get_locale()); in wcstod()
H A Dwcstof.c46 wcstof_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstof_l() argument
58 wcp = nptr; in wcstof_l()
68 *endptr = (wchar_t *)nptr; in wcstof_l()
73 *endptr = (wchar_t *)nptr; in wcstof_l()
82 *endptr = (wchar_t *)nptr + (end - buf); in wcstof_l()
92 wcstof(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) in wcstof() argument
94 return wcstof_l(nptr, endptr, __get_locale()); in wcstof()
H A Dwcstold.c46 wcstold_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstold_l() argument
58 wcp = nptr; in wcstold_l()
68 *endptr = (wchar_t *)nptr; in wcstold_l()
73 *endptr = (wchar_t *)nptr; in wcstold_l()
82 *endptr = (wchar_t *)nptr + (end - buf); in wcstold_l()
92 wcstold(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) in wcstold() argument
94 return wcstold_l(nptr, endptr, __get_locale()); in wcstold()
H A Dwcstoul.c51 wcstoul_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoul_l() argument
64 s = nptr; in wcstoul_l()
123 *endptr = (wchar_t *)(any ? s - 1 : nptr); in wcstoul_l()
127 wcstoul(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base) in wcstoul() argument
129 return wcstoul_l(nptr, endptr, base, __get_locale()); in wcstoul()
H A Dwcstoull.c57 wcstoull_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoull_l() argument
70 s = nptr; in wcstoull_l()
129 *endptr = (wchar_t *)(any ? s - 1 : nptr); in wcstoull_l()
133 wcstoull(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoull() argument
136 return wcstoull_l(nptr, endptr, base, __get_locale()); in wcstoull()
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_libc.cc20 s64 internal_atoll(const char *nptr) { in internal_atoll() argument
21 return internal_simple_strtoll(nptr, nullptr, 10); in internal_atoll()
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()
246 int digit = ((*nptr) - '0'); in internal_simple_strtoll()
[all …]
/freebsd-12.1/contrib/sendmail/libsm/
H A Dstrto.c44 sm_strtoll(nptr, endptr, base)
45 const char *nptr;
61 s = nptr;
162 *endptr = (char *) (any ? s - 1 : nptr);
185 sm_strtoull(nptr, endptr, base) in sm_strtoull() argument
186 const char *nptr; in sm_strtoull()
197 s = nptr;
252 *endptr = (char *) (any ? s - 1 : nptr);
/freebsd-12.1/lib/libc/net/
H A Dgetnetbyht.c153 getnetent_r(struct netent *nptr, char *buffer, size_t buflen, in getnetent_r() argument
168 if (__copy_netent(&ne, nptr, buffer, buflen) != 0) { in getnetent_r()
173 *result = nptr; in getnetent_r()
199 struct netent *nptr, ne; in _ht_getnetbyname() local
206 nptr = va_arg(ap, struct netent *); in _ht_getnetbyname()
234 if (__copy_netent(&ne, nptr, buffer, buflen) != 0) { in _ht_getnetbyname()
240 *((struct netent **)rval) = nptr; in _ht_getnetbyname()
252 struct netent *nptr, ne; in _ht_getnetbyaddr() local
259 nptr = va_arg(ap, struct netent *); in _ht_getnetbyaddr()
282 if (__copy_netent(&ne, nptr, buffer, buflen) != 0) { in _ht_getnetbyaddr()
[all …]
H A Dgetnetbynis.c143 struct netent *nptr, ne; in _nis_getnetbyname() local
148 nptr = va_arg(ap, struct netent *); in _nis_getnetbyname()
165 if (__copy_netent(&ne, nptr, buffer, buflen) != 0) { in _nis_getnetbyname()
171 *((struct netent **)rval) = nptr; in _nis_getnetbyname()
188 struct netent *nptr, ne; in _nis_getnetbyaddr() local
199 nptr = va_arg(ap, struct netent *); in _nis_getnetbyaddr()
251 if (__copy_netent(&ne, nptr, buffer, buflen) != 0) { in _nis_getnetbyaddr()
257 *((struct netent **)rval) = nptr; in _nis_getnetbyaddr()
/freebsd-12.1/bin/sh/
H A Darith_yylex.c56 strtoarith_t(const char *restrict nptr, char **restrict endptr) in strtoarith_t() argument
60 while (isspace((unsigned char)*nptr)) in strtoarith_t()
61 nptr++; in strtoarith_t()
62 switch (*nptr) { in strtoarith_t()
64 return strtoimax(nptr, endptr, 0); in strtoarith_t()
66 return (arith_t)strtoumax(nptr, endptr, 0); in strtoarith_t()
68 val = (arith_t)strtoumax(nptr, endptr, 0); in strtoarith_t()
/freebsd-12.1/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_sunddi.c40 ddi_strtol(const char *str, char **nptr, int base, long *result) in ddi_strtol() argument
43 *result = strtol(str, nptr, base); in ddi_strtol()
48 ddi_strtoul(const char *str, char **nptr, int base, unsigned long *result) in ddi_strtoul() argument
56 *result = strtoul(str, nptr, base); in ddi_strtoul()
61 ddi_strtoull(const char *str, char **nptr, int base, unsigned long long *result) in ddi_strtoull() argument
64 *result = (unsigned long long)strtouq(str, nptr, base); in ddi_strtoull()
69 ddi_strtoll(const char *str, char **nptr, int base, long long *result) in ddi_strtoll() argument
72 *result = (long long)strtoq(str, nptr, base); in ddi_strtoll()
/freebsd-12.1/contrib/libc++/include/
H A Dcstdlib35 double atof (const char* nptr);
36 int atoi (const char* nptr);
37 long atol (const char* nptr);
38 long long atoll(const char* nptr); // C99
39 double strtod (const char* restrict nptr, char** restrict endptr);
40 float strtof (const char* restrict nptr, char** restrict endptr); // C99
41 long double strtold (const char* restrict nptr, char** restrict endptr); // C99
42 long strtol (const char* restrict nptr, char** restrict endptr, int base);
43 long long strtoll (const char* restrict nptr, char** restrict endptr, int base); // C99
44 unsigned long strtoul (const char* restrict nptr, char** restrict endptr, int base);
[all …]
/freebsd-12.1/lib/libc/stdlib/
H A Dreallocf.c37 void *nptr; in reallocf() local
39 nptr = realloc(ptr, size); in reallocf()
47 if (!nptr && ptr && size != 0) in reallocf()
49 return (nptr); in reallocf()
H A Dstrtoumax.c56 strtoumax_l(const char * __restrict nptr, char ** __restrict endptr, int base, in strtoumax_l() argument
69 s = nptr; in strtoumax_l()
126 *endptr = (char *)(any ? s - 1 : nptr); in strtoumax_l()
130 strtoumax(const char * __restrict nptr, char ** __restrict endptr, int base) in strtoumax() argument
132 return strtoumax_l(nptr, endptr, base, __get_locale()); in strtoumax()
H A Dstrtoul.c56 strtoul_l(const char * __restrict nptr, char ** __restrict endptr, int base, locale_t locale) in strtoul_l() argument
68 s = nptr; in strtoul_l()
125 *endptr = (char *)(any ? s - 1 : nptr); in strtoul_l()
129 strtoul(const char * __restrict nptr, char ** __restrict endptr, int base) in strtoul() argument
131 return strtoul_l(nptr, endptr, base, __get_locale()); in strtoul()
H A Dstrtoull.c56 strtoull_l(const char * __restrict nptr, char ** __restrict endptr, int base, in strtoull_l() argument
69 s = nptr; in strtoull_l()
126 *endptr = (char *)(any ? s - 1 : nptr); in strtoull_l()
130 strtoull(const char * __restrict nptr, char ** __restrict endptr, int base) in strtoull() argument
132 return strtoull_l(nptr, endptr, base, __get_locale()); in strtoull()
H A Dstrtol.c56 strtol_l(const char * __restrict nptr, char ** __restrict endptr, int base, in strtol_l() argument
71 s = nptr; in strtol_l()
147 *endptr = (char *)(any ? s - 1 : nptr); in strtol_l()
151 strtol(const char * __restrict nptr, char ** __restrict endptr, int base) in strtol() argument
153 return strtol_l(nptr, endptr, base, __get_locale()); in strtol()
H A Dstrtoimax.c56 strtoimax_l(const char * __restrict nptr, char ** __restrict endptr, int base, in strtoimax_l() argument
71 s = nptr; in strtoimax_l()
148 *endptr = (char *)(any ? s - 1 : nptr); in strtoimax_l()
152 strtoimax(const char * __restrict nptr, char ** __restrict endptr, int base) in strtoimax() argument
154 return strtoimax_l(nptr, endptr, base, __get_locale()); in strtoimax()
H A Dstrtoll.c56 strtoll_l(const char * __restrict nptr, char ** __restrict endptr, int base, in strtoll_l() argument
71 s = nptr; in strtoll_l()
148 *endptr = (char *)(any ? s - 1 : nptr); in strtoll_l()
152 strtoll(const char * __restrict nptr, char ** __restrict endptr, int base) in strtoll() argument
154 return strtoll_l(nptr, endptr, base, __get_locale()); in strtoll()
/freebsd-12.1/contrib/dma/
H A Ddfcompat.c96 void *nptr; in reallocf() local
98 nptr = realloc(ptr, size); in reallocf()
99 if (!nptr && ptr) in reallocf()
101 return (nptr); in reallocf()
/freebsd-12.1/crypto/openssl/crypto/kdf/
H A Dscrypt.c20 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()

1234