/dragonfly/contrib/bmake/ |
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);
|
/dragonfly/lib/libc/locale/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A D | wcstoumax.c | 50 wcstoumax_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoumax_l() argument 63 s = nptr; in wcstoumax_l() 125 *endptr = (wchar_t *)(any ? s - 1 : nptr); in wcstoumax_l() 129 wcstoumax(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoumax() argument 132 return wcstoumax_l(nptr, endptr, base, __get_locale()); in wcstoumax()
|
H A D | wcstoll.c | 50 wcstoll_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoll_l() argument 63 s = nptr; in wcstoll_l() 127 *endptr = (wchar_t *)(any ? s - 1 : nptr); in wcstoll_l() 131 wcstoll(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base) in wcstoll() argument 133 return wcstoll_l(nptr, endptr, base, __get_locale()); in wcstoll()
|
H A 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() 124 *endptr = (wchar_t *)(any ? s - 1 : nptr); in wcstoul_l() 128 wcstoul(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base) in wcstoul() argument 130 return wcstoul_l(nptr, endptr, base, __get_locale()); in wcstoul()
|
H A 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() 126 *endptr = (wchar_t *)(any ? s - 1 : nptr); in wcstol_l() 130 wcstol(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base) in wcstol() argument 132 return wcstol_l(nptr, endptr, base, __get_locale()); in wcstol()
|
H A D | wcstoull.c | 50 wcstoull_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoull_l() argument 63 s = nptr; in wcstoull_l() 125 *endptr = (wchar_t *)(any ? s - 1 : nptr); in wcstoull_l() 129 wcstoull(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoull() argument 132 return wcstoull_l(nptr, endptr, base, __get_locale()); in wcstoull()
|
H A D | wcstoimax.c | 50 wcstoimax_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoimax_l() argument 63 s = nptr; in wcstoimax_l() 127 *endptr = (wchar_t *)(any ? s - 1 : nptr); in wcstoimax_l() 131 wcstoimax(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstoimax() argument 134 return wcstoimax_l(nptr, endptr, base, __get_locale()); in wcstoimax()
|
/dragonfly/lib/libc/net/ |
H A D | getnetbyht.c | 147 getnetent_r(struct netent *nptr, char *buffer, size_t buflen, in getnetent_r() argument 162 if (__copy_netent(&ne, nptr, buffer, buflen) != 0) in getnetent_r() 164 *result = nptr; in getnetent_r() 191 struct netent *nptr, ne; in _ht_getnetbyname() local 198 nptr = va_arg(ap, struct netent *); in _ht_getnetbyname() 226 if (__copy_netent(&ne, nptr, buffer, buflen) != 0) { in _ht_getnetbyname() 230 *((struct netent **)rval) = nptr; in _ht_getnetbyname() 243 struct netent *nptr, ne; in _ht_getnetbyaddr() local 250 nptr = va_arg(ap, struct netent *); in _ht_getnetbyaddr() 273 if (__copy_netent(&ne, nptr, buffer, buflen) != 0) { in _ht_getnetbyaddr() [all …]
|
H A 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() 166 *((struct netent **)rval) = nptr; in _nis_getnetbyname() 184 struct netent *nptr, ne; in _nis_getnetbyaddr() local 195 nptr = va_arg(ap, struct netent *); in _nis_getnetbyaddr() 247 if (__copy_netent(&ne, nptr, buffer, buflen) != 0) { in _nis_getnetbyaddr() 251 *((struct netent **)rval) = nptr; in _nis_getnetbyaddr()
|
H A D | getnetbydns.c | 268 struct netent *nptr, ne; in _dns_getnetbyaddr() local 279 nptr = va_arg(ap, struct netent *); in _dns_getnetbyaddr() 355 if (__copy_netent(&ne, nptr, buffer, buflen) != 0) { in _dns_getnetbyaddr() 359 *((struct netent **)rval) = nptr; in _dns_getnetbyaddr() 374 struct netent *nptr, ne; in _dns_getnetbyname() local 382 nptr = va_arg(ap, struct netent *); in _dns_getnetbyname() 432 if (__copy_netent(&ne, nptr, buffer, buflen) != 0) { in _dns_getnetbyname() 436 *((struct netent **)rval) = nptr; in _dns_getnetbyname()
|
H A D | getnetnamadr.c | 291 __copy_netent(struct netent *ne, struct netent *nptr, char *buf, size_t buflen) in __copy_netent() argument 312 nptr->n_addrtype = ne->n_addrtype; in __copy_netent() 313 nptr->n_net = ne->n_net; in __copy_netent() 320 nptr->n_name = cp; in __copy_netent() 324 nptr->n_aliases = (char **)ALIGN(buf); in __copy_netent() 328 nptr->n_aliases[i] = cp; in __copy_netent() 331 nptr->n_aliases[i] = NULL; in __copy_netent()
|
/dragonfly/bin/sh/ |
H A D | arith_yylex.c | 56 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()
|
/dragonfly/lib/libc/stdlib/ |
H A D | _strtoul.h | 47 _FUNCNAME_L(const char * __restrict nptr, char ** __restrict endptr, int base, in _FUNCNAME_L() argument 55 _DIAGASSERT(nptr != NULL); in _FUNCNAME_L() 71 s = nptr; in _FUNCNAME_L() 127 *endptr = __DECONST(char *, (any ? s - 1 : nptr)); in _FUNCNAME_L() 133 _FUNCNAME(const char * __restrict nptr, char ** __restrict endptr, int base) in _FUNCNAME() argument 135 return _FUNCNAME_L(nptr, endptr, base, __get_locale()); in _FUNCNAME()
|
H A D | _strtol.h | 47 _FUNCNAME_L(const char * __restrict nptr, char ** __restrict endptr, int base, in _FUNCNAME_L() argument 55 _DIAGASSERT(nptr != NULL); in _FUNCNAME_L() 71 s = nptr; in _FUNCNAME_L() 159 *endptr = __DECONST(char *, (any ? s - 1 : nptr)); in _FUNCNAME_L() 164 _FUNCNAME(const char * __restrict nptr, char ** __restrict endptr, int base) in _FUNCNAME() argument 166 return _FUNCNAME_L(nptr, endptr, base, __get_locale()); in _FUNCNAME()
|
H A D | reallocf.c | 34 void *nptr; in reallocf() local 36 nptr = realloc(ptr, size); in reallocf() 37 if (!nptr && ptr) in reallocf() 39 return (nptr); in reallocf()
|
/dragonfly/stand/lib/ |
H A D | strtol.c | 42 strtol(const char *nptr, char **endptr, int base) in strtol() argument 51 if (nptr == NULL) in strtol() 52 nptr = ""; in strtol() 53 s = nptr; in strtol() 122 *endptr = (char *)(any ? s - 1 : nptr); in strtol()
|
/dragonfly/libexec/dma/ |
H A D | dfcompat.c | 96 void *nptr; in reallocf() local 98 nptr = realloc(ptr, size); in reallocf() 99 if (!nptr && ptr && size != 0) in reallocf() 101 return (nptr); in reallocf()
|
/dragonfly/contrib/mpc/src/ |
H A D | strtoc.c | 35 mpc_strtoc (mpc_ptr rop, const char *nptr, char **endptr, int base, mpc_rnd_t rnd) in mpc_strtoc() argument 43 if (nptr == NULL || base > 36 || base == 1) in mpc_strtoc() 46 p = nptr; in mpc_strtoc() 85 *endptr = (char*) nptr; in mpc_strtoc()
|
/dragonfly/games/hack/ |
H A D | alloc.c | 83 char *nptr; 85 if (!(nptr = realloc(ptr, lth))) 87 return ((long *) nptr);
|
/dragonfly/lib/libc/citrus/ |
H A D | _strtol.h | 47 _FUNCNAME(const char *nptr, char **endptr, int base) in _FUNCNAME() argument 60 *endptr = __DECONST(void *, nptr); in _FUNCNAME() 72 s = nptr; in _FUNCNAME() 168 *endptr = __DECONST(void *, any ? s - 1 : nptr); in _FUNCNAME()
|
/dragonfly/contrib/dhcpcd/compat/ |
H A D | _strtoi.h | 51 _FUNCNAME(const char * __restrict nptr, char ** __restrict endptr, int base, in _FUNCNAME() argument 70 im = __WRAPPED(nptr, endptr, base); in _FUNCNAME() 77 if (nptr == *endptr) in _FUNCNAME()
|
/dragonfly/sys/libkern/ |
H A D | strtoul.c | 49 strtoul(const char *nptr, char **endptr, int base) in strtoul() argument 51 const char *s = nptr; in strtoul() 102 *((const char **)(void *)endptr) = any ? s - 1 : nptr; in strtoul()
|