Searched refs:index (Results 1 - 25 of 503) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libdhcpsvc/private/
H A Derrmsgs.c74 dhcpsvc_errmsg(unsigned int index) argument
76 if (index >= DSVC_NERR)
79 return (dgettext(TEXT_DOMAIN, errmsgs[index]));
/osnet-11/usr/src/lib/libast/common/comp/
H A Dstrchr.c36 #undef index
38 extern char* index(const char*, int);
43 return(index(s, c));
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dindex.t13 $first = substr($foo,0,index($foo,'the'));
19 $last = substr($foo,index($foo,'Now'),2);
25 $last = substr($foo,index($foo,'.'),100);
31 is(index("ababa","a",-1), 0);
32 is(index("ababa","a",0), 0);
33 is(index("ababa","a",1), 2);
34 is(index("ababa","a",2), 2);
35 is(index("ababa","a",3), 4);
36 is(index("ababa","a",4), 4);
37 is(index("abab
[all...]
/osnet-11/usr/src/lib/libgss/
H A Dg_rel_oid_set.c42 OM_uint32 index; local
53 for (index = 0; index < (*set)->count; index++) {
54 oid = &(*set)->elements[index];
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSLPTokenizer.java49 private int index; field in class:SLPTokenizer
56 index = 0;
130 if (index >= str.length()) {
137 for (int i = index; i < str.length(); i++) {
176 if (index >= str.length()) throw new NoSuchElementException();
179 char c = str.charAt(index);
187 sb.append(str.charAt(index));
188 index++;
193 while (index < str.length()) {
195 c = str.charAt(index);
[all...]
/osnet-11/usr/src/lib/libcurses/screen/
H A Dwctomb.c44 int size, index; local
74 if ((index = size) <= 0)
76 while (index--) {
82 s[index] = d;
/osnet-11/usr/src/lib/libc/port/gen/
H A Dindex.c53 index(const char *sp, int c) function
/osnet-11/usr/src/lib/sun_sas/common/
H A DSun_sasGetAdapterName.c34 * index the index to which adapter to retrive the name
37 HBA_STATUS Sun_sasGetAdapterName(HBA_UINT32 index, char *name) { argument
48 if (hba_ptr->index == index) {
62 "Unable to find adapter index %d.", index);
H A DSun_sasGetAdapterAttributes.c36 int index = 0; local
44 index = RetrieveIndex(handle);
46 hba_ptr = RetrieveHandle(index);
H A DSun_sasGetPortType.c38 int index; local
49 index = RetrieveIndex(handle);
51 hba_ptr = RetrieveHandle(index);
68 "Internal failure: Adapter at index %d contains "
69 "no port data", hba_ptr->index);
78 if (hba_port_ptr->index == port) {
83 if (hba_port_ptr == NULL || hba_port_ptr->index != port) {
85 "Invalid port index %d for handle %08lx.",
/osnet-11/usr/src/lib/libnsctl/common/
H A Dhash.c46 int index; local
58 * in this index for a duplicate
60 index = calc_hash(key);
61 node->next = hash[ index ];
62 hash[ index ] = node;
80 int index; local
83 index = calc_hash(key);
84 node = hash[ index ];
96 int index; local
100 index
[all...]
/osnet-11/usr/src/lib/libadr/common/
H A Dadr_object.c102 int index = adr_lookup_attr_index(o, name); local
103 return (index == -1 ? NULL : o->ao_attributes[index]);
107 adr_get_attr(adr_object_t *o, int index) argument
109 return (index >= 0 && index < o->ao_nattributes ?
110 o->ao_attributes[index] : NULL);
127 int index = adr_lookup_method_index(o, name); local
128 return (index == -1 ? NULL : o->ao_methods[index]);
132 adr_get_method(adr_object_t *o, int index) argument
152 int index = adr_lookup_event_index(o, name); local
157 adr_get_event(adr_object_t *o, int index) argument
[all...]
/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);
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;
96 grub_cmos_write (grub_uint8_t index, grub_uint8_t val) argument
105 grub_cmos_port[0] = index;
/osnet-11/usr/src/lib/libast/common/misc/
H A Doptjoin.c32 * possible starting at (opt_info.index,opt_info.offset) using
42 * to be parsed at opt_info.index
72 last_index = opt_info.index;
76 more = argv[opt_info.index] != 0;
86 if (*argv[opt_info.index] != '+')
98 if (opt_info.again > 0 && (!err || err_index < opt_info.index || err_index == opt_info.index && err_offset < opt_info.offset))
101 err_index = opt_info.index;
105 opt_info.index = state->pindex ? state->pindex : 1;
108 if (!rep || opt_info.index !
[all...]
H A Dstack.c59 stack->position.index = -1;
93 stack->position.index = -1;
103 if (stack->position.index < 0) return(stack->error);
104 else return(stack->position.block->stack[stack->position.index]);
116 if (++stack->position.index >= stack->size)
131 stack->position.index = 0;
133 stack->position.block->stack[stack->position.index] = value;
152 if (stack->position.index < 0) return(-1);
153 else if (--stack->position.index < 0)
157 stack->position.index
[all...]
/osnet-11/usr/src/lib/libnisdb/
H A Dldap_scheme.c48 int index = q->components.components_val[i].which_index; local
49 if (index >= s->keys.keys_len) {
51 "%s: query index %d out-of-range (%d)",
52 myself, index, s->keys.keys_len-1);
57 s->keys.keys_val[index].column_number - 1;
104 int index; local
109 "%s: query index %d out-of-range (%d)",
116 index = s->keys.keys_val[i].column_number - 1;
117 if (index >= nc) {
119 "%s: column index ou
[all...]
H A Ddb_index_c.x71 % STRUCTRWLOCK(index);
83 %/* Constructor: creates empty index. */
86 %/* Constructor: creates index by loading it from the specified file.
87 % If loading fails, creates empty index. */
90 %/* Destructor: deletes index, including all associated db_index_entry. */
93 %/* Empty table (deletes index, including all associated db_index_entry) */
96 %/* Initialize index according to the specification of the key descriptor.
97 % Currently, only affects case_insens flag of index. */
100 %/* Moves an index from an xdr index */
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/parttool/
H A Dmsdospart.c46 int i, index; local
53 index = dev->disk->partition->index;
68 mbr.entries[index].flag = 0x80;
69 grub_printf_ (N_("Partition %d is active now. \n"), index);
73 mbr.entries[index].flag = 0x0;
74 grub_printf (N_("Cleared active flag on %d. \n"), index);
95 int index; local
100 index = dev->disk->partition->index;
[all...]
/osnet-11/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaMechManager.c68 unsigned long index);
72 unsigned long *index);
229 unsigned long index, num_found = 0; local
240 found = find_mech_index(mech_support_info->mech, &index);
247 if (!mechlist[index].slots[i].initialized ||
248 !mechlist[index].slots[i].supported)
252 info = mechlist[index].slots[i].mechanism_info;
260 = &mechlist[index].slots[i];
294 unsigned long index = 0; local
298 rv = meta_mechManager_allocmechs(&mech, 1, &index);
345 unsigned long index = 0; local
453 update_slotmech(CK_MECHANISM_TYPE mech, CK_ULONG slotnum, unsigned long index) argument
514 unsigned long i, index = 0; local
613 find_mech_index(CK_MECHANISM_TYPE mechanism, unsigned long *index) argument
661 unsigned long index; local
[all...]
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dslk.c192 int index; local
201 for (index = 0; index < 8; ++index) {
202 i = format[__m_slk_format][index];
209 for (index = 0; index < 8; ++index) {
211 p = __m_screen->_slk._saved[index];
216 __m_screen->_slk._saved[index]
292 int index; local
305 slk_label(int index) argument
318 slk_set(int index, const char *label, int justify) argument
332 slk_wset(int index, const wchar_t *label, int justify) argument
[all...]
/osnet-11/usr/src/lib/mpapi/libmpapi/common/
H A Dmpapi-sun.c48 MP_UINT32 index; local
58 index = pathOid.ownerId - 1;
59 if (plugintable[index].hdlPlugin != NULL) {
61 dlsym(plugintable[index].hdlPlugin,
/osnet-11/usr/src/lib/sun_fc/common/
H A DSun_fcGetAdapterName.cc40 * @param index the index to which adapter to retrieve the name
47 HBA_STATUS Sun_fcGetAdapterName(HBA_UINT32 index, char *name) { argument
56 std::string sname = list->getHBAName(index);
H A DSun_fcGetTgtAdapterName.cc40 * @param index the index to which adapter to retrieve the name
47 HBA_STATUS Sun_fcGetTgtAdapterName(HBA_UINT32 index, char *name) { argument
56 std::string sname = list->getTgtHBAName(index);
H A DSun_fcAdapterCreateWWN.cc59 int index = 0; local
76 randomwwn.wwn[index++] = 0x0;
77 randomwwn.wwn[index++] = 0x0;
78 randomwwn.wwn[index++] = 0x7D;
81 index += 3;
92 memcpy(randomwwn.wwn+index, randombyte, 5);
/osnet-11/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A Dmp_utils.c185 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 = MP_OBJECT_TYPE_MULTIPATH_LU;
263 index
[all...]

Completed in 63 milliseconds

1234567891011>>