/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.index.d.out | 6 index("foobarbaz", "barbaz")); 20 index("foofoofoo", "foo")); 90 index("", "foobar")); 104 index("foobar", "")); 116 if (index("", "") != 0) { 118 index("", "")); 132 index("foo", "")); 1070 index("", "", 0)); 1084 index("", "", 0)); 1098 index("", "", 0)); [all …]
|
H A D | tst.substr.d | 33 int index; member 48 command[i].index = 3; 60 command[i].index = 0; 64 command[i].index = 1; 80 command[i].index = 8; 84 command[i].index = 4; 88 command[i].index = 5; 92 command[i].index = 5; 108 command[i].index = 3; 112 command[i].index = 3; [all …]
|
/freebsd/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_route.c | 146 key.index[0], key.index[1], key.index[2], in mib_sroute_process() 147 key.index[3], key.index[4], key.index[5], in mib_sroute_process() 148 key.index[6], key.index[7], key.index[8], in mib_sroute_process() 160 key.index[0], key.index[1], key.index[2], in mib_sroute_process() 161 key.index[3], key.index[4], key.index[5], in mib_sroute_process() 162 key.index[6], key.index[7], key.index[8], in mib_sroute_process() 185 memcpy(r->index, key.index, sizeof(r->index)); in mib_sroute_process() 200 key.index[0], key.index[1], key.index[2], in mib_sroute_process() 217 key.index[0], key.index[1], key.index[2], in mib_sroute_process() 218 key.index[3], key.index[4], key.index[5], in mib_sroute_process() [all …]
|
H A D | mibII_nettomedia.c | 53 if (at->index.subs[0] == ifp->index && in mib_find_arp() 73 at->index.len = 5; in mib_arp_create() 74 at->index.subs[0] = ifp->index; in mib_arp_create() 75 at->index.subs[1] = (a >> 24) & 0xff; in mib_arp_create() 76 at->index.subs[2] = (a >> 16) & 0xff; in mib_arp_create() 77 at->index.subs[3] = (a >> 8) & 0xff; in mib_arp_create() 78 at->index.subs[4] = (a >> 0) & 0xff; in mib_arp_create() 132 value->v.integer = at->index.subs[0]; in op_nettomedia() 139 value->v.ipaddress[0] = at->index.subs[1]; in op_nettomedia() 140 value->v.ipaddress[1] = at->index.subs[2]; in op_nettomedia() [all …]
|
/freebsd/contrib/ofed/librdmacm/ |
H A D | indexer.c | 89 int index; in idx_insert() local 91 if ((index = idx->free_list) == 0) { in idx_insert() 92 if ((index = idx_grow(idx)) <= 0) in idx_insert() 93 return index; in idx_insert() 99 return index; in idx_insert() 110 idx->free_list = index; in idx_remove() 129 return index; in idm_grow() 140 if (index > IDX_MAX_INDEX) { in idm_set() 146 if (idm_grow(idm, index) < 0) in idm_set() 151 entry[idx_entry_index(index)] = item; in idm_set() [all …]
|
H A D | indexer.h | 65 #define idx_array_index(index) (index >> IDX_ENTRY_BITS) argument 66 #define idx_entry_index(index) (index & (IDX_ENTRY_SIZE - 1)) argument 69 void *idx_remove(struct indexer *idx, int index); 72 static inline void *idx_at(struct indexer *idx, int index) in idx_at() argument 74 return (idx->array[idx_array_index(index)] + idx_entry_index(index))->item; in idx_at() 88 int idm_set(struct index_map *idm, int index, void *item); 89 void *idm_clear(struct index_map *idm, int index); 94 entry = idm->array[idx_array_index(index)]; in idm_at() 95 return entry[idx_entry_index(index)]; in idm_at() 100 return ((index <= IDX_MAX_INDEX) && idm->array[idx_array_index(index)]) ? in idm_lookup() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | avx512pfintrin.h | 17 #define _mm512_mask_prefetch_i32gather_pd(index, mask, addr, scale, hint) \ argument 18 __builtin_ia32_gatherpfdpd((__mmask8)(mask), (__v8si)(__m256i)(index), \ 22 #define _mm512_prefetch_i32gather_pd(index, addr, scale, hint) \ argument 23 __builtin_ia32_gatherpfdpd((__mmask8) -1, (__v8si)(__m256i)(index), \ 32 #define _mm512_prefetch_i32gather_ps(index, addr, scale, hint) \ argument 42 #define _mm512_prefetch_i64gather_pd(index, addr, scale, hint) \ argument 51 #define _mm512_prefetch_i64gather_ps(index, addr, scale, hint) \ argument 55 #define _mm512_prefetch_i32scatter_pd(addr, index, scale, hint) \ argument 65 #define _mm512_prefetch_i32scatter_ps(addr, index, scale, hint) \ argument 74 #define _mm512_prefetch_i64scatter_pd(addr, index, scale, hint) \ argument [all …]
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | X86DisassemblerTables.cpp | 616 for (unsigned index = 0; index < 256; ++index) { in getDecisionType() local 705 for (unsigned index = 0; index < 64; index += 8) in emitModRMDecision() local 707 for (unsigned index = 0xc0; index < 256; index += 8) in emitModRMDecision() local 711 for (unsigned index = 0; index < 64; index += 8) in emitModRMDecision() local 713 for (unsigned index = 0xc0; index < 256; ++index) in emitModRMDecision() local 772 for (index = 0; index < 256; ++index) { in emitOpcodeDecision() 785 for (index = 0; index < 256; ++index) { in emitOpcodeDecision() 813 for (unsigned index = 0; index < IC_max; ++index) { in emitContextDecision() local 894 for (unsigned index = 0; index < ATTR_max; ++index) { in emitContextTable() local 1064 for (unsigned index = 0; index < 256; ++index) { in setTableFields() local [all …]
|
/freebsd/sys/dev/xen/blkfront/ |
H A D | block.h | 211 cmq = &sc->xbd_cm_q[index]; in xbd_added_qentry() 234 cmq = &sc->xbd_cm_q[index]; in xbd_initq_cm() 243 KASSERT(index != XBD_Q_BIO, in xbd_enqueue_cm() 250 cm->cm_flags |= index; in xbd_enqueue_cm() 257 KASSERT(index != XBD_Q_BIO, in xbd_requeue_cm() 264 cm->cm_flags |= index; in xbd_requeue_cm() 282 index); in xbd_dequeue_cm() 295 xbd_q_index_t index; in xbd_remove_cm() local 347 u_int index; in xbd_initqs() local 349 for (index = 0; index < XBD_Q_COUNT; index++) in xbd_initqs() [all …]
|
/freebsd/contrib/lutok/ |
H A D | state.cpp | 372 lua_pushvalue(_pimpl->lua_state, index < 0 ? index - 1 : index); in get_table() 394 lutok::state::insert(const int index) in insert() argument 430 lutok::state::is_nil(const int index) in is_nil() argument 552 lutok::state::next(const int index) in next() argument 557 lua_pushvalue(_pimpl->lua_state, index < 0 ? index - 1 : index); in next() 749 lutok::state::raw_get(const int index) in raw_get() argument 810 lua_pushvalue(_pimpl->lua_state, index < 0 ? index - 1 : index); in set_table() 827 assert(is_boolean(index)); in to_boolean() 840 assert(is_number(index)); in to_integer() 873 assert(is_string(index)); in to_string() [all …]
|
/freebsd/contrib/kyua/utils/sqlite/ |
H A D | statement.cpp | 222 sqlite::statement::column_name(const int index) in column_name() argument 237 sqlite::statement::column_type(const int index) in column_type() argument 281 PRE(column_type(index) == type_blob); in column_blob() 295 PRE(column_type(index) == type_float); in column_double() 308 sqlite::statement::column_int(const int index) in column_int() argument 310 PRE(column_type(index) == type_integer); in column_int() 323 PRE(column_type(index) == type_integer); in column_int64() 339 PRE(column_type(index) == type_text); in column_text() 341 _pimpl->stmt, index)); in column_text() 357 PRE(column_type(index) == type_blob || column_type(index) == type_text); in column_bytes() [all …]
|
/freebsd/sys/dev/sfxge/ |
H A D | sfxge_ev.c | 59 index = evq->index; in sfxge_ev_qcomplete() 219 index = rxq->index; in sfxge_ev_rxq_flush_done() 220 if (index == evq->index) { in sfxge_ev_rxq_flush_done() 253 index = rxq->index; in sfxge_ev_rxq_flush_failed() 274 index = (evq->index == 0) ? in sfxge_get_txq_by_label() 525 for (index = 0; index < sc->evq_count; index++) { in sfxge_ev_stat_update() 609 for (index = 0; index < sc->evq_count; index++) in sfxge_int_mod_handler() 816 int index; in sfxge_ev_stop() local 850 for (index = 0; index < sc->evq_count; index++) { in sfxge_ev_start() 899 evq->index = index; in sfxge_ev_qinit() [all …]
|
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_timer.c | 104 ar9300_free_generic_timer(struct ath_hal *ah, int index) in ar9300_free_generic_timer() argument 108 ar9300_stop_generic_timer(ah, index); in ar9300_free_generic_timer() 109 ahp->ah_avail_gen_timers |= AR_GENTMR_BIT(index); in ar9300_free_generic_timer() 115 int index, in ar9300_start_generic_timer() argument 119 if ((index < AR_FIRST_NDP_TIMER) || (index >= AR_NUM_GEN_TIMERS)) { in ar9300_start_generic_timer() 129 gen_timer_configuration[index].mode_addr, in ar9300_start_generic_timer() 130 gen_timer_configuration[index].mode_mask); in ar9300_start_generic_timer() 138 if ((index < AR_GEN_TIMER_BANK_1_LEN)) { in ar9300_start_generic_timer() 155 if ((index < AR_FIRST_NDP_TIMER) || (index >= AR_NUM_GEN_TIMERS)) { in ar9300_stop_generic_timer() 163 gen_timer_configuration[index].mode_addr, in ar9300_stop_generic_timer() [all …]
|
/freebsd/sys/arm/allwinner/ |
H A D | a31_dmac.c | 184 u_int index; in a31dmac_attach() local 247 for (index = 0; index < sc->nchans; index++) { in a31dmac_attach() 249 sc->chans[index].index = index; in a31dmac_attach() 262 sc->chans[index].desc, sizeof(*sc->chans[index].desc), in a31dmac_attach() 285 for (index = 0; index < sc->nchans; index++) in a31dmac_attach() 322 u_int index; in a31dmac_intr() local 346 sc->chans[index].callback(sc->chans[index].callbackarg); in a31dmac_intr() 452 u_int index; in a31dmac_alloc() local 458 for (index = 0; index < sc->nchans; index++) { in a31dmac_alloc() 481 u_int index; in a31dmac_free() local [all …]
|
H A D | a10_dmac.c | 112 unsigned int index; in a10dmac_attach() local 142 for (index = 0; index < NDMA_CHANNELS; index++) { in a10dmac_attach() 144 sc->sc_ndma_channels[index].ch_index = index; in a10dmac_attach() 148 sc->sc_ndma_channels[index].ch_regoff = AWIN_NDMA_REG(index); in a10dmac_attach() 151 for (index = 0; index < DDMA_CHANNELS; index++) { in a10dmac_attach() 153 sc->sc_ddma_channels[index].ch_index = index; in a10dmac_attach() 157 sc->sc_ddma_channels[index].ch_regoff = AWIN_DDMA_REG(index); in a10dmac_attach() 179 uint8_t index; in a10dmac_intr() local 338 uint8_t ch_count, index; in a10dmac_alloc() local 349 for (index = 0; index < ch_count; index++) { in a10dmac_alloc() [all …]
|
/freebsd/contrib/sendmail/libsm/ |
H A D | utf8_valid.c | 45 size_t index; local 48 index = 0; 54 if (index >= length) 56 byte1 = bytes[index++]; 61 if (index == length) 69 if (index + 1 >= length) 78 || bytes[index++] > 0xBF) 85 if (index + 2 >= length) 87 int byte2 = bytes[index++]; 95 || bytes[index++] > 0xBF [all …]
|
/freebsd/sys/fs/udf/ |
H A D | osta.c | 325 for (index = 0; index < udfLen; index++) { in UDFTransName() 326 current = udfName[index]; in UDFTransName() 337 while(index+1 < udfLen && (IsIllegal(udfName[index+1]) in UDFTransName() 339 index++; in UDFTransName() 350 extIndex = index; in UDFTransName() 385 for(index = 0; index<EXT_SIZE && in UDFTransName() 386 extIndex + index +1 < udfLen; index++ ) { in UDFTransName() 400 index + 2]) || in UDFTransName() 402 index + 2]))) { in UDFTransName() 403 index++; in UDFTransName() [all …]
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_radix.c | 76 if (index > radix_max(root)) in radix_tree_lookup() 92 unsigned long index = iter->index; in radix_tree_iter_find() local 113 index += step; in radix_tree_iter_find() 114 index &= -step; in radix_tree_iter_find() 115 if ((index & mask) == 0) in radix_tree_iter_find() 122 iter->index = index; in radix_tree_iter_find() 138 if (index > radix_max(root)) in radix_tree_delete() 147 idx = radix_pos(index, 0); in radix_tree_delete() 240 idx = radix_pos(index, height); in radix_tree_insert() 269 idx = radix_pos(index, 0); in radix_tree_insert() [all …]
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_dispatch_hier.h | 156 lb[1 - index] = nlb; in set_next_hand_thread() 172 T get_next_lb(kmp_uint64 index) const { return lb[1 - index]; } in get_next_lb() 173 T get_next_ub(kmp_uint64 index) const { return ub[1 - index]; } in get_next_ub() 174 ST get_next_st(kmp_uint64 index) const { return st[1 - index]; } in get_next_st() 179 kmp_int32 get_curr_status(kmp_uint64 index) const { return status[index]; } in get_curr_status() 180 T get_curr_lb(kmp_uint64 index) const { return lb[index]; } in get_curr_lb() 181 T get_curr_ub(kmp_uint64 index) const { return ub[index]; } in get_curr_ub() 182 ST get_curr_st(kmp_uint64 index) const { return st[index]; } in get_curr_st() 254 tdata->index = 0; in reset_private() 300 tdata->index = 0; in reset_private() [all …]
|
/freebsd/sys/dev/fb/ |
H A D | splash_bmp.c | 312 if (*info->index) { in bmp_DecodeRLE4() 320 info->index += 2; in bmp_DecodeRLE4() 328 info->index += 2; in bmp_DecodeRLE4() 331 info->index = NULL; in bmp_DecodeRLE4() 336 info->index += 4; in bmp_DecodeRLE4() 376 if (*info->index) { in bmp_DecodeRLE8() 387 info->index += 2; in bmp_DecodeRLE8() 390 info->index = NULL; in bmp_DecodeRLE8() 395 info->index += 4; in bmp_DecodeRLE8() 429 p = info->index; in bmp_DecodeLine() [all …]
|
/freebsd/sys/arm/ti/clk/ |
H A D | clock_common.c | 57 int index, ncells, rv; in read_clock_cells() local 76 for (index = 0; index < clk->num_clock_cells; index++) { in read_clock_cells() 85 clk->clock_cells_ncells[index] = ncells; in read_clock_cells() 86 index += ncells; in read_clock_cells() 93 int index, clock_index, err; in find_parent_clock_names() local 98 for (index = 0, clock_index = 0; index < clk->num_clock_cells; index++) { in find_parent_clock_names() 105 index, clk->clock_cells[index]); in find_parent_clock_names() 107 index += clk->clock_cells_ncells[index]; in find_parent_clock_names() 119 index += clk->clock_cells_ncells[index]; in find_parent_clock_names()
|
/freebsd/sys/kern/ |
H A D | subr_pctrie.c | 111 index = (index - node->pn_owner) >> node->pn_clev; in pctrie_keybarr() 112 if (index >= PCTRIE_COUNT) in pctrie_keybarr() 114 *slot = index; in pctrie_keybarr() 271 uint64_t index; in pctrie_insert_lookup() local 275 index = *val; in pctrie_insert_lookup() 321 uint64_t index, newind; in pctrie_insert_node() local 340 index = *val; in pctrie_insert_node() 458 if (node->pn_owner > index) in pctrie_lookup_ge() 533 if (node->pn_owner < index) in pctrie_lookup_le() 700 uint64_t index; in pctrie_replace() local [all …]
|
/freebsd/sys/dev/smartpqi/ |
H A D | smartpqi_tag.c | 160 int index = 0; in pqisrc_init_taglist() local 179 for (index = 1; index < stack->max_elem ; index++) { in pqisrc_init_taglist() 180 softs->rcb[index].tag = INVALID_ELEM; in pqisrc_init_taglist() 181 pqisrc_put_tag(stack, index); in pqisrc_init_taglist() 218 DBG_INFO("push tag :%u\n",index); in pqisrc_put_tag() 220 if (index >= stack->max_elem) { in pqisrc_put_tag() 226 if (stack->next_index_array[index] != 0) { in pqisrc_put_tag() 237 new_head.top.index = index; in pqisrc_put_tag() 239 stack->next_index_array[index] = cur_head.top.index; in pqisrc_put_tag() 262 new_head.top.index = stack->next_index_array[cur_head.top.index]; in pqisrc_get_tag() [all …]
|
/freebsd/sys/dev/mthca/ |
H A D | mthca_mcg.c | 88 *index = *hash; in find_mgm() 99 if (*index != *hash) { in find_mgm() 109 *prev = *index; in find_mgm() 111 } while (*index); in find_mgm() 113 *index = -1; in find_mgm() 126 int index, prev; in mthca_multicast_attach() local 142 if (index != -1) { in mthca_multicast_attach() 149 if (index == -1) { in mthca_multicast_attach() 204 if (err && link && index != -1) { in mthca_multicast_attach() 220 int prev, index; in mthca_multicast_detach() local [all …]
|
/freebsd/usr.bin/mail/ |
H A D | strings.c | 57 int s, index; in salloc() local 63 index = 0; in salloc() 65 if (sp->s_topFree == NULL && (STRINGSIZE << index) >= s) in salloc() 69 index++; in salloc() 74 index = sp - &stringdope[0]; in salloc() 76 err(1, "No room for space %d", index); in salloc() 78 sp->s_nleft = STRINGSIZE << index; in salloc() 95 int index; in sreset() local 99 index = 0; in sreset() 104 sp->s_nleft = STRINGSIZE << index; in sreset() [all …]
|