Home
last modified time | relevance | path

Searched full:current (Results 1 – 25 of 880) sorted by relevance

12345678910>>...36

/arkcompiler/ets_runtime/ecmascript/compiler/assembler/tests/
Dassembler_x64_test.cpp134 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/
DScopeAnalyzer.ts141 * @param node - node of a current scope in ast.
144 * @param upper - parent scope of the current scope.
151 // node of a current scope in ast.
153 // parent scope of current scope
155 // sub scopes of current scope
158 // symbols define in current scope
161 // labels in current scope
189 * add a sub scope to current scope
198 * add definition symbol into current scope
210 * add label to current scope
[all …]
/arkcompiler/runtime_core/static_core/docs/diagrams/
Dthread_pool_worker_task-sequence.plantuml6 "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/
Dbc_builder.ts38 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/
Dsparse_space.cpp122 EnumerateRegions([this](Region *current) { in PrepareSweeping() argument
123 if (!current->InCollectSet()) { in PrepareSweeping()
124 ASSERT(!current->IsGCFlagSet(RegionGCFlags::HAS_BEEN_SWEPT)); in PrepareSweeping()
126 current->IsGCFlagSet(RegionGCFlags::HAS_BEEN_SWEPT))) { // LOCV_EXCL_BR_LINE in PrepareSweeping()
127 LOG_ECMA(FATAL) << "Region should not be swept before PrepareSweeping: " << current; in PrepareSweeping()
129 IncreaseLiveObjectSize(current->AliveObject()); in PrepareSweeping()
130 current->ResetWasted(); in PrepareSweeping()
131 current->SwapOldToNewRSetForCS(); in PrepareSweeping()
132 current->SwapLocalToShareRSetForCS(); in PrepareSweeping()
133 AddSweepingRegion(current); in PrepareSweeping()
[all …]
Dfree_object_list.cpp61 FreeObjectSet<T> *current = sets_[type]; in Allocate() local
62 while (current != nullptr) { in Allocate()
63 if (current->Available() < size || size > current->MaxAvailableFreeSize()) { in Allocate()
64 current = current->next_; in Allocate()
70 object = current->ObtainSmallFreeObject(size); in Allocate()
72 next = current->next_; in Allocate()
73 object = current->ObtainLargeFreeObject(size); in Allocate()
75 if (current->Empty()) { in Allocate()
76 RemoveSet(current); in Allocate()
77 current->Rebuild(); in Allocate()
[all …]
Dspace-inl.h42 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/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/03.overloading_for_functions/
Dfunction_import_and_decl.params.yaml16 # 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/ets_runtime/ecmascript/
Dproperty_accessor.cpp77 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 …]
Djs_for_in_iterator.cpp51 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()
Druntime.cpp137 // send all current suspended requests to the new thread in RegisterThread()
152 void Runtime::SuspendAll(JSThread *current) in SuspendAll() argument
154 ASSERT(current != nullptr); in SuspendAll()
155 ASSERT(!current->IsInRunningState()); in SuspendAll()
157 ASSERT(!current->HasLaunchedSuspendAll()); in SuspendAll()
158 current->LaunchSuspendAll(); in SuspendAll()
160 SuspendAllThreadsImpl(current); in SuspendAll()
163 void Runtime::ResumeAll(JSThread *current) in ResumeAll() argument
165 ASSERT(current != nullptr); in ResumeAll()
166 ASSERT(!current->IsInRunningState()); in ResumeAll()
[all …]
Decma_global_storage.h371 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/tests/tests-u-runner/runner/options/
Dyaml_document.py65 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/runtime_core/libabckit/include/cpp/headers/
Dfile.h120 * @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/runtime_core/static_core/verification/config/parse/
Dconfig_parse.cpp34 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/static_core/plugins/ets/stdlib/escompat/
DProcess.sts276 * 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/scripts/
Dupdate_master_and_branch.sh15 # 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/static_core/plugins/ets/runtime/interop_js/
Dintrinsics_api_impl.cpp31 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()
157 auto ctx = InteropCtx::Current(coro); in JSRuntimeGetUndefined()
164 auto ctx = InteropCtx::Current(coro); in JSRuntimeGetNull()
171 auto ctx = InteropCtx::Current(coro); in JSRuntimeGetGlobal()
[all …]
/arkcompiler/runtime_core/assembler/
Dassembly-context.h34 * 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/
Djson_parser.cpp520 Text current = current_; in ParseNumber() local
542 std::string strNum(current, end_ + 1); in ParseNumber()
590 for (Text current = current_; current < last; ++current) { in ParseStringLength() local
591 T c = *current; in ParseStringLength()
593 end_ = current; in ParseStringLength()
596 if (UNLIKELY(!CheckBackslash(current, last, isAscii))) { in ParseStringLength()
915 Text current = current_; in ReadNumberRange() local
917 if (*current == '-') { in ReadNumberRange()
918 current++; in ReadNumberRange()
922 if (*current == '0') { in ReadNumberRange()
[all …]
/arkcompiler/runtime_core/static_core/assembler/
Dassembly-context.h35 * 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/
Dlexical_env_specialization_pass.cpp211 GateRef current = vec.back(); in HasNotdomStLexVarOrCall() local
212 visited.emplace_back(current); in HasNotdomStLexVarOrCall()
214 if (current != next) { in HasNotdomStLexVarOrCall()
215 if (acc_.GetOpCode(current) == OpCode::JS_BYTECODE) { in HasNotdomStLexVarOrCall()
216 LookUpNotDomStLexVarOrCall(current, next); in HasNotdomStLexVarOrCall()
218 for (size_t i = 0; i < acc_.GetDependCount(current); i++) { in HasNotdomStLexVarOrCall()
219 GateRef dependIn = acc_.GetDep(current, i); in HasNotdomStLexVarOrCall()
228 void LexicalEnvSpecializationPass::LookUpNotDomStLexVarOrCall(GateRef current, GateRef next) in LookUpNotDomStLexVarOrCall() argument
230 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(current); in LookUpNotDomStLexVarOrCall()
232 if (current != next) { in LookUpNotDomStLexVarOrCall()
[all …]
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_layout.h450 auto current = const_cast<PGOLayoutDescInfo *>(GetFirstProperty()); in Merge() local
451 desc.IterateProps([this, &current] (const PropertyDesc &propDesc) { in Merge()
454 new (current) PGOLayoutDescInfo(key, type); in Merge()
455 current = const_cast<PGOLayoutDescInfo *>(GetNextProperty(current)); in Merge()
504 const PGOLayoutDescInfo *GetNextProperty(const PGOLayoutDescInfo *current) const in GetNextProperty() argument
506 …einterpret_cast<const PGOLayoutDescInfo *>(reinterpret_cast<uintptr_t>(current) + current->Size()); in GetNextProperty()
538 auto current = const_cast<PGOLayoutDescInfo *>(GetProperty()); in Merge() local
542 new (current) PGOLayoutDescInfo(key, type); in Merge()
633 auto current = const_cast<ChildHClassLayoutDescInner *>(GetNext(last)); in Merge()
634 new (current) ChildHClassLayoutDescInner(); in Merge()
[all …]
/arkcompiler/runtime_core/static_core/runtime/
Dmt_thread_manager.cpp75 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()
337 MTManagedThread *current = MTManagedThread::GetCurrent(); in SuspendAndWaitThreadByInternalThreadId() local
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/09.field_access_expressions/02.accessing_superclass_fields/
Daccess_to_super_through_this.sts18 … super.identifier refers to the field named identifier of the current object. That current object …
19 instance of the superclass of the current class.

12345678910>>...36