/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | ipft_tx.c | 186 char *cps[20], **cpp, c, ipopts[68]; local 200 cpp = cps; 201 if (!*cpp) 204 c = **cpp; 206 fprintf(stderr, "bad direction \"%s\"\n", *cpp); 210 cpp++; 211 if (!*cpp) 214 if (!strcasecmp(*cpp, "on")) { 215 cpp++; 216 if (!*cpp) [all …]
|
H A D | loglevel.c | 12 int loglevel(cpp, facpri, linenum) in loglevel() argument 13 char **cpp; in loglevel() 22 if (!*++cpp) { 28 s = strchr(*cpp, '.'); 31 fac = fac_findname(*cpp); 34 "Unknown facility", *cpp); 44 pri = pri_findname(*cpp); 47 "Unknown priority", *cpp);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_set.c | 89 const char **cpp; in profile_update_relation() local 105 for (cpp = names; cpp[1]; cpp++) { in profile_update_relation() 107 retval = profile_find_node(section, *cpp, 0, 1, in profile_update_relation() 116 retval = profile_find_node(section, *cpp, old_value, 0, &state, &node); in profile_update_relation() 141 const char **cpp; in profile_clear_relation() local 151 for (cpp = names; cpp[1]; cpp++) { in profile_clear_relation() 153 retval = profile_find_node(section, *cpp, 0, 1, in profile_clear_relation() 161 retval = profile_find_node(section, *cpp, 0, 0, &state, &node); in profile_clear_relation() 187 const char **cpp; in profile_rename_section() local 200 for (cpp = names; cpp[1]; cpp++) { in profile_rename_section() [all …]
|
H A D | prof_get.c | 98 char **cpp; in is_list_member() local 103 for (cpp = list->list; *cpp; cpp++) { in is_list_member() 104 if (!strcmp(*cpp, str)) in is_list_member()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | get_krbhst.c | 63 char **values, **cpp, *cp; in krb5_get_krbhst() local 91 for (cpp = values; *cpp; cpp++) { in krb5_get_krbhst() 92 cp = strchr(*cpp, ' '); in krb5_get_krbhst() 95 cp = strchr(*cpp, '\t'); in krb5_get_krbhst() 98 cp = strchr(*cpp, ':'); in krb5_get_krbhst() 102 count = cpp - values; in krb5_get_krbhst() 120 for (cpp = rethosts; *cpp; cpp++) in krb5_get_krbhst() 121 free(*cpp); in krb5_get_krbhst()
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | gethostent.c | 439 char **cpp; local 445 cpp = he->h_addr_list; 446 while (*cpp != NULL) { 447 memput(*cpp, (he->h_addrtype == AF_INET) ? 449 *cpp = NULL; 450 cpp++; 454 cpp = he->h_aliases; 455 while (*cpp != NULL) { 456 memput(*cpp, strlen(*cpp) + 1); 457 cpp++; [all …]
|
H A D | dns_pr.c | 190 char *p, *cp, **cpp, **new; in parse_hes_list() local 194 for (cpp = hes_list; *cpp; cpp++) { in parse_hes_list() 195 cp = *cpp; in parse_hes_list()
|
H A D | dns_sv.c | 183 char *p, *cp, **cpp, **new; in parse_hes_list() local 188 for (cpp = hes_list; *cpp; cpp++) { in parse_hes_list() 189 cp = *cpp; in parse_hes_list()
|
H A D | hesiod.c | 269 char *key, *data, *cp, **cpp; in parse_config_file() local 308 cpp = &ctx->LHS; in parse_config_file() 310 cpp = &ctx->RHS; in parse_config_file() 314 *cpp = malloc(strlen(data) + 1); in parse_config_file() 315 if (!*cpp) { in parse_config_file() 319 strcpy(*cpp, data); in parse_config_file()
|
/illumos-gate/usr/src/lib/libresolv/ |
H A D | res_comp.c | 143 u_char **cpp, **lpp, *sp, *eob; local 151 for (cpp = dnptrs; *cpp != NULL; cpp++) 153 lpp = cpp; /* end of list to search */ 168 if (lastdnptr != NULL && cpp < lastdnptr-1) { 169 *cpp++ = cp; 170 *cpp = NULL; 249 register u_char *dn, *cp, **cpp; in dn_find() local 253 for (cpp = dnptrs; cpp < lastdnptr; cpp++) { in dn_find() 255 sp = cp = *cpp; in dn_find()
|
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/ |
H A D | ses2.c | 42 const ses2_ctl_prop_t *cpp; in ses2_setprop() local 48 for (cpp = ctlprops; cpp->scp_name != NULL; cpp++) in ses2_setprop() 49 if (strcmp(cpp->scp_name, nvpair_name(nvp)) == 0) in ses2_setprop() 51 if (cpp->scp_name == NULL) in ses2_setprop() 54 if (cpp->scp_setprop(sp, np, cpp->scp_num, nvp) != 0) in ses2_setprop()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | docmd.c | 103 char **cpp; in docmds() local 128 for (cpp = dhosts; *cpp; cpp++) in docmds() 129 if (strcmp(c->c_name, *cpp) == 0) in docmds() 135 for (cpp = argv; *cpp; cpp++) { in docmds() 137 strcmp(c->c_label, *cpp) == 0) { in docmds() 138 cpp = NULL; in docmds() 142 if (strcmp(f->n_name, *cpp) == 0) in docmds() 147 cpp = NULL; in docmds() 151 doarrow(cpp, c->c_files, c->c_name, c->c_cmds); in docmds() 154 dodcolon(cpp, c->c_files, c->c_name, c->c_cmds); in docmds() [all …]
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | setkey.c | 457 struct cacheuid_list **cpp; in mapuid2cache() local 461 for (cpp = &mdp->bucket[hash]; in mapuid2cache() 462 *cpp != NULL && (*cpp)->uid != uid; in mapuid2cache() 463 cpp = &(*cpp)->next) { in mapuid2cache() 464 debug(KEYSERV_DEBUG0, ("mapuid2cache %x", cpp)); in mapuid2cache() 466 debug(KEYSERV_DEBUG, ("mapuid2cache ret %x", cpp)); in mapuid2cache() 467 return (cpp); in mapuid2cache() 474 struct cacheuid_list **cpp, *cp; in appendsecretkey3() local 495 cpp = mapuid2cache(uid, mdp); in appendsecretkey3() 496 if (*cpp == NULL) { in appendsecretkey3() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/db/ |
H A D | db_join.c | 167 DBC **cpp; local 205 for (cpp = jc->j_curslist + 1; *cpp != NULL; cpp++) { 206 retry2: if ((ret = ((*cpp)->c_get)(*cpp, 216 if (F_ISSET(*cpp, DBC_KEYSET)) { 217 F_CLR(*cpp, DBC_KEYSET); 218 F_SET(*cpp, DBC_CONTINUE);
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | xdr.c | 460 xdr_bytes(XDR *xdrs, char **cpp, uint_t *sizep, const uint_t maxsize) in xdr_bytes() argument 462 char *sp = *cpp; /* sp is the actual string pointer */ in xdr_bytes() 484 *cpp = sp = (char *)mem_alloc(nodesize); in xdr_bytes() 493 *cpp = NULL; in xdr_bytes() 566 xdr_string(XDR *xdrs, char **cpp, const uint_t maxsize) in xdr_string() argument 568 char *sp = *cpp; /* sp is the actual string pointer */ in xdr_string() 608 if (*cpp == NULL) { in xdr_string() 614 if (*cpp == NULL) { in xdr_string() 619 *cpp = sp; in xdr_string() 627 *cpp = NULL; in xdr_string() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/ |
H A D | crypt.c | 290 #define PERM6464(d,d0,d1,cpp,p) \ argument 291 LOAD(d,d0,d1,(p)[(0<<CHUNKBITS)+(cpp)[0]]); \ 292 OR (d,d0,d1,(p)[(1<<CHUNKBITS)+(cpp)[1]]); \ 293 OR (d,d0,d1,(p)[(2<<CHUNKBITS)+(cpp)[2]]); \ 294 OR (d,d0,d1,(p)[(3<<CHUNKBITS)+(cpp)[3]]); \ 295 OR (d,d0,d1,(p)[(4<<CHUNKBITS)+(cpp)[4]]); \ 296 OR (d,d0,d1,(p)[(5<<CHUNKBITS)+(cpp)[5]]); \ 297 OR (d,d0,d1,(p)[(6<<CHUNKBITS)+(cpp)[6]]); \ 298 OR (d,d0,d1,(p)[(7<<CHUNKBITS)+(cpp)[7]]); 299 #define PERM3264(d,d0,d1,cpp,p) \ argument [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_name.c | 514 const u_char **cpp, **lpp, *eob, *msg; in ns_name_pack() local 521 lpp = cpp = NULL; in ns_name_pack() 524 for (cpp = dnptrs; *cpp != NULL; cpp++) in ns_name_pack() 526 lpp = cpp; /*%< end of list to search */ in ns_name_pack() 570 if (lastdnptr != NULL && cpp < lastdnptr - 1 && in ns_name_pack() 572 *cpp++ = dstp; in ns_name_pack() 573 *cpp = NULL; in ns_name_pack() 921 const u_char * const *cpp; in dn_find() local 924 for (cpp = dnptrs; cpp < lastdnptr; cpp++) { in dn_find() 925 sp = *cpp; in dn_find() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | C+probe | 425 echo "" $@' > cpp 426 chmod +x cpp 427 case `./cpp -Dprobe` in 430 *) cp /bin/echo cpp 431 chmod u+w cpp 435 do cp cpp ${prefix}cpp 441 if test `realcppC=./cpp $cc -Dprobe -E flags.$src | tee cpp.out | grep -c '[-]Dprobe'` -eq 1 443 elif test `cppC=./cpp $cc -Dprobe -E flags.$src | tee cpp.out | grep -c '[-]Dprobe'` -eq 1 445 elif test `_CPPNAME=./cpp $cc -Dprobe -E flags.$src | tee cpp.out | grep -c '[-]Dprobe'` -eq 1 447 elif test `_CPP=./cpp $cc -Dprobe -E flags.$src | tee cpp.out | grep -c '[-]Dprobe'` -eq 1 [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | appdefault.c | 130 char **cpp; in appdefault_get() local 131 for (cpp = nameval; *cpp; cpp++) in appdefault_get() 132 free(*cpp); in appdefault_get()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | xdr.c | 418 xdr_bytes(XDR *xdrs, char **cpp, uint_t *sizep, const uint_t maxsize) in xdr_bytes() argument 420 char *sp = *cpp; /* sp is the actual string pointer */ in xdr_bytes() 443 *cpp = sp = malloc(nodesize); in xdr_bytes() 454 *cpp = NULL; in xdr_bytes() 526 xdr_string(XDR *xdrs, char **cpp, const uint_t maxsize) in xdr_string() argument 528 char *newsp, *sp = *cpp; /* sp is the actual string pointer */ in xdr_string() 597 *cpp = sp; in xdr_string() 603 *cpp = NULL; in xdr_string() 670 xdr_wrapstring(XDR *xdrs, char **cpp) in xdr_wrapstring() argument 672 return (xdr_string(xdrs, cpp, LASTUNSIGNED)); in xdr_wrapstring()
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | tbl_term.c | 164 const struct tbl_cell *cp, *cpn, *cpp, *cps; in term_tbl() local 340 cpp = sp->prev == NULL ? NULL : in term_tbl() 371 if (cpp != NULL) { in term_tbl() 372 if (uvert < cpp->vert && in term_tbl() 375 !IS_HORIZ(cpp)) || in term_tbl() 377 cpp->next != NULL && in term_tbl() 379 !IS_HORIZ(cpp->next)))) in term_tbl() 380 uvert = cpp->vert; in term_tbl() 381 cpp = cpp->next; in term_tbl() 573 const struct tbl_cell *cpp; /* Layout cell above this line. */ in tbl_hrule() local [all …]
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_mapping.c | 842 char **cpp, *cp; in __ns_ldap_freeAttributeMaps() local 852 for (cpp = ptr->mappedAttr; (cp = *cpp) != NULL; cpp++) in __ns_ldap_freeAttributeMaps() 992 char **cpp, **npp; in __ns_ldap_mapAttributeList() local 1001 cpp = (char **)calloc(i+1, sizeof (char *)); in __ns_ldap_mapAttributeList() 1002 if (cpp == NULL) in __ns_ldap_mapAttributeList() 1009 cpp[i] = strdup(npp[0]); in __ns_ldap_mapAttributeList() 1012 if (cpp[i] == NULL) { in __ns_ldap_mapAttributeList() 1013 __s_api_free2dArray(cpp); in __ns_ldap_mapAttributeList() 1017 cpp[i] = strdup(*opp); in __ns_ldap_mapAttributeList() 1018 if (cpp[i] == NULL) { in __ns_ldap_mapAttributeList() [all …]
|
/illumos-gate/usr/src/cmd/prtdiag/ |
H A D | Makefile.com | 56 $(COMPILE.cpp) $< > $<.i 60 $(COMPILE.cpp) $< > $<.i
|
/illumos-gate/usr/src/cmd/sdiff/ |
H A D | sdiff.c | 139 static void cpp(char *, FILE *, FILE *); 674 cpp(ltemp, left, odes); in cmdin() 679 cpp(rtemp, right, odes); in cmdin() 707 cpp(ltemp, left, tempdes); in cmdin() 708 cpp(rtemp, right, tempdes); in cmdin() 732 cpp(ename, tempdes, odes); in cmdin() 744 cpp(char *from, FILE *fromdes, FILE *todes) in cpp() function
|
/illumos-gate/usr/src/cmd/diff/ |
H A D | Makefile | 54 $(COMPILE.cpp) $(SRCS) > diff.po.i 61 $(COMPILE.cpp) $(SRCS) > diff.dc.i
|