Home
last modified time | relevance | path

Searched refs:position (Results 1 – 25 of 38) sorted by relevance

12

/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dlocation_mask.h53 void Set(size_t position) in Set() argument
55 ASSERT(position < mask_.size()); in Set()
56 mask_[position] = true; in Set()
57 usage_[position] = true; in Set()
60 void Reset(size_t position) in Reset() argument
62 ASSERT(position < mask_.size()); in Reset()
63 mask_[position] = false; in Reset()
66 bool IsSet(size_t position) const in IsSet() argument
68 ASSERT(position < mask_.size()); in IsSet()
69 return mask_[position]; in IsSet()
/arkcompiler/runtime_core/libpandabase/utils/
Dlist.h234 Iterator InsertAfter(ConstIterator position, ValueType &value) in InsertAfter() argument
237 new_node->next_ = position.node_->next_; in InsertAfter()
238 position.node_->next_ = new_node; in InsertAfter()
242 Iterator InsertAfter(ConstIterator position, InputIterator first, InputIterator last) in InsertAfter() argument
245 position = InsertAfter(position, *first++); in InsertAfter()
247 return Iterator(position.node_); in InsertAfter()
250 Iterator EraseAfter(ConstIterator position) in EraseAfter() argument
252 ConstIterator last = position; in EraseAfter()
255 return EraseAfter(position, last); in EraseAfter()
261 Iterator EraseAfter(ConstIterator position, ConstIterator last) in EraseAfter() argument
[all …]
Dspan.h178 Span SubSpan(size_t position, size_t length) const in SubSpan() argument
180 ASSERT((position + length) <= size_); in SubSpan()
181 … return Span(data_ + position, length); // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in SubSpan()
184 Span SubSpan(size_t position) const in SubSpan() argument
186 ASSERT(position <= size_); in SubSpan()
188 return Span(data_ + position, size_ - position); in SubSpan()
192 Span<SubT> SubSpan(size_t position, size_t length) const in SubSpan() argument
194 ASSERT((position * sizeof(T) + length * sizeof(SubT)) <= (size_ * sizeof(T))); in SubSpan()
195 ASSERT(((reinterpret_cast<uintptr_t>(data_ + position)) % alignof(SubT)) == 0); in SubSpan()
197 return Span<SubT>(reinterpret_cast<SubT *>(data_ + position), length); in SubSpan()
/arkcompiler/ets_frontend/merge_abc/src/
DideHelpersProto.cpp39 void SourcePosition::Serialize(const panda::pandasm::SourcePosition &position, in Serialize() argument
42 protoPosition.set_line(position.line); in Serialize()
43 protoPosition.set_column(position.column); in Serialize()
47 panda::pandasm::SourcePosition &position) in Deserialize() argument
49 position.line = protoPosition.line(); in Deserialize()
50 position.column = protoPosition.column(); in Deserialize()
DideHelpersProto.h32 static void Serialize(const panda::pandasm::SourcePosition &position,
34 …rialize(const protoPanda::SourcePosition &protoPosition, panda::pandasm::SourcePosition &position);
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DmoduleMemberWithoutTypeAnnotation1.ts50 public findToken(position: number, includeSkippedTokens: boolean = false): PositionedToken {
51 let positionedToken = this.findTokenInternal(null, position, 0);
53 AssertType(this.findTokenInternal(null, position, 0), "any");
57 AssertType(position, "number");
74 private findTokenInternal(parent: PositionedElement, position: number, fullStart: number) {
DcontrolFlowCaching.ts31 let o = this.opt, ta = this.chart.theme.axis, position = o.position,
40 AssertType(position, "any");
41 AssertType(o.position, "any");
43 leftBottom = position !== "rightOrTop", rotation = o.rotation % 360,
45 AssertType(position !== "rightOrTop", "boolean");
46 AssertType(position, "any");
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_string_iterator.cpp48 uint32_t position = thisValue.GetObject<JSStringIterator>()->GetStringIteratorNextIndex(); in Next() local
55 if (position >= len) { in Next()
62 uint16_t first = EcmaStringAccessor(string.GetObject<EcmaString>()).Get<false>(position); in Next()
68 if (position + 1 == len || first < base::utf_helper::DECODE_LEAD_LOW || in Next()
78 … uint16_t second = EcmaStringAccessor(string.GetObject<EcmaString>()).Get<false>(position + 1); in Next()
91 thisValue.GetObject<JSStringIterator>()->SetStringIteratorNextIndex(position + resultSize); in Next()
Dbuiltins_string.h44 const JSHandle<EcmaString> &srcString, int position,
Dbuiltins_regexp.cpp896 uint32_t position = 0; in Replace() local
898 position = static_cast<uint32_t>(positionHandle->GetInt()); in Replace()
900 position = JSTaggedValue::ToUint32(thread, positionHandle); in Replace()
905 position = std::max<uint32_t>(std::min<uint32_t>(position, length), 0); in Replace()
958 replacerArgs->Set(thread, index + 1, JSTaggedValue(position)); in Replace()
987 position, capturesList, namedCaptures, in Replace()
993 if (position >= nextSourcePosition) { in Replace()
998 … JSHandle<EcmaString>::Cast(inputStr), nextSourcePosition, position - nextSourcePosition); in Replace()
1002 nextSourcePosition = position + matchLength; in Replace()
/arkcompiler/ets_runtime/ecmascript/mem/
Dc_string.h78 uint32_t position = BUFF_SIZE - 1; in ToCString() local
79 buf[position] = '\0'; in ToCString()
83 buf[--position] = static_cast<int8_t>('0' - (number % 10)); // 10 : decimal in ToCString()
85 buf[--position] = static_cast<int8_t>('0' + (number % 10)); // 10 : decimal in ToCString()
90 buf[--position] = '-'; in ToCString()
92 return CString(&buf[position]); in ToCString()
Ddyn_chunk.cpp54 int DynChunk::Insert(uint32_t position, size_t len) in Insert() argument
56 if (size_ < position) { in Insert()
62 size_t moveSize = size_ - position; in Insert()
64 if (memmove_s(buf_ + position + len, moveSize, buf_ + position, moveSize) != EOK) { in Insert()
Ddyn_chunk.h42 int Insert(uint32_t position, size_t len);
/arkcompiler/ets_runtime/ecmascript/base/
Dbuiltins_base.h52 static inline JSHandle<JSTaggedValue> GetCallArg(EcmaRuntimeCallInfo *msg, uint32_t position) in GetCallArg() argument
54 if (position >= msg->GetArgsNumber()) { in GetCallArg()
58 return msg->GetCallArg(position); in GetCallArg()
/arkcompiler/runtime_core/libpandabase/tests/
Dmem_range_test.cpp200 uintptr_t position; in TEST() local
202 position = RandomUintptr(); in TEST()
203 if (position > RANDOM_AREA_SIZE) { in TEST()
204 RandomTestInBounds(position - RANDOM_AREA_SIZE, position); in TEST()
206 RandomTestInBounds(position, position + RANDOM_AREA_SIZE); in TEST()
/arkcompiler/runtime_core/tests/checked/
DREADME.md10 command token at the zero position.
26 * **EVENT_NEXT** (event: pattern) ordered search event, i.e. search from position of the last found…
28 * **EVENT_NEXT_NOT** (event: pattern) ensure event is not occurred after current position
34 * **INST_NEXT_NOT** (event: pattern) ensure instruction is not occurred after current position
/arkcompiler/runtime_core/libpandabase/mem/
Dgc_barrier.h49 constexpr uint8_t EncodeBarrierType(uint8_t value, BarrierPosition position, BarrierActionType acti… in EncodeBarrierType() argument
52 return (value << 2U) | (position << internal::BARRIER_POS_OFFSET) | in EncodeBarrierType()
/arkcompiler/runtime_core/compiler/optimizer/analysis/
Dliveness_analyzer.h212 bool SplitCover(LifeNumber position) const in SplitCover() argument
215 if (range.GetBegin() <= position && position < range.GetEnd()) { in SplitCover()
220 if (position == range.GetEnd()) { in SplitCover()
Dliveness_analyzer.cpp176 size_t position = 0; in CheckLinearOrder() local
178 block_pos[block->GetId()] = position++; in CheckLinearOrder()
/arkcompiler/runtime_core/docs/
Dcode_metainfo.md194 …s a table with offsets: removed NullCheck instruction position and corresponding SlowPath position.
199 | INST_NATIVE_PC | NullCheck instruction position. |
200 | SLOW_PATH_NATIVE_PC | NullCheck SlowPath position. |
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/graphics/
DXShader.js33 this.shaderFast.position = gl.getAttribLocation(
DX2DFast.js219 gl.vertexAttribPointer(ps.position, 3, gl.FLOAT, false, 4 * 14, 0);
220 gl.enableVertexAttribArray(ps.position);
/arkcompiler/runtime_core/compiler/tests/
Dsplit_resolver_test.cpp40 LifeIntervals *SplitAssignReg(LifeIntervals *source, LifeNumber position, Register reg) in SplitAssignReg() argument
42 auto split = source->SplitAt(position - 1, GetAllocator()); in SplitAssignReg()
47 LifeIntervals *SplitAssignSlot(LifeIntervals *source, LifeNumber position, StackSlot slot) in SplitAssignSlot() argument
49 auto split = source->SplitAt(position - 1, GetAllocator()); in SplitAssignSlot()
54 LifeIntervals *SplitAssignImmSlot(LifeIntervals *source, LifeNumber position, ImmTableSlot slot) in SplitAssignImmSlot() argument
57 auto split = source->SplitAt(position - 1, GetAllocator()); in SplitAssignImmSlot()
/arkcompiler/ets_frontend/test/scripts/performance_test/
Dreadme.md104 **the code will be add before the first position of this**
/arkcompiler/toolchain/tooling/test/
Dpt_types_test.cpp487 ScriptPosition position; in HWTEST_F_L0() local
489 position.SetLine(line); in HWTEST_F_L0()
491 position.SetColumn(column); in HWTEST_F_L0()
492 std::unique_ptr<PtJson> ret = position.ToJson(); in HWTEST_F_L0()

12