/arkcompiler/ets_frontend/ts2panda/tests/types/ |
D | array.test.ts | 27 let shift = userDefinedTypeStartIndex; variable 37 ["#3#num", shift + 1], 38 ["#4#bool", shift + 2], 39 ["#5#str", shift + 3], 40 ["#6#sym", shift + 4], 41 ["#7#nu", shift + 5], 42 ["#8#und", shift + 6], 82 ["#3#A", shift + 1], 83 ["#4#arrayA", shift + 3], 115 ["#3#num1", shift + 1], [all …]
|
D | class.test.ts | 27 let shift = userDefinedTypeStartIndex; variable 37 ["#3#A", shift + 1], 38 ["#4#a", shift + 3], 74 ["#3#A", shift + 1], 75 ["#4#a", shift + 3], 110 ["#3#A", shift + 1], 111 ["#4#a", shift + 2], 145 ["#3#A", shift + 1], 146 ["#4#a", shift + 4], 187 ["#3#A", shift + 1], [all …]
|
D | union.test.ts | 27 let shift = userDefinedTypeStartIndex; variable 37 ["#3#num", shift + 1], 38 ["#4#str", shift + 2], 39 ["#5#und", shift + 3], 40 ["#6#full", shift + 4], 75 ["#3#A", shift + 1], 76 ["#4#c", shift + 2], 111 ["#3#u1", shift + 1], 112 ["#4#u2", shift + 1], 137 ["#3#A", shift + 1], [all …]
|
D | function.test.ts | 27 let shift = userDefinedTypeStartIndex; variable 37 ["#0#emptyFunc", shift + 2], 69 ["#0#emptyFunc", shift + 2], 103 ["#0#foo", shift + 2], 104 ["#1#bar", shift + 3], 139 ["#1#a", shift + 4], 140 ["#0#foo", shift + 2], 141 ["#1#A", shift + 3], 179 ["#0#foo", shift + 1],
|
D | object.test.ts | 27 let shift = userDefinedTypeStartIndex; variable 37 ["#3#a", shift + 1], 63 ["#3#A", shift + 1], 64 ["#4#a", shift + 2],
|
D | primitives.test.ts | 27 let shift = userDefinedTypeStartIndex; variable 165 ["#3#A", shift + 1], 166 ["#4#a", shift + 2],
|
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/ |
D | assembler_aarch64.cpp | 289 uint32_t shift = GetShiftOfLdr(operand, scale, regX); in Ldr() local 294 uint32_t shiftField = (shift << LDR_STR_S_LOWBITS) & LDR_STR_S_MASK; in Ldr() 390 for (unsigned int shift = 0; shift < regSize; shift += HWORDSIZE) { in Mov() local 391 const unsigned int halfWord = (immValue >> shift) & HWORD_MASK; in Mov() 417 for (unsigned int shift = 0; shift < regSize; shift += HWORDSIZE) { in Mov() local 418 uint64_t shiftedMask = (HWORD_MASK << shift); in Mov() 437 const uint64_t movkImm = (realImm & shiftedMask) >> shift; in Mov() 438 Movk(rd, movkImm, shift); in Mov() 508 for (int shift = 0; shift < RegXSize; shift += HWORDSIZE) { in TrySequenceOfOnes() local 509 int64_t himm = (imm >> shift) & HWORD_MASK; in TrySequenceOfOnes() [all …]
|
D | assembler_aarch64.h | 164 Operand(Register reg, Shift shift = Shift::LSL, uint8_t shift_amount = 0) 165 … : reg_(reg), extend_(Extend::NO_EXTEND), shift_(shift), shiftAmount_(shift_amount), immediate_(0) in reg_() 233 …MemoryOperand(Register base, Register offset, Shift shift = Shift::NO_SHIFT, uint8_t shiftAmount … 235 extend_(Extend::NO_EXTEND), shift_(shift), shiftAmount_(shiftAmount) in base_() 312 void Movz(const Register &rd, uint64_t imm, int shift); 313 void Movk(const Register &rd, uint64_t imm, int shift); 314 void Movn(const Register &rd, uint64_t imm, int shift); 321 void Lsr(const Register &rd, const Register &rn, unsigned shift); 409 void MovWide(uint32_t op, const Register &rd, uint64_t imm, int shift);
|
/arkcompiler/runtime_core/libpandabase/utils/ |
D | leb128.h | 45 size_t shift = i * PAYLOAD_WIDTH; in DecodeUnsigned() local 46 result |= static_cast<T>(byte) << shift; in DecodeUnsigned() 49 bool is_full = MinimumBitsToStore(byte) <= (BITWIDTH - shift); in DecodeUnsigned() 109 size_t shift = i * PAYLOAD_WIDTH; in DecodeSigned() local 111 result |= static_cast<unsigned_type>(byte & PAYLOAD_MASK) << shift; in DecodeSigned() 114 shift = BITWIDTH - shift; in DecodeSigned() 119 bool is_full = MinimumBitsToStore(masked) <= shift; in DecodeSigned() 120 if (shift > PAYLOAD_WIDTH) { in DecodeSigned() 121 shift -= PAYLOAD_WIDTH; in DecodeSigned() 123 result = static_cast<T>(result << shift) >> shift; in DecodeSigned()
|
D | bit_memory_region.h | 133 size_t shift = (start_ + offset) % BITS_PER_BYTE; in Read() local 135 return (data_[index] & (1U << shift)) != 0; in Read() 142 size_t shift = (start_ + offset) % BITS_PER_BYTE; in Write() local 144 data_[index] &= ~(1U << shift); in Write() 146 data_[index] |= ((value ? 1U : 0U) << shift); in Write() 167 size_t shift = (start_ + offset) % width; in Read() local 169 T value = data[index] >> shift; in Read() 171 T extra = data[index + (shift + (length - 1)) / width]; in Read() 173 return (value | (extra << ((width - shift) & (width - 1)))) & ~clear; in Read() 212 size_t shift = (start_ + offset) % BITS_PER_BYTE; in Write() local [all …]
|
D | murmur3_hash.h | 73 static uint32_t Rotl(uint32_t word, uint8_t shift) in Rotl() argument 75 return (word << shift) | (word >> (MAX_BITS - shift)); in Rotl()
|
D | cframe_layout.h | 195 size_t shift = Is64BitsArch(arch_) ? 0 : 1; // in arm32 one slot is 2 word and shifted by 1 in GetSpillOffset() local 196 …rn GetOffset<origin, unit>(STACK_START_SLOT + GetFirstSpillSlot() + (spill_slot << shift) + shift); in GetSpillOffset()
|
/arkcompiler/ets_frontend/es2panda/test/type_extractor/testcases_with_assert/ |
D | test-arrow-function-5-as-class-property.ts | 20 shift: number; 23 return this.shift + message.length;
|
/arkcompiler/ets_runtime/ecmascript/deoptimizer/ |
D | deoptimizer.cpp | 91 void Deoptimizier::CollectVregs(const std::vector<kungfu::ARKDeopt>& deoptBundle, size_t shift) in CollectVregs() argument 119 size_t curDepth = DecodeDeoptDepth(id, shift); in CollectVregs() 120 OffsetType vregId = static_cast<OffsetType>(DecodeVregIndex(id, shift)); in CollectVregs() 553 int32_t Deoptimizier::EncodeDeoptVregIndex(int32_t index, size_t depth, size_t shift) in EncodeDeoptVregIndex() argument 556 return (index << shift) | depth; in EncodeDeoptVregIndex() 558 return -((-index << shift) | depth); in EncodeDeoptVregIndex() 563 size_t shift = 0; in ComputeShift() local 565 shift = std::floor(std::log2(depth)) + 1; in ComputeShift() 567 return shift; in ComputeShift() 570 int32_t Deoptimizier::DecodeVregIndex(OffsetType id, size_t shift) in DecodeVregIndex() argument [all …]
|
D | deoptimizer.h | 114 void CollectVregs(const std::vector<kungfu::ARKDeopt>& deoptBundle, size_t shift); 119 static int32_t EncodeDeoptVregIndex(int32_t index, size_t depth, size_t shift); 121 static int32_t DecodeVregIndex(OffsetType id, size_t shift); 122 static size_t DecodeDeoptDepth(OffsetType id, size_t shift);
|
/arkcompiler/runtime_core/libpandafile/ |
D | proto_data_accessor-inl.h | 45 size_t shift = (elem_num_ % SHORTY_ELEM_PER16) * SHORTY_ELEM_WIDTH; in EnumerateTypes() local 46 uint8_t elem = (v >> shift) & SHORTY_ELEM_MASK; in EnumerateTypes() 81 size_t shift = (shorty_idx % SHORTY_ELEM_PER16) * SHORTY_ELEM_WIDTH; in IsEqual() local 82 uint8_t s1 = (v1 >> shift) & SHORTY_ELEM_MASK; // NOLINT(hicpp-signed-bitwise) in IsEqual() 83 uint8_t s2 = (v2 >> shift) & SHORTY_ELEM_MASK; // NOLINT(hicpp-signed-bitwise) in IsEqual()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | number_gate_info.h | 198 int32_t shift = rhs.max_ & 0x1f; // 0x1f : shift bits in SHR() local 201 int32_t nmin = bit_cast<int32_t>(tempMin >> shift); in SHR() 202 int32_t nmax = bit_cast<int32_t>(tempMax >> shift); in SHR() 209 int32_t shift = rhs.max_ & 0x1f; // 0x1f : shift bits in ASHR() local 210 int32_t nmin = min_ >> shift; in ASHR() 211 int32_t nmax = max_ >> shift; in ASHR()
|
D | range_analysis.cpp | 205 auto shift = GetRange(acc_.GetValueIn(gate, 1)); in GetRangeOfShift() local 206 if (value.IsNone() || shift.IsNone()) { in GetRangeOfShift() 209 if (shift.GetMin() != shift.GetMax()) { in GetRangeOfShift() 214 return value.SHR(shift); in GetRangeOfShift() 216 return value.ASHR(shift); in GetRangeOfShift()
|
D | circuit.cpp | 192 Gate *Circuit::LoadGatePtr(GateRef shift) in LoadGatePtr() argument 194 ASSERT(shift != Circuit::NullGate()); in LoadGatePtr() 196 return reinterpret_cast<Gate *>(GetDataPtr(shift)); in LoadGatePtr() 199 const Gate *Circuit::LoadGatePtrConst(GateRef shift) const in LoadGatePtrConst() 202 return reinterpret_cast<const Gate *>(GetDataPtrConst(shift)); in LoadGatePtrConst()
|
/arkcompiler/ets_runtime/test/moduletest/array/ |
D | array.js | 53 arr5.shift(); 70 print(arr8.shift()); // undefined 71 print(arr8.shift()); // 8 72 print(arr8.shift()); // undefined
|
/arkcompiler/ets_frontend/arkguard/test/grammar/array_validation/ |
D | array_shift.ts | 20 let key = arr.shift();
|
/arkcompiler/ets_runtime/test/moduletest/newobjdynrange/ |
D | newobjdynrange.js | 29 const bind_func = Array.prototype.shift.bind();
|
/arkcompiler/ets_runtime/test/moduletest/hugearray/ |
D | hugearray.js | 25 arr.shift();
|
/arkcompiler/runtime_core/assembler/ |
D | assembly-parser.h | 108 … int8_t shift = 0, int token_shift = 0, const std::string &add_mess = "") const 111 … context_.tokens[static_cast<int>(context_.number) + token_shift - 1].bound_left + shift, 117 int8_t shift = 0, const std::string &add_mess = "") 120 … context_.tokens[context_.number - 1].bound_left + static_cast<size_t>(shift),
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
D | ic_binary_op.h | 302 uint32_t shift = in ShlWithTSType() local 306 …static_cast<int32_t>(static_cast<unsigned_type>(opNumber0) << shift); // NOLINT(hicpp-signed-bitw… in ShlWithTSType() 318 uint32_t shift = in ShrWithTSType() local 320 auto ret = static_cast<int32_t>(opNumber0 >> shift); // NOLINT(hicpp-signed-bitwise) in ShrWithTSType() 332 uint32_t shift = in AshrWithTSType() local 336 …static_cast<uint32_t>(static_cast<unsigned_type>(opNumber0) >> shift); // NOLINT(hicpp-signed-bit… in AshrWithTSType()
|