Searched +refs:val +refs:index (Results 1 - 25 of 86) sorted by relevance

1234

/osnet-11/usr/src/grub/grub2/include/grub/
H A Dcmos.h62 grub_cmos_read (grub_uint8_t index, grub_uint8_t *val) argument
64 grub_outb (index, GRUB_CMOS_ADDR_REG);
65 *val = grub_inb (GRUB_CMOS_DATA_REG);
70 grub_cmos_write (grub_uint8_t index, grub_uint8_t value) argument
72 grub_outb (index, GRUB_CMOS_ADDR_REG);
81 grub_cmos_read (grub_uint8_t index, grub_uint8_t *val) argument
90 grub_cmos_port[0] = index;
91 *val
96 grub_cmos_write(grub_uint8_t index, grub_uint8_t val) argument
[all...]
/osnet-11/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A Dmp_utils.c175 uint64_t *val = NULL; local
185 int index = -1; local
212 index = MP_OBJECT_TYPE_PLUGIN;
217 index = MP_OBJECT_TYPE_MULTIPATH_LU;
222 index = MP_OBJECT_TYPE_PATH_LU;
227 index = MP_OBJECT_TYPE_INITIATOR_PORT;
232 index = MP_OBJECT_TYPE_TARGET_PORT_GROUP;
237 index = MP_OBJECT_TYPE_TARGET_PORT;
242 index = MP_OBJECT_TYPE_DEVICE_PRODUCT;
258 index
[all...]
/osnet-11/usr/src/lib/libnisdb/
H A Dldap_ldap.h43 int storeLDAP(__nis_mapping_item_t *item, int index,
44 int numIndexes, __nis_value_t *val,
H A Dldap_ldap.c40 __nis_value_t *val; local
49 val = getMappingElement(e, mit_any, rv, NULL);
54 return (val);
60 __nis_value_t *val, *eVal = 0; local
86 eVal->val[0].length > 0 &&
87 eVal->val[0].value != 0)
88 ename = eVal->val[0].value;
97 filter = eVal->val[0].value;
174 for (i = 0, val = 0; i < nrv; i++) {
178 eVal = concatenateValues(val,
229 storeLDAP(__nis_mapping_item_t *item, int index, int numIndexes, __nis_value_t *val, __nis_object_dn_t *defDN, char **dn, int numDN) argument
[all...]
H A Dldap_val.c244 freeValue(__nis_value_t *val, int count) { argument
247 if (val == 0)
251 if (val[c].val != 0) {
252 for (i = 0; i < val[c].numVals; i++) {
253 sfree(val[c].val[i].value);
255 free(val[c].val);
259 free(val);
263 cloneValue(__nis_value_t *val, int count) argument
335 __nis_value_t *val; local
417 __nis_value_t *val; local
512 __nis_value_t *val = 0, *nameVal, *exVal = 0; local
752 __nis_value_t *val = 0; local
1051 __nis_value_t *val, *v = 0; local
1127 __nis_value_t *val; local
1242 __nis_value_t *val = 0; local
1617 __nis_single_value_t *val = (a == 0) ? v1->val : v2->val; local
1650 __nis_value_t *val = getMappingItem(item, mit_any, local
1744 scanMappingFormat(__nis_mapping_format_t *f, int curf, int nf, char *str, char **val, char **fmtstart, char *sepset) argument
2214 __nis_value_t *val = getMappingItem(item, mit_any, local
2310 stringElide(__nis_value_t *val, char elide) argument
2343 __nis_value_t *val; local
2390 __nis_value_t *val, **tv; local
[all...]
H A Dldap_print.c32 __nis_value_t *val = getMappingFormat(f, 0, fa_any, 0, 0); local
36 if (val == 0)
39 for (i = 0; i < val->numVals; i++) {
40 c2buf(myself, val->val[i].value, val->val[i].length);
42 freeValue(val, 1);
47 __nis_value_t *val = getMappingFormatArray(a, 0, fa_any, 0, 0); local
50 if (val !
101 __nis_value_t *val = getMappingItem(i, native, 0, 0, NULL); local
237 printObjName(__nis_index_t *index, char *name) argument
[all...]
H A Dldap_map.c443 __nis_value_t *val; local
451 if ((val = findColValue("zo_owner", rv)) != 0 &&
452 val->type == vt_string && val->numVals == 1 &&
453 val->val[0].value != 0) {
454 attr->zo_owner = sdup(myself, T, val->val[0].value);
461 if ((val = findColValue("zo_group", rv)) != 0 &&
462 val
527 isObjAttr(__nis_single_value_t *val) argument
538 setObjAttrField(char *attrName, __nis_single_value_t *val, __nis_obj_attr_t **objAttr) argument
771 int index; member in struct:__anon1941
1097 verifyIndexMatch(__nis_table_mapping_t *x, db_query *q, __nis_rule_value_t *rv, char *name, char *val) argument
1366 char *val, *filter, **fc = 0; local
1423 __nis_value_t *val; local
1767 __nis_value_t val; local
[all...]
H A Dldap_nisdbquery.c197 char *val[NIS_MAXCOLUMNS]; local
202 (void) memset(val, 0, sizeof (val));
206 * Remember the largest index.
216 val[ix] = q->components.components_val[i].index_value->
223 (val[i] != 0 ? val[i] : ""));
232 * they both have a value for a certain index, the values are the same.
249 /* Same index ? */
312 * Remove those queries in 'q' that don't match t->index
605 int index; local
916 queryFromComponent(db_query *q, int index, db_query *qbuf) argument
[all...]
/osnet-11/usr/src/lib/libshare_plugins/autofs/
H A Dlibshare_autofs.c114 int index; member in struct:proto_option_defs
269 range_check_validator(int index, char *value) argument
275 int val; local
276 val = strtoul(value, NULL, 0);
277 if (val < autofs_proto_options[index].minval ||
278 val > autofs_proto_options[index].maxval)
286 true_false_validator(int index, char *value) argument
298 strlen_validator(int index, cha argument
322 autofs_validate_proto_prop(int index, const char *value) argument
343 autofs_add_default_value(int index) argument
477 char *val; local
504 int index; local
[all...]
/osnet-11/usr/src/lib/libast/common/comp/
H A Dgetoptl.c57 if (o->flag || o->val <= 0 || o->val > UCHAR_MAX || !isalnum(o->val))
61 sfprintf(up, "\n[%c:%s]", o->val, o->name);
62 if (s = strchr(t, o->val))
104 opt_info.index = (optind > 1 || optind == lastoptind) ? optind : 0;
105 if (opt_info.index >= argc || !(c = optget((char**)argv, usage)))
130 *o->flag = o->val;
134 c = o->val;
137 lastoptind = optind = opt_info.index;
[all...]
/osnet-11/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_cookie.c51 * head index : index of next unallocated cookie
52 * tail index : index of last unallocated cookie
54 * Each cookie store its index in this memory pool.
56 * When an event is received, the index stored in the event's cookie will be
158 buffer->pool[i].index = i;
200 int index; local
225 index = 0;
227 new_buffer->pool[index]
[all...]
/osnet-11/usr/src/lib/libkstat/common/
H A Dkstat.c65 int val = 0; local
66 int index = 0; local
84 while (path[index]) {
85 if (path[index] < '0' || path[index] > '9') {
86 val += ((int)path[index])*(index+1);
87 index++;
90 switch (index
114 int val; local
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/List/Util/
H A DUtil.xs116 int index;
124 for(index = 1 ; index < items ; index++) {
125 SV *stacksv = ST(index);
126 NV val = slu_sv_value(stacksv);
127 if(val < retval ? !ix : ix) {
129 retval = val;
144 int index;
150 for(index
[all...]
/osnet-11/usr/src/lib/libdns_sd/java/com/apple/dnssd/
H A DTXTRecord.java123 protected void insert( byte[] keyBytes, byte[] value, int index) argument
124 // Insert a key-value pair at index
132 for ( int i=0; i < index && insertion < fBytes.length; i++)
151 /** Remove a key/value pair from the TXT record. Returns index it was at, or -1 if not found. */
198 /** Return a key in the TXT record by zero-based index. Returns null if index exceeds the total number of keys. */
199 public String getKey( int index) argument
203 for ( int i=0; i < index && avStart < fBytes.length; i++)
220 Look up a key in the TXT record by zero-based index and return its value. <P>
221 Returns null if index exceed
224 getValue( int index) argument
251 getValueAsString( int index) argument
[all...]
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dpcnet32.c283 int val);
292 static u16 pcnet32_wio_read_csr(unsigned long addr, int index) argument
294 outw(index, addr + PCNET32_WIO_RAP);
298 static void pcnet32_wio_write_csr(unsigned long addr, int index, u16 val) argument
300 outw(index, addr + PCNET32_WIO_RAP);
301 outw(val, addr + PCNET32_WIO_RDP);
304 static u16 pcnet32_wio_read_bcr(unsigned long addr, int index) argument
306 outw(index, addr + PCNET32_WIO_RAP);
310 static void pcnet32_wio_write_bcr(unsigned long addr, int index, u1 argument
321 pcnet32_wio_write_rap(unsigned long addr, u16 val) argument
347 pcnet32_dwio_read_csr(unsigned long addr, int index) argument
353 pcnet32_dwio_write_csr(unsigned long addr, int index, u16 val) argument
359 pcnet32_dwio_read_bcr(unsigned long addr, int index) argument
365 pcnet32_dwio_write_bcr(unsigned long addr, int index, u16 val) argument
376 pcnet32_dwio_write_rap(unsigned long addr, u16 val) argument
440 u16 val; local
[all...]
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dshiocmd_solaris.c57 static void put_time(Namval_t* np, const char* val, int flag, Namfun_t* nfp) argument
61 if(val)
67 t = *(Sfdouble_t*)val;
69 t = *(double*)val;
73 t = tmdate(val, &last, (time_t*)0);
75 errormsg(SH_DICT, ERROR_exit(1),"%s: invalid date/time string", val);
83 nv_putv(np, val, flag, nfp);
130 static void put_mode(Namval_t* np, const char* val, int flag, Namfun_t* nfp) argument
132 if(val)
139 mode = *(Sfdouble_t*)val;
226 char *val = np->nvalue + fp->offset; local
352 put_classval(Namval_t* np, const char* val, int flag, Namfun_t* nfp) argument
[all...]
H A Dread.c141 argv += opt_info.index;
209 register char *name, *val; local
234 if(val= strchr(name,'?'))
235 *val = 0;
261 if(val)
262 *val = '?';
509 /* val==0 at the start of a field */
510 val = 0;
518 if(val==0)
519 val
[all...]
/osnet-11/usr/src/lib/libnisdb/yptol/
H A Ddit_access_utils.c80 __nis_value_t *val; local
82 if ((val = am(myself, sizeof (*val))) == 0) {
86 val->type = vt_string;
87 val->repeat = 0;
88 val->numVals = 1;
89 if ((val->val = am(myself, sizeof (val->val[
255 __nis_value_t *val; local
512 __nis_value_t *val; local
650 int r, i, j, k, l, index, nrq, res, len; local
795 __nis_value_t *val; local
1451 __nis_value_t *val; local
1614 char *val; local
[all...]
/osnet-11/usr/src/grub/grub2/util/
H A Dgrub-mkimagexx.c34 # define ELF_R_SYM(val) ELF32_R_SYM(val)
35 # define ELF_R_TYPE(val) ELF32_R_TYPE(val)
47 # define ELF_R_SYM(val) ELF64_R_SYM(val)
48 # define ELF_R_TYPE(val) ELF64_R_TYPE(val)
86 Elf_Section index; local
91 index
177 grub_uint32_t val; member in struct:unaligned_uint32
546 size_t index; local
564 size_t index; local
590 size_t index; local
[all...]
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dbash.c153 static void put_globignore(register Namval_t* np, const char *val, int flags, Namfun_t *fp) argument
155 if(val)
160 nv_putv(np,val,flags,fp);
172 static void put_funcname(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument
176 if(val && !(flags&NV_RDONLY))
179 nv_putv(np,val,flags,fp);
234 argc -= opt_info.index;
251 n=sh_lookopt(argv[opt_info.index],&f);
260 errormsg(SH_DICT,ERROR_ERROR, e_option, argv[opt_info.index]);
268 opt_info.index
[all...]
/osnet-11/usr/src/lib/libcurses/screen/
H A Dinfotocap.c66 #define strchr index
82 int val, pat; local
84 while ((pat = *pattern++) && (val = *string++))
86 *args++ = val;
87 else if (val != pat)
/osnet-11/usr/src/lib/libc/amd64/unwind/
H A Dcall_frame_inst.c187 fix_reg(struct _Unwind_Context *ctx, struct register_state *rs, int index) argument
189 switch (rs[index].rule) {
191 ctx->entry_regs[index] = ctx->current_regs[index];
194 ctx->entry_regs[index] = *(uint64_t *)
195 (ctx->cfa + rs[index].offset);
198 ctx->entry_regs[index] = ctx->cfa + rs[index].offset;
201 ctx->entry_regs[index] =
202 ctx->current_regs[rs[index]
322 int val; local
341 unsigned int val; local
483 int val = enc & 0xf; local
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dobj_mgr.c1753 CK_ULONG index; local
1771 obj, &index);
1778 entry = &global_shm->priv_tok_objs[index];
1783 obj, &index);
1789 entry = &global_shm->publ_tok_objs[index];
1833 CK_ULONG index, count; local
1841 0, global_shm->num_priv_tok_obj - 1, obj, &index);
1847 if (index > global_shm->num_priv_tok_obj) {
1848 count = index - global_shm->num_priv_tok_obj;
1850 count = global_shm->num_priv_tok_obj - index;
1902 CK_ULONG index; local
1935 object_mgr_search_shm_for_obj( TOK_OBJ_ENTRY *obj_list, CK_ULONG lo, CK_ULONG hi, OBJECT *obj, CK_ULONG *index) argument
1977 CK_ULONG index; local
1978 int val; local
2088 CK_ULONG index; local
2089 int val; local
[all...]
/osnet-11/usr/src/lib/fm/libfmd_snmp/common/
H A Dmodule.c51 * Update types. Single-index and all are mutually exclusive.
91 key_build(const char *name, const ulong_t index) argument
95 key.d_index = index;
120 * If index corresponds to a module we have previously seen and indexed, return
126 module_lookup_index_exact(const ulong_t index) argument
130 key = key_build(NULL, index);
135 * If index corresponds to a valid (that is, extant as of latest information
137 * Otherwise, return the data for the valid module whose index is as close as
138 * possible to index but not lower. This preserves the lexicographical
142 module_lookup_index_nextvalid(const ulong_t index) argument
468 ulong_t index; local
[all...]
H A Dresource.c51 * Update types: single-index and all are mutually exclusive; a count
75 key_build(const char *fmri, const ulong_t index) argument
79 key.d_index = index;
104 * If index corresponds to a resource we have previously seen and indexed,
110 resource_lookup_index_exact(const ulong_t index) argument
114 key = key_build(NULL, index);
119 * If index corresponds to a valid (that is, extant as of latest information
121 * Otherwise, return the data for the valid resource whose index is as close as
122 * possible to index but not lower. This preserves the lexicographical
126 resource_lookup_index_nextvalid(const ulong_t index) argument
481 ulong_t index; local
[all...]

Completed in 190 milliseconds

1234