Home
last modified time | relevance | path

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

12345678910>>...13

/arkcompiler/ets_runtime/ecmascript/compiler/assembler/tests/
Dassembler_x64_test.cpp140 size_t current = 0; in HWTEST_F_L0() local
142 uint32_t value = masm.GetU8(current++); in HWTEST_F_L0()
145 value = masm.GetU8(current++); in HWTEST_F_L0()
147 value = masm.GetU8(current++); in HWTEST_F_L0()
150 value = masm.GetU8(current++); in HWTEST_F_L0()
154 value = masm.GetU8(current++); in HWTEST_F_L0()
156 value = masm.GetU8(current++); in HWTEST_F_L0()
158 value = masm.GetU8(current++); in HWTEST_F_L0()
161 value = masm.GetU8(current++); in HWTEST_F_L0()
163 value = masm.GetU8(current++); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/mem/
Dsparse_space.cpp113 EnumerateRegions([this](Region *current) { in PrepareSweeping() argument
114 if (!current->InCollectSet()) { in PrepareSweeping()
115 IncreaseLiveObjectSize(current->AliveObject()); in PrepareSweeping()
116 current->ResetWasted(); in PrepareSweeping()
117 current->SwapRSetForConcurrentSweeping(); in PrepareSweeping()
118 AddSweepingRegion(current); in PrepareSweeping()
128 Region *current = GetSweepingRegionSafe(); in AsyncSweep() local
129 while (current != nullptr) { in AsyncSweep()
130 FreeRegion(current, isMain); in AsyncSweep()
133 AddSweptRegionSafe(current); in AsyncSweep()
[all …]
Dfree_object_list.cpp56 FreeObjectSet *current = sets_[type]; in Allocate() local
57 while (current != nullptr) { in Allocate()
58 if (current->Available() < size) { in Allocate()
59 current = current->next_; in Allocate()
65 object = current->ObtainSmallFreeObject(size); in Allocate()
67 next = current->next_; in Allocate()
68 object = current->ObtainLargeFreeObject(size); in Allocate()
70 if (current->Empty()) { in Allocate()
71 RemoveSet(current); in Allocate()
72 current->Rebuild(); in Allocate()
[all …]
Dspace-inl.h41 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()
Dparallel_evacuator.cpp61 heap_->GetFromSpaceDuringEvacuation()->EnumerateRegions([this] (Region *current) { in EvacuateSpace() argument
62 AddWorkload(std::make_unique<EvacuateWorkload>(this, current)); in EvacuateSpace()
65 [this](Region *current) { in EvacuateSpace() argument
66 AddWorkload(std::make_unique<EvacuateWorkload>(this, current)); in EvacuateSpace()
182 heap_->GetNewSpace()->EnumerateRegions([&] (Region *current) { in UpdateReference() argument
183 if (current->InNewToNewSet()) { in UpdateReference()
184 AddWorkload(std::make_unique<UpdateAndSweepNewRegionWorkload>(this, current)); in UpdateReference()
187 AddWorkload(std::make_unique<UpdateNewRegionWorkload>(this, current)); in UpdateReference()
191 heap_->EnumerateOldSpaceRegions([this, &oldRegionCount] (Region *current) { in UpdateReference() argument
192 if (current->InCollectSet()) { in UpdateReference()
[all …]
Dfull_gc.cpp65 auto callback = [](Region *current) { in Initialize() argument
66 current->ResetAliveObject(); in Initialize()
67 current->ClearOldToNewRSet(); in Initialize()
70 heap_->GetAppSpawnSpace()->EnumerateRegions([](Region *current) { in Initialize() argument
71 current->ClearMarkGCBitset(); in Initialize()
72 current->ClearCrossRegionRSet(); in Initialize()
Dpartial_gc.cpp62 heap_->GetAppSpawnSpace()->EnumerateRegions([](Region *current) { in Initialize() argument
63 current->ClearMarkGCBitset(); in Initialize()
64 current->ClearCrossRegionRSet(); in Initialize()
66 heap_->EnumerateNonNewSpaceRegions([](Region *current) { in Initialize() argument
67 current->ResetAliveObject(); in Initialize()
Dheap_region_allocator.h38 size_t current = annoMemoryUsage_.fetch_add(bytes, std::memory_order_relaxed) + bytes; in IncreaseAnnoMemoryUsage() local
40 …while (current > max && !maxAnnoMemoryUsage_.compare_exchange_weak(max, current, std::memory_order… in IncreaseAnnoMemoryUsage()
Dsparse_space.h72 void FreeRegion(Region *current, bool isMain = true);
73 void FreeLiveRange(Region *current, uintptr_t freeStart, uintptr_t freeEnd, bool isMain);
150 for (Region *current : collectRegionSet_) { in EnumerateCollectRegionSet()
151 if (current != nullptr) { in EnumerateCollectRegionSet()
152 cb(current); in EnumerateCollectRegionSet()
/arkcompiler/ets_runtime/ecmascript/base/
Djson_parser.h142 Text current = current_; in ParseNumber() local
161 std::string strNum(current, end_ + 1); in ParseNumber()
498 Text current = current_; in ReadNumberRange() local
499 if (*current == '0') { in ReadNumberRange()
501 current++; in ReadNumberRange()
502 } else if (*current == '-') { in ReadNumberRange()
503 current++; in ReadNumberRange()
504 if (*current == '0') { in ReadNumberRange()
506 current++; in ReadNumberRange()
510 while (current != range_) { in ReadNumberRange()
[all …]
/arkcompiler/runtime_core/verification/config/parse/
Dconfig_parse.cpp33 Section current; member
56 c.current.name = PandaString {from, to}; in ParseConfig()
67 c.current.items.push_back(PandaString {from, to}); in ParseConfig()
80 c.sections.push_back(c.current); in ParseConfig()
81 c.current.sections.clear(); in ParseConfig()
84 c.current = c.sections.back(); in ParseConfig()
88 c.sections.back().sections.push_back(c.current); in ParseConfig()
89 c.current = c.sections.back(); in ParseConfig()
104 context.current.name = "config"; in ParseConfig()
107 cfg = context.current; in ParseConfig()
/arkcompiler/runtime_core/runtime/
Dthread_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()
85 if (thread != current && CanDeregister(status)) { in DeregisterSuspendedThreads()
93 } else if (thread != current) { in DeregisterSuspendedThreads()
97 if (thread != current) { in DeregisterSuspendedThreads()
105 // All threads except current are blocked (have BLOCKED or NATIVE status) in DeregisterSuspendedThreads()
107 return StopThreadsOnDeadlock(current); in DeregisterSuspendedThreads()
109 // Sanity check, we should get at least current thread in that list. in DeregisterSuspendedThreads()
124 bool ThreadManager::StopThreadsOnDeadlock(MTManagedThread *current) in StopThreadsOnDeadlock() argument
126 if (!LockOrderGraph::CheckForTerminationLoops(threads_, daemon_threads_, current)) { in StopThreadsOnDeadlock()
[all …]
/arkcompiler/ets_runtime/ecmascript/
Decma_global_storage.h362 T *current = nullptr; in IterateUsageGlobal() local
364 current = next; in IterateUsageGlobal()
365 next = reinterpret_cast<T *>(current->GetNext()); in IterateUsageGlobal()
366 ASSERT(current != next); in IterateUsageGlobal()
367 callback(current); in IterateUsageGlobal()
412 NodeList<T> *current = nullptr; in ~EcmaGlobalStorage() local
414 current = next; in ~EcmaGlobalStorage()
415 next = current->GetNext(); in ~EcmaGlobalStorage()
416 current->IterateUsageGlobal([] (T *node) { in ~EcmaGlobalStorage()
420 allocator_->Delete(current); in ~EcmaGlobalStorage()
[all …]
Djs_object.cpp877 // 1. Let current be O.[[GetOwnProperty]](P). in OrdinaryDefineOwnProperty()
882 PropertyDescriptor current(thread); in OrdinaryDefineOwnProperty() local
883 op.ToPropertyDescriptor(current); in OrdinaryDefineOwnProperty()
884 // 4. Return ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current). in OrdinaryDefineOwnProperty()
885 return ValidateAndApplyPropertyDescriptor(&op, extensible, desc, current); in OrdinaryDefineOwnProperty()
895 PropertyDescriptor current(thread); in OrdinaryDefineOwnProperty() local
896 op.ToPropertyDescriptor(current); in OrdinaryDefineOwnProperty()
897 return ValidateAndApplyPropertyDescriptor(&op, extensible, desc, current); in OrdinaryDefineOwnProperty()
900 // 9.1.6.3 ValidateAndApplyPropertyDescriptor (O, P, extensible, Desc, current)
902 const PropertyDescriptor &current) in ValidateAndApplyPropertyDescriptor() argument
[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/runtime_core/runtime/mem/gc/gen-gc/
Dgen-gc.h66 * @param task gc task for current GC
72 * @param task gc task for current GC
78 * @param task gc task for current GC
84 * @param task gc task for current GC
109 * @param task gc task for current GC
115 * @param task gc task for current GC
165 * @param task gc task for current GC
/arkcompiler/runtime_core/runtime/mem/
Dfreelist_allocator-inl.h108 // We must update some values in current memory_block in Alloc()
199 // | 0 | 0 | over mem blocks | current block pointer …
200 // | | | and current block | …
215 // | 3 | 0 | wrong value to | current block pointer - points to wrong memory …
263 … // and update current block size. Therefore, we have a valid pointer to next memory block. in IterateOverObjects()
270 … // Current header marked as Unused so it can be modify by an allocation in some thread. in IterateOverObjects()
358 // This means that current pool is the last in VisitAndRemoveFreePools()
367 // This means that current pool is the first in VisitAndRemoveFreePools()
385 // NOTE: Current implementation doesn't look at PANDA_CROSSING_MAP_MANAGE_CROSSED_BORDER flag in IterateOverObjectsInRange()
411 // In the second case, this object may not crosses the border of the current range. in IterateOverObjectsInRange()
[all …]
Dheap_space.h63 * \brief Class for description of object spaces and limits (minimum, maximum, current sizes).
93 * \brief Get current used heap size
170 * \brief Increase current heap space
176 * \brief Reduce current heap space
209 * @param current_free_bytes_in_space current freebytes count into target space
219 * @return current maximum size of this heap space
224 * @return free bytes count for current heap space size
238 …// if GC wants allocate memory, but we have not needed memory for this then we increase current he…
283 // | current max size | | current max size | …
293 // init-young-space-size argument set minimum (initial) current max size for Young space
[all …]
/arkcompiler/runtime_core/runtime/methodtrace/
Dtrace.cpp36 timespec current {}; in SystemMicroSecond() local
37 clock_gettime(CLOCK_MONOTONIC, &current); in SystemMicroSecond()
39 return static_cast<uint64_t>(current.tv_sec) * UINT64_C(1000000) + // 1000000 - time in SystemMicroSecond()
40 current.tv_nsec / UINT64_C(1000); // 1000 - time in SystemMicroSecond()
45 timespec current {}; in RealTimeSecond() local
46 clock_gettime(CLOCK_REALTIME, &current); in RealTimeSecond()
48 return static_cast<uint64_t>(current.tv_sec); in RealTimeSecond()
60 timespec current {}; in GetCpuMicroSecond() local
61 clock_gettime(clock_id, &current); in GetCpuMicroSecond()
63 return static_cast<uint64_t>(current.tv_sec) * UINT64_C(1000000) + // 1000000 - time in GetCpuMicroSecond()
[all …]
/arkcompiler/runtime_core/libpandabase/utils/
Dbit_field.h53 * Make BitField type that follows right after current bit range.
68 * Make Flag field that follows right after current bit range.
99 * Set 'value' to current bit range [START_BIT : START_BIT+END_BIT] within the 'stor' parameter.
117 * Encode 'value' to current bit range [START_BIT : START_BIT+END_BIT] and return it
126 * Update 'value' to current bit range [START_BIT : START_BIT+END_BIT] and return it
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dbasicblock.h188 …* Split block after the given instruction. Current block will contain instructions before the spli…
702 void SetCurrent(Inst *current) in SetCurrent() argument
704 current_ = current; in SetCurrent()
735 explicit InstIterator(Inst *current) : current_(current) {}; in InstIterator() argument
784 …explicit InstForwardIterator(Inst *current) : InstIterator<T, IterationDirection::FORWARD>(current in InstForwardIterator() argument
815 …explicit InstForwardIterator(Inst *current) : InstForwardIterator<IterationType::INST>(current) {}; in InstForwardIterator() argument
860 …explicit InstBackwardIterator(Inst *current) : InstIterator<T, IterationDirection::BACKWARD>(curre… in InstBackwardIterator() argument
885 …explicit InstBackwardIterator(Inst *current) : InstBackwardIterator<IterationType::ALL>(current) {} in InstBackwardIterator() argument
892 …he instructions in `IterationDirection` order, keeping next instruction in case of removing current
930 explicit InstSafeIterator(Inst *current) : InstIterator<T, D>(current) {}; in InstSafeIterator() argument
[all …]
/arkcompiler/runtime_core/compiler/docs/
Ddeoptimize_elimination_doc.md26 Run search recursively from current block to start block.
27 …uard is met in all ways and there should be no call instructions between current guard and found g…
29 …o replaced by `NOP` all `DeoptimizeIf` instruction which is dominated by current instruction and h…
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dframe_handler.cpp321 JSTaggedType *current = const_cast<JSTaggedType *>(thread_->GetLastLeaveFrame()); in IterateAssembleStack() local
322 IterateFrameChain(current, visitor, rangeVisitor, derivedVisitor); in IterateAssembleStack()
331 JSTaggedType *current = const_cast<JSTaggedType *>(thread_->GetCurrentSPFrame()); in IterateEcmaRuntimeCallInfo() local
332 for (FrameIterator it(current, thread_); !it.Done(); it.Advance()) { in IterateEcmaRuntimeCallInfo()
347 JSTaggedType *current = const_cast<JSTaggedType *>(thread_->GetCurrentSPFrame()); in Iterate() local
348 FrameType frameType = FrameHandler::GetFrameType(current); in Iterate()
352 current = leaveFrame; in Iterate()
359 IterateFrameChain(current, visitor, rangeVisitor, derivedVisitor); in Iterate()
365 JSTaggedType *current = start; in IterateFrameChain() local
366 for (FrameIterator it(current, thread_); !it.Done(); it.Advance<GCVisitedFlag::VISITED>()) { in IterateFrameChain()
[all …]
/arkcompiler/runtime_core/libpandabase/mem/
Darena.h45 * @param arena - Arena which will be linked as next to the current
125 * \brief Expand arena. The new memory must be located just after the current buffer.
126 * @param extra_buff - pointer to the extra buffer located just after the current.
178 * @param arena - Arena which will be linked as next to the current
187 * @param arena - Arena which will be linked as prev to the current
/arkcompiler/ets_frontend/es2panda/parser/context/
DparserContext.h72 …explicit ParserContext(ParserContext *current, ParserStatus newStatus, util::StringView label = "") in DEFINE_BITOPS()
73 : program_(current->program_), prev_(current), label_(label) in DEFINE_BITOPS()
75 ParserStatus currentStatus = current->status_; in DEFINE_BITOPS()

12345678910>>...13