Home
last modified time | relevance | path

Searched full:position (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/arkcompiler/runtime_core/static_core/irtoc/lang/
Dregmask.rb72 def []=(position, value) argument
73 position = @regmap[position] if position.is_a? Symbol
74 raise "Wrong `position` type" unless position.is_a? Integer
76 @value |= (1 << position)
78 @value &= ~(1 << position)
82 def [](position) argument
83 position = @regmap[position] if position.is_a? Symbol
84 raise "Wrong `position` type" unless position.is_a? Integer
85 @value & (1 << position) != 0
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dlist.h230 Iterator InsertAfter(ConstIterator position, ValueType &value) in InsertAfter() argument
233 newNode->next_ = position.node_->next_; in InsertAfter()
234 position.node_->next_ = newNode; in InsertAfter()
238 Iterator InsertAfter(ConstIterator position, InputIterator first, InputIterator last) in InsertAfter() argument
241 position = InsertAfter(position, *first++); in InsertAfter()
243 return Iterator(position.node_); in InsertAfter()
246 Iterator EraseAfter(ConstIterator position) in EraseAfter() argument
248 ConstIterator last = position; in EraseAfter()
251 return EraseAfter(position, last); in EraseAfter()
254 /// Erase elements in range (position, last)
[all …]
Dspan.h177 Span SubSpan(size_t position, size_t length) const in SubSpan() argument
179 ASSERT((position + length) <= size_); in SubSpan()
180 … return Span(data_ + position, length); // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in SubSpan()
183 Span SubSpan(size_t position) const in SubSpan() argument
185 ASSERT(position <= size_); in SubSpan()
187 return Span(data_ + position, size_ - position); in SubSpan()
191 Span<SubT> SubSpan(size_t position, size_t length) const in SubSpan() argument
193 ASSERT((position * sizeof(T) + length * sizeof(SubT)) <= (size_ * sizeof(T))); in SubSpan()
194 ASSERT(((reinterpret_cast<uintptr_t>(data_ + position)) % alignof(SubT)) == 0); in SubSpan()
196 return Span<SubT>(reinterpret_cast<SubT *>(data_ + position), length); in SubSpan()
/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()
259 * Erase elements in range (position, last)
[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/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/
Dlocation_mask.h50 void Set(size_t position) in Set() argument
52 ASSERT(position < mask_.size()); in Set()
53 mask_[position] = true; in Set()
54 usage_[position] = true; in Set()
57 void Reset(size_t position) in Reset() argument
59 ASSERT(position < mask_.size()); in Reset()
60 mask_[position] = false; in Reset()
63 bool IsSet(size_t position) const in IsSet() argument
65 ASSERT(position < mask_.size()); in IsSet()
66 return mask_[position]; in IsSet()
/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/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()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_string_iterator.cpp47 // 6. Let position be the value of the [[StringIteratorNextIndex]] internal slot of O. in NextInternal()
48 uint32_t position = thisValue.GetObject<JSStringIterator>()->GetStringIteratorNextIndex(); in NextInternal() local
52 // If position ≥ len, then in NextInternal()
55 if (position >= len) { in NextInternal()
61 // 9. Let first be the code unit value at index position in s. in NextInternal()
62 uint16_t first = EcmaStringAccessor(string.GetObject<EcmaString>()).Get<false>(position); in NextInternal()
65 …// 10. If first < 0xD800 or first > 0xDBFF or position+1 = len, let resultString be the string con… in NextInternal()
68 if (position + 1 == len || first < base::utf_helper::DECODE_LEAD_LOW || in NextInternal()
79 // a. Let second be the code unit value at index position+1 in the String S. in NextInternal()
83 … uint16_t second = EcmaStringAccessor(string.GetObject<EcmaString>()).Get<false>(position + 1); in NextInternal()
[all …]
/arkcompiler/ets_frontend/ets2panda/util/
Dpath.cpp53 int position = path_.Mutf8().find_last_of(PATH_DELIMITER); in InitializeFileName() local
55 util::StringView fileName = path_.Substr(position + 1, path_.Length()); in InitializeFileName()
70 size_t position = path_.Mutf8().find_last_of('.'); in InitializeFileExtension() local
71 if (position != std::string::npos && position + 1 <= path_.Length()) { in InitializeFileExtension()
72 fileExtension_ = path_.Substr(position + 1, path_.Length()); in InitializeFileExtension()
82 int position = absolutePath_.Mutf8().find_last_of(PATH_DELIMITER); in InitializeAbsoluteParentFolder() local
85 absoluteParentFolder_ = absolutePath_.Substr(0, position); in InitializeAbsoluteParentFolder()
95 int position = path_.Mutf8().find_last_of(PATH_DELIMITER); in InitializeParentFolder() local
97 parentFolder_ = path_.Substr(0, position); in InitializeParentFolder()
/arkcompiler/ets_runtime/ecmascript/serializer/
Dserialize_data.h245 uint8_t ReadUint8(size_t &position) in ReadUint8() argument
247 ASSERT(position < Size()); in ReadUint8()
248 return *(buffer_ + (position++)); in ReadUint8()
261 uint32_t ReadUint32(size_t &position) in ReadUint32() argument
263 ASSERT(position < Size()); in ReadUint32()
264 uint32_t value = *reinterpret_cast<uint32_t *>(buffer_ + position); in ReadUint32()
265 position += sizeof(uint32_t); in ReadUint32()
284 JSTaggedType ReadJSTaggedType(size_t &position) in ReadJSTaggedType() argument
286 ASSERT(position < Size()); in ReadJSTaggedType()
287 JSTaggedType value = *reinterpret_cast<uint64_t *>(buffer_ + position); in ReadJSTaggedType()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/01.overload-equivalent_signatures/
Doverload_equivalent_example_1.sts20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter…
21 same position in S2 is any reference type or type parameter;
22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
23 position in S2 is also G with any list of type arguments;
Doverload_equivalent_example_0.sts20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter…
21 same position in S2 is any reference type or type parameter;
22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
23 position in S2 is also G with any list of type arguments;
Doverload_equivalent_example_5.sts20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter…
21 same position in S2 is any reference type or type parameter;
22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
23 position in S2 is also G with any list of type arguments;
Doverload_equivalent_example_4.sts20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter…
21 same position in S2 is any reference type or type parameter;
22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
23 position in S2 is also G with any list of type arguments;
Doverload_equivalent_example_7.sts20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter…
21 same position in S2 is any reference type or type parameter;
22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
23 position in S2 is also G with any list of type arguments;
Doverload_equivalent_example_3.sts20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter…
21 same position in S2 is any reference type or type parameter;
22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
23 position in S2 is also G with any list of type arguments;
Doverload_equivalent_example_8.sts20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter…
21 same position in S2 is any reference type or type parameter;
22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
23 position in S2 is also G with any list of type arguments;
Doverload_equivalent_example_6.sts20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter…
21 same position in S2 is any reference type or type parameter;
22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
23 position in S2 is also G with any list of type arguments;
Doverload_equivalent_example_2.sts20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter…
21 same position in S2 is any reference type or type parameter;
22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
23 position in S2 is also G with any list of type arguments;
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/03.overloading_for_functions/
Dfunction_argument_equivalent_neg_n2.sts22 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter…
23 same position in S2 is any reference type or type parameter;
24 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
25 position in S2 is also G with any list of type arguments;
Dfunction_argument_equivalent_neg.sts22 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter…
23 same position in S2 is any reference type or type parameter;
24 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
25 position in S2 is also G with any list of type arguments;
Dfunction_argument_equivalent_n.sts20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter…
21 same position in S2 is any reference type or type parameter;
22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
23 position in S2 is also G with any list of type arguments;
Dfunction_argument_equivalent.sts20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter…
21 same position in S2 is any reference type or type parameter;
22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at…
23 position in S2 is also G with any list of type arguments;
/arkcompiler/ets_runtime/tools/ap_file_viewer/src/ap/
DApApplicationPublicFunc.js31 position: fixed;
50 position: relative;
55 position: absolute;
114 position:relative;
120 position: absolute;
163 <div class="root" style="position: relative;">
166 <div class="search" style="position: relative;">
177 …<ap-welcome style="visibility:visible;top:0px;left:0px;position:absolute;z-index: 100" id="ap-welc…

12345678910>>...12