/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | strtoimax.c | 39 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 D | strtoumax.c | 39 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 D | wcstoimax.c | 54 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/lib/libc/port/locale/ |
H A D | localeconv.c | 61 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 D | strtoul.c | 62 strtoul(const char *nptr, char **endptr, int base) { argument 63 const char *s = nptr; 113 DE_CONST((any ? s - 1 : nptr), *endptr);
|
/illumos-gate/usr/src/common/util/ |
H A D | strtol.c | 50 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 D | strtoll.c | 46 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 D | strtoul.c | 46 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 D | strtoull.c | 46 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/cron/ |
H A D | permit.c | 52 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/cmd/mailx/ |
H A D | stralloc.c | 123 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/boot/lib/libstand/ |
H A D | strtoul.c | 51 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/lib/libresolv2/common/irs/ |
H A D | gethostent_r.c | 163 int nptr, len; local 166 nptr = 2; /*%< NULL ptrs */ 168 for (i = 0; he->h_addr_list[i]; i++, nptr++) { 171 for (i = 0; he->h_aliases[i]; i++, nptr++) { 175 len += nptr * sizeof(char*); 187 cp = (char *)ALIGN(buf) + nptr * sizeof(char *);
|
H A D | getnetent_r.c | 41 getnetbyname_r(const char *name, struct netent *nptr, NET_R_ARGS) { argument 46 if (ne == NULL || (n = copy_netent(ne, nptr, NET_R_COPY)) != 0) 57 return (copy_netent(ne, nptr, NET_R_COPY)); 65 getnetbyaddr_r(GETNETBYADDR_ADDR_T addr, int type, struct netent *nptr, NET_R_ARGS) { argument 70 if (ne == NULL || (n = copy_netent(ne, nptr, NET_R_COPY)) != 0) 82 return (copy_netent(ne, nptr, NET_R_COPY)); 93 getnetent_r(struct netent *nptr, NET_R_ARGS) { argument 98 if (ne == NULL || (n = copy_netent(ne, nptr, NET_R_COPY)) != 0) 110 return (copy_netent(ne, nptr, NET_R_COPY)); 148 copy_netent(struct netent *ne, struct netent *nptr, NET_R_COPY_ARG argument 193 copy_netent(struct netent *ne, struct netent *nptr, NET_R_COPY_ARGS) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_strio.c | 68 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/allocate/ |
H A D | dminfo.c | 114 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/lp/filter/postscript/postio/ |
H A D | ifdef.c | 336 char *nptr = tbuf; /* next character comes from here */ variable 531 while ( nptr < eptr ) { /* grab characters from tbuf */ 532 *ptr = *nptr++; 544 nptr = eptr = tbuf; 557 else eptr = nptr + n;
|
/illumos-gate/usr/src/cmd/grpck/ |
H A D | grpck.c | 66 char *nptr; variable 283 nptr = &tmpbuf[delim[2]]; 284 nptr++; 286 listlen = strlen(nptr) - 1; 288 while ((cptr = strchr(nptr, ',')) != NULL) { 290 if (*nptr == NULL) { 293 nptr++; 298 if (strcmp(t->user, nptr) == 0) 309 if ((pwp = getpwnam(nptr)) == NULL) { 319 emalloc(sizeof (*t) + strlen(nptr)); [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | paths.c | 347 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...] |
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | doupdate.c | 235 cchar_t *optr, *nptr; local 260 nptr = &newscr->_line[row][COLS]; 262 if (!__m_cc_compare(--nptr, &newscr->_bg, 1)) 277 nptr = &newscr->_line[row][col]; 281 for (count = 0; __m_cc_compare(optr, nptr, 1); ++count) { 284 ++nptr; 310 && (optr->_at != nptr->_at || optr->_co != nptr->_co)) 315 nptr -= count; 321 && (!__m_cc_compare(optr, nptr, [all...] |
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | pcache.c | 1037 const char *nptr; local 1038 if(pca_expand_tilde(pc, name, name_len, literal, &nptr) || 1039 _pn_append_to_path(pc->path, nptr, name_len - (nptr-name),
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | doupdate.c | 241 cchar_t *nptr; local 249 nptr = &newscr->_line[row][COLS]; 251 if (!__m_cc_compare(--nptr, &newscr->_bg, 1)) 267 cchar_t *nptr = &newscr->_line[row][region.col]; local 269 for (i = 0; i < region.size; i++, nptr++, optr++) { 270 nattr = nptr->_at; 271 npair = nptr->_co; 283 if (nptr->_f) 284 (void) __m_cc_write(nptr); 289 *optr = *nptr; 415 cchar_t *nptr = &newscr->_line[row][0]; local [all...] |
/illumos-gate/usr/src/cmd/sgs/lex/common/ |
H A D | once.h | 139 int nptr; variable
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | lib.c | 756 uchar *nptr = NULL; local 758 if ((nptr = malloc(amt)) == NULL) 761 *nptr = '\0'; 764 *optr = nptr; 770 uchar *nptr; local 778 if ((nptr = realloc(*optr, size + amt)) == NULL) 782 *nptr = '\0'; 784 *optr = nptr; 790 uchar *nptr; local 792 if ((nptr [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_ioctl.c | 938 nvram_t *nptr; local 955 nptr = (nvram_t *)nv; 956 if (nptr->id[0] != 'I' || nptr->id[1] != 'S' || nptr->id[2] != 'P' || 957 nptr->id[3] != ' ') { 1012 ha->nvram_cache->cache = (void *)nptr;
|