Searched +defs:val +defs:list (Results 1 - 25 of 35) sorted by relevance

12

/osnet-11/usr/src/lib/libidmap/common/
H A Ddirectory_helper.c174 * Attributes required to generate a canonical name, in named-list and
275 is_in_list(char **list, char *val) argument
277 for (; *list != NULL; list++) {
278 if (uu_strcaseeq(*list, val))
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dalarm.c55 * insert timeout item on current given list in sorted order
57 static void *time_add(struct tevent *item, void *list) argument
59 register struct tevent *tp = (struct tevent*)list;
63 list = (void*)item;
74 return(list);
78 * delete timeout item from current given list, delete timer
80 static void *time_delete(register struct tevent *item, void *list) argument
82 register struct tevent *tp = (struct tevent*)list;
84 list = (void*)tp->next;
94 return(list);
97 print_alarms(void *list) argument
183 putval(Namval_t* np, const char* val, int flag, Namfun_t* fp) argument
[all...]
/osnet-11/usr/src/lib/libdladm/common/
H A Dflowattr.c179 long val; local
181 val = strtol(attr_val, &endp, 10);
182 if (val < 1 || val > MAX_PORT || *endp != '\0')
186 fdesc->fd_local_port = htons((uint16_t)val);
189 fdesc->fd_remote_port = htons((uint16_t)val);
234 * Convert an attribute list to a flow_desc_t using the attribute ad_check()
279 dladm_free_attrs(dladm_arg_list_t *list) argument
281 dladm_free_args(list);
H A Dlibdladm.c303 s = "duplicate processor ID in list";
468 " dsfield=val[:dsfield_mask]";
545 int val; local
549 val = strtol(oarg, &endp, 10);
550 if (errno != 0 || val <= 0 || *endp != '\0')
553 *interval = val;
1024 dladm_find_setbits32(uint32_t mask, uint32_t *list, uint32_t *cnt) argument
1030 list[c++] = 1 << i;
1036 dladm_free_args(dladm_arg_list_t *list) argument
1038 if (list !
1047 dladm_arg_list_t *list; local
[all...]
/osnet-11/usr/src/lib/fm/libasr/common/
H A Dasr_scf.c48 * Stores properties retrieved from SCF in a linked list
103 * Frees the entire SCF property list including the SCF allocated internal
115 * Adds, removes or modifies the previous SCF properties in the old list to
116 * match the new properties in supplied list. Non-zero is returned if there is
123 char *pgname, nvlist_t *list, nvlist_t *oldlist, asr_scf_prop_t **outprops)
131 for (nvp = nvlist_next_nvpair(list, NULL);
133 nvp = nvlist_next_nvpair(list, nvp)) {
166 int64_t val, oval; local
167 (void) nvpair_value_int64(nvp, &val);
170 else if (val
122 asr_addprops(scf_handle_t *scf_hdl, scf_transaction_t *tx, char *pgname, nvlist_t *list, nvlist_t *oldlist, asr_scf_prop_t **outprops) argument
180 uint64_t val, oval; local
194 boolean_t val, oval; local
209 hrtime_t val, oval; local
402 uint8_t *val = scf_simple_prop_next_boolean( local
409 uint64_t *val = scf_simple_prop_next_count( local
416 int64_t *val = scf_simple_prop_next_integer( local
424 int64_t *val = scf_simple_prop_next_time( local
433 char *val = scf_simple_prop_next_astring( local
[all...]
/osnet-11/usr/src/lib/nsswitch/pynss/common/
H A Dnscd.py122 def yesno(self, val):
125 if type(val) == type(True):
126 if val == True:
128 elif type(val) == type(''):
129 r = val.lower()
134 def truefalse(self, val):
137 if type(val) == type(True):
138 if val == True:
140 elif type(val) == type(''):
141 r = val
155 list = [] variable in class:Nscd
168 list = self.get_prop_val_list(prop='config/debug_components') variable in class:Nscd
194 list = [] variable in class:Nscd
207 list = self.get_prop_val_list(prop='config/debug_level') variable in class:Nscd
270 val = db[prop] variable in class:Nscd.init
272 val = None variable in class:Nscd.init
276 val = self.yesno(val) variable in class:Nscd.init
427 val = self.truefalse(val) variable in class:Nscd.init
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dutility.c34 // Adds the specified node to the start of the list
36 // Returns: pointer to the start of the list
39 dlist_add_as_first(DL_NODE *list, void *data) argument
44 return (list);
50 node->next = list;
51 if (list)
52 list->prev = node;
60 // Adds the specified node to the end of the list
62 // Returns: pointer to the start of the list
65 dlist_add_as_last(DL_NODE *list, voi argument
92 dlist_find(DL_NODE *list, void *data) argument
108 dlist_get_first(DL_NODE *list) argument
125 dlist_get_last(DL_NODE *list) argument
140 dlist_length(DL_NODE *list) argument
177 dlist_purge(DL_NODE *list) argument
196 dlist_remove_node(DL_NODE *list, DL_NODE *node) argument
451 int val[8]; local
[all...]
/osnet-11/usr/src/lib/libnvpair/
H A Dlibnvpair.c115 #define RENDER(pctl, type, nvl, name, val) \
120 CUSTPRTOPARG(pctl, type), nvl, name, val); \
124 DFLTPRTOPARG(pctl, type), nvl, name, val); \
591 boolean_t val; local
592 (void) nvpair_value_boolean_value(nvp, &val);
593 RENDER(pctl, boolean_value, nvl, name, val);
597 uchar_t val; local
598 (void) nvpair_value_byte(nvp, &val);
599 RENDER(pctl, byte, nvl, name, val);
603 int8_t val; local
609 uint8_t val; local
615 int16_t val; local
621 uint16_t val; local
627 int32_t val; local
633 uint32_t val; local
639 int64_t val; local
645 uint64_t val; local
651 double val; local
657 char *val; local
663 boolean_t *val; local
669 uchar_t *val; local
675 int8_t *val; local
681 uint8_t *val; local
687 int16_t *val; local
693 uint16_t *val; local
699 int32_t *val; local
705 uint32_t *val; local
711 int64_t *val; local
717 uint64_t *val; local
723 char **val; local
729 hrtime_t val; local
735 nvlist_t *val; local
741 nvlist_t **val; local
792 dump_nvlist(nvlist_t *list, int indent) argument
976 char *val; local
1009 uchar_t val, val_arg; local
1032 int8_t val, val_arg; local
1055 uint8_t val, val_arg; local
1078 int16_t val, val_arg; local
1101 uint16_t val, val_arg; local
1124 int32_t val, val_arg; local
1147 uint32_t val, val_arg; local
1170 int64_t val, val_arg; local
1193 uint64_t val_arg, val; local
1216 boolean_t val, val_arg; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/script/
H A Dexecute.c294 grub_script_env_set (const char *name, const char *val) argument
299 return grub_env_set (name, val);
670 grub_script_execute_cmdlist (struct grub_script_cmd *list) argument
676 for (cmd = list->next; cmd; cmd = cmd->next)
737 result = grub_script_execute_cmd (cmdfor->list);
767 result = grub_script_execute_cmd (cmdwhile->list);
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/opl/common/
H A Dopl.c91 void display_io_cards(struct io_card *list);
111 * Linked list of IO card info for display.
126 void *val; local
135 val = get_prop_val(find_prop(node, "class-code"));
136 if (val != NULL) {
137 ccode = *(int *)val;
151 /* insert card to the list */
213 display_io_cards(struct io_card *list) argument
219 if (list == NULL)
229 for (p = list;
[all...]
/osnet-11/usr/src/lib/libnwam/common/
H A Dlibnwam_values.c367 nwam_alloc_object_list(void *list) argument
371 assert(list != NULL);
373 if ((nverr = nvlist_alloc((nvlist_t **)list, NV_UNIQUE_NAME, 0)) != 0)
380 nwam_free_object_list(void *list) argument
382 if (list != NULL)
383 nvlist_free(list);
403 nwam_next_object_prop(void *list, char *lastname, char **namep, argument
410 if ((nverr = nvlist_lookup_nvpair(list, lastname, &last)) != 0)
413 if ((next = nvlist_next_nvpair(list, last)) == NULL)
418 return (nwam_get_prop_value(list, (cons
422 nwam_get_prop_value(void *list, const char *name, nwam_value_t *valuep) argument
512 nwam_delete_prop(void *list, const char *name) argument
522 nwam_set_prop_value(void *list, const char *propname, nwam_value_t value) argument
697 nwam_uint64_get_value_string(const char *propname, uint64_t val, const char **valstrp) argument
[all...]
/osnet-11/usr/src/lib/libipadm/common/
H A Dipadm_cong.c84 i_ipadm_cong_free_list(uu_list_t *list, uu_list_pool_t *pool) argument
89 if (list == NULL)
92 while ((ent = uu_list_teardown(list, &cookie)) != NULL) {
97 uu_list_destroy(list);
101 * Add algorithm to the list, alpha-sorted.
104 i_ipadm_cong_enlist_alg(const char *name, uu_list_t *list, uu_list_pool_t *pool) argument
115 (void) uu_list_find(list, ent, NULL, &idx);
116 (void) uu_list_insert(list, ent, idx);
122 * Add property to the list.
125 i_ipadm_cong_enlist_prop(const char *name, char *value, uu_list_t *list, argument
152 i_ipadm_cong_list_to_str(uu_list_t *list) argument
297 scf_value_t *val = NULL; local
588 scf_value_t *val = NULL; local
637 scf_value_t *val = NULL; local
972 ipadm_cong_list_sort(char *list) argument
[all...]
/osnet-11/usr/src/lib/fm/libfmnotify/common/
H A Dlibfmnotify.c174 const char *propname, char **val)
204 *val = strdup(strval);
218 const char *propname, uint8_t *val)
242 scf_value_get_boolean(value, val) == -1) {
335 nd_seq_search(char *key, char **list, uint_t nelem) argument
338 if (strcmp(key, list[i]) == 0)
344 * This function takes a single string list and splits it into
350 nd_split_list(nd_hdl_t *nhdl, char *list, char *delim, char ***arr, argument
356 tmpstr = strdup(list);
367 (*arr)[0] = strdup(list);
173 nd_get_astring_prop(nd_hdl_t *nhdl, const char *svcname, const char *pgname, const char *propname, char **val) argument
217 nd_get_boolean_prop(nd_hdl_t *nhdl, const char *svcname, const char *pgname, const char *propname, uint8_t *val) argument
[all...]
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash_page.c15 * notice, this list of conditions and the following disclaimer.
17 * notice, this list of conditions and the following disclaimer in the
91 __get_item(hashp, cursorp, key, val, item_info)
94 DBT *key, *val;
156 val->size = KEY_OFF(cursorp->pagep, cursorp->pgndx) -
159 val->data = DATA(cursorp->pagep, cursorp->pgndx);
203 __get_item_first(hashp, cursorp, key, val, item_info)
206 DBT *key, *val;
211 return (__get_item_next(hashp, cursorp, key, val, item_info));
219 __get_item_next(hashp, cursorp, key, val, item_inf
454 DBT key, val; local
535 __addel(HTAB *hashp, ITEM_INFO *item_info, const DBT *key, const DBT *val, u_int32_t num_items, const u_int8_t expanding) argument
1378 } list[100]; local
[all...]
/osnet-11/usr/src/lib/passwdutil/
H A Dldap_attr.c64 #define NEW_ATTR(p, i, attr, val) \
66 p[i] = new_attr(attr, (val)); \
483 * max_present(list)
489 max_present(attrlist *list) argument
491 while (list != NULL)
492 if (list->type == ATTR_MAX && list->data.val_i != -1)
495 list = list->next;
500 * attr_addmod(attrs, idx, item, val)
555 char *pwd, *val; local
[all...]
/osnet-11/usr/src/lib/libshell/common/sh/
H A Djobs.c53 * This struct saves a link list of processes that have non-zero exit
82 struct jobsave *list; member in struct:back_save
215 * return next on link list of jobsave free list
233 jp->next = bck.list;
234 bck.list = jp;
270 pid_t val; local
287 val = (csp->id<<16)|n|COPID_BIT;
293 if((cp && val==pw->p_pid) || (pw->p_cojob && pw->p_cojob->local==(void*)csp))
446 /* move to top of job list */
1284 int val,bg=0; local
1286 int val; local
[all...]
/osnet-11/usr/src/lib/libcpc/common/
H A Dlibcpc.c226 * Remove this set from the cpc handle's list of sets.
422 * Remove this buf from the cpc handle's list of bufs.
769 cpc_buf_get(cpc_t *cpc, cpc_buf_t *buf, int index, uint64_t *val) argument
771 *val = buf->cb_data[index];
778 cpc_buf_set(cpc_t *cpc, cpc_buf_t *buf, int index, uint64_t val) argument
780 buf->cb_data[index] = val;
818 char *list; local
828 if ((list = malloc(size)) == NULL)
831 if (syscall(SYS_cpc, which, -1, list, arg, 0) != 0) {
832 free(list);
875 char **list; local
954 char *list; local
1017 char *list; local
[all...]
/osnet-11/usr/src/lib/libdtrace_jni/common/
H A Ddtj_consume.c678 * probedata are added to a single list by the probedata consumer
908 * Populate the ProbeData list of Java data elements in advance so we
922 * list of Java probedata elements in that case.
989 * with a list of values, one from each aggregation. If a printa() format
2315 uu_list_t *list = jc->dtjj_consumer->dtjc_request_list; local
2319 const char *val; local
2322 while (!dtj_list_empty(list)) {
2323 r = uu_list_first(list);
2324 uu_list_remove(list, r);
2329 val
[all...]
H A Ddtrace_jni.c391 * Add the compiled program to a list of programs the API expects to enable.
928 const char *val; local
943 val = (*env)->GetStringUTFChars(env, value, 0);
944 if (!val) {
957 val = NULL;
964 on = (!val || (strcmp(val, "unset") != 0));
968 (*env)->ReleaseStringUTFChars(env, value, val);
988 request = dtj_request_create(env, DTJ_REQUEST_OPTION, opt, val);
1000 if (dtrace_setopt(dtp, opt, val)
1582 Java_org_opensolaris_os_dtrace_LocalConsumer__1listProbes(JNIEnv *env, jobject obj, jobject list, jobject filter) argument
1589 Java_org_opensolaris_os_dtrace_LocalConsumer__1listProbeDetail(JNIEnv *env, jobject obj, jobject list, jobject filter) argument
1596 dtj_list_probes(JNIEnv *env, jobject obj, jobject list, jobject filter, dtrace_probe_f *func) argument
1764 Java_org_opensolaris_os_dtrace_LocalConsumer__1listCompiledProbes(JNIEnv *env, jobject obj, jobject list, jobject program) argument
1771 Java_org_opensolaris_os_dtrace_LocalConsumer__1listCompiledProbeDetail( JNIEnv *env, jobject obj, jobject list, jobject program) argument
1779 dtj_list_compiled_probes(JNIEnv *env, jobject obj, jobject list, jobject program, dtrace_probe_f *func) argument
[all...]
/osnet-11/usr/src/lib/fm/libldom/sparc/
H A Dldmsvcs_utils.c110 struct listdata_s **list; member in struct:poller_s
136 int64_t val; /* prop value to return */ local
138 val = default_val;
142 val = *valp;
143 if (val < min)
144 val = min;
145 else if (val > max)
146 val = max;
150 return ((int)val);
240 if (pollbase.list[
[all...]
/osnet-11/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_ib.c569 * user_nvlistp - Name-value-pair list pointer
599 * user_nvlistp - Name-value-pair list pointer
655 * nvl - Name-value-pair list pointer
693 * nvl - Name-value-pair list pointer
705 ib_device_connected(devctl_hdl_t hdl, nvlist_t *list, ap_ostate_t *ostate) argument
710 if (devctl_ap_getstate(hdl, list, &devctl_ap_state) == -1) {
1114 "ib_do_control_ioctl list failed :%d\n", rv);
1315 char *subopts, *val; local
1342 switch (getsubopt(&subopts, ib_service_subopts, &val)) {
1344 if (val
[all...]
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_standalone.c90 /* The local list of the directory servers' root DSEs. */
91 dir_server_list_t *list; member in struct:__anon2575
96 * the initialization of the list.
198 * In this mode libsldap will check the local, process private list of root DSEs
853 /* Get the whole list of naming contexts residing on the server */
1308 char *rs, *attr, *val, *rest; local
1319 if ((val = strchr(attr, '=')) == NULL) {
1322 *val++ = '\0';
1325 if (strcasecmp(val, _VENDORSUN) == 0) {
1337 if (strcasecmp(val, _OPENLDAPROOTDS
1612 char *rootDSE = NULL, *attr, *val, *rest, **ptr; local
[all...]
/osnet-11/usr/src/lib/libnisdb/
H A Dldap_op.c321 rv->attrName[i], rv->attrVal[i].val[j].value);
388 int onList; /* True if on the 'ldapCon' list */
411 * Rlock list
418 * Unlock list
421 * (2) Insert/delete structure(s) on/from list
422 * Wlock list
426 * Unlock list
628 /* Must be unused, unbound, and not on the 'ldapCon' list */
717 char *attr[2], *a, **val; local
738 val
1085 find_connection_from_list(__nis_ldap_conn_t *list, LDAPURLDesc *ludpp, int *stat) argument
1640 struct berval **val; local
2018 removeSingleValue(__nis_value_t *val, void *value, int length) argument
[all...]
/osnet-11/usr/src/lib/libpool/common/
H A Dpool_kernel.c536 * Push a snapshot entry onto the list of pools in the snapshot.
550 * Push onto the list of pools
578 * snapshot list when it is no longer required.
612 * Return the nvpair with the supplied name from the supplied list.
614 * NULL is returned if the name cannot be found in the list.
891 const pool_value_t *val)
900 val));
904 BAD_CAST property_name_minus_ns(pe, name), val) == PO_FAIL)
906 val));
908 return (pool_xml_set_prop(node, BAD_CAST name, val));
890 pool_knl_put_xml_property(pool_elem_t *pe, xmlNodePtr node, const char *name, const pool_value_t *val) argument
1281 pool_value_t val = POOL_VALUE_INITIALIZER; local
1346 pool_value_t val = POOL_VALUE_INITIALIZER; local
1438 pool_value_t val = POOL_VALUE_INITIALIZER; local
1526 pool_value_t val = POOL_VALUE_INITIALIZER; local
2297 pool_knl_get_property(const pool_elem_t *pe, const char *name, pool_value_t *val) argument
2331 pool_knl_get_dynamic_property(const pool_elem_t *pe, const char *name, pool_value_t *val) argument
2389 pool_knl_put_property(pool_elem_t *pe, const char *name, const pool_value_t *val) argument
2793 pool_value_t val = POOL_VALUE_INITIALIZER; local
3071 pool_value_t val = POOL_VALUE_INITIALIZER; local
3489 pool_knl_nvlist_add_value(nvlist_t *list, const char *name, const pool_value_t *pv) argument
[all...]
/osnet-11/usr/src/lib/libdscfg/common/
H A Dcfg.c551 char **list = NULL; local
581 if ((rc = cfg_get_section(cfg, &list, section)) <= 0) {
589 strcpy(buf, list[i]);
594 free(list[j]);
595 free(list);
607 free(list[i]);
609 free(list);
613 if ((rc = cfg_get_section(cfg, &list, section)) <= 0) {
631 strcpy(buf, list[i]);
643 free(list[
1149 cfg_get_options(CFGFILE *cfg, int section, const char *basekey, char *tag, int tag_len, char *val, int val_len) argument
1203 cfg_put_options(CFGFILE *cfg, int section, const char *basekey, char *tag, char *val) argument
1311 cfg_get_single_option(CFGFILE *cfg, int section, const char *basekey, char *tag, char *val, int val_len) argument
3128 cfg_get_section(CFGFILE *cfg, char ***list, const char *section) argument
3205 char **list; local
3331 cfg_get_srtdsec(CFGFILE *cfg, char ***list, const char *section, const char *field) argument
[all...]

Completed in 590 milliseconds

12