Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 1481) sorted by relevance

12345678910>>...60

/titanic_41/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.index.d.out4 if (index("foobarbaz", "barbaz") != 3) {
6 index("foobarbaz", "barbaz"));
18 if (index("foofoofoo", "foo") != 0) {
20 index("foofoofoo", "foo"));
32 if (index("boofoofoo", "foo") != 3) {
34 index("boofoofoo", "foo"));
46 if (index("foobarbaz", "barbazzy") != -1) {
48 index("foobarbaz", "barbazzy"));
60 if (index("foobar", "foobar") != 0) {
62 index("foobar", "foobar"));
[all …]
H A Dtst.substr.d33 int index; member
48 command[i].index = 3;
52 command[i].index = 300;
56 command[i].index = -10;
60 command[i].index = 0;
64 command[i].index = 1;
68 command[i].index = strlen(str) - 1;
72 command[i].index = strlen(str);
76 command[i].index = strlen(str) + 1;
80 command[i].index = 8;
[all …]
/titanic_41/usr/src/lib/libsqlite/test/
H A Dindex.test17 # $Id: index.test,v 1.24.2.1 2004/07/20 00:50:30 drh Exp $
22 # Create a basic index and verify it is added to sqlite_master
24 do_test index-1.1 {
29 do_test index-1.1b {
32 } {index1 {CREATE INDEX index1 ON test1(f1)} test1 index}
33 do_test index-1.1c {
38 } {index1 {CREATE INDEX index1 ON test1(f1)} test1 index}
39 do_test index-1.1d {
45 # Verify that the index dies with the table
47 do_test index-1.2 {
[all …]
/titanic_41/usr/src/lib/mpapi/libmpapi/common/
H A Dmpapi.c476 MP_UINT32 index; in MP_GetPluginProperties() local
489 index = pluginOid.ownerId - 1; in MP_GetPluginProperties()
490 if (plugintable[index].hdlPlugin != NULL) { in MP_GetPluginProperties()
492 dlsym(plugintable[index].hdlPlugin, "MP_GetPluginPropertiesPlugin"); in MP_GetPluginProperties()
653 MP_UINT32 index; in MP_GetDeviceProductOidList() local
666 index = oid.ownerId - 1; in MP_GetDeviceProductOidList()
667 if (plugintable[index].hdlPlugin != NULL) { in MP_GetDeviceProductOidList()
669 dlsym(plugintable[index].hdlPlugin, in MP_GetDeviceProductOidList()
727 MP_UINT32 index; in MP_GetDeviceProductProperties() local
740 index = oid.ownerId - 1; in MP_GetDeviceProductProperties()
[all …]
/titanic_41/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaMechManager.c221 unsigned long index, num_found = 0; in meta_mechManager_get_slots() local
232 found = find_mech_index(mech_support_info->mech, &index); in meta_mechManager_get_slots()
239 if (!mechlist[index].slots[i].initialized || in meta_mechManager_get_slots()
240 !mechlist[index].slots[i].supported) in meta_mechManager_get_slots()
244 info = mechlist[index].slots[i].mechanism_info; in meta_mechManager_get_slots()
252 = &mechlist[index].slots[i]; in meta_mechManager_get_slots()
286 unsigned long index = 0; in meta_mechManager_update_mech() local
290 rv = meta_mechManager_allocmechs(&mech, 1, &index); in meta_mechManager_update_mech()
300 found = find_mech_index(mech, &index); in meta_mechManager_update_mech()
309 if (force_refresh || !mechlist[index].slots[slot].initialized) { in meta_mechManager_update_mech()
[all …]
/titanic_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/awt/
H A DTextList.java95 public void select(int index) { in select() argument
96 view.select(index); in select()
103 public void deselect(int index) { in deselect() argument
104 view.deselect(index); in deselect()
144 public void addItem(String item, int index) { in addItem() argument
145 if (index == -1) { in addItem()
151 } else if (index < items.size()) { in addItem()
152 items.insertElementAt(item, index); in addItem()
159 public void replaceItem(String newValue, int index) { in replaceItem() argument
160 if (index < items.size()) { in replaceItem()
[all …]
H A DCardPanel.java89 public void addTab(String name, int index) { in addTab() argument
90 tabs.insertElementAt(name, index); in addTab()
93 public String getTab(int index) { in getTab() argument
95 if (index >= 0 && index < size) in getTab()
96 return (String)tabs.elementAt(index); in getTab()
111 int index = tabs.indexOf(oldName); in renameTab() local
112 if (index != -1) { in renameTab()
113 tabs.removeElementAt(index); in renameTab()
114 tabs.insertElementAt(newName, index); in renameTab()
232 int index = frontIndex(); in next() local
[all …]
H A DTextView.java127 public void select(int index) { in select() argument
128 if (index >= items.size()) in select()
130 if (index < -1) in select()
134 if (index == -1) { in select()
145 if (selected[0] != index) { in select()
146 selected[0] = index; in select()
151 if (index == -1) in select()
156 if (index == selected[i]) { in select()
159 } else if (index < selected[i]) { in select()
164 selected[i] = index; in select()
[all …]
/titanic_41/usr/src/stand/lib/inet/
H A Dudp.c100 udp_input(int index) in udp_input() argument
108 printf("udp_input(%d) ###############################\n", index); in udp_input()
110 while ((igp = sockets[index].inq) != NULL) { in udp_input()
114 index, igp->igm_level); in udp_input()
116 del_gram(&sockets[index].inq, igp, TRUE); in udp_input()
122 header_len = (sockets[index].headerlen[TRANSPORT_LVL])(NULL); in udp_input()
129 &igp->igm_target, sockets[index].proto) != 0) { in udp_input()
131 "from %s.\n", index, in udp_input()
133 del_gram(&sockets[index].inq, igp, TRUE); in udp_input()
139 if (sockets[index].bind.sin_port != udphp->uh_dport) { in udp_input()
[all …]
H A Dipv4.c175 frag_free(int index) in frag_free() argument
177 if (fragment[index].mp != NULL) { in frag_free()
178 freeb(fragment[index].mp); in frag_free()
181 bzero((caddr_t)&fragment[index], sizeof (struct ip_frag)); in frag_free()
346 int index; in ipv4_route() local
356 for (index = 0; index < IPV4_ROUTE_TABLE_SIZE; index++) in ipv4_route()
357 table[index].flag = RT_UNUSED; in ipv4_route()
364 if ((index = find_route(&tmp_flag, NULL, NULL)) == -1) { in ipv4_route()
369 table[index].flag = flag; in ipv4_route()
371 table[index].dest.s_addr = destp->s_addr; in ipv4_route()
[all …]
/titanic_41/usr/src/uts/sun4u/io/px/
H A Dpx_csr.h40 #define CSRA_XR(base, off, index) \ argument
41 (*(volatile uint64_t *)((base) + ((off) + ((index) * 8))))
46 #define CSRA_XS(base, off, index, val) \ argument
47 ((*(volatile uint64_t *)((base) + ((off) + ((index) * 8)))) = (val))
54 #define CSRA_FR(base, off, index, bit) \ argument
55 (((*(volatile uint64_t *) ((base) + ((off) + ((index) * 8)))) >> \
64 #define CSRA_FS(base, off, index, bit, val) \ argument
65 ((*(volatile uint64_t *) ((base) + ((off) + ((index) * 8)))) = \
66 (((*(volatile uint64_t *) ((base) + ((off) + ((index) * 8)))) & \
75 #define CSRA_FC(base, off, index, bit) \ argument
[all …]
/titanic_41/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dslk.c192 int index; in __m_slk_clear() local
201 for (index = 0; index < 8; ++index) { in __m_slk_clear()
202 i = format[__m_slk_format][index]; in __m_slk_clear()
209 for (index = 0; index < 8; ++index) { in __m_slk_clear()
211 p = __m_screen->_slk._saved[index]; in __m_slk_clear()
216 __m_screen->_slk._saved[index] = p; in __m_slk_clear()
292 int index; in __m_slk_doupdate() local
293 for (index = 0; index < 8; index++) { in __m_slk_doupdate()
294 char *s = __m_screen->_slk._saved[index]; in __m_slk_doupdate()
296 (void) TPUTS(tparm(plab_norm, (long) index+1, in __m_slk_doupdate()
[all …]
/titanic_41/usr/src/uts/common/io/xge/drv/
H A Dxge.c272 int index) in xge_ring_config() argument
276 (void) xge_os_snprintf(msg, MSG_SIZE, "ring%d_configured", index); in xge_ring_config()
277 device_config->ring.queue[index].configured = in xge_ring_config()
279 msg, index < XGELL_RX_RING_NUM_MAX ? 1 : 0); in xge_ring_config()
282 if (!device_config->ring.queue[index].configured) in xge_ring_config()
286 device_config->ring.queue[index].no_snoop_bits = 1; in xge_ring_config()
289 (void) xge_os_snprintf(msg, MSG_SIZE, "ring%d_max", index); in xge_ring_config()
290 device_config->ring.queue[index].max = in xge_ring_config()
295 (void) xge_os_snprintf(msg, MSG_SIZE, "ring%d_initial", index); in xge_ring_config()
296 device_config->ring.queue[index].initial = in xge_ring_config()
[all …]
/titanic_41/usr/src/cmd/dtrace/demo/
H A Dchapters3 index: 0
8 index: 10
13 index: 9
18 index: 34
23 index: 11
28 index: 17
33 index: 20
38 index: 1
43 index: 27
48 index: 18
[all …]
/titanic_41/usr/src/uts/common/io/chxge/com/
H A Dch_mac.c77 u32 index; member
98 mac_intr |= static_aPorts[mac->instance->index]; in mac_intr_enable()
124 mac_intr &= ~(static_aPorts[mac->instance->index]); in mac_intr_disable()
149 mac_intr |= (static_aPorts[mac->instance->index]); in mac_intr_clear()
162 MAC_REG_IDLO(mac->instance->index)); in mac_get_address()
164 MAC_REG_IDHI(mac->instance->index)); in mac_get_address()
179 int idx = mac->instance->index; in mac_reset()
207 MAC_REG_CSR(mac->instance->index)); in mac_set_rx_mode()
212 MAC_REG_CSR(mac->instance->index), val); in mac_set_rx_mode()
223 MAC_REG_CSR(mac->instance->index)); in mac_set_speed_duplex_fc()
[all …]
/titanic_41/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A Dmp_utils.c209 int index = -1; in notifyClient() local
236 index = MP_OBJECT_TYPE_PLUGIN; in notifyClient()
241 index = MP_OBJECT_TYPE_MULTIPATH_LU; in notifyClient()
246 index = MP_OBJECT_TYPE_PATH_LU; in notifyClient()
251 index = MP_OBJECT_TYPE_INITIATOR_PORT; in notifyClient()
256 index = MP_OBJECT_TYPE_TARGET_PORT_GROUP; in notifyClient()
261 index = MP_OBJECT_TYPE_TARGET_PORT; in notifyClient()
266 index = MP_OBJECT_TYPE_DEVICE_PRODUCT; in notifyClient()
282 index = MP_OBJECT_TYPE_MULTIPATH_LU; in notifyClient()
287 index = MP_OBJECT_TYPE_PATH_LU; in notifyClient()
[all …]
/titanic_41/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSLPTokenizer.java49 private int index; field in SLPTokenizer
56 index = 0; in initialize()
130 if (index >= str.length()) { in hasMoreElements()
137 for (int i = index; i < str.length(); i++) { in hasMoreElements()
176 if (index >= str.length()) throw new NoSuchElementException(); in nextToken()
179 char c = str.charAt(index); in nextToken()
187 sb.append(str.charAt(index)); in nextToken()
188 index++; in nextToken()
193 while (index < str.length()) { in nextToken()
195 c = str.charAt(index); in nextToken()
[all …]
/titanic_41/usr/src/lib/libnsctl/common/
H A Dhash.c46 int index; in nsc_insert_node() local
60 index = calc_hash(key); in nsc_insert_node()
61 node->next = hash[ index ]; in nsc_insert_node()
62 hash[ index ] = node; in nsc_insert_node()
80 int index; in nsc_lookup() local
83 index = calc_hash(key); in nsc_lookup()
84 node = hash[ index ]; in nsc_lookup()
96 int index; in nsc_remove_node() local
100 index = calc_hash(key); in nsc_remove_node()
101 if (!hash[ index ]) { in nsc_remove_node()
[all …]
/titanic_41/usr/src/uts/common/io/usb/clients/hidparser/
H A DREADME338 hidparser: scanner: index = 0x0 ch = 0x5 [ = 0x00000101 = tag[0],
351 hidparser: scanner: parsed_text[0] = 0x1,index = 0x1
369 hidparser: hidparser_GlobalItem:index = 0x0 token = 0x4
377 hidparser: scanner: index = 0x2 ch = 0x9 [ = 0x00001001 = tag[0],
380 hidparser: scanner: parsed_text[0] = 0x8,index = 0x3
383 hidparser: hidparser_LocalItem:index = 0x2 token = 0x8
389 hidparser: scanner: index = 0x4 ch = 0xa1 [= 0x10100001 = tag[a],
392 hidparser: scanner: parsed_text[0] = 0x1,index = 0x5
408 hidparser: hidparser_MainItem:index = 0x4 token = 0xa0
409 hidparser: scanner: index = 0x6 ch = 0xa1
[all …]
/titanic_41/usr/src/cmd/fs.d/cachefs/cfsd/
H A Dcfsd_svc.c115 size_t index; in cachefsd_caches_1_svc() local
139 for (index = 0; index < cnt; index++, idp++) { in cachefsd_caches_1_svc()
141 cache_object_p = all_cachelist_at(all_object_p, index); in cachefsd_caches_1_svc()
180 size_t cnt, index; in cachefsd_cache_status_1_svc() local
201 for (index = 0; index < cnt; index++) { in cachefsd_cache_status_1_svc()
203 cache_object_p = all_cachelist_at(all_object_p, index); in cachefsd_cache_status_1_svc()
217 if (index >= cnt) { in cachefsd_cache_status_1_svc()
224 for (index = 0; index < cnt; index++) { in cachefsd_cache_status_1_svc()
226 fscache_object_p = cache_fscachelist_at(cache_object_p, index); in cachefsd_cache_status_1_svc()
297 size_t cnt, index; in cachefsd_mounts_1_svc() local
[all …]
/titanic_41/usr/src/uts/common/kiconv/kiconv_tc/
H A Dkiconv_tc.c655 size_t index; in big5_to_utf8_common() local
659 index = kiconv_binsearch(big5_val, table, nitems); in big5_to_utf8_common()
660 u8 = table[index].u8; in big5_to_utf8_common()
668 if (index == 0) in big5_to_utf8_common()
671 for (index = 0; index < sz; index++) in big5_to_utf8_common()
672 *ob++ = u8[index]; in big5_to_utf8_common()
726 size_t index; in euctw_to_utf8() local
733 index = kiconv_binsearch(euctw_val, kiconv_cns1_utf8, in euctw_to_utf8()
735 u8 = kiconv_cns1_utf8[index].u8; in euctw_to_utf8()
738 index = kiconv_binsearch(euctw_val, kiconv_cns2_utf8, in euctw_to_utf8()
[all …]
/titanic_41/usr/src/cmd/fs.d/cachefs/fsck/
H A Dres.c259 int index; in res_reset() local
272 for (index = MININDEX; index < resp->p_totentries; index++) { in res_reset()
273 rlentp = res_rlent_get(resp, index); in res_reset()
341 int previndex, index; in res_listcheck() local
346 index = lhp->rli_front; in res_listcheck()
350 while (index != 0) { in res_listcheck()
354 if ((index < MININDEX) || (index >= resp->p_totentries)) { in res_listcheck()
356 pr_err("index out of bounds %d", index); in res_listcheck()
361 rlentp = res_rlent_get(resp, index); in res_listcheck()
377 index); in res_listcheck()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/blade/bsc/
H A Dpicllom.c88 static int get_lom_temp(int index, tempr_t *temp_p);
90 static int get_lom_volts_status(int index, int *voltsStatus_p);
91 static int get_lom_volts_shutdown(int index, int *voltsShutdown_p);
93 static int get_lom_fan_speed(int index, int *fan_speed);
414 get_lom_temp(int index, tempr_t *temp_p) in get_lom_temp() argument
428 *temp_p = lom_temp.temp[index]; in get_lom_temp()
472 get_lom_volts_status(int index, int *voltsStatus_p) in get_lom_volts_status() argument
479 *voltsStatus_p = voltsdata.status[index]; in get_lom_volts_status()
488 get_lom_volts_shutdown(int index, int *voltsShutdown_p) in get_lom_volts_shutdown() argument
495 *voltsShutdown_p = voltsdata.shutdown_enabled[index]; in get_lom_volts_shutdown()
[all …]
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_user/zfs_list/
H A Dzfs_list.kshlib46 typeset -i index=1
57 EXPECTED=$($ECHO $list | $AWK "{print \$$index}")
65 ((index = index + 1))
70 if [ $index -ne $($ECHO $list | $AWK '{print split($0,arr)+1}') ]
88 typeset -i index=$($ECHO $list | $AWK '{print split($0,arr)}')
99 EXPECTED=$($ECHO $list | $AWK "{print \$$index}")
108 ((index = index - 1))
113 if [ $index -ne 0 ]
/titanic_41/usr/src/uts/common/avs/ns/rdc/
H A Drdc_io.c127 void rdc_kstat_create(int index);
128 void rdc_kstat_delete(int index);
349 krdc->index = i; in _rdc_load()
370 const int index = (int)(urdc - &rdc_u_info[0]); in rdc_u_init() local
379 urdc->index = index; in rdc_u_init()
393 int index; in _rdc_configure() local
396 for (index = 0; index < rdc_max_sets; index++) { in _rdc_configure()
397 krdc = &rdc_k_info[index]; in _rdc_configure()
407 rdc_u_init(&rdc_u_info[index]); in _rdc_configure()
428 int index; in _rdc_deconfigure() local
[all …]

12345678910>>...60