Home
last modified time | relevance | path

Searched full:last (Results 1 – 25 of 222) sorted by relevance

123456789

/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_deque.cpp39 uint32_t last = deque->GetLast(); in InsertFront() local
41 if ((first + capacity - 1) % capacity == last) { in InsertFront()
42 elements = GrowCapacity(thread, deque, capacity, first, last); in InsertFront()
60 uint32_t last = deque->GetLast(); in InsertEnd() local
62 if (first == (last + 1) % capacity) { in InsertEnd()
63 elements = GrowCapacity(thread, deque, capacity, first, last); in InsertEnd()
66 last = capacity - 1; in InsertEnd()
68 elements->Set(thread, last, value); in InsertEnd()
71 last = (last + 1) % capacity; in InsertEnd()
72 deque->SetLast(last); in InsertEnd()
[all …]
Djs_api_deque.h76 ACCESSORS_PRIMITIVE_FIELD(Last, uint32_t, LAST_OFFSET, ENDL_OFFSET)
88 uint32_t oldCapacity, uint32_t first, uint32_t last);
Djs_api_deque_iterator.cpp58 uint32_t last = deque->GetLast(); in Next() local
59 if (index == last) { in Next()
/arkcompiler/runtime_core/compiler/optimizer/templates/intrinsics/
Dget_intrinsics.inl.erb25 extern "C" void <%= intrinsic.impl.rpartition('::').last %>Bridge();
26 extern "C" void <%= intrinsic.impl.rpartition('::').last %>RuntimeCallChecker();
30 extern "C" void <%= impl.rpartition('::').last %>();
32 extern "C" void <%= impl.rpartition('::').last %>Bridge();
34 extern "C" void <%= impl.rpartition('::').last %>RuntimeCallChecker();
82 …sic.respond_to?(:fast_path) ? intrinsic.fast_path : "#{intrinsic.impl.rpartition('::').last}Bridge"
88 …untime_call ? reinterpret_cast<uintptr_t>(<%= "#{intrinsic.impl.rpartition('::').last}Bridge" %>) :
92 … reinterpret_cast<uintptr_t>(<%= intrinsic.impl.rpartition('::').last %>RuntimeCallChecker);
100 reinterpret_cast<uintptr_t>(<%= impl.rpartition('::').last %>RuntimeCallChecker);
Dentrypoints_bridge_asm_macro.inl.erb24 % implementation = intrn.impl.rpartition("::").last
35 …CALL_CHECKER <%= intrn.impl.rpartition("::").last %>RuntimeCallChecker, <%= intrn.impl.rpartition(…
/arkcompiler/runtime_core/libpandabase/utils/
Dlist.h242 Iterator InsertAfter(ConstIterator position, InputIterator first, InputIterator last) in InsertAfter() argument
244 while (first != last) { in InsertAfter()
252 ConstIterator last = position; in EraseAfter() local
254 std::advance(last, SHIFT); in EraseAfter()
255 return EraseAfter(position, last); in EraseAfter()
259 * Erase elements in range (position, last)
261 Iterator EraseAfter(ConstIterator position, ConstIterator last) in EraseAfter() argument
263 ASSERT(position != last); in EraseAfter()
264 position.node_->next_ = last.node_; in EraseAfter()
265 return Iterator(last.node_); in EraseAfter()
[all …]
Dring_buffer.h213 * Removes the last element of the ring buffer
285 * @return iterator to the element following the last element
295 … * @return a reverse iterator to the element following the last element of the reversed ring buffer
303 * @return const context iterator to the element following the last element
313 …* @return a const context iterator to the element following the last element of the reversed ring …
321 * @return const iterator to the element following the last element
329 * @return const iterator to the element following the last element of the reversed ring buffer
353 * @return reference to last element in ring buffer
361 * @return const reference to last element in ring buffer
Dlogger.cpp44 Level level = Level::LAST; in Initialize()
47 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
51 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
55 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
59 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
63 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
67 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
Dbit_vector.h35 inline void fill(panda::BitVectorIterator<IsConst> first, panda::BitVectorIterator<IsConst> last, b…
238 …d void std::fill(panda::BitVectorIterator<_IsConst> first, panda::BitVectorIterator<_IsConst> last,
634 …Vector(panda::BitVectorIterator<IsConst> first, panda::BitVectorIterator<IsConst> last, bool value) in FillBitVector() argument
636 for (; first != last; ++first) { in FillBitVector()
653 inline void fill(panda::BitVectorIterator<IsConst> first, panda::BitVectorIterator<IsConst> last, b… in fill() argument
655 if (first.data_ != last.data_) { in fill()
657 std::fill(first.data_ + 1, last.data_, value ? ~0LLU : 0); in fill()
660 … panda::internal::FillBitVector(panda::BitVectorIterator<IsConst>(last.data_, 0), last, value); in fill()
662 panda::internal::FillBitVector(first, last, value); in fill()
/arkcompiler/runtime_core/runtime/tests/
Dthread_test.cpp104 ASSERT_DEATH(thread->NativeCodeBegin(), "last frame is: NATIVE_CODE"); in TEST_F()
117 ASSERT_DEATH(thread->ManagedCodeBegin(), "last frame is: MANAGED_CODE"); in TEST_F()
131 ASSERT_DEATH(thread->ManagedCodeEnd(), "last frame is: NATIVE_CODE"); in TEST_F()
132 ASSERT_DEATH(thread->ManagedCodeEnd(), "last frame is: NATIVE_CODE"); in TEST_F()
144 ASSERT_DEATH(thread->NativeCodeEnd(), "last frame is: MANAGED_CODE"); in TEST_F()
156 …ASSERT_DEATH(BeginToStateAndEnd(MTManagedThread::ThreadState::NATIVE_CODE), "last frame is: NATIVE… in TEST_F()
166 …ASSERT_DEATH(BeginToStateAndEnd(MTManagedThread::ThreadState::MANAGED_CODE), "last frame is: MANAG… in TEST_F()
Dcard_table_test.cpp217 // Mark last byte in the heap in TEST_F()
218 uintptr_t last = GetMinAddress() + GetPoolSize() - 1; in TEST_F() local
219 ASSERT_EQ(card_table_->IsMarked(last), false); in TEST_F()
220 card_table_->MarkCard(last); in TEST_F()
221 ASSERT_EQ(card_table_->IsMarked(last), true); in TEST_F()
222 // Mark last byte of second card in TEST_F()
/arkcompiler/ets_runtime/ecmascript/
Djs_hclass-inl.h45 uint32_t last = cachedHClass->NumberOfProps() - 1; in AddTransitions() local
47 …auto attr = JSHandle<JSTaggedValue>(thread, JSTaggedValue(layoutInfo->GetAttr(last).GetPropertyMet… in AddTransitions()
48 auto lastKey = JSHandle<JSTaggedValue>(thread, layoutInfo->GetKey(last)); in AddTransitions()
77 uint32_t last = cachedHClass->NumberOfProps() - 1; in AddProtoTransitions() local
79 …auto attr = JSHandle<JSTaggedValue>(thread, JSTaggedValue(layoutInfo->GetAttr(last).GetPropertyMet… in AddProtoTransitions()
80 auto lastKey = JSHandle<JSTaggedValue>(thread, layoutInfo->GetKey(last)); in AddProtoTransitions()
101 int last = static_cast<int>(cachedHClass->NumberOfProps()) - 1; in FindTransitions() local
103 auto attr = layoutInfo->GetAttr(last).GetPropertyMetaData(); in FindTransitions()
104 auto cachedKey = layoutInfo->GetKey(last); in FindTransitions()
/arkcompiler/ets_frontend/es2panda/util/
Dbase64.cpp32 // 00 + the last 2 bits of the first char + the first 4 bits of the second char in Base64Encode()
34 // 00 + last 4 bits of the second char + the first 2 bits of the third char in Base64Encode()
36 // 00 + the last 6 bits of the third char in Base64Encode()
93 // the last 6 bit of the first char + the 2~3 bit of the second char(first 4 bit - 00) in Base64Decode()
101 // the last 4 bit of the second char + the 2~5 bit of the third char(first 6 bit - 00) in Base64Decode()
109 // the last 2 bit of the third char + the last 6 bit of the fourth char in Base64Decode()
/arkcompiler/runtime_core/irtoc/lang/
Dfunction.rb231 …Output.println("auto* bb_#{@basic_blocks.last.index} = need_new_last_bb ? graph->CreateEmptyBlock(…
232 Output.println("ASSERT(bb_#{@basic_blocks.last.index}->GetGuestPc() == INVALID_PC);")
233 Output.println("bb_#{@basic_blocks.last.index}->SetGuestPc(pc);")
234 Output.println("bb_#{@basic_blocks.last.index}->CopyTryCatchProps(*cur_bb);")
236 Output.println(" bb_#{@basic_blocks.last.index}->SetMarker(marker);")
241 Output.println(" loop->SetPreHeader(bb_#{@basic_blocks.last.index});")
242 Output.println(" bb_#{@basic_blocks.last.index}->SetNextLoop(loop);")
246 Output.println(" succ->ReplacePred(*cur_bb, bb_#{@basic_blocks.last.index});")
267 Output.println("(*cur_bb)->GetLoop()->AppendBlock(bb_#{@basic_blocks.last.index});")
271 Output.println("(*cur_bb) = bb_#{@basic_blocks.last.index};")
[all …]
/arkcompiler/ets_runtime/ecmascript/mem/
Dlinear_space.cpp176 Region *last = GetCurrentRegion(); in SetWaterLine() local
177 if (last != nullptr) { in SetWaterLine()
178 last->SetGCFlag(RegionGCFlags::HAS_AGE_MARK); in SetWaterLine()
180 EnumerateRegions([&last](Region *current) { in SetWaterLine()
181 if (current != last) { in SetWaterLine()
185 survivalObjectSize_ += last->GetAllocatedBytes(waterLine_); in SetWaterLine()
/arkcompiler/runtime_core/libpandafile/templates/
Dbytecode_emitter_gen.h.erb27 % offsets += [fmt.size * 8] # terminating offset, used for calculating last operand encoding wid…
196 % op = CC_INVERTER[/^.../.match(op).to_s] ? op.sub(/^.../, CC_INVERTER).prepend(pref) : "LAST"
203 return <%= OPCODE_TYPE %>::LAST; // Any return value will do, we are broken here anyway.
222 return <%= OPCODE_TYPE %>::LAST; // Any return value will do, we are broken here anyway.
240 … return <%= OPCODE_TYPE %>::<%= (suit_ind == 0) ? "LAST" : group[suit_ind].opcode.upcase %>;
246 … return <%= OPCODE_TYPE %>::<%= (suit_ind == 0) ? "LAST" : group[suit_ind].opcode.upcase %>;
253 return <%= OPCODE_TYPE %>::LAST; // Any return value will do, we are broken here anyway.
256 return <%= OPCODE_TYPE %>::LAST; // Any return value will do, we are broken here anyway.
Dbytecode_instruction_enum_gen.h.erb26 LAST = <%= Panda::instructions.last().opcode.upcase %>
/arkcompiler/runtime_core/compiler/docs/
Dscheduler_doc.md108 Inst* last = nullptr;
110 last = inst->GetPrev();
113 last = inst;
115 cycle += ScheduleInstsBetweenBarriers(first, last);
131 // Schedule instructions between [first..last] inclusive, none of them are barriers.
132 uint32_t Scheduler::ScheduleInstsBetweenBarriers(Inst* first, Inst* last) {
151 for (auto inst = first; inst != last->GetNext(); inst = inst->GetNext()) {
/arkcompiler/runtime_core/libpandabase/templates/
Dlogger_enum_gen.h.erb22 LAST
29 LAST
/arkcompiler/runtime_core/runtime/mem/
Dframe_allocator.h45 // it will give memory from the top and can delete only last allocated memory.
104 * \brief Free last_allocated_arena_, i.e., free last arena in the list.
121 // A pointer to the current arena with the last allocated frame
124 // A pointer to the last allocated arena (so it is equal to the top arena in the list)
/arkcompiler/runtime_core/templates/messages/
Dmessages.h.erb33 LAST = <%= msg_last %>,
74 if (str == "LAST") { return <%= Messages.enum_name %>::LAST; }
/arkcompiler/runtime_core/docs/
Ddeoptimization.md72 * pointer to last restoring interpreter Frame
84 `DeoptimizeAfterCFrame` changes current CFrame to I2C(Interpreter To Compile) bridge, set last IFra…
94 * pointer to last restoring interpreter Frame
98 The last restoring interpreter Frame is used for limitation number of calls to the interpreter for …
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dscheduler.cpp241 Inst *last = nullptr; in ScheduleBasicBlock() local
243 last = inst->GetPrev(); in ScheduleBasicBlock()
246 last = inst; in ScheduleBasicBlock()
249 cycle += ScheduleInstsBetweenBarriers(first, last); in ScheduleBasicBlock()
310 // Rearranges instructions between [first..last] inclusive, none of them are barriers.
311 uint32_t Scheduler::ScheduleInstsBetweenBarriers(Inst *first, Inst *last) in ScheduleInstsBetweenBarriers() argument
313 COMPILER_LOG(DEBUG, SCHEDULER) << "SchedBetween " << first->GetId() << " and " << last->GetId(); in ScheduleInstsBetweenBarriers()
331 for (auto inst = first; inst != last->GetNext(); inst = inst->GetNext()) { in ScheduleInstsBetweenBarriers()
/arkcompiler/runtime_core/runtime/templates/
Dintrinsics.h.erb30 % impl_name = i.impl.rpartition('::').last
36 % impl_name = i.orig_impl.rpartition('::').last
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dcontainers_deque_stub_builder.h37 GateRef last = GetLast(obj); in GetSize() local
38 return Int32Mod(Int32Add(Int32Sub(last, first), capacity), capacity); in GetSize()

123456789