| /arkcompiler/ets_runtime/ecmascript/compiler/assembler/tests/ |
| D | assembler_x64_test.cpp | 134 size_t current = 0; in HWTEST_F_L0() local 136 uint32_t value = masm.GetU8(current++); in HWTEST_F_L0() 139 value = masm.GetU8(current++); in HWTEST_F_L0() 141 value = masm.GetU8(current++); in HWTEST_F_L0() 144 value = masm.GetU8(current++); in HWTEST_F_L0() 148 value = masm.GetU8(current++); in HWTEST_F_L0() 150 value = masm.GetU8(current++); in HWTEST_F_L0() 152 value = masm.GetU8(current++); in HWTEST_F_L0() 155 value = masm.GetU8(current++); in HWTEST_F_L0() 157 value = masm.GetU8(current++); in HWTEST_F_L0() [all …]
|
| /arkcompiler/ets_runtime/common_components/heap/allocator/ |
| D | treap.cpp | 23 // | parent node | n--> | current node | in MergeInsertInternal() 28 // suppose current node is parent node's left child, then in MergeInsertInternal() 29 // n points to the current node, in MergeInsertInternal() 31 TreapNode* current = root_; // root is current node in MergeInsertInternal() local 33 // stack of pn recording how to go from root to the current node in MergeInsertInternal() 38 if (current == nullptr) { in MergeInsertInternal() 39 current = new (nodeAllocator_.Allocate()) TreapNode(idx, num, refreshRegionDesc); in MergeInsertInternal() 40 CTREE_ASSERT(current != nullptr, "fail to allocate a new node"); in MergeInsertInternal() 41 *pCurrent = current; in MergeInsertInternal() 45 MergeResult res = MergeAt(*current, idx, num, refreshRegionDesc); in MergeInsertInternal() [all …]
|
| /arkcompiler/ets_frontend/arkguard/src/utils/ |
| D | ScopeAnalyzer.ts | 145 * @param node - node of a current scope in ast. 148 * @param upper - parent scope of the current scope. 155 // node of a current scope in ast. 157 // parent scope of current scope 159 // sub scopes of current scope 162 // symbols define in current scope 165 // labels in current scope 193 * add a sub scope to current scope 202 * add definition symbol into current scope 214 * add label to current scope [all …]
|
| /arkcompiler/runtime_core/static_core/docs/diagrams/ |
| D | thread_pool_worker_task-sequence.plantuml | 6 "Task Manager" -> "GC Queue(ArkTS)" : request for X tasks in accordance with current distribution 7 "Task Manager" -> "GC Queue(Dynamic VM)" : request for Y tasks in accordance with current distribut… 8 "Task Manager" -> "JIT Queue" : request for Z tasks in accordance with current distribution 9 "Task Manager" -> "Worker 1" : provide tasks in accordance with current distribution 11 "Task Manager" -> "GC Queue(ArkTS)" : request for X tasks in accordance with current distribution 12 "Task Manager" -> "GC Queue(Dynamic VM)" : request for Y tasks in accordance with current distribut… 13 "Task Manager" -> "JIT Queue" : request for Z tasks in accordance with current distribution 14 "Task Manager" -> "Worker 2" : provide tasks in accordance with current distribution
|
| /arkcompiler/runtime_core/taihe/runtime/include/taihe/ |
| D | set.hpp | 44 node_t *current = m_handle->bucket[i]; in reserve() local 45 while (current) { in reserve() 46 node_t *next = current->next; in reserve() 47 std::size_t index = std::hash<K>()(current->item) % cap; in reserve() 48 current->next = bucket[index]; in reserve() 49 bucket[index] = current; in reserve() 50 current = next; in reserve() 97 node_t *current = *current_ptr; in emplace() local 99 delete current; in emplace() 121 node_t *current = m_handle->bucket[index]; in find_item() local [all …]
|
| D | map.hpp | 44 node_t *current = m_handle->bucket[i]; in reserve() local 45 while (current) { in reserve() 46 node_t *next = current->next; in reserve() 47 std::size_t index = std::hash<K>()(current->item.first) % cap; in reserve() 48 current->next = bucket[index]; in reserve() 49 bucket[index] = current; in reserve() 50 current = next; in reserve() 97 node_t *current = *current_ptr; in emplace() local 99 delete current; in emplace() 121 node_t *current = m_handle->bucket[index]; in find_item() local [all …]
|
| /arkcompiler/ets_runtime/test/aottest/bc_builder/ |
| D | bc_builder.ts | 38 var current = opt || null; 39 while (current.next) { 40 current = current.next; 42 return current; 61 var current = opt || null; 62 while (current.next) { 63 current = current.next; 68 return current;
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/ |
| D | Atomics.ets | 89 * Atomically adds value to current value and replaces it with the result 92 * @param { number } index index of current value in the typedArray 93 * @param { number } value value to add to current value 94 * @returns { number } current value before the operation 118 * Atomically adds value to current value and replaces it with the result 121 * @param { number } index index of current value in the typedArray 122 * @param { bigint } value value to add to current value 123 * @returns { bigint } current value before the operation 139 * Atomically replaces current value it with the result of bitwise AND with value 142 * @param { number } index index of current value in the typedArray [all …]
|
| D | Process.ets | 274 * Get effective group id of the current process 281 * Get effective user id of the current process 288 * Get group id of the current process 295 * Get user id of the current process 302 * Get groups to which the current process belongs 309 * Get process id of the current process 316 * Get parent process id of the current process 323 * Get thread id of the current process 330 * Determine if the current process is isolated 332 * @returns { boolean } value indicating if the current process is isolated [all …]
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | sparse_space.cpp | 123 EnumerateRegions([this](Region *current) { in PrepareSweeping() argument 124 if (!current->InCollectSet()) { in PrepareSweeping() 125 ASSERT(!current->IsGCFlagSet(RegionGCFlags::HAS_BEEN_SWEPT)); in PrepareSweeping() 127 current->IsGCFlagSet(RegionGCFlags::HAS_BEEN_SWEPT))) { // LOCV_EXCL_BR_LINE in PrepareSweeping() 128 LOG_ECMA(FATAL) << "Region should not be swept before PrepareSweeping: " << current; in PrepareSweeping() 130 IncreaseLiveObjectSize(current->AliveObject()); in PrepareSweeping() 131 current->ResetWasted(); in PrepareSweeping() 132 current->SwapOldToNewRSetForCS(); in PrepareSweeping() 133 current->SwapLocalToShareRSetForCS(); in PrepareSweeping() 134 AddSweepingRegion(current); in PrepareSweeping() [all …]
|
| D | free_object_list.cpp | 73 FreeObjectSet<T> *current = sets_[type]; in Allocate() local 74 while (current != nullptr) { in Allocate() 75 if (current->Available() < size || size > current->MaxAvailableFreeSize()) { in Allocate() 76 current = current->next_; in Allocate() 82 object = current->ObtainSmallFreeObject(size); in Allocate() 84 next = current->next_; in Allocate() 85 object = current->ObtainLargeFreeObject(size); in Allocate() 87 if (current->Empty()) { in Allocate() 88 RemoveSet(current); in Allocate() 89 current->Rebuild(); in Allocate() [all …]
|
| D | space-inl.h | 42 Region *current = regionList_.GetFirst(); in EnumerateRegions() local 43 if (current == nullptr) { in EnumerateRegions() 49 while (current != end) { in EnumerateRegions() 50 auto next = current->GetNext(); in EnumerateRegions() 51 cb(current); in EnumerateRegions() 52 current = next; in EnumerateRegions() 55 if (current != nullptr) { in EnumerateRegions() 56 cb(current); in EnumerateRegions()
|
| /arkcompiler/ets_runtime/common_components/thread/ |
| D | thread_holder_manager.cpp | 85 void ThreadHolderManager::SuspendAll(ThreadHolder *current) in SuspendAll() argument 87 DCHECK_CC(current != nullptr); in SuspendAll() 88 DCHECK_CC(!current->IsInRunningState()); in SuspendAll() 89 SuspendAllImpl(current); in SuspendAll() 92 void ThreadHolderManager::ResumeAll(ThreadHolder *current) in ResumeAll() argument 94 DCHECK_CC(current != nullptr); in ResumeAll() 95 DCHECK_CC(!current->IsInRunningState()); in ResumeAll() 96 ResumeAllImpl(current); in ResumeAll() 106 void ThreadHolderManager::SuspendAllImpl([[maybe_unused]] ThreadHolder *current) in SuspendAllImpl() argument 111 void ThreadHolderManager::ResumeAllImpl(ThreadHolder *current) in ResumeAllImpl() argument
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/03.overloading_for_functions/ |
| D | function_import_and_decl.params.yaml | 16 # import from a single file + declare in the current scope, overload-equivalent 22 # import from a single file + declare in the current scope, not overload-equivalent 27 # import from a single file + declare in the current scope, not overload-equivalent 32 # import from multiple files + declare in the current scope, overload-equivalent 39 # import from multiple files + declare in the current scope, not overload-equivalent 45 …# import from multiple files + declare in the current scope, overload-equivalent to the former imp… 52 …# import from multiple files + declare in the current scope, overload-equivalent to the latter imp…
|
| /arkcompiler/ets_runtime/ecmascript/platform/common/ |
| D | asm_stack.cpp | 36 LOG_ECMA(ERROR) << "Get current thread attr failed"; in GetAsmStackLimit() 41 LOG_ECMA(ERROR) << "Destroy current thread attr failed"; in GetAsmStackLimit() 44 LOG_ECMA(ERROR) << "Get current thread stack size failed"; in GetAsmStackLimit() 52 LOG_ECMA(ERROR) << "Get current thread attr failed"; in GetAsmStackLimit() 57 LOG_ECMA(ERROR) << "Destroy current thread attr failed"; in GetAsmStackLimit() 60 LOG_ECMA(ERROR) << "Get current thread stack size failed"; in GetAsmStackLimit() 72 LOG_ECMA(ERROR) << "Get current thread stack size failed"; in GetAsmStackLimit() 76 …LOG_ECMA(ERROR) << "Get current thread stack size exceed " << JSThread::DEFAULT_MAX_SYSTEM_STACK_S… in GetAsmStackLimit() 86 …LOG_INTERPRETER(DEBUG) << "Current thread stack start: " << reinterpret_cast<void *>(threadStackSt… in GetAsmStackLimit() 89 … LOG_INTERPRETER(DEBUG) << "Current thread asm stack limit: " << reinterpret_cast<void *>(result); in GetAsmStackLimit() [all …]
|
| /arkcompiler/ets_frontend/arkguard/tools/ |
| D | timesum.py | 33 based on the conditions that the parent event must fully contain the current event 40 current = data[i] # Current event 41 current_end = current["ts"] + current["dur"] # End time of the current event 47 # Check if the candidate event fully contains the current event 49 candidate["ts"] <= current["ts"] 51 and candidate["pid"] == current["pid"] 52 and candidate["tid"] == current["tid"] 54 # Assign the candidate event as the parent of the current event 55 current["parent"] = candidate["name"] 57 if "parent" in current and current["name"] == current["parent"]:
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/ |
| D | yaml_document.py | 65 current: Any = self._document 67 if current and isinstance(current, dict) and part in current.keys(): 68 current = current.get(part) 71 if current is None or isinstance(current, (bool, int, list, str)): 72 return current 74 … Log.exception_and_raise(_LOGGER, f"Unsupported value type '{type(current)}' for '{yaml_path}'")
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_for_in_iterator.cpp | 58 JSTaggedValue current = receiver; in NeedCheckProperty() local 59 while (current.IsHeapObject()) { in NeedCheckProperty() 60 if (!current.IsJSObject() || current.GetTaggedObject()->GetClass()->HasDeleteProperty()) { in NeedCheckProperty() 63 current = JSObject::GetPrototype(thread, current); in NeedCheckProperty() 70 JSMutableHandle<JSTaggedValue> current(thread, receiver.GetTaggedValue()); in HasProperty() local 71 while (current->IsHeapObject()) { in HasProperty() 73 bool has = JSTaggedValue::GetOwnProperty(thread, current, key, desc); in HasProperty() 78 current.Update(JSTaggedValue::GetPrototype(thread, current)); in HasProperty()
|
| /arkcompiler/ets_runtime/common_components/objects/string_table/ |
| D | hashtriemap-inl.h | 80 Indirect* current = GetRootAndProcessHash(hash); in Load() local 86 std::atomic<Node*>* slot = ¤t->GetChild(index); in Load() 92 current = node->AsIndirect(); in Load() 138 Indirect* current = GetRootAndProcessHash(hash); in LoadOrStore() local 144 slot = ¤t->GetChild(index); in LoadOrStore() 153 current = node->AsIndirect(); in LoadOrStore() 197 current = node->AsIndirect(); in LoadOrStore() 240 oldHash >> TrieMapConfig::ROOT_BIT, hash, hashShift, current); in LoadOrStore() 266 Indirect* current = GetRootAndProcessHash(hash); in LoadOrStoreForJit() local 272 slot = ¤t->GetChild(index); in LoadOrStoreForJit() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/sdk/api/ |
| D | @ohos.util.TreeMap.ets | 207 private adjustUpward(current: TreeMapEntry<K, V>): void { 208 while (current !== this.rootEntry) { 209 const parent = current.parent!; 210 const isLeftChild = current === parent.left; 224 current = parent; 562 let current = entry; 564 if (!current.parent!.isBlack) { 565 current.parent!.isBlack = true; 566 if (current === current.parent!.left) { 567 current.parent!.left = undefined; [all …]
|
| /arkcompiler/runtime_core/static_core/verification/config/parse/ |
| D | config_parse.cpp | 34 Section current; member 59 c.current.items.push_back(std::move(s)); in HandleLine() 68 c.sections.push_back(c.current); in HandleSection() 69 c.current.sections.clear(); in HandleSection() 72 c.current = c.sections.back(); in HandleSection() 76 c.sections.back().sections.push_back(c.current); in HandleSection() 77 c.current = c.sections.back(); in HandleSection() 99 c.current.name = PandaString {from, to}; in ParseConfig() 130 context.current.name = "config"; in ParseConfig() 133 cfg = context.current; in ParseConfig()
|
| /arkcompiler/runtime_core/libabckit/include/cpp/headers/ |
| D | file.h | 120 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if current File is false. 128 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if current File is false. 136 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if current File is false. 144 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if current File is false. 153 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if current File is false. 162 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if current File is false. 171 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if current File is false. 180 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if current File is false. 188 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if current File is false. 197 * @note Set `ABCKIT_STATUS_BAD_ARGUMENT` error if current File is false. [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | lazy_deopt_dependency.cpp | 128 JSTaggedValue ¤t) in InitializeProtoChainForDependency() argument 139 current = globalEnv->GetStringPrototype().GetTaggedValue(); in InitializeProtoChainForDependency() 145 current = receiverHClass->GetPrototype(thread); in InitializeProtoChainForDependency() 155 JSTaggedValue current; in CheckStableProtoChain() local 156 …if (!InitializeProtoChainForDependency(thread, receiverHClass, holderHClass, globalEnv, current)) { in CheckStableProtoChain() 160 while (current.IsHeapObject()) { in CheckStableProtoChain() 161 auto currentHC = current.GetTaggedObject()->GetClass(); in CheckStableProtoChain() 168 current = currentHC->GetPrototype(thread); in CheckStableProtoChain() 177 JSTaggedValue current; in DependOnStableProtoChain() local 178 …if (!InitializeProtoChainForDependency(thread, receiverHClass, holderHClass, globalEnv, current)) { in DependOnStableProtoChain() [all …]
|
| /arkcompiler/runtime_core/static_core/scripts/ |
| D | update_master_and_branch.sh | 15 # The script updates the current fork to the master(you need to create a upstream to the original r… 21 # get current branch 31 # checkout to current branch 52 # rebase current branch 54 echo "current branch is master"
|
| /arkcompiler/runtime_core/common_interfaces/objects/ |
| D | base_state_word.h | 63 bool TryLockBaseStateWord(const BaseStateWord current) in TryLockBaseStateWord() argument 65 if (current.IsForwarding()) { in TryLockBaseStateWord() 68 BaseStateWord newState = BaseStateWord(current.GetHeader()); in TryLockBaseStateWord() 70 return CompareExchangeHeader(current.GetHeader(), newState.GetHeader()); in TryLockBaseStateWord() 76 BaseStateWord current = AtomicGetBaseStateWord(); in UnlockStateWord() local 77 BaseStateWord newState = BaseStateWord(current.GetHeader()); in UnlockStateWord() 79 if (CompareExchangeHeader(current.GetHeader(), newState.GetHeader())) { in UnlockStateWord()
|