| /illumos-gate/usr/src/lib/krb5/kadm5/ |
| H A D | misc_free.c | 33 kadm5_free_policy_ent(void *server_handle, kadm5_policy_ent_t val) argument 39 if(val) { 40 if (val->policy) 41 free(val->policy); 43 free(val); 49 kadm5_free_name_list(void *server_handle, char **names, int count) argument 54 free(names[count]); 55 free(names); 96 kadm5_principal_ent_t val) 103 if(val) { 95 kadm5_free_principal_ent(void *server_handle, kadm5_principal_ent_t val) argument [all...] |
| /illumos-gate/usr/src/lib/libresolv2/common/irs/ |
| H A D | gen.c | 73 int val; member in struct:nameval 275 find_name(const char *name, const struct nameval names[]) { argument 278 for (n = 0; names[n].name != NULL; n++) 279 if (strcmp(name, names[n].name) == 0) 280 return (names[n].val);
|
| /illumos-gate/usr/src/lib/libshell/common/bltins/ |
| H A D | read.c | 198 * <names> is an array of variable names 204 int sh_readline(register Shell_t *shp,char **names, int fd, int flags,long timeout) argument 209 register char *name, *val; local 230 if(names && (name = *names)) 233 if(val= strchr(name,'?')) 234 *val = 0; 254 name = *++names; 255 if(val) [all...] |
| /illumos-gate/usr/src/cmd/svc/configd/ |
| H A D | object.c | 80 tx_check_genid(void *data_arg, int columns, char **vals, char **names) argument 105 tx_process_property(void *data_arg, int columns, char **vals, char **names) argument 615 * value is placed in *val. 622 const char **val) 648 *val = bp; 621 tx_cmd_value(tx_commit_data_t *tx_data, size_t cmd_no, uint32_t val_no, const char **val) argument
|
| H A D | backend.c | 381 { "prop_lnk_tbl", "val", "lnk_val_id" }, 439 run_single_int_callback(void *arg, int columns, char **vals, char **names) argument 442 uint32_t val; local 453 val = strtoul(vals[0], &endptr, 10); 454 if ((val == 0 && endptr == vals[0]) || *endptr != 0 || errno != 0) 457 *info->rs_out = val; 464 backend_fail_if_seen(void *arg, int columns, char **vals, char **names) argument 1588 uint32_t val = -1UL; local 1591 info.rs_out = &val; 1600 val 1837 uint32_t val = -1UL; local [all...] |
| /illumos-gate/usr/src/uts/common/sys/ |
| H A D | priv.h | 156 uint_t val; member in struct:priv_info_uint 169 * names[1] is a place holder which can contain multiple NUL terminated, 176 char names[1]; /* "string1\0string2\0 ..stringN\0" */ member in struct:priv_info_names
|
| /illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
| H A D | lsar_svc.c | 664 * on local names and SIDs. The domain name is the local hostname. 723 accname = (char *)param->name_table->names->str; 791 struct mslsa_name_entry *names; local 805 names = NDR_NEWN(mxa, struct mslsa_name_entry, n_entry); 810 if (names == NULL || domain_table == NULL || domain_entry == NULL) 817 name = names; 852 param->name_table.entries = names; 941 struct lsar_name_entry2 *names; local 957 names = NDR_NEWN(mxa, struct lsar_name_entry2, n_entry); 962 if (names 1234 fixup_mslsa_QueryInfoPolicy(struct mslsa_QueryInfoPolicy *val) argument [all...] |
| /illumos-gate/usr/src/lib/libsasl/lib/ |
| H A D | auxprop.c | 262 /* Add property names to request 264 * names -- list of property names; must persist until context freed 270 int prop_request(struct propctx *ctx, const char **names) argument 274 if(!ctx || !names) return SASL_BADPARAM; 277 for(new_values=0; names[new_values]; new_values++); 343 if(!strcmp(ctx->values[j].name, names[i])) { 352 ctx->values[ctx->used_values++].name = names[i]; 371 /* Fill in an array of struct propval based on a list of property names 379 int prop_getnames(struct propctx *ctx, const char **names, argument 390 struct propval *val; local 473 struct propval *val; local 517 struct propval *val; local 566 struct propval *val; local 761 const char **val = values; local [all...] |
| /illumos-gate/usr/src/lib/libshell/common/sh/ |
| H A D | nvdisc.c | 238 static void assign(Namval_t *np,const char* val,int flags,Namfun_t *handle) argument 248 if(val && (tp=nv_type(np)) && (nr=nv_open(val,sh.var_tree,NV_VARNAME|NV_ARRAY|NV_NOADD|NV_NOFAIL)) && tp==nv_type(nr)) 262 if(val || isblocked(bp,type)) 266 nv_putv(np,val,flags,handle); 277 nv_putval(SH_VALNOD, val, (flags&NV_INTEGER)?flags:NV_NOFREE); 296 if(val) 320 nv_putv(np,val,flags,handle); 328 nv_putv(np, val, flags, handle); 581 static void putdisc(Namval_t* np, const char* val, in argument 627 nv_adddisc(Namval_t *np, const char **names, Namval_t **funs) argument 759 put_notify(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 816 num_clone(register Namval_t *np, void *val) argument 886 const char *val = mp->nvalue.cp; local 973 clone_putv(Namval_t *np,const char* val,int flags,Namfun_t *handle) argument 1248 put_table(register Namval_t* np, const char* val, int flags, Namfun_t* fp) argument [all...] |
| H A D | nvtype.c | 37 "[+?If no \aname\as are specified then the names and values of all " 90 char **names; member in struct:Namtype 225 static void put_chtype(Namval_t* np, const char* val, int flag, Namfun_t* fp) argument 227 if(!val && nv_isattr(np,NV_REF)) 229 nv_putv(np,val,flag,fp); 230 if(!val) 527 if((memcmp(name,dp->names[i],n)==0) && dp->names[i][n]==0) 535 static void put_type(Namval_t* np, const char* val, int flag, Namfun_t* fp) argument 538 if(val 978 char *val=nv_getval(np); local 1287 char *val=0; local 1517 put_stat(Namval_t* np, const char* val, int flag, Namfun_t* nfp) argument [all...] |
| /illumos-gate/usr/src/lib/libprtdiag/common/ |
| H A D | display_sun4v.c | 67 #define OBP_PROP_SLOT_NAMES "slot-names" 199 char val[PICL_PROPNAMELEN_MAX], *p, *q; local 203 if (picl_get_propval_by_name(nodeh, PICL_PROP_BINDING_NAME, val, 204 sizeof (val)) == PICL_SUCCESS) { 205 if (strstr(val, PICL_CLASS_PCIEX)) 208 else if (strstr(val, PICL_CLASS_PCI)) 227 if (strstr(val, "SUNW,") != NULL) 228 p = strchr(val, ',') + 1; 230 p = val; 258 char val[PICL_PROPNAMELEN_MA local 436 char val[PICL_PROPNAMELEN_MAX]; local 454 char *val = args; local 751 char val[PICL_PROPNAMELEN_MAX]; local 1124 char val[PICL_PROPNAMELEN_MAX]; local 1126 char *names[PARENT_NAMES]; local 1356 char *names[PARENT_NAMES]; local 1761 char *names[PARENT_NAMES]; local 2069 char val[PICL_PROPNAMELEN_MAX]; local [all...] |
| /illumos-gate/usr/src/ucbcmd/ls/ |
| H A D | ls.c | 777 struct cachenode *lesschild; /* subtree whose entries < val */ 778 struct cachenode *grtrchild; /* subtree whose entries > val */ 779 int val; /* the uid or gid of this entry */ member in struct:cachenode 781 char name[NMAX+1]; /* the string that val maps to */ 782 } *names, *groups; variable in typeref:struct:cachenode 785 findincache(struct cachenode **head, id_t val) argument 791 if (val == c->val) { 794 } else if (val < c->val) { [all...] |
| /illumos-gate/usr/src/uts/common/io/ppp/sppptun/ |
| H A D | sppptun.c | 403 kstat_setup(kstat_named_t *knt, const char **names, int nstat, argument 411 kstat_set_string(knt[i].name, names[i]); 1512 uint32_t val = 0; local 1538 val = RCV_B7_1 | RCV_B7_0 | RCV_ODDP | RCV_EVNP; 1543 val = PPPTYP_AHDLC; 1548 val = 0; 1582 *(uint32_t *)mp->b_cont->b_wptr = val;
|
| /illumos-gate/usr/src/uts/common/io/uath/ |
| H A D | uath.c | 567 static const char *names[] = { local 629 if (code < N(names)) 630 return (names[code]); 914 uath_get_capability(struct uath_softc *sc, uint32_t cap, uint32_t *val) argument 920 sizeof (cap), val, sizeof (uint32_t), UATH_CMD_FLAG_MAGIC); 922 *val = BE_32(*val); 2429 uath_config(struct uath_softc *sc, uint32_t reg, uint32_t val) argument 2436 *(uint32_t *)write.data = BE_32(val); 2616 uint32_t val; local 2902 uath_m_stat(void *arg, uint_t stat, uint64_t *val) argument [all...] |
| /illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
| H A D | hc.c | 565 uint64_t val; local 568 &val) == 0 || nvlist_lookup_uint64(hcsp, 569 "asru-" FM_FMRI_HC_SPECIFIC_OFFSET, &val) == 0) 572 FM_FMRI_HC_SPECIFIC_PHYSADDR, &val) == 0 || 574 "asru-" FM_FMRI_HC_SPECIFIC_PHYSADDR, &val) == 0) 578 (void) snprintf(hexstr, sizeof (hexstr), "%llx", val); 991 uint64_t val; local 995 val = strtoull(hcid, NULL, 16); 998 if (nvlist_add_uint64(hcsp, hcsn, val) != 0 || 1103 * Only enumerate elements with correct canonical names 2142 const char *names[] = { local [all...] |
| /illumos-gate/usr/src/grub/grub-0.97/stage2/ |
| H A D | fsys_zfs.c | 765 zap_lookup(dnode_phys_t *zap_dnode, const char *name, uint64_t *val, argument 783 return (mzap_lookup(zapbuf, size, name, val)); 787 val, stack)); 926 const char **names = arg; local 932 for (i = 0; names[i] != NULL; i++) { 933 if (grub_strcmp(za->za_name, names[i]) == 0) { 1350 nvpair_value(char *nvp, void *val, int valtype, int *nelmp) argument 1353 char *strval = val; 1354 uint64_t *intval = val; 1394 *(void **)val 1409 nvlist_lookup_value(char *nvlist, char *name, void *val, int valtype, int *nelmp) argument [all...] |
| /illumos-gate/usr/src/boot/sys/boot/zfs/ |
| H A D | zfsimpl.c | 357 uint64_t val; local 358 xdr_uint64_t(&p, &val); 359 printf(" = 0x%jx\n", (uintmax_t)val); 766 static const char* names[] = { local 776 return names[state]; 912 uint64_t val; local 949 DATA_TYPE_UINT64, 0, &val)) { 953 if (!SPA_VERSION_IS_SUPPORTED(val)) { 955 (unsigned) val, (unsigned) SPA_VERSION); 968 DATA_TYPE_UINT64, 0, &val)) { [all...] |
| /illumos-gate/usr/src/cmd/ed/ |
| H A D | ed.c | 70 "maximum of 64 characters in file names", /* 24 */ 247 static long savnames[26], names[26]; variable 267 static char *val; variable 389 if ((val = getenv(name)) != NULL) 390 if (strcmp(val, rshell) == 0) 658 names[c-'a'] = addr2->cur & ~01; 1021 if (names[c-'a'] == (a1->cur & ~01)) 1790 for (markp = names; markp < &names[26]; ) 1946 for (markp = names; mark [all...] |
| /illumos-gate/usr/src/uts/common/io/ |
| H A D | bridge.c | 355 bridge_m_getstat(void *arg, uint_t stat, uint64_t *val) argument 556 kstat_setup(kstat_named_t *knt, const char **names, int nstat, argument 563 kstat_named_init(&knt[i], names[i], KSTAT_DATA_UINT64);
|
| /illumos-gate/usr/src/lib/libast/common/regex/ |
| H A D | reglib.h | 564 short val[15]; member in struct:State_s::__anon2664 571 Dt_t* names; member in struct:State_s
|
| /illumos-gate/usr/src/lib/libdtrace/common/ |
| H A D | dt_parser.c | 2181 static const char *const names[] = { local 2199 names[yypcb->pcb_pspec]); 3177 int kind, val, uref; local 3325 lp->dn_ctfp, lp->dn_type, rp->dn_string, &val) == 0) { 3342 rp->dn_value = (intmax_t)val;
|
| /illumos-gate/usr/src/cmd/zonestat/zonestat/ |
| H A D | zonestat.c | 286 " %s Report resources with specific names.\n" 287 " Valid resource names are:\n" 549 * Returns 1 if the name matches one of the specified zone names. 0 550 * otherwise. Always matches if no zone names were specified. 583 * Returns 1 if the resource matches one of the specified resource names. 0 584 * otherwise. Always matches if no resource names were specified. 626 format_uint64(uint64_t val, char *str, size_t len) argument 631 if (val == UINT64_MAX) { 635 if (val <= 9999) { 636 (void) snprintf(str, len, "%llu", val); 2103 zonestat_parse_names(char *names, char ***namelist, size_t count) argument 2137 int val; local [all...] |
| /illumos-gate/usr/src/uts/sun/io/scsi/adapters/ |
| H A D | fas.c | 253 static int fas_commoncap(struct scsi_address *ap, char *cap, int val, 8907 fas_commoncap(struct scsi_address *ap, char *cap, int val, argument 8949 if (val) 8959 if (val) { 8980 if (val) { 8995 if (val && fas_alloc_active_slots(fas, slot, 9009 if (val) { 9025 if (val) { 9038 fas->f_qfull_retries[target] = (uchar_t)val; 9044 drv_usectohz(val * 100 9416 } names[] = { local [all...] |
| /illumos-gate/usr/src/cmd/ls/ |
| H A D | ls.c | 1027 * case when no names are given 2186 struct cachenode *lesschild; /* subtree whose entries < val */ 2187 struct cachenode *grtrchild; /* subtree whose entries > val */ 2188 long val; /* the uid or gid of this entry */ member in struct:cachenode 2190 char name[NMAX+1]; /* the string that val maps to */ 2192 static struct cachenode *names, *groups; variable in typeref:struct:cachenode 2195 findincache(struct cachenode **head, long val) argument 2201 if (val == c->val) { 2204 } else if (val < 2580 set_sysattrb_display(char *name, boolean_t val, struct lbuf *rep) argument [all...] |
| /illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
| H A D | snoop_nfs4.c | 825 * Return the names and arguments of the oplist elements, up to 939 * Return the names and arguments of the oplist elements, up to 1296 sprintf(get_line(0, 0), " len = %u val = %s", 2207 uchar_t val = (*wp) >> (byte_num * 8); local 2212 sprintf(buf, "%s 0x%02x ", prefix, val); 2215 if (val & (1 << bit)) { 3370 sprintf(get_line(0, 0), "Delegate Type = %s (val = %d)", 3472 sprintf(get_line(0, 0), " len = %u val = %s ", 3483 sprintf(get_line(0, 0), " len = %u val = %s ", 3673 * Return string with long/short flag names 3677 get_flags(uint_t flag, ftype_names_t *names, uint_t num_flags, int shortname, char *prefix) argument 3980 static bitmap4 val; local 3992 nfs_ftype4 val; local 4002 fattr4_fh_expire_type val; local 4046 changeid4 val; local 4057 uint64_t val; local 4067 bool_t val; local 4078 bool_t val; local 4089 bool_t val; local 4100 fsid4 val; local 4111 bool_t val; local 4122 uint32_t val; local 4132 nfsstat4 val; local 4143 static fattr4_acl val; local 4236 fattr4_aclsupport val; local 4253 bool_t val; local 4264 bool_t val; local 4275 bool_t val; local 4286 bool_t val; local 4297 bool_t val; local 4308 static nfs_fh4 val; local 4319 uint64_t val; local 4329 uint64_t val; local 4339 uint64_t val; local 4349 uint64_t val; local 4359 uint64_t val; local 4381 static fs_locations4 val; local 4396 bool_t val; local 4407 bool_t val; local 4418 uint64_t val; local 4428 uint32_t val; local 4438 uint32_t val; local 4448 uint64_t val; local 4458 uint64_t val; local 4469 static utf8string val; local 4480 mode4 val; local 4490 bool_t val; local 4501 uint32_t val; local 4511 static utf8string val; local 4522 static utf8string val; local 4533 uint64_t val; local 4543 uint64_t val; local 4553 uint64_t val; local 4563 specdata4 val; local 4574 uint64_t val; local 4584 uint64_t val; local 4594 uint64_t val; local 4604 uint64_t val; local 4614 bool_t val; local 4625 nfstime4 val; local 4636 settime4 val; local 4653 nfstime4 val; local 4664 nfstime4 val; local 4675 nfstime4 val; local 4686 nfstime4 val; local 4697 nfstime4 val; local 4708 settime4 val; local [all...] |