Searched refs:strp (Results 1 - 25 of 48) sorted by relevance

12

/illumos-gate/usr/src/common/util/
H A Dgetoptstr.c89 const char * const strp = params->gos_strp; local
92 if (params->gos_opts == NULL || strp == NULL)
98 if (strp[0] == '\0' || strp[0] != '-')
100 if (ISNTWORDCH(strp[1])) {
106 if (strp[1] == '-' && ISNTWORDCH(strp[2])) {
107 params->gos_strp = &strp[2];
113 params->gos_last_opt = c = strp[params->gos_pos];
116 params->gos_errp = &strp[param
[all...]
/illumos-gate/usr/src/lib/scsi/plugins/ses/SUN-Storage-J4400/common/
H A Driverwalk.c78 ses_riverwalk_stringin_t *strp; local
107 strp = (ses_riverwalk_stringin_t *)stringin;
125 if (strncmp(strp->rws_ps0_id, "SPS0", 4) != 0)
128 pn = strp->rws_ps0_pn;
129 sn = strp->rws_ps0_sn;
133 if (strncmp(strp->rws_ps1_id, "SPS1", 4) != 0)
136 pn = strp->rws_ps1_pn;
137 sn = strp->rws_ps1_sn;
145 if (strncmp(strp->rws_sim0_id, "SIM0", 4) != 0)
148 pn = strp
[all...]
/illumos-gate/usr/src/lib/libgen/common/
H A Dbufsplit.c58 char **strp; local
62 strp = pthread_getspecific(*keyp);
63 if (strp == NULL) {
64 strp = malloc(sizeof (char *));
65 if (thr_setspecific(*keyp, strp) != 0) {
66 if (strp)
67 (void) free(strp);
68 strp = NULL;
70 if (strp != NULL)
71 *strp
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dlocaltime.c139 static const char * getzname P((const char * strp, const int i));
140 static const char * getnum P((const char * strp, int * nump, int min,
142 static const char * getsecs P((const char * strp, long * secsp));
143 static const char * getoffset P((const char * strp, long * offsetp));
144 static const char * getrule P((const char * strp, struct rule * rulep));
444 getzname(strp, quoted)
445 const char * strp;
451 while ((c = (unsigned char)*strp) != '\0' &&
453 ++strp;
455 while ((c = (unsigned char)*strp) !
[all...]
H A Dstrftime.c45 static char *getstr(/*char *p, char **strp*/);
521 getstr(p, strp)
523 char **strp;
525 *strp = p;
/illumos-gate/usr/src/common/mdesc/
H A Dmdesc_getpropstr.c34 md_get_prop_str(md_t *ptr, mde_cookie_t node, char *namep, char **strp) argument
57 *strp = (char *)(mdp->datap+
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dmdeg.h49 char *strp; member in union:__anon10353::__anon10354
55 #define ps_str _p.strp
/illumos-gate/usr/src/cmd/sort/common/
H A Dmerge.c94 merge_one_stream(field_t *fields_chain, stream_t *strp, stream_t *outstrp, argument
97 size_t element_size = strp->s_element_size;
100 if (strp->s_status & STREAM_SINGLE || strp->s_status & STREAM_WIDE)
101 stream_set(strp, STREAM_INSTANT);
103 if (SOP_PRIME(strp) == PRIME_SUCCEEDED) {
104 strp->s_current.l_collate_bufsize = initial_size;
105 strp->s_current.l_collate.sp = safe_realloc(NULL, initial_size);
107 (void) mg_coll_convert(fields_chain, &strp->s_current,
109 SOP_PUT_LINE(outstrp, &strp
[all...]
H A Dutility.c216 stream_t *strp = S->m_input_streams; local
218 while (strp != NULL) {
222 if (!(strp->s_status & STREAM_NOTFILE) &&
223 strp->s_dev == output_stat.st_dev &&
224 strp->s_ino == output_stat.st_ino &&
225 strp->s_filesize > 0) {
227 output_guard_size = strp->s_filesize;
234 if ((strp->s_filename = output_guard_tempname =
245 strp = strp
260 set_cleanup_chain(stream_t **strp) argument
278 stream_t *strp; local
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dlocaltime.c2130 getzname(const char *strp, int quoted) argument
2135 while ((c = *strp) != '\0' && c != '>' &&
2137 ++strp;
2140 while ((c = *strp) != '\0' && isgraph((unsigned char)c) &&
2143 ++strp;
2151 return (strp);
2160 getnum(const char *strp, int *nump, int min, int max) argument
2165 if (strp == NULL || !isdigit((unsigned char)(c = *strp)))
2172 c = *++strp;
2187 getsecs(const char *strp, long *secsp) argument
2226 getoffset(const char *strp, long *offsetp) argument
2253 getrule(const char *strp, rule_t *rulep, int compat_flag) argument
[all...]
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dprintfuncs.c302 char *strp, *p; local
304 strp = strdup(str);
306 assert(strp != NULL, "strdup failed");
308 for (p = strp; *p != '\0'; p++)
312 return (strp);
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dutil.c443 char *strp, *subp, *tmp, c; local
448 strp = string;
452 while (*strp) {
453 if (*strp++ == c) {
454 tmp = strp;
455 while ((c = *++subp) == *strp++ && c)
459 strp = tmp;
/illumos-gate/usr/src/cmd/ldmad/
H A Dmdesc_lib.c58 md_find_string(mmd_t *mdp, char *strp, uint32_t *hashp) argument
63 hash = md_byte_hash((uint8_t *)strp, strlen(strp));
69 if (msp->hash == hash && strcmp(msp->strp, strp) == 0)
77 md_new_string(mmd_t *mdp, char *strp) argument
82 msp = md_find_string(mdp, strp, &hash);
87 msp->strp = strdup(strp);
88 if (msp->strp
[all...]
H A Dldma_system.c196 ldma_get_chassis_serialno(char **strp) argument
206 *strp = ldma_sys_chassisno;
240 *strp = ldma_sys_chassisno;
H A Dmdesc_mutable.h94 char *strp; member in struct:md_string
/illumos-gate/usr/src/lib/libast/common/misc/
H A Doptlib.h86 Sfio_t* strp; /* optstr() stream */ member in struct:Optstate_s
/illumos-gate/usr/src/cmd/troff/
H A Dn3.c754 tchar *strp; local
790 strp = (tchar *)argppend;
798 errprint("savnxf=0x%x,nxf=0x%x,argpp=0x%x,strp=argppend=0x%x,lim=0x%x,enda=0x%x",
799 savnxf, nxf, argpp, strp, lim, enda);
803 *argpp++ = strp;
819 *strp++ = i;
820 if (strflg && strp >= lim) {
822 errprint("strp=0x%x, lim = 0x%x",
823 strp, lim);
829 SPACETEST(strp,
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog_archive.c380 char **array, **arrayp, **orig, *strp; local
391 strp = (char *)(array + (orig - *listp) + 1);
396 memcpy(strp, *orig, len + 1);
397 *arrayp = strp;
398 strp += len + 1;
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dslice.c293 char *strp; local
297 if ((strp = strstr(dsk, "/rdsk/")) == NULL) {
299 strp = strstr(dsk, "/rdiskette");
302 if (strp != NULL) {
303 strp++; /* move ptr to the r in rdsk or rdiskette */
307 *strp = *(strp + 1);
308 strp++;
309 } while (*strp);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dencrypt.c783 uchar_t *strp; local
793 for (strp = &str_keyid[4]; keylen > 0; --keylen) {
794 if ((*strp++ = *keyid++) == IAC)
795 *strp++ = IAC;
797 *strp++ = IAC;
798 *strp++ = SE;
799 (void) net_write(str_keyid, strp - str_keyid);
800 printsub('>', &str_keyid[2], strp - str_keyid - 2);
/illumos-gate/usr/src/lib/lvm/libsvm/common/
H A Dmetainterfaces.c335 char *strp = NULL; local
389 if ((strp = strdup(devnp->cname)) == NULL) {
393 svmp->md_comps[cnt] = strp;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dtable.c1581 char str[100], *strp; local
1612 strp = if_bit_string(m.ifm.ifm_flags, _B_TRUE);
1613 if (strp == NULL) {
1614 strp = str;
1628 strp, m.ifm.ifm_index);
1633 strp, ifnamep);
1638 strp, ifp->int_name);
1640 if (strp != str)
1641 free(strp);
1666 strp
[all...]
H A Dif.c75 #define HADD(htbl, strp) \
76 hash_link((htbl), (htbl)->htbl_hash((strp), (htbl)->htbl_key_off), \
77 (strp))
172 link_in(void **head, void *strp, size_t loffs) argument
177 hlp = (struct hlinkage *)((char *)strp + loffs);
184 *head = strp;
189 link_out(void *strp, size_t loffs) argument
194 hlp = (struct hlinkage *)((char *)strp + loffs);
204 hash_link(struct htbl *htbl, uint_t hval, void *strp) argument
212 link_in(hep, strp, htb
218 hash_unlink(struct htbl *htbl, void *strp) argument
267 void *strp; local
[all...]
/illumos-gate/usr/src/stand/lib/sa/
H A Dstdio.c252 char *strp = ptr; local
258 bytes = read(stream->_file, &strp[totbytes], size);
/illumos-gate/usr/src/lib/passwdutil/
H A Dldap_attr.c510 char numbuf[MAX_INT_LEN], *strp; local
521 strp = strdup(numbuf);
522 if (strp == NULL)
525 attrs[i]->attrvalue[0] = strp;
530 strp = strdup(numbuf);
531 if (strp == NULL)
533 attrs[*idx] = new_attr(item, strp);

Completed in 96 milliseconds

12