| /freebsd-10-stable/usr.sbin/pw/ |
| D | pw_utils.c | 44 pw_checkfd(char *nptr) in pw_checkfd() argument 49 if (strcmp(nptr, "-") == 0) in pw_checkfd() 51 fd = strtonum(nptr, 0, INT_MAX, &errstr); in pw_checkfd() 54 nptr, errstr); in pw_checkfd() 59 pw_checkid(char *nptr, uintmax_t maxval) in pw_checkid() argument 64 id = strtounum(nptr, 0, maxval, &errstr); in pw_checkid() 66 errx(EX_USAGE, "Bad id '%s': %s", nptr, errstr); in pw_checkid()
|
| /freebsd-10-stable/lib/libc/locale/ |
| D | wcstold.c | 44 wcstold_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstold_l() argument 56 wcp = nptr; in wcstold_l() 66 *endptr = (wchar_t *)nptr; in wcstold_l() 71 *endptr = (wchar_t *)nptr; in wcstold_l() 80 *endptr = (wchar_t *)nptr + (end - buf); in wcstold_l() 90 wcstold(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) in wcstold() argument 92 return wcstold_l(nptr, endptr, __get_locale()); in wcstold()
|
| D | wcstof.c | 44 wcstof_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstof_l() argument 56 wcp = nptr; in wcstof_l() 66 *endptr = (wchar_t *)nptr; in wcstof_l() 71 *endptr = (wchar_t *)nptr; in wcstof_l() 80 *endptr = (wchar_t *)nptr + (end - buf); in wcstof_l() 90 wcstof(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) in wcstof() argument 92 return wcstof_l(nptr, endptr, __get_locale()); in wcstof()
|
| D | wcstod.c | 50 wcstod_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstod_l() argument 62 wcp = nptr; in wcstod_l() 82 *endptr = (wchar_t *)nptr; in wcstod_l() 87 *endptr = (wchar_t *)nptr; in wcstod_l() 103 *endptr = (wchar_t *)nptr + (end - buf); in wcstod_l() 113 wcstod(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) in wcstod() argument 115 return wcstod_l(nptr, endptr, __get_locale()); in wcstod()
|
| D | wcstoul.c | 49 wcstoul_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoul_l() argument 62 s = nptr; 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()
|
| D | wcstol.c | 49 wcstol_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int in wcstol_l() argument 62 s = nptr; 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()
|
| D | wcstoumax.c | 55 wcstoumax_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoumax_l() argument 68 s = nptr; 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()
|
| D | wcstoull.c | 55 wcstoull_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoull_l() argument 68 s = nptr; 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()
|
| D | wcstoimax.c | 55 wcstoimax_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoimax_l() argument 68 s = nptr; in wcstoimax_l() 129 *endptr = (wchar_t *)(any ? s - 1 : nptr); in wcstoimax_l() 133 wcstoimax(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoimax() argument 136 return wcstoimax_l(nptr, endptr, base, __get_locale()); in wcstoimax()
|
| D | wcstoll.c | 55 wcstoll_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoll_l() argument 68 s = nptr; 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()
|
| /freebsd-10-stable/lib/libc/stdlib/ |
| D | strtol.c | 55 strtol_l(const char * __restrict nptr, char ** __restrict endptr, int base, in strtol_l() argument 70 s = nptr; 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()
|
| D | reallocf.c | 35 void *nptr; in reallocf() local 37 nptr = realloc(ptr, size); in reallocf() 45 if (!nptr && ptr && size != 0) in reallocf() 47 return (nptr); in reallocf()
|
| D | strtoumax.c | 54 strtoumax_l(const char * __restrict nptr, char ** __restrict endptr, int base, in strtoumax_l() argument 67 s = nptr; 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()
|
| D | strtoul.c | 54 strtoul_l(const char * __restrict nptr, char ** __restrict endptr, int base, locale_t locale) in strtoul_l() argument 66 s = nptr; 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()
|
| D | strtoull.c | 54 strtoull_l(const char * __restrict nptr, char ** __restrict endptr, int base, in strtoull_l() argument 67 s = nptr; 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()
|
| D | strtoll.c | 54 strtoll_l(const char * __restrict nptr, char ** __restrict endptr, int base, in strtoll_l() argument 69 s = nptr; 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()
|
| D | strtoimax.c | 54 strtoimax_l(const char * __restrict nptr, char ** __restrict endptr, int base, in strtoimax_l() argument 69 s = nptr; 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()
|
| /freebsd-10-stable/contrib/sendmail/libsm/ |
| D | strto.c | 44 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-10-stable/lib/libstand/ |
| D | strtol.c | 47 strtol(nptr, endptr, base) in strtol() argument 48 const char *nptr; in strtol() 59 if (nptr == NULL) 60 nptr = ""; 61 s = nptr; 130 *endptr = (char *)(any ? s - 1 : nptr);
|
| /freebsd-10-stable/lib/libc/net/ |
| D | getnetbyht.c | 151 getnetent_r(struct netent *nptr, char *buffer, size_t buflen, in getnetent_r() argument 166 if (__copy_netent(&ne, nptr, buffer, buflen) != 0) { in getnetent_r() 171 *result = nptr; in getnetent_r() 197 struct netent *nptr, ne; in _ht_getnetbyname() local 204 nptr = va_arg(ap, struct netent *); in _ht_getnetbyname() 232 if (__copy_netent(&ne, nptr, buffer, buflen) != 0) { in _ht_getnetbyname() 238 *((struct netent **)rval) = nptr; in _ht_getnetbyname() 250 struct netent *nptr, ne; in _ht_getnetbyaddr() local 257 nptr = va_arg(ap, struct netent *); in _ht_getnetbyaddr() 280 if (__copy_netent(&ne, nptr, buffer, buflen) != 0) { in _ht_getnetbyaddr() [all …]
|
| D | getnetbynis.c | 140 struct netent *nptr, ne; in _nis_getnetbyname() local 145 nptr = va_arg(ap, struct netent *); in _nis_getnetbyname() 162 if (__copy_netent(&ne, nptr, buffer, buflen) != 0) { in _nis_getnetbyname() 168 *((struct netent **)rval) = nptr; in _nis_getnetbyname() 185 struct netent *nptr, ne; in _nis_getnetbyaddr() local 196 nptr = va_arg(ap, struct netent *); in _nis_getnetbyaddr() 248 if (__copy_netent(&ne, nptr, buffer, buflen) != 0) { in _nis_getnetbyaddr() 254 *((struct netent **)rval) = nptr; in _nis_getnetbyaddr()
|
| /freebsd-10-stable/contrib/libc++/include/ |
| D | cstdlib | 35 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-10-stable/crypto/openssl/crypto/bn/asm/ |
| D | x86_64-mont.pl | 717 my $nptr="%rcx"; # const BN_ULONG *nptr, 764 # +40 saved $nptr 770 mov $nptr,40(%rsp) 1232 my ($topbit,$nptr)=("%rbp",$aptr); 1236 mov 40(%rsp),$nptr # restore $nptr 1246 lea ($nptr,$num),$nptr # end of n[] buffer 1249 mov 0($nptr,$j),%rax # n[0] # modsched # 1250 mov 8($nptr,$j),$Ni[1] # n[1] # modsched # 1274 mov 16($nptr,$j),$Ni[0] # n[2] 1292 mov 24($nptr,$j),$Ni[1] # n[3] [all …]
|
| /freebsd-10-stable/sys/cddl/compat/opensolaris/kern/ |
| D | opensolaris_sunddi.c | 40 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()
|
| /freebsd-10-stable/sys/libkern/ |
| D | strtoul.c | 50 strtoul(nptr, endptr, base) in strtoul() argument 51 const char *nptr; in strtoul() 55 const char *s = nptr; 106 *endptr = __DECONST(char *, any ? s - 1 : nptr);
|