| /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_frontend/arkguard/src/utils/ |
| D | ScopeAnalyzer.ts | 121 * @param node - node of a current scope in ast. 124 * @param upper - parent scope of the current scope. 131 // node of a current scope in ast. 133 // parent scope of current scope 135 // sub scopes of current scope 138 // symbols define in current scope 141 // labels in current scope 169 * add a sub scope to current scope 178 * add definition symbol into current scope 190 * 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/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/ets_runtime/ecmascript/mem/ |
| D | sparse_space.cpp | 117 EnumerateRegions([this](Region *current) { in PrepareSweeping() argument 118 if (!current->InCollectSet()) { in PrepareSweeping() 120 current->IsGCFlagSet(RegionGCFlags::HAS_BEEN_SWEPT))) { in PrepareSweeping() 121 LOG_ECMA(FATAL) << "Region should not be swept before PrepareSweeping: " << current; in PrepareSweeping() 123 IncreaseLiveObjectSize(current->AliveObject()); in PrepareSweeping() 124 current->ResetWasted(); in PrepareSweeping() 125 current->SwapOldToNewRSetForCS(); in PrepareSweeping() 126 current->SwapLocalToShareRSetForCS(); in PrepareSweeping() 127 AddSweepingRegion(current); in PrepareSweeping() 137 Region *current = GetSweepingRegionSafe(); in AsyncSweep() local [all …]
|
| D | free_object_list.cpp | 75 FreeObjectSet<T> *current = sets_[type]; in Allocate() local 76 while (current != nullptr) { in Allocate() 77 if (current->Available() < size || size > current->MaxAvailableFreeSize()) { in Allocate() 78 current = current->next_; in Allocate() 84 object = current->ObtainSmallFreeObject(size); in Allocate() 86 next = current->next_; in Allocate() 87 object = current->ObtainLargeFreeObject(size); in Allocate() 89 if (current->Empty()) { in Allocate() 90 RemoveSet(current); in Allocate() 91 current->Rebuild(); in Allocate() [all …]
|
| D | space-inl.h | 41 Region *current = regionList_.GetFirst(); in EnumerateRegions() local 42 if (current == nullptr) { in EnumerateRegions() 48 while (current != end) { in EnumerateRegions() 49 auto next = current->GetNext(); in EnumerateRegions() 50 cb(current); in EnumerateRegions() 51 current = next; in EnumerateRegions() 54 if (current != nullptr) { in EnumerateRegions() 55 cb(current); in EnumerateRegions()
|
| D | linear_space.cpp | 128 auto current = GetCurrentRegion(); in IterateOverObjects() local 132 if (region == current) { in IterateOverObjects() 298 EnumerateRegions([this, &spaceName](Region *current) { in ReclaimRegions() argument 299 LOG_GC(DEBUG) << "Clear region from: " << current << " to " << spaceName; in ReclaimRegions() 300 current->DeleteLocalToShareRSet(); in ReclaimRegions() 301 DecreaseCommitted(current->GetCapacity()); in ReclaimRegions() 302 DecreaseObjectSize(current->GetSize()); in ReclaimRegions() 303 current->Invalidate(); in ReclaimRegions() 304 current->ClearMembers(); in ReclaimRegions() 305 void *mem = ToVoidPtr(current->GetAllocateBase()); in ReclaimRegions() [all …]
|
| /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 21 # import from a single file + declare in the current scope, not overload-equivalent 26 # import from a single file + declare in the current scope, not overload-equivalent 31 # import from multiple files + declare in the current scope, overload-equivalent 37 # import from multiple files + declare in the current scope, not overload-equivalent 43 …# import from multiple files + declare in the current scope, overload-equivalent to the former imp… 49 …# import from multiple files + declare in the current scope, overload-equivalent to the latter imp…
|
| /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 | property_accessor.cpp | 77 JSTaggedValue current = JSTaggedValue::GetPrototype(thread_, receiver_); in CollectPrototypeInfo() local 79 while (current.IsHeapObject()) { in CollectPrototypeInfo() 80 if (current.IsSlowKeysObject()) { in CollectPrototypeInfo() 84 JSObject *currentObj = JSObject::Cast(current.GetTaggedObject()); in CollectPrototypeInfo() 110 current = JSObject::GetPrototype(current); in CollectPrototypeInfo() 205 JSMutableHandle<JSTaggedValue> current(thread_, receiver_); in GetKeysFast() local 206 while (current->IsHeapObject()) { in GetKeysFast() 207 …JSObject::AppendOwnEnumPropertyKeys(thread_, JSHandle<JSObject>(current), keyArray, &keysNum, shad… in GetKeysFast() 209 JSObject::ClearHasDeleteProperty(current); in GetKeysFast() 210 current.Update(JSObject::GetPrototype(current.GetTaggedValue())); in GetKeysFast() [all …]
|
| D | js_for_in_iterator.cpp | 51 JSTaggedValue current = receiver; in NeedCheckProperty() local 52 while (current.IsHeapObject()) { in NeedCheckProperty() 53 if (!current.IsJSObject() || current.GetTaggedObject()->GetClass()->HasDeleteProperty()) { in NeedCheckProperty() 56 current = JSObject::GetPrototype(current); in NeedCheckProperty() 63 JSMutableHandle<JSTaggedValue> current(thread, receiver.GetTaggedValue()); in HasProperty() local 64 while (current->IsHeapObject()) { in HasProperty() 66 bool has = JSTaggedValue::GetOwnProperty(thread, current, key, desc); in HasProperty() 71 current.Update(JSTaggedValue::GetPrototype(thread, current)); in HasProperty()
|
| D | runtime.cpp | 138 // send all current suspended requests to the new thread in RegisterThread() 153 void Runtime::SuspendAll(JSThread *current) in SuspendAll() argument 155 ASSERT(current != nullptr); in SuspendAll() 156 ASSERT(!current->IsInRunningState()); in SuspendAll() 158 ASSERT(!current->HasLaunchedSuspendAll()); in SuspendAll() 159 current->LaunchSuspendAll(); in SuspendAll() 161 SuspendAllThreadsImpl(current); in SuspendAll() 164 void Runtime::ResumeAll(JSThread *current) in ResumeAll() argument 166 ASSERT(current != nullptr); in ResumeAll() 167 ASSERT(!current->IsInRunningState()); in ResumeAll() [all …]
|
| D | ecma_global_storage.h | 371 T *current = nullptr; in IterateUsageGlobal() local 373 current = next; in IterateUsageGlobal() 374 next = reinterpret_cast<T *>(current->GetNext()); in IterateUsageGlobal() 375 ASSERT(current != next); in IterateUsageGlobal() 376 callback(current); in IterateUsageGlobal() 421 NodeList<T> *current = nullptr; in ~EcmaGlobalStorage() local 423 current = next; in ~EcmaGlobalStorage() 424 next = current->GetNext(); in ~EcmaGlobalStorage() 425 current->IterateUsageGlobal([] (T *node) { in ~EcmaGlobalStorage() 429 allocator_->Delete(current); in ~EcmaGlobalStorage() [all …]
|
| /arkcompiler/runtime_core/static_core/verification/config/parse/ |
| D | config_parse.cpp | 34 Section current; member 58 c.current.name = PandaString {from, to}; in ParseConfig() 83 c.current.items.push_back(PandaString {from, to}); in ParseConfig() 97 c.sections.push_back(c.current); in ParseConfig() 98 c.current.sections.clear(); in ParseConfig() 101 c.current = c.sections.back(); in ParseConfig() 105 c.sections.back().sections.push_back(c.current); in ParseConfig() 106 c.current = c.sections.back(); in ParseConfig() 121 context.current.name = "config"; in ParseConfig() 124 cfg = context.current; in ParseConfig()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/ |
| D | Process.sts | 276 * Get effective group id of the current process 285 * Get effective user id of the current process 294 * Get group id of the current process 303 * Get user id of the current process 312 * Get groups to which the current process belongs 321 * Get process id of the current process 330 * Get parent process id of the current process 339 * Get thread id of the current process 348 * Determine if the current process is isolated 350 * @returns boolean value indicating if the current process is isolated [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ |
| D | intrinsics_api_impl.cpp | 31 auto ctx = InteropCtx::Current(coro); in JSRuntimeFinalizationRegistryCallback() 41 auto ctx = InteropCtx::Current(coro); in JSRuntimeNewJSValueDouble() 48 auto ctx = InteropCtx::Current(coro); in JSRuntimeNewJSValueBoolean() 55 auto ctx = InteropCtx::Current(coro); in JSRuntimeNewJSValueString() 72 auto ctx = InteropCtx::Current(coro); in JSRuntimeNewJSValueObject() 104 auto ctx = InteropCtx::Current(coro); in JSRuntimeGetValueString() 125 auto ctx = InteropCtx::Current(coro); in JSRuntimeGetValueObject() 161 auto ctx = InteropCtx::Current(coro); in JSRuntimeGetUndefined() 168 auto ctx = InteropCtx::Current(coro); in JSRuntimeGetNull() 175 auto ctx = InteropCtx::Current(coro); in JSRuntimeGetGlobal() [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/assembler/ |
| D | assembly-context.h | 34 * Returns current value of a token 37 * returns current value of a token 44 std::string_view token; /* current token */ 48 Token::Type id = Token::Type::ID_BAD; /* current token type */ 49 …Token::Type signop = Token::Type::ID_BAD; /* current token operand type (if it is an operation) */ 50 panda::pandasm::Error err; /* current error */
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | json_parser.cpp | 528 Text current = current_; in ParseNumber() local 550 std::string strNum(current, end_ + 1); in ParseNumber() 598 for (Text current = current_; current < last; ++current) { in ParseStringLength() local 599 T c = *current; in ParseStringLength() 601 end_ = current; in ParseStringLength() 604 if (UNLIKELY(!CheckBackslash(current, last, isAscii))) { in ParseStringLength() 917 Text current = current_; in ReadNumberRange() local 919 if (*current == '-') { in ReadNumberRange() 920 current++; in ReadNumberRange() 924 if (*current == '0') { in ReadNumberRange() [all …]
|
| /arkcompiler/runtime_core/static_core/assembler/ |
| D | assembly-context.h | 35 * Returns current value of a token 38 * returns current value of a token 45 std::string_view token; /* current token */ 49 Token::Type id = Token::Type::ID_BAD; /* current token type */ 50 … Token::Type signop = Token::Type::ID_BAD; /* current token operand type (if it is an operation) */ 51 ark::pandasm::Error err; /* current error */
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | lexical_env_specialization_pass.cpp | 213 GateRef current = vec.back(); in HasNotdomStLexVarOrCall() local 214 visited.emplace_back(current); in HasNotdomStLexVarOrCall() 216 if (current != next) { in HasNotdomStLexVarOrCall() 217 if (acc_.GetOpCode(current) == OpCode::JS_BYTECODE) { in HasNotdomStLexVarOrCall() 218 LookUpNotDomStLexVarOrCall(current, next); in HasNotdomStLexVarOrCall() 220 for (size_t i = 0; i < acc_.GetDependCount(current); i++) { in HasNotdomStLexVarOrCall() 221 GateRef dependIn = acc_.GetDep(current, i); in HasNotdomStLexVarOrCall() 230 void LexicalEnvSpecializationPass::LookUpNotDomStLexVarOrCall(GateRef current, GateRef next) in LookUpNotDomStLexVarOrCall() argument 232 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(current); in LookUpNotDomStLexVarOrCall() 234 if (current != next) { in LookUpNotDomStLexVarOrCall() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
| D | pgo_profiler_layout.h | 429 auto current = const_cast<PGOLayoutDescInfo *>(GetFirstProperty()); in Merge() local 430 desc.IterateProps([this, ¤t] (const PropertyDesc &propDesc) { in Merge() 433 new (current) PGOLayoutDescInfo(key, type); in Merge() 434 current = const_cast<PGOLayoutDescInfo *>(GetNextProperty(current)); in Merge() 483 const PGOLayoutDescInfo *GetNextProperty(const PGOLayoutDescInfo *current) const in GetNextProperty() argument 485 …einterpret_cast<const PGOLayoutDescInfo *>(reinterpret_cast<uintptr_t>(current) + current->Size()); in GetNextProperty() 517 auto current = const_cast<PGOLayoutDescInfo *>(GetProperty()); in Merge() local 521 new (current) PGOLayoutDescInfo(key, type); in Merge() 614 auto current = const_cast<ChildHClassLayoutDescInner *>(GetNext(last)); in Merge() 615 new (current) ChildHClassLayoutDescInner(); in Merge() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | mt_thread_manager.cpp | 75 auto current = MTManagedThread::GetCurrent(); in DeregisterSuspendedThreads() local 82 // Do not deregister current thread (which should be in status NATIVE) as HasNoActiveThreads in DeregisterSuspendedThreads() 84 if (thread == current) { in DeregisterSuspendedThreads() 107 // All threads except current are blocked (have BLOCKED or NATIVE status) in DeregisterSuspendedThreads() 109 return StopThreadsOnTerminationLoops(current); in DeregisterSuspendedThreads() 111 // Sanity check, we should get at least current thread in that list. in DeregisterSuspendedThreads() 126 bool MTThreadManager::StopThreadsOnTerminationLoops(MTManagedThread *current) in StopThreadsOnTerminationLoops() argument 128 if (!LockOrderGraph::CheckForTerminationLoops(threads_, daemonThreads_, current)) { in StopThreadsOnTerminationLoops() 137 if (thread != current) { in StopThreadsOnTerminationLoops() 335 MTManagedThread *current = MTManagedThread::GetCurrent(); in SuspendAndWaitThreadByInternalThreadId() local [all …]
|
| /arkcompiler/ets_runtime/ecmascript/napi/include/ |
| D | jsnapi.h | 459 Global<T>::Global(const EcmaVM *vm, const Local<S> ¤t) : vm_(vm) in Global() argument 461 if (!current.IsEmpty()) { in Global() 462 address_ = JSNApi::GetGlobalHandleAddr(vm_, reinterpret_cast<uintptr_t>(*current)); in Global() 468 Global<T>::Global(const EcmaVM *vm, const Global<S> ¤t) : vm_(vm) in Global() argument 470 if (!current.IsEmpty()) { in Global() 471 address_ = JSNApi::GetGlobalHandleAddr(vm_, reinterpret_cast<uintptr_t>(*current)); in Global() 476 CopyableGlobal<T>::CopyableGlobal(const EcmaVM *vm, const Local<T> ¤t) : vm_(vm) in CopyableGlobal() argument 478 if (!current.IsEmpty()) { in CopyableGlobal() 479 address_ = JSNApi::GetGlobalHandleAddr(vm_, reinterpret_cast<uintptr_t>(*current)); in CopyableGlobal() 485 CopyableGlobal<T>::CopyableGlobal(const EcmaVM *vm, const Local<S> ¤t) : vm_(vm) in CopyableGlobal() argument [all …]
|