Searched refs:nptr (Results 1 - 25 of 53) sorted by relevance

123

/illumos-gate/usr/src/tools/smatch/src/compat/
H A Dstrtold.c3 long double string_to_ld(const char *nptr, char **endptr) argument
5 return strtold(nptr, endptr);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dreallocf.c21 void *nptr = realloc(ptr, size); local
24 if (nptr == NULL && size != 0)
27 return (nptr);
H A Dstrtoimax.c39 strtoimax(const char *nptr, char **endptr, int base) argument
41 return ((intmax_t)strtoll(nptr, endptr, base));
55 _strtoimax_c89(const char *nptr, char **endptr, int base) argument
57 return ((int32_t)strtol(nptr, endptr, base));
H A Dstrtoumax.c39 strtoumax(const char *nptr, char **endptr, int base) argument
41 return ((uintmax_t)strtoull(nptr, endptr, base));
55 _strtoumax_c89(const char *nptr, char **endptr, int base) argument
57 return ((uint32_t)strtoul(nptr, endptr, base));
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dwcstoimax.c54 wcstoimax(const wchar_t *nptr, wchar_t **endptr, int base) argument
56 return ((intmax_t)wcstoll(nptr, endptr, base));
61 wcstoumax(const wchar_t *nptr, wchar_t **endptr, int base) argument
63 return ((uintmax_t)wcstoull(nptr, endptr, base));
69 _wcstoimax_c89(const wchar_t *nptr, wchar_t **endptr, int base) argument
71 return ((int32_t)wcstol(nptr, endptr, base));
76 _wcstoumax_c89(const wchar_t *nptr, wchar_t **endptr, int base) argument
78 return ((uint32_t)wcstoul(nptr, endptr, base));
/illumos-gate/usr/src/tools/smatch/src/
H A Dcompat-bsd.c33 long double string_to_ld(const char *nptr, char **endptr) argument
35 return strtod(nptr, endptr);
H A Dcompat.h26 long double string_to_ld(const char *nptr, char **endptr);
H A Dcompat-mingw.c50 long double string_to_ld(const char *nptr, char **endptr) argument
52 return strtod(nptr, endptr);
H A Dcompat-cygwin.c53 long double string_to_ld(const char *nptr, char **endptr) argument
55 return strtod(nptr, endptr);
/illumos-gate/usr/src/cmd/cron/
H A Dpermit.c52 struct passwd *nptr; local
54 if ((nptr = getpwuid(uid)) == NULL) {
58 if ((strcmp(nptr->pw_shell, SHELL) != 0) &&
59 (strcmp(nptr->pw_shell, "") != 0)) {
66 return (nptr->pw_name);
68 return (nptr->pw_name);
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgetnetent_r.c37 getnetbyname_r(const char *name, struct netent *nptr, NET_R_ARGS) { argument
42 if (ne == NULL || (n = copy_netent(ne, nptr, NET_R_COPY)) != 0)
53 return (copy_netent(ne, nptr, NET_R_COPY));
61 getnetbyaddr_r(GETNETBYADDR_ADDR_T addr, int type, struct netent *nptr, NET_R_ARGS) { argument
66 if (ne == NULL || (n = copy_netent(ne, nptr, NET_R_COPY)) != 0)
78 return (copy_netent(ne, nptr, NET_R_COPY));
89 getnetent_r(struct netent *nptr, NET_R_ARGS) { argument
94 if (ne == NULL || (n = copy_netent(ne, nptr, NET_R_COPY)) != 0)
106 return (copy_netent(ne, nptr, NET_R_COPY));
144 copy_netent(struct netent *ne, struct netent *nptr, NET_R_COPY_ARG argument
189 copy_netent(struct netent *ne, struct netent *nptr, NET_R_COPY_ARGS) argument
[all...]
/illumos-gate/usr/src/boot/lib/libstand/
H A Dstrtol.c42 strtol(const char *nptr, char **endptr, int base) argument
51 if (nptr == NULL)
52 nptr = "";
53 s = nptr;
122 *endptr = (char *)(any ? s - 1 : nptr);
H A Dstrtoul.c51 strtoul(const char * __restrict nptr, char ** __restrict endptr, int base) argument
62 s = nptr;
119 *endptr = (char *)(any ? s - 1 : nptr);
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_strio.c68 char *nptr; local
75 nptr = sd->str_base + offset;
78 nptr = sd->str_ptr + offset;
81 nptr = sd->str_base + sd->str_len + offset;
87 if (nptr < sd->str_base || nptr > sd->str_ptr + sd->str_len)
90 sd->str_ptr = nptr;
91 return ((off64_t)(nptr - sd->str_base));
/illumos-gate/usr/src/cmd/mailx/
H A Dstralloc.c123 void *nptr; local
147 nptr = salloc(size);
148 if (nptr)
149 memcpy(nptr, optr, size); /* XXX - copying too much */
150 return nptr;
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dstrto.c33 ** nptr -- string containing number
35 ** base -- numeric base that 'nptr' number is based in
40 ** When 'endptr' == '\0' then the entire string 'nptr'
46 sm_strtoll(nptr, endptr, base)
47 const char *nptr;
63 s = nptr;
164 *endptr = (char *) (any ? s - 1 : nptr);
175 ** nptr -- string containing (unsigned) number
177 ** base -- numeric base that 'nptr' number is based in
181 ** When 'endptr' == '\0' then the entire string 'nptr'
[all...]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dlocaleconv.c61 struct lc_numeric *nptr; local
97 nptr = loc->locdata[LC_NUMERIC]->l_data[0];
99 #define N_ASSIGN_STR(NAME) (lconv->NAME = (char *)nptr->NAME)
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dstrtoul.c57 strtoul(const char *nptr, char **endptr, int base) { argument
58 const char *s = nptr;
108 DE_CONST((any ? s - 1 : nptr), *endptr);
/illumos-gate/usr/src/cmd/allocate/
H A Ddminfo.c114 char *nptr; local
311 nptr = mptr;
312 nptr = getdmapdfield(nptr);
313 while (nptr) {
318 filename, nptr);
320 if (getdmapdev(nptr) != NULL) {
325 nptr, filename);
333 nptr, filename);
335 nptr
[all...]
/illumos-gate/usr/src/cmd/grpck/
H A Dgrpck.c63 char *nptr; variable
280 nptr = &tmpbuf[delim[2]];
281 nptr++;
283 listlen = strlen(nptr) - 1;
285 while ((cptr = strchr(nptr, ',')) != NULL) {
287 if (*nptr == '\0') {
290 nptr++;
295 if (strcmp(t->user, nptr) == 0)
306 if ((pwp = getpwnam(nptr)) == NULL) {
316 emalloc(sizeof (*t) + strlen(nptr));
[all...]
/illumos-gate/usr/src/common/util/
H A Dstrtol.c50 ddi_strtol(const char *str, char **nptr, int base, long *result) argument
53 strtol(const char *str, char **nptr, int base)
62 const char **ptr = (const char **)nptr;
H A Dstrtoll.c46 ddi_strtoll(const char *str, char **nptr, int base, longlong_t *result) argument
49 strtoll(const char *str, char **nptr, int base)
58 const char **ptr = (const char **)nptr;
H A Dstrtoul.c46 ddi_strtoul(const char *str, char **nptr, int base, unsigned long *result) argument
49 strtoul(const char *str, char **nptr, int base)
57 const char **ptr = (const char **)nptr;
H A Dstrtoull.c46 ddi_strtoull(const char *str, char **nptr, int base, u_longlong_t *result) argument
49 strtoull(const char *str, char **nptr, int base)
57 const char **ptr = (const char **)nptr;
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dpaths.c347 char *token = NULL, *oname, *ename, *optr, *_optr, *nptr, *_list; local
355 nptr = _name;
382 (void) strncpy(nptr, _optr, _len);
383 nptr = nptr + _len;
415 (void) strncpy(nptr,
417 nptr = nptr +_len;
452 (void) strncpy(nptr, scapset->sc_plat,
454 nptr
[all...]

Completed in 149 milliseconds

123