Home
last modified time | relevance | path

Searched refs:bitset (Results 1 - 25 of 50) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/base/
H A Dbit_set.h91 void Union(const BitSet &bitset) in Union() argument
94 data_.inlineWord_ |= bitset.data_.inlineWord_; in Union()
97 data_.words_[i] |= bitset.data_.words_[i]; in Union()
102 bool UnionWithChanged(const BitSet &bitset) in UnionWithChanged() argument
106 data_.inlineWord_ |= bitset.data_.inlineWord_; in UnionWithChanged()
112 data_.words_[i] |= bitset.data_.words_[i]; in UnionWithChanged()
121 void Intersect(const BitSet &bitset) in Intersect() argument
124 data_.inlineWord_ &= bitset.data_.inlineWord_; in Intersect()
127 data_.words_[i] &= bitset.data_.words_[i]; in Intersect()
/arkcompiler/ets_runtime/ecmascript/js_api/
H A Djs_api_bitvector.cpp31 auto elements = reinterpret_cast<std::vector<std::bitset<BIT_SET_LENGTH>>*>(np->GetExternalPointer()); in Push()
33 std::bitset<BIT_SET_LENGTH> increaseSet; in Push()
54 auto elements = reinterpret_cast<std::vector<std::bitset<BIT_SET_LENGTH>>*>(np->GetExternalPointer()); in Pop()
77 auto elements = reinterpret_cast<std::vector<std::bitset<BIT_SET_LENGTH>>*>(np->GetExternalPointer()); in Set()
93 auto elements = reinterpret_cast<std::vector<std::bitset<BIT_SET_LENGTH>>*>(np->GetExternalPointer()); in Get()
122 auto elements = reinterpret_cast<std::vector<std::bitset<BIT_SET_LENGTH>>*>(np->GetExternalPointer()); in Has()
142 auto elements = reinterpret_cast<std::vector<std::bitset<BIT_SET_LENGTH>>*>(np->GetExternalPointer()); in Has()
180 auto elements = reinterpret_cast<std::vector<std::bitset<BIT_SET_LENGTH>>*>(np->GetExternalPointer()); in SetBitsByRange()
213 auto srcElements = reinterpret_cast<std::vector<std::bitset<BIT_SET_LENGTH>>*>(srcNp->GetExternalPointer()); in GetBitsByRange()
217 auto dstElements = reinterpret_cast<std::vector<std::bitset<BIT_SET_LENGT in GetBitsByRange()
[all...]
H A Djs_api_bitvector.h99 inline static void SetBit(std::vector<std::bitset<BIT_SET_LENGTH>> *elements, uint32_t index, in SetBit()
112 inline static JSTaggedValue GetBit(std::vector<std::bitset<BIT_SET_LENGTH>> *elements, uint32_t index) in GetBit()
/arkcompiler/ets_runtime/ecmascript/mem/
H A Dgc_bitset.h20 #include <bitset>
168 void Merge(GCBitset *bitset, size_t bitSize)
174 words[i] |= bitset->TwoWords()[i];
298 ARK_INLINE std::array<std::bitset<GCBitset::BIT_PER_WORD>, BitSetNum> GetAndResetAll(uintptr_t& updateAddress)
300 std::array<std::bitset<GCBitset::BIT_PER_WORD>, BitSetNum> retBitsets;
312 std::array<std::bitset<GCBitset::BIT_PER_WORD>, BitSetNum> bitsets_;
H A Dremembered_set.h102 GCBitset *bitset = rset->GCBitsetData(); in Merge() local
103 GCBitsetData()->Merge(bitset, size_); in Merge()
/arkcompiler/runtime_core/compiler/
H A Dcompiler_logger.h19 #include <bitset>
63 static std::bitset<CompilerLoggerComponents::LOG_COMPONENTS_NUM> components;
H A Dcompiler_logger.cpp19 std::bitset<CompilerLoggerComponents::LOG_COMPONENTS_NUM> CompilerLogger::components(0);
H A Dcompiler_options.h138 std::bitset<CPU_FEATURES_NUM> features_;
/arkcompiler/runtime_core/static_core/compiler/
H A Dcompiler_logger.h20 #include <bitset>
63 static std::bitset<CompilerLoggerComponents::LOG_COMPONENTS_NUM> components_;
H A Dcompiler_logger.cpp19 std::bitset<CompilerLoggerComponents::LOG_COMPONENTS_NUM> CompilerLogger::components_(0);
H A Dcompiler_options.h155 std::bitset<CPU_FEATURES_NUM> features_;
/arkcompiler/runtime_core/static_core/libllvmbackend/
H A Dllvm_logger.h20 #include <bitset>
63 static std::bitset<LLVMLoggerComponents::LOG_COMPONENTS_NUM> components_;
H A Dllvm_logger.cpp19 std::bitset<LLVMLoggerComponents::LOG_COMPONENTS_NUM> LLVMLogger::components_(0);
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_api_bitvector_test.cpp64 static JSTaggedValue GetBit(std::vector<std::bitset<JSAPIBitVector::BIT_SET_LENGTH>> *elements, uint32_t index) in GetBit()
97 auto *newBitSetVector = new std::vector<std::bitset<JSAPIBitVector::BIT_SET_LENGTH>>(); in CreateBitVector()
126 reinterpret_cast<std::vector<std::bitset<JSAPIBitVector::BIT_SET_LENGTH>> *>(np->GetExternalPointer()); in HWTEST_F_L0()
170 reinterpret_cast<std::vector<std::bitset<JSAPIBitVector::BIT_SET_LENGTH>> *>(np->GetExternalPointer()); in HWTEST_F_L0()
259 reinterpret_cast<std::vector<std::bitset<JSAPIBitVector::BIT_SET_LENGTH>> *>(np->GetExternalPointer()); in HWTEST_F_L0()
310 reinterpret_cast<std::vector<std::bitset<JSAPIBitVector::BIT_SET_LENGTH>> *>(np->GetExternalPointer()); in HWTEST_F_L0()
404 reinterpret_cast<std::vector<std::bitset<JSAPIBitVector::BIT_SET_LENGTH>> *>(np->GetExternalPointer()); in HWTEST_F_L0()
432 reinterpret_cast<std::vector<std::bitset<JSAPIBitVector::BIT_SET_LENGTH>> *>(np->GetExternalPointer()); in HWTEST_F_L0()
459 reinterpret_cast<std::vector<std::bitset<JSAPIBitVector::BIT_SET_LENGTH>> *>(np->GetExternalPointer()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/ad/
H A Dmad.h19 #include <bitset>
/arkcompiler/runtime_core/compiler/optimizer/ir/
H A Dmarker.h20 #include <bitset>
72 mutable std::bitset<MARKERS_NUM> spaces_ {};
/arkcompiler/runtime_core/libpandabase/tests/
H A Dregmask_test.cpp18 #include <bitset>
22 using BitsetType = std::bitset<RegMask::Size()>;
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Dmarker.h20 #include <bitset>
72 mutable std::bitset<MARKERS_NUM> spaces_ {};
/arkcompiler/runtime_core/static_core/libpandabase/tests/
H A Dregmask_test.cpp18 #include <bitset>
22 using BitsetType = std::bitset<RegMask::Size()>;
/arkcompiler/runtime_core/static_core/runtime/
H A Dlock_order_graph.h18 #include <bitset>
H A Dthread_manager.h18 #include <bitset>
308 std::bitset<MAX_INTERNAL_THREAD_ID> internalThreadIds_ GUARDED_BY(idsLock_);
/arkcompiler/runtime_core/libpandabase/utils/
H A Dbit_utils.h24 #include <bitset>
250 return std::bitset<BIT_SIZE>(value).count(); in BitCount()
256 return std::bitset<BIT_SIZE>(value).count(); in BitCount()
262 return std::bitset<BIT_SIZE>(value).count(); in BitCount()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dbit_utils.h28 #include <bitset>
252 return std::bitset<BIT_SIZE>(value).count(); in BitCount()
258 return std::bitset<BIT_SIZE>(value).count(); in BitCount()
264 return std::bitset<BIT_SIZE>(value).count(); in BitCount()
H A Dlogger.h28 #include <bitset>
54 using ComponentMask = std::bitset<Component::LAST>;
/arkcompiler/runtime_core/static_core/runtime/coroutines/
H A Dstackful_coroutine_manager.cpp418 std::bitset<stackful_coroutines::MAX_WORKERS_COUNT> affinityBits(maskValue); in ChooseWorkerForCoroutine()
456 std::bitset<stackful_coroutines::MAX_WORKERS_COUNT> mask(stackful_coroutines::AFFINITY_MASK_NONE); in CalcAffinityMaskFromLaunchMode()
462 std::bitset<stackful_coroutines::MAX_WORKERS_COUNT> mask(stackful_coroutines::AFFINITY_MASK_NONE); in CalcAffinityMaskFromLaunchMode()
470 std::bitset<stackful_coroutines::MAX_WORKERS_COUNT> mask(stackful_coroutines::AFFINITY_MASK_FULL); in CalcAffinityMaskFromLaunchMode()

Completed in 16 milliseconds

12