/arkcompiler/runtime_core/libpandabase/utils/ |
D | list.h | 234 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() 259 * Erase elements in range (position, last) [all …]
|
D | span.h | 178 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()
|
D | bit_field.h | 31 static_assert(start < sizeof(uint64_t) * BITS_PER_BYTE, "Invalid position"); 34 static_assert(bits_num + start <= sizeof(uint64_t) * BITS_PER_BYTE, "Invalid position + size");
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | externModuleClobber.ts | 22 export class Position { } 25 public getPosition() : EM.Position; 29 let x:EM.Position; 30 AssertType(x, "EM.Position"); 40 AssertType(x = ec.getPosition(), "EM.Position"); 41 AssertType(x, "EM.Position"); 42 AssertType(ec.getPosition(), "EM.Position"); 43 AssertType(ec.getPosition, "() => EM.Position");
|
D | moduleMemberWithoutTypeAnnotation1.ts | 50 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) {
|
D | withExportDecl.ts | 44 let withComplicatedValue = { x: 30, y: 70, desc: "position" }; 46 AssertType({ x: 30, y: 70, desc: "position" }, "{ x: number; y: number; desc: string; }"); 52 AssertType("position", "string"); 54 export let exportedWithComplicatedValue = { x: 30, y: 70, desc: "position" }; 56 AssertType({ x: 30, y: 70, desc: "position" }, "{ x: number; y: number; desc: string; }"); 62 AssertType("position", "string");
|
D | vardecl.ts | 37 let withComplicatedValue = { x: 30, y: 70, desc: "position" }; 39 AssertType({ x: 30, y: 70, desc: "position" }, "{ x: number; y: number; desc: string; }"); 45 AssertType("position", "string");
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
D | location_mask.h | 53 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/ets_runtime/ecmascript/builtins/ |
D | builtins_string_iterator.cpp | 47 // 6. Let position be the value of the [[StringIteratorNextIndex]] internal slot of O. in Next() 48 uint32_t position = thisValue.GetObject<JSStringIterator>()->GetStringIteratorNextIndex(); in Next() local 52 // If position ≥ len, then in Next() 55 if (position >= len) { in Next() 61 // 9. Let first be the code unit value at index position in s. in Next() 62 uint16_t first = EcmaStringAccessor(string.GetObject<EcmaString>()).Get<false>(position); in Next() 65 …// 10. If first < 0xD800 or first > 0xDBFF or position+1 = len, let resultString be the string con… in Next() 68 if (position + 1 == len || first < base::utf_helper::DECODE_LEAD_LOW || in Next() 74 // a. Let second be the code unit value at index position+1 in the String S. in Next() 78 … uint16_t second = EcmaStringAccessor(string.GetObject<EcmaString>()).Get<false>(position + 1); in Next() [all …]
|
/arkcompiler/ets_frontend/merge_abc/src/ |
D | ideHelpersProto.cpp | 39 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()
|
D | ideHelpersProto.h | 32 static void Serialize(const panda::pandasm::SourcePosition &position, 34 …rialize(const protoPanda::SourcePosition &protoPosition, panda::pandasm::SourcePosition &position);
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | c_string.h | 78 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()
|
D | dyn_chunk.cpp | 54 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()
|
/arkcompiler/runtime_core/libpandabase/tests/ |
D | mem_range_test.cpp | 200 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/ |
D | README.md | 10 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/ets_runtime/ecmascript/base/tests/ |
D | gc_ring_buffer_test.cpp | 53 …* to each position of the container, and when the maximum length is reached, overwrite t… 99 …* @tc.desc: Set the subscript of the start position and the subscript of the end position of the c… 100 …* The next time you store data, store it from the first position. then call the "Count" …
|
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/graphics/shaders/ |
D | shader_fast.js | 17 attribute vec3 position; 34 vec4 tv=vec4(position.x, position.y, position.z, 1.0)*tmpMat*uMat;
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | builtins_base.h | 52 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/ets_runtime/test/typeinfer/automatedcases/withImportDecl/ |
D | withImportDecl_1.ts | 38 let withComplicatedValue = { x: 30, y: 70, desc: "position" }; 40 AssertType({ x: 30, y: 70, desc: "position" }, "{ x: number; y: number; desc: string; }"); 46 AssertType("position", "string");
|
/arkcompiler/ets_runtime/tools/circuit_viewer/dist/ |
D | index.html | 17 position: absolute; 23 position: absolute;
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_date_time_format_test.cpp | 109 keyArray->Set(thread, 0, globalConst->GetHandledYearString()); // 0 : 0 first position in BuiltinsDateTimeOptionsSet() 110 keyArray->Set(thread, 1, globalConst->GetHandledMonthString()); // 1 : 1 second position in BuiltinsDateTimeOptionsSet() 111 keyArray->Set(thread, 2, globalConst->GetHandledDayString()); // 2 : 2 third position in BuiltinsDateTimeOptionsSet() 112 keyArray->Set(thread, 3, globalConst->GetHandledHourString()); // 3 : 3 fourth position in BuiltinsDateTimeOptionsSet() 113 keyArray->Set(thread, 4, globalConst->GetHandledMinuteString()); // 4 : 4 fifth position in BuiltinsDateTimeOptionsSet() 114 keyArray->Set(thread, 5, globalConst->GetHandledSecondString()); // 5 : 5 sixth position in BuiltinsDateTimeOptionsSet() 492 keyArray->Set(thread, 0, globalConst->GetHandledYearString()); // 0 : 0 first position in JSDateTimeFormatForObj_001() 493 keyArray->Set(thread, 1, globalConst->GetHandledMonthString()); // 1 : 1 second position in JSDateTimeFormatForObj_001() 494 keyArray->Set(thread, 2, globalConst->GetHandledDayString()); // 2 : 2 third position in JSDateTimeFormatForObj_001() 495 keyArray->Set(thread, 3, globalConst->GetHandledHourString()); // 3 : 3 fourth position in JSDateTimeFormatForObj_001() [all …]
|
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/graphics/ |
D | XShader.js | 33 this.shaderFast.position = gl.getAttribLocation( 35 'position'
|
/arkcompiler/runtime_core/docs/ |
D | code_metainfo.md | 194 …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/runtime_core/libpandabase/mem/ |
D | gc_barrier.h | 45 constexpr uint8_t BARRIER_POS_OFFSET = 0U; // offset in bits for encoding position of barrier… 49 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/ets_runtime/ecmascript/ts_types/ |
D | global_ts_type_ref.h | 63 * Indicates the position of the iterator object in the runtime table. 64 * Position 0 in the runtime table stores the number of existing types, so start from 1.
|