/titanic_50/usr/src/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.index.d.out | 4 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 D | tst.substr.d | 33 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_50/usr/src/lib/libsqlite/test/ |
H A D | index.test | 17 # $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_50/usr/src/lib/mpapi/libmpapi/common/ |
H A D | mpapi.c | 476 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_50/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaMechManager.c | 221 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_50/usr/src/stand/lib/inet/ |
H A D | udp.c | 100 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 D | ipv4.c | 175 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_50/usr/src/uts/sun4u/io/px/ |
H A D | px_csr.h | 40 #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_50/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | slk.c | 192 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_50/usr/src/uts/common/io/xge/drv/ |
H A D | xge.c | 272 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_50/usr/src/cmd/dtrace/demo/ |
H A D | chapters | 3 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_50/usr/src/uts/common/io/chxge/com/ |
H A D | ch_mac.c | 77 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_50/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | SLPTokenizer.java | 49 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_50/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | mp_utils.c | 209 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_50/usr/src/uts/i86pc/dboot/ |
H A D | dboot_multiboot2.c | 109 int index = 0; in dboot_multiboot2_iterate() local 114 if (callback(index, tagp, ctx) == B_TRUE) { in dboot_multiboot2_iterate() 115 return (index + 1); in dboot_multiboot2_iterate() 120 index++; in dboot_multiboot2_iterate() 122 return (index); in dboot_multiboot2_iterate() 143 dboot_multiboot2_iterate_callback(int index, multiboot_tag_t *tagp, in dboot_multiboot2_iterate_callback() argument 146 if (index == ctx->dboot_iter_index) { in dboot_multiboot2_iterate_callback() 167 dboot_multiboot2_modstart(multiboot2_info_header_t *mbi, int index) in dboot_multiboot2_modstart() argument 172 .dboot_iter_index = index, in dboot_multiboot2_modstart() 187 dboot_multiboot2_modend(multiboot2_info_header_t *mbi, int index) in dboot_multiboot2_modend() argument [all …]
|
/titanic_50/usr/src/lib/libnsctl/common/ |
H A D | hash.c | 46 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_50/usr/src/uts/common/io/usb/clients/hidparser/ |
H A D | README | 338 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_50/usr/src/uts/common/kiconv/kiconv_tc/ |
H A D | kiconv_tc.c | 655 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_50/usr/src/cmd/picl/plugins/sun4u/blade/bsc/ |
H A D | picllom.c | 88 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_50/usr/src/test/zfs-tests/tests/functional/cli_user/zfs_list/ |
H A D | zfs_list.kshlib | 46 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_50/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_io.c | 128 void rdc_kstat_create(int index); 129 void rdc_kstat_delete(int index); 350 krdc->index = i; in _rdc_load() 371 const int index = (int)(urdc - &rdc_u_info[0]); in rdc_u_init() local 380 urdc->index = index; in rdc_u_init() 394 int index; in _rdc_configure() local 397 for (index = 0; index < rdc_max_sets; index++) { in _rdc_configure() 398 krdc = &rdc_k_info[index]; in _rdc_configure() 408 rdc_u_init(&rdc_u_info[index]); in _rdc_configure() 429 int index; in _rdc_deconfigure() local [all …]
|
/titanic_50/usr/src/lib/sun_fc/common/ |
H A D | HBAList.cc | 105 int index = -1; in openHBA() local 110 index = atoi(indexString.c_str()); in openHBA() 116 if (index < 0 || index > hbas.size()) { in openHBA() 120 HBA *tmp = hbas[index]; in openHBA() 144 int index = -1; in openTgtHBA() local 149 index = atoi(indexString.c_str()); in openTgtHBA() 155 if (index < 0 || index > tgthbas.size()) { in openTgtHBA() 159 HBA *tmp = tgthbas[index]; in openTgtHBA() 175 string HBAList::getHBAName(int index) { in getHBAName() argument 178 if (index < 0 || index > hbas.size()) { in getHBAName() [all …]
|
/titanic_50/usr/src/uts/sun4u/sunfire/io/ |
H A D | fhc_bd.c | 89 int index; in fhc_bd_disabled() local 92 index = FHC_B_SEARCH(boards, board); in fhc_bd_disabled() 93 ASSERT(index != -1); in fhc_bd_disabled() 94 return (boards.boards[index]->flags & BDF_DISABLED); in fhc_bd_disabled() 206 int index; in fhc_bd_busy() local 209 index = FHC_B_SEARCH(boards, board); in fhc_bd_busy() 210 ASSERT(index != -1); in fhc_bd_busy() 211 return (boards.boards[index]->sc.in_transition); in fhc_bd_busy() 217 int index; in fhc_bd_is_jtag_master() local 220 index = FHC_B_SEARCH(boards, board); in fhc_bd_is_jtag_master() [all …]
|
/titanic_50/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_tab.c | 130 const char *index; in tab_count_args() local 133 index = input; in tab_count_args() 135 while (*index != '\0') { in tab_count_args() 136 while (*index != '\0' && isspace(*index)) { in tab_count_args() 137 index++; in tab_count_args() 141 if (*index != '\0' && !isspace(*index)) { in tab_count_args() 144 while (*index != '\0' && !isspace (*index)) { in tab_count_args() 145 index++; in tab_count_args() 170 char *index; in tab_copy_args() local 172 index = input; in tab_copy_args() [all …]
|
/titanic_50/usr/src/lib/libshare/common/ |
H A D | issubdir.c | 70 int index; local 91 index = 0; 98 if (index == 0) { 104 if (index > 0 && 106 inoeq(child_ino[index - 1], st.st_ino))) { 112 child_ino[index++] = st.st_ino; 128 valid = index; 149 for (index = 0; index < valid; index++) { 150 if (inoeq(child_ino[index], parent_st.st_ino)) {
|