Home
last modified time | relevance | path

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

1234567

/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.h78 ACCESSORS_PRIMITIVE_FIELD(Last, uint32_t, LAST_OFFSET, ENDL_OFFSET)
90 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
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()
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()
/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/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_runtime/test/aottest/async_loop/
Dasync_loop.ts19 let last = 10000001 % 1;
20 for (let i = 0; i < last; i++) {
/arkcompiler/ets_frontend/arkguard/test/grammar/array_validation/
Darray_reduce.ts20 let result = arr.reduce(function (last, now) {
21 return last + now;
/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/libpandabase/templates/
Dlogger_enum_gen.h.erb22 LAST
29 LAST
/arkcompiler/ets_runtime/ecmascript/mem/
Dlinear_space.cpp207 Region *last = GetCurrentRegion(); in SetWaterLine() local
208 if (last != nullptr) { in SetWaterLine()
209 last->SetGCFlag(RegionGCFlags::HAS_AGE_MARK); in SetWaterLine()
211 EnumerateRegions([&last](Region *current) { in SetWaterLine()
212 if (current != last) { in SetWaterLine()
216 survivalObjectSize_ += last->GetAllocatedBytes(waterLine_); in SetWaterLine()
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DemptyArgumentsListComment.ts29 AssertType(a( /*first*/ // foo /*middle*/ // bar /*last*/), "any");
36 /*last*/
/arkcompiler/runtime_core/templates/messages/
Dmessages.h.erb33 LAST = <%= msg_last %>,
74 if (str == "LAST") { return <%= Messages.enum_name %>::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()
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/
Djs_stackinfo.cpp373 for (size_t i = 0; prefix[i] != '\0' && strIdx < strLen - 1; i++) { // 1: last '\0' in CopyBytecodeInfoToBuffer()
377 size_t bytecode = fullBytecode & 0xff; // 0xff: last byte in CopyBytecodeInfoToBuffer()
379 for (size_t i = 0; bytecodeName[i] != '\0' && strIdx < strLen - 1; i++) { // 1: last '\0' in CopyBytecodeInfoToBuffer()
397 size_t bytecodeSecond = (fullBytecode >> 8) & 0xff; // 8, 0xff: second last byte in CopyBytecodeInfoToBuffer()
399 if (strIdx < strLen - 1) { // 1: last '\0' in CopyBytecodeInfoToBuffer()
402 … for (size_t i = 0; bytecodeNameSecond[i] != '\0' && strIdx < strLen - 1; i++) { // 1: last '\0' in CopyBytecodeInfoToBuffer()
460 if (strIndex < strLen - 1) { // 1: last '\0' in GetArkJSHeapCrashInfo()
463 for (size_t i = 0; infoChar[i] != '\0' && strIndex < strLen - 1; i++) { // 1: last '\0' in GetArkJSHeapCrashInfo()
/arkcompiler/runtime_core/tests/cts-generator/
Dverifier.config19 FIRST-LAST
/arkcompiler/runtime_core/compiler/optimizer/ir/
Ddatatype.h46 LAST = POINTER enumerator
63 inline constexpr std::array<const char *, Type::LAST + 1> TYPE_NAMES = {
85 ASSERT(type <= Type::LAST); in ToString()
Dlocations.h48 LAST = STACK_ARGUMENT,
219 using KindField = BitField<Kind, 0, MinimumBitsToStore(Kind::LAST)>;
221 …dField::NextField<uintptr_t, sizeof(bit_fields_) * BITS_PER_BYTE - MinimumBitsToStore(Kind::LAST)>;
/arkcompiler/runtime_core/compiler/docs/
Dpaoc.md71 - Set last method to complie and skip all following.
89 # If some of the options are intersecting, the last (in the array) would be applied.

1234567