/illumos-gate/usr/src/common/util/ |
H A D | getoptstr.c | 89 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/common/mdesc/ |
H A D | mdesc_getpropstr.c | 34 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/lib/libgen/common/ |
H A D | bufsplit.c | 58 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/cmd/abi/spectrans/spec2trace/ |
H A D | printfuncs.c | 302 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/uts/sun4v/sys/ |
H A D | mdeg.h | 49 char *strp; member in union:__anon10353::__anon10354 55 #define ps_str _p.strp
|
/illumos-gate/usr/src/cmd/sendmail/db/log/ |
H A D | log_archive.c | 380 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/lvm/libsvm/common/ |
H A D | metainterfaces.c | 335 char *strp = NULL; local 389 if ((strp = strdup(devnp->cname)) == NULL) { 393 svmp->md_comps[cnt] = strp;
|
/illumos-gate/usr/src/lib/scsi/plugins/ses/SUN-Storage-J4400/common/ |
H A D | riverwalk.c | 78 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/libbc/libc/gen/common/ |
H A D | setlocale.c | 506 getstr(char *p, char **strp) argument 508 *strp = p;
|
/illumos-gate/usr/src/cmd/sort/common/ |
H A D | merge.c | 94 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 D | streams.c | 152 stream_stat_chain(stream_t *strp) argument 155 stream_t *cur_strp = strp; 355 * stacks. Finally, if strp == NULL, stream_push_to_temporary() creates and
|
/illumos-gate/usr/src/cmd/ldmad/ |
H A D | ldma_system.c | 196 ldma_get_chassis_serialno(char **strp) argument 206 *strp = ldma_sys_chassisno; 240 *strp = ldma_sys_chassisno;
|
H A D | mdesc_lib.c | 58 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 D | mdesc_mutable.h | 94 char *strp; member in struct:md_string
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | stdio.c | 252 char *strp = ptr; local 258 bytes = read(stream->_file, &strp[totbytes], size);
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | optlib.h | 86 Sfio_t* strp; /* optstr() stream */ member in struct:Optstate_s
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | slice.c | 293 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/common/ctf/ |
H A D | ctf_open.c | 112 const ctf_sect_t *sp, const ctf_sect_t *strp) 138 if (gsp->st_name < strp->cts_size) 139 name = (const char *)strp->cts_data + gsp->st_name; 802 ctf_sect_t *ctp, *symp, *strp; local 852 strp = &strsect; 854 strp = NULL; 857 fp = ctf_bufopen(ctp, symp, strp, &err); 111 init_symtab(ctf_file_t *fp, const ctf_header_t *hp, const ctf_sect_t *sp, const ctf_sect_t *strp) argument
|
/illumos-gate/usr/src/cmd/troff/ |
H A D | n3.c | 754 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/lib/passwdutil/ |
H A D | ldap_attr.c | 510 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);
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | did.c | 111 di_smbios_find_slot(smbios_hdl_t *shp, const smbios_struct_t *strp, void *data) argument 116 if (strp->smbstr_type != SMB_TYPE_SLOT || 117 smbios_info_slot(shp, strp->smbstr_id, &slot) != 0)
|
/illumos-gate/usr/src/lib/libv12n/sparc/ |
H A D | libv12n.c | 713 v12n_get_ldma_system_msg(int msgtype, char **strp) argument 811 (*strp = strdup(v12n_ldma_msgstr)) == NULL)
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_temp.c | 476 } strregs[('z'-'a'+1) + ('9'-'0'+1)], *strp; variable in typeref:struct:strreg 675 strp = sp = mapreg(c); 743 struct strreg *sp = strp;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | encrypt.c | 783 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/psm/stand/cpr/sparcv9/sun4u/ |
H A D | util.c | 443 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;
|