Searched defs:sptr (Results 1 - 25 of 44) sorted by relevance

12

/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/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/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/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/cmd/sendmail/libsmutil/
H A Dsafefile.c547 char *sptr; local
549 sptr = strrchr(s, '/');
550 if (sptr != NULL)
552 *sptr = '\0';
553 offset = sptr + 1 - s;
565 *sptr = '/';
/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/gss_mechs/mech_krb5/mech/
H A Daccept_sec_context.c288 char *sptr; local
423 sptr = (char *) ptr;
424 TREAD_STR(sptr, ap_req.data, ap_req.length);
H A Dinit_sec_context.c689 char *sptr; local
771 sptr = (char *) ptr; /* PC compiler bug */
772 TREAD_STR(sptr, ap_rep.data, ap_rep.length);
789 sptr = (char *) ptr; /* PC compiler bug */
790 TREAD_STR(sptr, ap_rep.data, ap_rep.length);
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Dbindings.c174 char *sptr; local
188 sptr = (char *)bhp + bhp->bh_strcur;
190 (void) strncpy(sptr, str, slen);
191 sptr[slen] = '\0';
/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/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/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/cmd/csplit/
H A Dcsplit.c61 char *sptr; variable
315 if ((sptr = strrchr(linbuf, '\n')) != NULL)
316 *sptr = '\0';
/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/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/dc/
H A Ddc.h152 struct sym *sptr, *sfree; variable in typeref:struct:sym
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Donce.h87 int sptr = 1; variable
/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/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/cmd/format/
H A Dio.c351 char *cptr, *hptr, *sptr; local
389 sptr = str;
395 sptr = str;
422 clean_token(buf, sptr);

Completed in 129 milliseconds

12