/freebsd/sys/dev/mlxfw/ |
H A D | mlxfw_mfa2_tlv_multi.c | 75 u16 idx; in mlxfw_mfa2_tlv_advance() local 77 mlxfw_mfa2_tlv_foreach(mfa2_file, tlv, idx, from_tlv, count) in mlxfw_mfa2_tlv_advance() 90 u16 idx; in mlxfw_mfa2_tlv_multi_child_find() local 92 mlxfw_mfa2_tlv_multi_foreach(mfa2_file, tlv, idx, multi) { in mlxfw_mfa2_tlv_multi_child_find() 111 u16 idx; in mlxfw_mfa2_tlv_multi_child_count() local 113 mlxfw_mfa2_tlv_multi_foreach(mfa2_file, tlv, idx, multi) { in mlxfw_mfa2_tlv_multi_child_count()
|
/freebsd/contrib/llvm-project/lldb/source/API/ |
H A D | SBFileSpecList.cpp | 68 uint32_t SBFileSpecList::FindFileIndex(uint32_t idx, const SBFileSpec &sb_file, in FindFileIndex() argument 70 LLDB_INSTRUMENT_VA(this, idx, sb_file, full); in FindFileIndex() 72 return m_opaque_up->FindFileIndex(idx, sb_file.ref(), full); in FindFileIndex() 75 const SBFileSpec SBFileSpecList::GetFileSpecAtIndex(uint32_t idx) const { in GetFileSpecAtIndex() 76 LLDB_INSTRUMENT_VA(this, idx); in GetFileSpecAtIndex() 79 new_spec.SetFileSpec(m_opaque_up->GetFileSpecAtIndex(idx)); in GetFileSpecAtIndex()
|
/freebsd/crypto/openssl/test/ |
H A D | poly1305_internal_test.c | 1506 static int test_poly1305(int idx) in test_poly1305() argument 1509 const TESTDATA test = tests[idx]; in test_poly1305() 1525 TEST_info("Poly1305 test #%d failed.", idx); in test_poly1305() 1536 TEST_info("Poly1305 test #%d/1+(N-1) failed.", idx); in test_poly1305() 1550 TEST_info("Poly1305 test #%d/2 failed.", idx); in test_poly1305() 1562 idx, half, inlen-half); in test_poly1305()
|
/freebsd/contrib/sendmail/libsm/ |
H A D | xleni.c | 31 int idx, ilen; local 35 for (ilen = 0, idx = 0; (c = str[idx]) != '\0'; ilen++, idx++)
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/ |
H A D | mini_bench_shared.cpp | 12 void Run(int idx) { in Run() argument 18 long idx = (long)arg; in Thread() local 19 printf("Thread %ld started\n", idx); in Thread() 21 Run(idx); in Thread() 22 printf("Thread %ld done\n", idx); in Thread()
|
/freebsd/contrib/libedit/ |
H A D | readline.c | 585 *cindex = cmd[idx]? (idx + 1):idx; in get_history_event() 591 idx++; in get_history_event() 594 if ('0' <= cmd[idx] && cmd[idx] <= '9') { in get_history_event() 598 while (cmd[idx] && '0' <= cmd[idx] && cmd[idx] <= '9') { in get_history_event() 600 idx++; in get_history_event() 614 idx++; in get_history_event() 622 if (!sub && (cmd[idx] == ':' || cmd[idx] == ' ' in get_history_event() 623 || cmd[idx] == '\t' || cmd[idx] == qchar)) in get_history_event() 625 idx++; in get_history_event() 629 idx++; in get_history_event() [all …]
|
/freebsd/sys/arm64/nvidia/tegra210/ |
H A D | tegra210_clk_per.c | 66 uint32_t idx; member 78 .idx = _idx, \ 708 sc->mux = idx; in periph_set_mux() 716 if (idx <= 7) { in periph_set_mux() 815 uint32_t idx; member 832 get_enable_reg(int idx) in get_enable_reg() argument 840 get_reset_reg(int idx) in get_reset_reg() argument 854 mask = 1 << (sc->idx % 32); in pgate_init() 874 mask = 1 << (sc->idx % 32); in pgate_set_gate() 922 mask = 1 << (idx % 32); in tegra210_hwreset_by_idx() [all …]
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | cmp.h | 223 …_CMP_CERTSTATUS_value(sk, idx) ((OSSL_CMP_CERTSTATUS *)OPENSSL_sk_value(ossl_check_const_OSSL_CMP_… argument 237 …TUS_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_OSSL_CMP_CERTSTATUS_sk_type(sk), ossl_check_… argument 252 …fine sk_OSSL_CMP_ITAV_value(sk, idx) ((OSSL_CMP_ITAV *)OPENSSL_sk_value(ossl_check_const_OSSL_CMP_… argument 266 …_CMP_ITAV_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_OSSL_CMP_ITAV_sk_type(sk), ossl_check_… argument 267 #define sk_OSSL_CMP_ITAV_set(sk, idx, ptr) ((OSSL_CMP_ITAV *)OPENSSL_sk_set(ossl_check_OSSL_CMP_ITA… argument 283 …ne sk_OSSL_CMP_PKISI_value(sk, idx) ((OSSL_CMP_PKISI *)OPENSSL_sk_value(ossl_check_const_OSSL_CMP_… argument 297 …MP_PKISI_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_OSSL_CMP_PKISI_sk_type(sk), ossl_check_… argument 298 …define sk_OSSL_CMP_PKISI_set(sk, idx, ptr) ((OSSL_CMP_PKISI *)OPENSSL_sk_set(ossl_check_OSSL_CMP_P… argument 311 …TREPMESSAGE_value(sk, idx) ((OSSL_CMP_CERTREPMESSAGE *)OPENSSL_sk_value(ossl_check_const_OSSL_CMP_… argument 341 …_CERTRESPONSE_value(sk, idx) ((OSSL_CMP_CERTRESPONSE *)OPENSSL_sk_value(ossl_check_const_OSSL_CMP_… argument [all …]
|
/freebsd/contrib/ofed/libcxgb4/ |
H A D | cq.c | 101 int idx; in c4iw_flush_sq() local 106 idx = wq->sq.flush_cidx; in c4iw_flush_sq() 107 BUG_ON(idx >= wq->sq.size); in c4iw_flush_sq() 108 while (idx != wq->sq.pidx) { in c4iw_flush_sq() 109 swsqe = &wq->sq.sw_sq[idx]; in c4iw_flush_sq() 118 if (++idx == wq->sq.size) in c4iw_flush_sq() 119 idx = 0; in c4iw_flush_sq() 485 __func__, idx); in poll_cq() 486 BUG_ON(idx >= wq->sq.size); in poll_cq() 513 if (idx < wq->sq.cidx) in poll_cq() [all …]
|
/freebsd/sys/amd64/vmm/io/ |
H A D | ppt.c | 275 rid = ppt->msix.startrid + idx; in ppt_teardown_msix_intr() 276 res = ppt->msix.res[idx]; in ppt_teardown_msix_intr() 277 cookie = ppt->msix.cookie[idx]; in ppt_teardown_msix_intr() 285 ppt->msix.res[idx] = NULL; in ppt_teardown_msix_intr() 286 ppt->msix.cookie[idx] = NULL; in ppt_teardown_msix_intr() 716 ppt->msix.cookie[idx] = NULL; in ppt_setup_msix() 717 rid = ppt->msix.startrid + idx; in ppt_setup_msix() 720 if (ppt->msix.res[idx] == NULL) in ppt_setup_msix() 724 ppt->msix.arg[idx].addr = addr; in ppt_setup_msix() 735 ppt->msix.cookie[idx] = NULL; in ppt_setup_msix() [all …]
|
/freebsd/sys/contrib/openzfs/lib/libuutil/ |
H A D | uu_avl.c | 501 (void *)ap, elem, (void *)idx); in uu_avl_insert() 505 (void *)ap, elem, (void *)idx); in uu_avl_insert() 509 (void *)ap, elem, (void *)idx); in uu_avl_insert() 511 if (!INDEX_VALID(ap, idx)) in uu_avl_insert() 513 (void *)ap, elem, (void *)idx, in uu_avl_insert() 514 INDEX_CHECK(idx)? "outdated index" : in uu_avl_insert() 522 avl_insert(&ap->ua_tree, elem, INDEX_DECODE(idx)); in uu_avl_insert() 528 if (ap->ua_debug && !INDEX_VALID(ap, idx)) in uu_avl_nearest_next() 530 (void *)ap, (void *)idx, INDEX_CHECK(idx)? in uu_avl_nearest_next() 538 if (ap->ua_debug && !INDEX_VALID(ap, idx)) in uu_avl_nearest_prev() [all …]
|
/freebsd/crypto/openssl/crypto/rc4/asm/ |
H A D | rc4-586.pl | 314 $idx="edx"; 321 &picmeup($idx,"OPENSSL_ia32cap_P"); 338 &xor ($idx,$idx); 342 &add (&LB($idx),&BP(0,$inp,$idi)); 343 &add (&LB($idx),&LB("eax")); 345 &mov ("ebx",&DWP(0,$out,$idx,4)); 349 &mov (&DWP(0,$out,$idx,4),"eax"); 372 &xor ($idx,$idx); 377 &add (&LB($idx),&BP(0,$inp,$idi)); 378 &add (&LB($idx),&LB("eax")); [all …]
|
H A D | rc4-x86_64.pl | 452 $idx="%r8"; 483 xor $idx,$idx 487 add ($inp,$len,1),$idx#b 488 add %r10b,$idx#b 490 mov ($dat,$idx,4),%r11d 492 mov %r10d,($dat,$idx,4) 505 xor $idx,$idx 509 add ($inp,$len),$idx#b 510 add %r10b,$idx#b 512 mov ($dat,$idx),%r11b [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM/ |
H A D | EmulationStateARM.cpp | 34 uint32_t idx = reg_num - dwarf_s0; in StorePseudoRegisterValue() local 35 m_vfp_regs.s_regs[idx] = (uint32_t)value; in StorePseudoRegisterValue() 37 uint32_t idx = reg_num - dwarf_d0; in StorePseudoRegisterValue() local 38 if (idx < 16) { in StorePseudoRegisterValue() 39 m_vfp_regs.s_regs[idx * 2] = (uint32_t)value; in StorePseudoRegisterValue() 42 m_vfp_regs.d_regs[idx - 16] = value; in StorePseudoRegisterValue() 57 uint32_t idx = reg_num - dwarf_s0; in ReadPseudoRegisterValue() local 58 value = m_vfp_regs.s_regs[idx]; in ReadPseudoRegisterValue() 60 uint32_t idx = reg_num - dwarf_d0; in ReadPseudoRegisterValue() local 61 if (idx < 16) in ReadPseudoRegisterValue() [all …]
|
/freebsd/contrib/ncurses/menu/ |
H A D | m_driver.c | 123 int idx, last; in _nc_Match_Next_Character_In_Item_Name() local 129 idx = (*item)->index; in _nc_Match_Next_Character_In_Item_Name() 144 if (--idx < 0) in _nc_Match_Next_Character_In_Item_Name() 145 idx = menu->nitems - 1; in _nc_Match_Next_Character_In_Item_Name() 154 if (--idx < 0) in _nc_Match_Next_Character_In_Item_Name() 155 idx = menu->nitems - 1; in _nc_Match_Next_Character_In_Item_Name() 159 if (++idx >= menu->nitems) in _nc_Match_Next_Character_In_Item_Name() 160 idx = 0; in _nc_Match_Next_Character_In_Item_Name() 164 menu->items[idx]->name.str) in _nc_Match_Next_Character_In_Item_Name() 170 while (!found && (idx != last)); in _nc_Match_Next_Character_In_Item_Name() [all …]
|
/freebsd/tools/boot/ |
H A D | install-boot.sh | 205 idx=$(find_part $dev "efi") 206 if [ -z "$idx" ] ; then 209 make_esp /dev/${dev}p${idx} ${dst}/boot/loader.efi 216 idx=$(find_part $dev "freebsd-boot") 217 if [ -z "$idx" ] ; then 220 doit gpart bootcode -b ${gpt0} -p ${gpt2} -i $idx $dev 236 idx=$(find_part $dev "freebsd-boot") 237 if [ -z "$idx" ] ; then 240 doit gpart bootcode -b ${gpt0} -p ${gptzfs2} -i $idx $dev 282 idx=$(find_part ${dev}s${s} "freebsd-zfs") [all …]
|
/freebsd/lib/libc/db/btree/ |
H A D | bt_seq.c | 231 indx_t idx; in __bt_seqadv() local 269 idx = c->pg.index; in __bt_seqadv() 270 if (++idx == NEXTINDEX(h)) { in __bt_seqadv() 277 idx = 0; in __bt_seqadv() 292 idx = c->pg.index; in __bt_seqadv() 293 if (idx == 0) { in __bt_seqadv() 300 idx = NEXTINDEX(h) - 1; in __bt_seqadv() 302 --idx; in __bt_seqadv() 307 ep->index = idx; in __bt_seqadv() 423 __bt_setcur(BTREE *t, pgno_t pgno, u_int idx) in __bt_setcur() argument [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7603/ |
H A D | beacon.c | 20 if (!(mdev->beacon_mask & BIT(mvif->idx))) in mt7603_update_beacon_iter() 32 FIELD_PREP(MT_DMA_FQCR0_TARGET_WCID, mvif->sta.wcid.idx) | in mt7603_update_beacon_iter() 53 if (!(dev->mt76.beacon_mask & BIT(mvif->idx))) in mt7603_add_buffered_bc() 65 data->tail[mvif->idx] = skb; in mt7603_add_buffered_bc() 66 data->count[mvif->idx]++; in mt7603_add_buffered_bc() 146 void mt7603_beacon_set_timer(struct mt7603_dev *dev, int idx, int intval) in mt7603_beacon_set_timer() argument 150 if (idx >= 0) { in mt7603_beacon_set_timer() 152 dev->mt76.beacon_mask |= BIT(idx); in mt7603_beacon_set_timer() 154 dev->mt76.beacon_mask &= ~BIT(idx); in mt7603_beacon_set_timer() 157 if (!dev->mt76.beacon_mask || (!intval && idx < 0)) { in mt7603_beacon_set_timer()
|
/freebsd/lib/libiconv_modules/GBK2K/ |
H A D | citrus_gbk2k.c | 310 _csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc) in _citrus_GBK2K_stdenc_wctocs() argument 317 *idx = (_index_t)wc; in _citrus_GBK2K_stdenc_wctocs() 321 *idx = (_index_t)wc; in _citrus_GBK2K_stdenc_wctocs() 328 *idx = (_index_t)wc & 0x7F7FU; in _citrus_GBK2K_stdenc_wctocs() 332 *idx = (_index_t)wc; in _citrus_GBK2K_stdenc_wctocs() 342 wchar_t * __restrict wc, _csid_t csid, _index_t idx) in _citrus_GBK2K_stdenc_cstowc() argument 348 *wc = (wchar_t)idx; in _citrus_GBK2K_stdenc_cstowc() 352 *wc = (wchar_t)idx | 0x8080U; in _citrus_GBK2K_stdenc_cstowc() 356 *wc = (wchar_t)idx; in _citrus_GBK2K_stdenc_cstowc() 362 *wc = (wchar_t)idx; in _citrus_GBK2K_stdenc_cstowc()
|
/freebsd/sys/contrib/dev/iwlwifi/queue/ |
H A D | tx.h | 16 iwl_txq_get_first_tb_dma(struct iwl_txq *txq, int idx) in iwl_txq_get_first_tb_dma() argument 19 sizeof(struct iwl_pcie_first_tb_buf) * idx; in iwl_txq_get_first_tb_dma() 39 struct iwl_txq *txq, int idx) in iwl_txq_get_tfd() argument 42 idx = iwl_txq_get_cmd_index(txq, idx); in iwl_txq_get_tfd() 44 return (u8 *)txq->tfds + trans->txqs.tfd.size * idx; in iwl_txq_get_tfd() 149 void *_tfd, u8 idx) in iwl_txq_gen1_tfd_tb_get_len() argument 156 struct iwl_tfh_tb *tfh_tb = &tfh_tfd->tbs[idx]; in iwl_txq_gen1_tfd_tb_get_len() 162 tb = &tfd->tbs[idx]; in iwl_txq_gen1_tfd_tb_get_len()
|
/freebsd/contrib/llvm-project/lldb/bindings/interface/ |
H A D | SBTypeCategoryExtensions.i | 48 for idx in range(self.GetNumFormats()): 49 formats.append(self.GetFormatAtIndex(idx)) 59 for idx in range(self.GetNumSummaries()): 60 summaries.append(self.GetSummaryAtIndex(idx)) 70 for idx in range(self.GetNumSynthetics()): 71 synthetics.append(self.GetSyntheticAtIndex(idx)) 81 for idx in range(self.GetNumFilters()): 82 filters.append(self.GetFilterAtIndex(idx))
|
/freebsd/sys/dev/usb/ |
H A D | usb_fdt_support.c | 126 int idx; in usb_fdt_get_node() local 142 for (ud = udev, idx = 0; ud->parent_hub != NULL; ud = ud->parent_hub) { in usb_fdt_get_node() 143 KASSERT(idx < nitems(udev_stack), ("Too many hubs")); in usb_fdt_get_node() 144 udev_stack[idx++] = ud; in usb_fdt_get_node() 160 node = find_udev_in_children(node, udev_stack[--idx]); in usb_fdt_get_node() 161 if (idx == 0 || node == -1) in usb_fdt_get_node()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/ |
H A D | StackFrameList.h | 36 lldb::StackFrameSP GetFrameAtIndex(uint32_t idx); 61 bool SetSelectedFrameByIndex(uint32_t idx); 65 uint32_t GetVisibleStackFrameIndex(uint32_t idx) { in GetVisibleStackFrameIndex() argument 67 return idx - m_current_inlined_depth; in GetVisibleStackFrameIndex() 69 return idx; in GetVisibleStackFrameIndex() 101 bool SetFrameAtIndex(uint32_t idx, lldb::StackFrameSP &frame_sp);
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | UserSettingsController.h | 82 T GetPropertyAtIndexAs(uint32_t idx, T default_value, 84 return m_collection_sp->GetPropertyAtIndexAs<T>(idx, exe_ctx) 91 GetPropertyAtIndexAs(uint32_t idx, 93 return m_collection_sp->GetPropertyAtIndexAs<T>(idx, exe_ctx); 97 bool SetPropertyAtIndex(uint32_t idx, T t, 99 return m_collection_sp->SetPropertyAtIndex<T>(idx, t, exe_ctx);
|
/freebsd/contrib/sendmail/src/ |
H A D | daemon.c | 170 for (idx = 0; idx < NDaemons; idx++) 183 for (idx = 0; idx < NDaemons; idx++) 192 for (idx = 0; idx < NDaemons; idx++) 220 for (idx = 0; idx < NDaemons; idx++) 243 for (idx = 0; idx < NDaemons; idx++) 255 if (refuseconnections(e, idx, curdaemon == idx)) 331 for (idx = 0; idx < NDaemons; idx++) 724 for (idx = 0; idx < NDaemons; idx++) 1015 for (idx = 0; idx < NDaemons; ++idx) 1037 for (idx = 0; idx < NDaemons; ++idx) [all …]
|