| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| H A D | gate.cpp | 24 for (size_t idx = 0; idx < numIns; idx++) { in CheckNullInput() 25 if (IsInGateNull(idx)) { in CheckNullInput() 26 CheckFailed("In list contains null", idx); in CheckNullInput() 38 void Gate::CheckInputOpcode(size_t idx, OpCode expected) const in CheckInputOpcode() argument 40 OpCode actual = GetInGateConst(idx)->GetOpCode(); in CheckInputOpcode() 43 " actual:" + GateMetaData::Str(actual) + ")", idx); in CheckInputOpcode() 47 void Gate::CheckInputMachineType(size_t idx, MachineType expected, bool isArch64) const in CheckInputMachineType() argument 49 MachineType actual = GetInGateConst(idx) in CheckInputMachineType() 65 CheckNotInputMachineType(size_t idx, MachineType notExpected) const CheckNotInputMachineType() argument 252 size_t idx = 0; GetValueInAndOut() local 476 SetIndex(OutIdx idx) SetIndex() argument 575 NewIn(size_t idx, Gate *in) NewIn() argument 589 ModifyIn(size_t idx, Gate *in) ModifyIn() argument 595 DeleteIn(size_t idx) DeleteIn() argument 619 GetOut(size_t idx) GetOut() argument 660 GetIn(size_t idx) GetIn() argument 664 LOG_COMPILER(INFO) << std::dec << "Gate In access out-of-bound! (idx=" << idx << ")"; GetIn() local 677 LOG_COMPILER(INFO) << std::dec << "Gate In access out-of-bound! (idx=" << idx << ")"; GetInConst() local 686 GetInGate(size_t idx) GetInGate() argument 820 size_t idx = 0; DumpInputs() local 906 size_t idx = 0; ShortPrint() local 948 PrintInGate(size_t numIns, size_t idx, size_t size, bool inListPreview, size_t highlightIdx, std::ostringstream &log, bool isEnd) const PrintInGate() argument [all...] |
| H A D | scheduler.cpp | 23 size_t UnionFind(std::vector<size_t> &semiDom, std::vector<size_t> &parent, std::vector<size_t> &minIdx, size_t idx) in UnionFind() argument 26 allIdxs.emplace(idx); in UnionFind() 27 size_t pIdx = parent[idx]; in UnionFind() 76 for (size_t idx = 0; idx < bbGatesList.size(); idx++) { in CalculateDominatorTree() 77 bbGatesAddrToIdx[bbGatesList[idx]] = idx; in CalculateDominatorTree() 95 for (size_t idx = bbGatesList.size() - 1; idx > in CalculateDominatorTree() 158 size_t idx; Run() member 173 auto &idx = curState.idx; Run() local 247 size_t idx = 0; CalculateSchedulingUpperBound() member 288 auto &idx = curState.idx; CalculateSchedulingUpperBound() local 372 size_t idx = 0; CalculateSchedulingLowerBound() member 384 auto &idx = curState.idx; CalculateSchedulingLowerBound() local 407 size_t idx = 0; CalculateSchedulingLowerBound() member 421 auto &idx = curState.idx; CalculateSchedulingLowerBound() local [all...] |
| /arkcompiler/runtime_core/static_core/verification/absint/ |
| H A D | reg_context.h | 73 void ChangeValuesOfSameOrigin(int idx, const AbstractTypedValue &atv) in ChangeValuesOfSameOrigin() argument 75 if (!regs_.InValidRange(idx)) { in ChangeValuesOfSameOrigin() 76 regs_[idx] = atv; in ChangeValuesOfSameOrigin() 79 auto oldAtv = regs_[idx]; in ChangeValuesOfSameOrigin() 81 regs_[idx] = atv; in ChangeValuesOfSameOrigin() 86 regs_[idx] = atv; in ChangeValuesOfSameOrigin() 100 AbstractTypedValue &operator[](int idx) in operator []() argument 102 if (!regs_.InValidRange(idx)) { in operator []() 103 regs_.ExtendToInclude(idx); in operator []() 105 return regs_[idx]; in operator []() [all...] |
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/ |
| H A D | becommon.h | 91 uint64 GetTypeSize(uint32 idx) const in GetTypeSize() 93 return typeSizeTable.at(idx); in GetTypeSize() 103 void SetTypeSize(uint32 idx, uint64 value) in SetTypeSize() argument 105 typeSizeTable.at(idx) = value; in SetTypeSize() 122 uint8 GetTypeAlign(uint32 idx) const in GetTypeAlign() 124 return typeAlignTable.at(idx); in GetTypeAlign() 134 void SetTypeAlign(uint32 idx, uint8 value) in SetTypeAlign() argument 136 typeAlignTable.at(idx) = value; in SetTypeAlign() 143 bool GetHasFlexibleArray(uint32 idx) const in GetHasFlexibleArray() 145 return typeHasFlexibleArray.at(idx); in GetHasFlexibleArray() 147 SetHasFlexibleArray(uint32 idx, bool value) SetHasFlexibleArray() argument 160 SetStructFieldCount(uint32 idx, FieldID value) SetStructFieldCount() argument 164 AppendStructFieldCount(uint32 idx, FieldID value) AppendStructFieldCount() argument [all...] |
| /device/soc/rockchip/common/sdk_linux/include/trace/events/ |
| H A D | cpuhp.h | 12 TP_PROTO(unsigned int cpu, int target, int idx, int (*fun)(unsigned int)), 14 TP_ARGS(cpu, target, idx, fun), 16 TP_STRUCT__entry(__field(unsigned int, cpu) __field(int, target) __field(int, idx) __field(void *, fun)), 18 TP_fast_assign(__entry->cpu = cpu; __entry->target = target; __entry->idx = idx; __entry->fun = fun;), 20 TP_printk("cpu: %04u target: %3d step: %3d (%ps)", __entry->cpu, __entry->target, __entry->idx, 25 TP_PROTO(unsigned int cpu, int target, int idx, int (*fun)(unsigned int, struct hlist_node *), 28 TP_ARGS(cpu, target, idx, fun, node), 30 TP_STRUCT__entry(__field(unsigned int, cpu) __field(int, target) __field(int, idx) __field(void *, fun)), 32 TP_fast_assign(__entry->cpu = cpu; __entry->target = target; __entry->idx [all...] |
| /arkcompiler/runtime_core/static_core/verification/util/ |
| H A D | shifted_vector.h | 30 typename Base::reference operator[](int idx) in operator []() argument 33 return Base::operator[](static_cast<typename Base::size_type>(idx + SHIFT)); in operator []() 35 typename Base::const_reference &operator[](int idx) const in operator []() 38 return Base::operator[](static_cast<typename Base::size_type>(idx + SHIFT)); in operator []() 40 typename Base::reference At(int idx) in At() argument 43 return Base::at(static_cast<typename Base::size_type>(idx + SHIFT)); in At() 45 typename Base::const_reference &At(int idx) const in At() 48 return Base::at(static_cast<typename Base::size_type>(idx + SHIFT)); in At() 50 bool InValidRange(int idx) const in InValidRange() 53 return idx in InValidRange() 63 ExtendToInclude(int idx) ExtendToInclude() argument [all...] |
| H A D | bit_vector.h | 108 static Word MaskForIndex(size_t idx) in MaskForIndex() argument 110 return static_cast<Word>(1) << idx; in MaskForIndex() 113 static Word MaskUpToIndex(size_t idx) in MaskUpToIndex() argument 115 return idx >= BITS_IN_WORD ? MAX_WORD : ((static_cast<Word>(1) << idx) - 1); in MaskUpToIndex() 260 bool operator[](size_t idx) const 262 ASSERT(idx < Size()); 263 return (data_[idx >> POS_SHIFT] & MaskForIndex(idx % BITS_IN_WORD)) != 0; 265 Bit operator[](size_t idx) [all...] |
| /device/qemu/SmartL_E802/liteos_m/board/hals/csky_driver/src/ |
| H A D | devices.c | 41 uint16_t cfg_idx; //idx of sg_usart_config[] 52 \param[in] instance idx, must not exceed return value of target_get_usart_count() 56 int32_t target_usart_init(int32_t idx, uint32_t *base, uint32_t *irq) in target_usart_init() argument 58 if (idx >= sizeof(s_usart_pin_map) / sizeof(usart_pin_map_t)) { in target_usart_init() 62 *base = sg_usart_config[s_usart_pin_map[idx].cfg_idx].base; in target_usart_init() 63 *irq = sg_usart_config[s_usart_pin_map[idx].cfg_idx].irq; in target_usart_init() 64 return s_usart_pin_map[idx].cfg_idx; in target_usart_init() 84 int32_t target_get_timer(int32_t idx, uint32_t *base, uint32_t *irq) in target_get_timer() argument 86 if (idx >= target_get_timer_count()) { in target_get_timer() 90 *base = sg_timer_config[idx] in target_get_timer() 150 uint32_t idx; target_gpio_pin_init() local [all...] |
| /device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
| H A D | dhd_flowring.h | 78 #define DHD_IF_ROLE(pub, idx) (((if_flow_lkup_t *)(pub)->if_flow_lkup)[idx].role) 79 #define DHD_IF_ROLE_AP(pub, idx) (DHD_IF_ROLE(pub, idx) == WLC_E_IF_ROLE_AP) 80 #define DHD_IF_ROLE_STA(pub, idx) (DHD_IF_ROLE(pub, idx) == WLC_E_IF_ROLE_STA) 81 #define DHD_IF_ROLE_P2PGC(pub, idx) (DHD_IF_ROLE(pub, idx) == WLC_E_IF_ROLE_P2P_CLIENT) 82 #define DHD_IF_ROLE_P2PGO(pub, idx) (DHD_IF_ROLE(pub, idx) [all...] |
| /arkcompiler/runtime_core/libpandafile/ |
| H A D | module_data_accessor-inl.h | 30 for (size_t idx = 0; idx < regular_import_num; idx++) { in EnumerateModuleRecord() 38 for (size_t idx = 0; idx < namespace_import_num; idx++) { in EnumerateModuleRecord() 45 for (size_t idx = 0; idx < local_export_num; idx++) { in EnumerateModuleRecord() 52 for (size_t idx in EnumerateModuleRecord() [all...] |
| /device/soc/rockchip/rk2206/sdk_liteos/platform/system/ |
| H A D | printf.c | 119 typedef void (*out_fct_type)(char character, void* buffer, size_t idx, size_t maxlen); 128 static inline void _out_buffer(char character, void* buffer, size_t idx, size_t maxlen) in _out_buffer() argument 130 if (idx < maxlen) { in _out_buffer() 131 ((char*)buffer)[idx] = character; in _out_buffer() 136 static inline void _out_null(char character, void* buffer, size_t idx, size_t maxlen) in _out_null() argument 140 (void)idx; in _out_null() 150 static inline void _out_char(char character, void* buffer, size_t idx, size_t maxlen) in _out_char() argument 153 (void)idx; in _out_char() 162 static inline void _out_fct(char character, void* buffer, size_t idx, size_t maxlen) in _out_fct() argument 164 (void)idx; in _out_fct() 209 size_t idx = buffer_idx; _out_rev() local 237 _ntoa_format(out_fct_type out, char* buffer, size_t idx, size_t maxlen, char* buf, size_t buf_len, bool negative, unsigned int base, unsigned int prec, unsigned int prec_width, unsigned int flags) _ntoa_format() argument 292 _ntoa_long(out_fct_type out, char* buffer, size_t idx, size_t maxlen, unsigned long l_value, bool negative, unsigned long base, unsigned int prec, unsigned int width, unsigned int l_flags) _ntoa_long() argument 328 _ntoa_long_long(out_fct_type out, char* buffer, size_t idx, size_t maxlen, unsigned long long l_value, bool negative, unsigned long long base, unsigned int prec, unsigned int width, unsigned int l_flags) _ntoa_long_long() argument 381 _ftoa(out_fct_type out, char* buffer, size_t idx, size_t maxlen, double d_value, unsigned int i_prec, unsigned int i_width, unsigned int flags) _ftoa() argument 533 _etoa(out_fct_type out, char* buffer, size_t idx, size_t maxlen, double value, unsigned int prec, unsigned int width, unsigned int flags) _etoa() argument 689 size_t idx = 0U; vsnprintf_s() local [all...] |
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ |
| H A D | js_refconvert_array.h | 39 static ElemCpptype GetElem(coretypes::Array *arr, size_t idx) in GetElem() argument 42 auto elem = EtsObject::FromCoreType(arr->Get<ObjectHeader *>(idx)); in GetElem() 45 return arr->Get<ElemCpptype>(idx); in GetElem() 49 static void SetElem(coretypes::Array *arr, size_t idx, ElemCpptype value) in SetElem() argument 52 arr->Set(idx, AsEtsObject(value)->GetCoreType()); in SetElem() 54 arr->Set(idx, value); in SetElem() 70 for (size_t idx = 0; idx < len; ++idx) { in WrapImpl() 71 ElemCpptype etsElem = GetElem(etsArr, idx); in WrapImpl() [all...] |
| /device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/ |
| H A D | mali_kbase_jm_rb.c | 113 int idx) in kbase_gpu_inspect() 119 if ((SLOT_RB_ENTRIES(rb) - 1) < idx) in kbase_gpu_inspect() 120 return NULL; /* idx out of range */ in kbase_gpu_inspect() 122 return rb->entries[(rb->read_idx + idx) & SLOT_RB_MASK].katom; in kbase_gpu_inspect() 481 struct kbase_jd_atom **katom, int idx, int js) in kbase_jm_protected_entry() 512 katom[idx]->event_code = BASE_JD_EVENT_JOB_INVALID; in kbase_jm_protected_entry() 513 kbase_gpu_mark_atom_for_return(kbdev, katom[idx]); in kbase_jm_protected_entry() 519 if (idx == 0 || katom[0]->gpu_rb_state == in kbase_jm_protected_entry() 522 kbase_jm_return_atom_to_js(kbdev, katom[idx]); in kbase_jm_protected_entry() 532 kbase_jd_katom_is_protected(katom[idx]) in kbase_jm_protected_entry() 112 kbase_gpu_inspect(struct kbase_device *kbdev, int js, int idx) kbase_gpu_inspect() argument 480 kbase_jm_protected_entry(struct kbase_device *kbdev, struct kbase_jd_atom **katom, int idx, int js) kbase_jm_protected_entry() argument 543 kbase_jm_enter_protected_mode(struct kbase_device *kbdev, struct kbase_jd_atom **katom, int idx, int js) kbase_jm_enter_protected_mode() argument 718 kbase_jm_exit_protected_mode(struct kbase_device *kbdev, struct kbase_jd_atom **katom, int idx, int js) kbase_jm_exit_protected_mode() argument 839 int idx; kbase_backend_slot_update() local 1391 int idx; kbase_backend_reset() local 1819 int idx; kbase_gpu_dump_slots() local [all...] |
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
| H A D | func_desc.h | 67 for (size_t idx = 0; idx < kMaxParamCount; ++idx) { in InitToBest() 68 paramInfo[idx] = PI::kUnused; in InitToBest() 80 for (size_t idx = 0; idx < kMaxParamCount; ++idx) { in Equals() 81 if (paramInfo[idx] != desc.paramInfo[idx]) { in Equals() 200 void SetParamInfo(const size_t idx, cons [all...] |
| H A D | mir_symbol.h | 60 MIRSymbol(uint32 idx, uint8 scp) : stIdx(scp, idx) {} in MIRSymbol() argument 509 void SetAsmAttr(const UStrIdx &idx) in SetAsmAttr() argument 511 asmAttr = idx; in SetAsmAttr() 519 void SetWeakrefAttr(const std::pair<bool, UStrIdx> &idx) in SetWeakrefAttr() argument 521 weakrefAttr = idx; in SetWeakrefAttr() 608 bool IsValidIdx(uint32 idx) const in IsValidIdx() 610 return idx < symbolTable.size(); in IsValidIdx() 613 MIRSymbol *GetSymbolFromStIdx(uint32 idx, bool checkFirst = false) const in GetSymbolFromStIdx() argument 615 if (checkFirst && idx > in GetSymbolFromStIdx() 661 GetSymbolFromStrIdx(GStrIdx idx, bool checkFirst = false) GetSymbolFromStrIdx() argument [all...] |
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mempool/include/ |
| H A D | maple_sparse_bitvector.h | 32 explicit MapleSparseBitVectorElement(unsigned idx) : index(idx), bitVector {0} {} in MapleSparseBitVectorElement() 34 BitWord GetWord(unsigned idx) const in GetWord() 36 return bitVector[idx]; in GetWord() 44 void Set(unsigned idx) in Set() 46 bitVector[idx / kBitWordSize] |= 1ULL << (idx % kBitWordSize); in Set() 49 void Reset(unsigned idx) in Reset() 51 bitVector[idx / kBitWordSize] &= ~(1ULL << (idx in Reset() 193 unsigned idx = bitNO / bitVectorSize; Set() local 215 unsigned idx = bitNO / bitVectorSize; Reset() local 232 unsigned idx = bitNO / bitVectorSize; Test() local 464 LowerBoundFor(unsigned idx) LowerBoundFor() argument [all...] |
| /device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/backend/gpu/ |
| H A D | mali_kbase_jm_rb.c | 106 struct kbase_jd_atom *kbase_gpu_inspect(struct kbase_device *kbdev, int js, int idx) in kbase_gpu_inspect() argument 112 if ((SLOT_RB_ENTRIES(rb) - 1) < idx) { in kbase_gpu_inspect() 113 return NULL; /* idx out of range */ in kbase_gpu_inspect() 116 return rb->entries[(rb->read_idx + idx) & SLOT_RB_MASK].katom; in kbase_gpu_inspect() 447 static int kbase_jm_protected_entry(struct kbase_device *kbdev, struct kbase_jd_atom **katom, int idx, int js) in kbase_jm_protected_entry() argument 477 katom[idx]->event_code = BASE_JD_EVENT_JOB_INVALID; in kbase_jm_protected_entry() 478 kbase_gpu_mark_atom_for_return(kbdev, katom[idx]); in kbase_jm_protected_entry() 484 if (idx == 0 || katom[0]->gpu_rb_state == KBASE_ATOM_GPU_RB_NOT_IN_SLOT_RB) { in kbase_jm_protected_entry() 486 kbase_jm_return_atom_to_js(kbdev, katom[idx]); in kbase_jm_protected_entry() 495 KBASE_DEBUG_ASSERT_MSG(kbase_jd_katom_is_protected(katom[idx]) in kbase_jm_protected_entry() 503 kbase_jm_enter_protected_mode(struct kbase_device *kbdev, struct kbase_jd_atom **katom, int idx, int js) kbase_jm_enter_protected_mode() argument 671 kbase_jm_exit_protected_mode(struct kbase_device *kbdev, struct kbase_jd_atom **katom, int idx, int js) kbase_jm_exit_protected_mode() argument 778 int idx; global() local 1174 int idx; global() local 1471 int idx; global() local [all...] |
| /arkcompiler/runtime_core/assembler/ |
| H A D | assembly-ins.cpp | 86 std::string panda::pandasm::Ins::RegToString(size_t idx, bool is_first, bool print_args, in RegToString() argument 89 if (idx >= regs.size()) { in RegToString() 101 if (print_args && regs[idx] >= first_arg_idx) { in RegToString() 102 translator << "a" << regs[idx] - first_arg_idx; in RegToString() 104 translator << "v" << regs[idx]; in RegToString() 110 std::string panda::pandasm::Ins::ImmToString(size_t idx, bool is_first) const in ImmToString() argument 112 if (idx >= imms.size()) { in ImmToString() 116 auto *number = std::get_if<double>(&(imms[idx])); in ImmToString() 128 translator << "0x" << std::hex << std::get<int64_t>(imms[idx]); in ImmToString() 134 std::string panda::pandasm::Ins::IdToString(size_t idx, boo argument [all...] |
| /arkcompiler/runtime_core/static_core/assembler/ |
| H A D | assembly-ins.cpp | 86 std::string ark::pandasm::Ins::RegToString(size_t idx, bool isFirst, bool printArgs, size_t firstArgIdx) const in RegToString() argument 88 if (idx >= regs.size()) { in RegToString() 100 if (printArgs && regs[idx] >= firstArgIdx) { in RegToString() 101 translator << "a" << regs[idx] - firstArgIdx; in RegToString() 103 translator << "v" << regs[idx]; in RegToString() 109 std::string ark::pandasm::Ins::ImmToString(size_t idx, bool isFirst) const in ImmToString() argument 111 if (idx >= imms.size()) { in ImmToString() 115 auto *number = std::get_if<double>(&(imms[idx])); in ImmToString() 127 translator << "0x" << std::hex << std::get<int64_t>(imms[idx]); in ImmToString() 133 std::string ark::pandasm::Ins::IdToString(size_t idx, boo argument [all...] |
| /device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/ |
| H A D | hmac_uapsd.c | 85 hi_void hmac_uapsd_set_info(const hi_u8 *puc_mac_hdr, const hmac_user_stru *hmac_user, hi_u8 uapsd_flag, hi_u32 idx, in hmac_uapsd_set_info() argument 89 hi_u8 max_sp = (puc_mac_hdr[idx + HMAC_UAPSD_WME_LEN] >> 5) & 0x3; /* 右移5位 */ in hmac_uapsd_set_info() 153 hi_u32 idx = MAC_CAP_INFO_LEN + MAC_LIS_INTERVAL_IE_LEN; in hmac_uapsd_update_user_para() local 155 idx += WLAN_MAC_ADDR_LEN; in hmac_uapsd_update_user_para() 157 while (idx < msg_len) { in hmac_uapsd_update_user_para() 158 if (HI_TRUE != mac_is_wmm_ie((puc_mac_hdr + idx))) { in hmac_uapsd_update_user_para() 159 idx += (MAC_IE_HDR_LEN + puc_mac_hdr[(idx + 1)]); in hmac_uapsd_update_user_para() 172 uapsd_status.qos_info = puc_mac_hdr[idx + HMAC_UAPSD_WME_LEN]; in hmac_uapsd_update_user_para() 175 if (BIT0 == (puc_mac_hdr[idx in hmac_uapsd_update_user_para() [all...] |
| /device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/backend/gpu/ |
| H A D | mali_kbase_jm_rb.c | 100 struct kbase_jd_atom *kbase_gpu_inspect(struct kbase_device *kbdev, int js, int idx) in kbase_gpu_inspect() argument 106 if ((SLOT_RB_ENTRIES(rb) - 1) < idx) { in kbase_gpu_inspect() 107 return NULL; /* idx out of range */ in kbase_gpu_inspect() 110 return rb->entries[(rb->read_idx + idx) & SLOT_RB_MASK].katom; in kbase_gpu_inspect() 728 static int kbase_jm_enter_protected_mode(struct kbase_device *kbdev, struct kbase_jd_atom **katom, int idx, int js) in kbase_jm_enter_protected_mode() argument 732 switch (katom[idx]->protected_state.enter) { in kbase_jm_enter_protected_mode() 742 katom[idx]->protected_state.enter = KBASE_ATOM_ENTER_PROTECTED_VINSTR; in kbase_jm_enter_protected_mode() 768 katom[idx]->protected_state.enter = KBASE_ATOM_ENTER_PROTECTED_IDLE_L2; in kbase_jm_enter_protected_mode() 787 katom[idx]->protected_state.enter = KBASE_ATOM_ENTER_PROTECTED_FINISHED; in kbase_jm_enter_protected_mode() 808 katom[idx] in kbase_jm_enter_protected_mode() 834 kbase_jm_exit_protected_mode(struct kbase_device *kbdev, struct kbase_jd_atom **katom, int idx, int js) kbase_jm_exit_protected_mode() argument 922 int idx; kbase_backend_slot_update() local 1326 int idx; kbase_backend_reset() local 1689 int idx; kbase_gpu_dump_slots() local [all...] |
| /device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/backend/gpu/ |
| H A D | mali_kbase_jm_rb.c | 108 int idx) in kbase_gpu_inspect() 114 if ((SLOT_RB_ENTRIES(rb) - 1) < idx) in kbase_gpu_inspect() 115 return NULL; /* idx out of range */ in kbase_gpu_inspect() 117 return rb->entries[(rb->read_idx + idx) & SLOT_RB_MASK].katom; in kbase_gpu_inspect() 818 struct kbase_jd_atom **katom, int idx, int js) in kbase_jm_enter_protected_mode() 822 switch (katom[idx]->protected_state.enter) { in kbase_jm_enter_protected_mode() 832 katom[idx]->protected_state.enter = in kbase_jm_enter_protected_mode() 859 katom[idx]->protected_state.enter = in kbase_jm_enter_protected_mode() 879 katom[idx]->protected_state.enter = in kbase_jm_enter_protected_mode() 901 katom[idx] in kbase_jm_enter_protected_mode() 107 kbase_gpu_inspect(struct kbase_device *kbdev, int js, int idx) kbase_gpu_inspect() argument 817 kbase_jm_enter_protected_mode(struct kbase_device *kbdev, struct kbase_jd_atom **katom, int idx, int js) kbase_jm_enter_protected_mode() argument 932 kbase_jm_exit_protected_mode(struct kbase_device *kbdev, struct kbase_jd_atom **katom, int idx, int js) kbase_jm_exit_protected_mode() argument 1027 int idx; kbase_backend_slot_update() local 1505 int idx; kbase_backend_reset() local 1931 int idx; kbase_gpu_dump_slots() local [all...] |
| /arkcompiler/runtime_core/static_core/verification/value/ |
| H A D | variables.h | 33 static void Init(Wrapper &v, size_t idx) in Init() 35 v.idx = idx; in Init() 37 size_t idx; member 56 return (*accessor_).idx == (*v.accessor_).idx; in operator ==() 61 return (*accessor_).idx != (*v.accessor_).idx; in operator !=() 66 return prefix + NumToStr((*accessor_).idx); in Image()
|
| /arkcompiler/runtime_core/static_core/compiler/aot/ |
| H A D | aot_manager.h | 99 for (size_t idx = 0; idx < aotStringYoungSet_.size(); idx++) { in VisitAotStringRoots() 100 auto mask = aotStringYoungSet_[idx]; in VisitAotStringRoots() 104 for (size_t offset = 0; offset < MASK_WIDTH && idx * MASK_WIDTH + offset < totalRoots; offset++) { in VisitAotStringRoots() 106 cb(aotStringGcRoots_[idx * MASK_WIDTH + offset]); in VisitAotStringRoots() 119 size_t idx = 0; in UpdateAotStringRoots() local 122 uint64_t bitmask = 1ULL << (idx % MASK_WIDTH); in UpdateAotStringRoots() 124 if ((aotStringYoungSet_[idx / MASK_WIDTH] & bitmask) != 0) { in UpdateAotStringRoots() 128 aotStringYoungSet_[idx / MASK_WIDT in UpdateAotStringRoots() [all...] |
| /arkcompiler/ets_frontend/ets2panda/checker/types/ets/ |
| H A D | etsTupleType.cpp | 61 for (TupleSizeType idx = 0; idx < GetMinTupleSize(); ++idx) { in Identical() 62 if (!relation->IsIdenticalTo(GetTypeAtIndex(idx), otherTuple->GetTypeAtIndex(idx))) { in Identical() 118 for (int32_t idx = 0; idx < GetMinTupleSize(); ++idx) { in AssignmentTarget() 126 if (!relation->IsIdenticalTo(GetTypeAtIndex(idx), tupleSource->GetTypeAtIndex(idx))) { in AssignmentTarget() [all...] |