| /arkcompiler/ets_runtime/ecmascript/js_api/ |
| D | js_api_deque.cpp | 39 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 …]
|
| D | js_api_deque.h | 78 ACCESSORS_PRIMITIVE_FIELD(Last, uint32_t, LAST_OFFSET, ENDL_OFFSET) 90 uint32_t oldCapacity, uint32_t first, uint32_t last);
|
| D | js_api_deque_iterator.cpp | 58 uint32_t last = deque->GetLast(); in Next() local 59 if (index == last) { in Next()
|
| /arkcompiler/runtime_core/compiler/optimizer/templates/intrinsics/ |
| D | get_intrinsics.inl.erb | 25 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);
|
| D | entrypoints_bridge_asm_macro.inl.erb | 24 % implementation = intrn.impl.rpartition("::").last 35 …CALL_CHECKER <%= intrn.impl.rpartition("::").last %>RuntimeCallChecker, <%= intrn.impl.rpartition(…
|
| /arkcompiler/runtime_core/libpandabase/utils/ |
| D | list.h | 242 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 …]
|
| D | ring_buffer.h | 213 * 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
|
| D | bit_vector.h | 35 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()
|
| D | logger.cpp | 44 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/ |
| D | base64.cpp | 32 // 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/ |
| D | js_hclass-inl.h | 45 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/ |
| D | async_loop.ts | 19 let last = 10000001 % 1; 20 for (let i = 0; i < last; i++) {
|
| /arkcompiler/ets_frontend/arkguard/test/grammar/array_validation/ |
| D | array_reduce.ts | 20 let result = arr.reduce(function (last, now) { 21 return last + now;
|
| /arkcompiler/runtime_core/libpandafile/templates/ |
| D | bytecode_emitter_gen.h.erb | 27 % 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.
|
| D | bytecode_instruction_enum_gen.h.erb | 26 LAST = <%= Panda::instructions.last().opcode.upcase %>
|
| /arkcompiler/runtime_core/libpandabase/templates/ |
| D | logger_enum_gen.h.erb | 22 LAST 29 LAST
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | linear_space.cpp | 207 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/ |
| D | emptyArgumentsListComment.ts | 29 AssertType(a( /*first*/ // foo /*middle*/ // bar /*last*/), "any"); 36 /*last*/
|
| /arkcompiler/runtime_core/templates/messages/ |
| D | messages.h.erb | 33 LAST = <%= msg_last %>, 74 if (str == "LAST") { return <%= Messages.enum_name %>::LAST; }
|
| /arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
| D | containers_deque_stub_builder.h | 37 GateRef last = GetLast(obj); in GetSize() local 38 return Int32Mod(Int32Add(Int32Sub(last, first), capacity), capacity); in GetSize()
|
| /arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/ |
| D | js_stackinfo.cpp | 373 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/ |
| D | verifier.config | 19 FIRST-LAST
|
| /arkcompiler/runtime_core/compiler/optimizer/ir/ |
| D | datatype.h | 46 LAST = POINTER enumerator 63 inline constexpr std::array<const char *, Type::LAST + 1> TYPE_NAMES = { 85 ASSERT(type <= Type::LAST); in ToString()
|
| D | locations.h | 48 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/ |
| D | paoc.md | 71 - 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.
|