Searched refs:sptr (Results 1 - 25 of 56) sorted by relevance

123

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgethz.c50 char *sptr, *cptr; local
52 if ((sptr = getenv("HZ")) == NULL) {
55 cptr = sptr;
63 return (atoi(sptr));
/illumos-gate/usr/src/common/util/
H A Dmemchr.c42 * Return the ptr in sptr at which the character c1 appears;
46 memchr(const void *sptr, int c1, size_t n) argument
50 const unsigned char *sp = sptr;
H A Dmemstr.c92 memchr(const void *sptr, int c1, size_t n) argument
96 const unsigned char *sp = sptr;
/illumos-gate/usr/src/cmd/sgs/libelf/misc/
H A Dargs.c79 * on the buffer sptr.
83 nsetarg(String ** sptr, Arg_Remem * r, const char * c, int n) argument
94 *sptr = app_String(*sptr,PTR(r->ptr));
99 * on the buffer sptr.
103 setarg(String ** sptr, Arg_Remem * r, const char * c) argument
105 nsetarg(sptr, r, c, ID_NAME_MAX);
113 demangle_doarg(sptr,c)
114 String **sptr;
139 (void) demangle_doarg(sptr,her
[all...]
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dstable.c149 const char *sptr; local
155 for (sptr = &s[1]; *sptr; sptr++) {
157 hash ^= (((unsigned)*sptr) << (slen % 3)) +
158 ((unsigned)*(sptr - 1) << ((slen % 3 + 7)));
169 sptr = s;
171 while (*sptr && *eptr && *sptr++ == *eptr++)
173 if (*sptr
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgetservent_r.c42 struct servent *sptr, SERV_R_ARGS) {
47 if (se == NULL || (n = copy_servent(se, sptr, SERV_R_COPY)) != 0)
50 *answerp = sptr;
57 return (copy_servent(se, sptr, SERV_R_COPY));
63 struct servent *sptr, SERV_R_ARGS) {
68 if (se == NULL || (n = copy_servent(se, sptr, SERV_R_COPY)) != 0)
71 *answerp = sptr;
78 return (copy_servent(se, sptr, SERV_R_COPY));
89 getservent_r(struct servent *sptr, SERV_R_ARGS) { argument
94 if (se == NULL || (n = copy_servent(se, sptr, SERV_R_COP
41 getservbyname_r(const char *name, const char *proto, struct servent *sptr, SERV_R_ARGS) argument
62 getservbyport_r(int port, const char *proto, struct servent *sptr, SERV_R_ARGS) argument
142 copy_servent(struct servent *se, struct servent *sptr, SERV_R_COPY_ARGS) argument
193 copy_servent(struct servent *se, struct servent *sptr, SERV_R_COPY_ARGS) argument
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_mapping.c221 char *sptr, *dptr, **mapp; local
228 sptr = cp;
229 dptr = strchr(sptr, COLONTOK);
232 i = dptr - sptr + 1;
236 (void) strlcpy(*sid, sptr, i);
237 sptr = dptr+1;
239 dptr = strchr(sptr, TOKENSEPARATOR);
245 i = dptr - sptr + 1;
252 (void) strlcpy(*origA, sptr, i);
253 sptr
330 char *sptr, *dptr; local
[all...]
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dconn.c424 char *bptr, *sptr; local
429 for (sptr = str; *sptr; sptr++) {
430 if (*sptr == '\\') {
431 switch (*++sptr) {
447 *bptr++ = *sptr;
451 *bptr++ = *sptr;
580 char *sptr, *bptr; local
606 for (sptr
[all...]
/illumos-gate/usr/src/cmd/strings/
H A Dstrings.c147 sec_name_t *sptr; local
149 for (sptr = seclistptr; sptr != NULL;
150 sptr = sptr->next) {
151 if (strcmp(scn_name, sptr->name) == 0) {
187 sec_name_t *sptr; local
227 if (((sptr = malloc(sizeof (sec_name_t)))
228 == NULL) || ((sptr->name = strdup(optarg))
236 seclistptr = sptr;
[all...]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwaddwchnstr.c51 chtype *sptr = ptr; local
63 while (ptr < sptr)
114 my_maxx = (short) (ptr - sptr + my_x);
/illumos-gate/usr/src/cmd/awk/
H A Drun.c1733 register uchar *sptr; local
1753 sptr = t;
1754 len = patbeg - sptr;
1757 (void) memcpy(buf, sptr, len);
1760 sptr = getsval(y);
1761 while (*sptr != 0) {
1763 if (*sptr == '\\' &&
1764 (*(sptr+1) == '&' || *(sptr+1) == '\\')) {
1765 sptr
1798 register uchar *rptr, *sptr, *t; local
[all...]
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dmemchr.s29 / memchr(sptr, c1, n)
31 / Returns the pointer in sptr at which the character c1 appears;
38 / memchr(const void *sptr, int c1, size_t n)
42 / const unsigned char *sp = sptr;
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dmemchr.s29 / memchr(sptr, c1, n)
31 / Returns the pointer in sptr at which the character c1 appears;
38 / memchr(const void *sptr, int c1, size_t n)
42 / const unsigned char *sp = sptr;
/illumos-gate/usr/src/uts/common/sys/
H A Dkobj_lex.h83 * return 1 with sptr pointing to the string represented by token
84 * On error returns NULL. The memory pointed to by sptr should be
87 int kobj_get_string(u_longlong_t *sptr, char *token);
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dcollate.c286 const int *sptr; local
303 if ((sptr = *state) != NULL) {
304 *pri = *sptr;
305 sptr++;
306 *state = *sptr ? sptr : NULL;
366 if ((sptr = substsearch(lcc, *pri, which)) != NULL) {
367 if ((*pri = *sptr) != 0) {
368 sptr++;
369 *state = *sptr
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Dconn.c626 char *bptr, *sptr; local
631 for (sptr = str; *sptr; sptr++) {
632 if (*sptr == '\\') {
633 switch (*++sptr) {
649 *bptr++ = *sptr;
653 *bptr++ = *sptr;
785 char *sptr, *bptr; local
812 for (sptr
[all...]
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_handlers.c416 char buf[256], *sptr; local
432 for (sptr = buf, j = 0; j < 16; j++) {
433 (void) sprintf(sptr, "%02x ", *ptr++);
434 sptr += 3; /* 2 digits + space */
440 for (sptr = buf, j = 0; j < i; j++) {
441 (void) sprintf(sptr, "%02x ", *ptr++);
442 sptr += 3; /* 2 digits + space */
/illumos-gate/usr/src/lib/libtecla/common/
H A Dcplfile.c774 const char *sptr; /* A pointer into string[] */ local
782 for(sptr=string,namlen=0;
784 strncmp(sptr, FS_DIR_SEP, FS_DIR_SEP_LEN) != 0);
786 nambuf[namlen] = *sptr++;
817 const char *sptr; /* A pointer into suffix[] */ local
834 for(sptr = suffix; *sptr; sptr++) {
835 switch(*sptr) {
H A Dpcache.c586 const char *sptr; /* The path following tilde expansion */ local
598 sptr = pptr;
609 if(_pn_append_to_path(pc->path, sptr, pptr - sptr, 1) == NULL) {
666 const char *sptr; /* A pointer into string[] */ local
671 for(sptr=string,usrlen=0; usrlen < USR_LEN && (sptr-string) < slen; sptr++) {
676 if(!*sptr || strncmp(sptr, FS_DIR_SE
1444 const char *sptr; /* A pointer into suffix[] */ local
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_gen.c613 * _nsc_sprint_dec (char **sptr, int n, int zero, int len)
618 * buffer referenced by 'sptr' and updates the pointer
627 _nsc_sprint_dec(char **sptr, int n, int zero, int len) argument
642 *(*sptr)++ = ' ';
645 *(*sptr)++ = '-';
650 *(*sptr)++ = (zero ? '0' : ' ');
653 *(*sptr)++ = '0';
656 *(*sptr)++ = c[i];
662 * _nsc_sprint_hex (char **sptr, unsigned int v,
668 * buffer referenced by 'sptr' an
677 _nsc_sprint_hex(char **sptr, uint_t v, int up, int alt, int zero, int len) argument
[all...]
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Demacs.c1289 register genchar *sptr; /* Pointer within screen */ local
1299 sptr = drawbuff;
1300 logcursor = sptr + cur;
1351 ncursor = nptr + ed_virt_to_phys(ep->ed,sptr,nptr,cur,0,0);
1353 sptr += genlen(sptr);
1355 if(sptr == logcursor)
1380 sptr = ep->screen;
1392 if (*sptr == '\0')
1394 *(sptr
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_typedef.c134 char *ret, *sptr; local
143 sptr = ret;
145 (void) strcpy(sptr, args[i].a_un.a_str);
146 sptr += strlen(args[i].a_un.a_str);
147 *sptr = ' ';
148 sptr++;
150 *sptr = '\0';
/illumos-gate/usr/src/cmd/more/
H A Dmore.c1578 register char *sptr; local
1588 sptr = buf;
1590 while (sptr - buf < nmax) {
1599 if (sptr > buf) {
1602 sptr -= (*--BufferPointer);
1603 if ((*sptr < ' ' && *sptr != '\n') || *sptr == RUBOUT) {
1625 sptr = buf;
1631 sptr
[all...]
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Donce.h87 int sptr = 1; variable
/illumos-gate/usr/src/cmd/dc/
H A Ddc.c563 sptr = stable[c];
568 sp->next = sptr;
588 sptr = stable[c];
589 if (sptr != 0) {
590 p = sptr->val;
598 sptr = stable[c] = sfree;
602 sptr->next = 0;
605 sptr->val = p;
612 sptr = stable[c];
613 if (sptr
[all...]

Completed in 100 milliseconds

123