Home
last modified time | relevance | path

Searched defs:element (Results 1 – 25 of 137) sorted by relevance

123456

/arkcompiler/ets_runtime/test/moduletest/arrayfindlastindex/
Darrayfindlastindex.js33 function testFunction(element, index, array) { argument
50 function fun1(element) { argument
60 function func2(element, index, arr) { argument
67 function func3(element, index, arr) { argument
/arkcompiler/ets_runtime/test/moduletest/arrayfindlast/
Darrayfindlast.js66 function testFunction(element, index, array) { argument
83 function fun1(element){ argument
93 function func2(element, index, arr) { argument
100 function func3(element, index, arr) { argument
/arkcompiler/ets_runtime/test/moduletest/arrayFindIndexCase/
DfindIndex.js24 const isLargeNumber = (element) => element > 13; argument
35 function isPrime(element) { argument
64 const hasFirst = (element) => element == "first"; argument
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
Dets_arraybuffer-inl.h85 void EtsEscompatArrayBuffer::SetElement(uint32_t index, uint32_t byteOffset, T element) in SetElement()
103 void EtsEscompatArrayBuffer::SetVolatileElement(uint32_t index, uint32_t byteOffset, T element) in SetVolatileElement()
121 T EtsEscompatArrayBuffer::ExchangeElement(uint32_t index, uint32_t byteOffset, T element) in ExchangeElement()
131 T EtsEscompatArrayBuffer::GetAndAdd(uint32_t index, uint32_t byteOffset, T element) in GetAndAdd()
141 T EtsEscompatArrayBuffer::GetAndSub(uint32_t index, uint32_t byteOffset, T element) in GetAndSub()
151 T EtsEscompatArrayBuffer::GetAndBitwiseOr(uint32_t index, uint32_t byteOffset, T element) in GetAndBitwiseOr()
161 T EtsEscompatArrayBuffer::GetAndBitwiseAnd(uint32_t index, uint32_t byteOffset, T element) in GetAndBitwiseAnd()
171 T EtsEscompatArrayBuffer::GetAndBitwiseXor(uint32_t index, uint32_t byteOffset, T element) in GetAndBitwiseXor()
Dets_array.h203 void Set(uint32_t index, Component *element) in Set()
218 void Fill(Component *element, uint32_t start, uint32_t end) in Fill()
227 void Set(uint32_t index, Component *element, std::memory_order memoryOrder) in Set()
329 void Set(uint32_t index, ClassType element) in Set()
337 void SetVolatile(uint32_t index, uint32_t byteOffset, ClassType element) in SetVolatile()
/arkcompiler/runtime_core/libpandabase/tests/
Dring_buffer_test.cpp53 for (const auto &element : buffer) { in TEST() local
69 for (const auto &element : buffer) { in TEST() local
122 for (const auto &element : buffer) { in TEST() local
/arkcompiler/runtime_core/static_core/libpandabase/tests/
Dring_buffer_test.cpp53 for (const auto &element : buffer) { in TEST() local
69 for (const auto &element : buffer) { in TEST() local
122 for (const auto &element : buffer) { in TEST() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Descompat_Array.cpp87 auto element = buffer->Get(index); in EtsEscompatArrayIndexOfString() local
100 auto element = buffer->Get(index); in EtsEscompatArrayLastIndexOfString() local
114 auto element = buffer->Get(index); in EtsEscompatArrayIndexOfEnum() local
131 auto element = buffer->Get(index); in EtsEscompatArrayLastIndexOfEnum() local
147 auto element = buffer->Get(index); in EtsEscompatArrayIndexOfNull() local
158 auto element = buffer->Get(index); in EtsEscompatArrayIndexOfUndefined() local
169 auto element = buffer->Get(index); in EtsEscompatArrayLastIndexOfUndefined() local
180 auto element = buffer->Get(index); in EtsEscompatArrayLastIndexOfNull() local
192 auto element = buffer->Get(index); in EtsEscompatArrayIndexOfBigInt() local
206 auto element = buffer->Get(index); in EtsEscompatArrayLastIndexOfBigInt() local
[all …]
Dstd_core_StackTrace.cpp48 auto element = EtsHandle<EtsStackTraceElement>(coroutine, stackTraceElement); in CreateStackTraceElement() local
71 auto element = EtsHandle<EtsStackTraceElement>(coroutine, CreateStackTraceElement(&stack)); in StdCoreStackTraceProvisionStackTrace() local
/arkcompiler/runtime_core/static_core/runtime/
Dcompiler_queue_counter_priority.h96 auto element = queue_.back(); in GetTask() local
120 auto element = allocator_->New<CompilationQueueElement>(std::move(ctx)); variable
140 virtual bool UpdateCounterAndCheck(CompilationQueueElement *element) in UpdateCounterAndCheck()
178 auto element = *it; in UpdateQueue() local
Dcompiler_queue_aged_counter_priority.h46 bool UpdateCounterAndCheck(CompilationQueueElement *element) override in UpdateCounterAndCheck()
/arkcompiler/ets_frontend/merge_abc/src/
DannotationProto.cpp22 for (const auto &element : anno.GetElements()) { in Serialize() local
32 …panda::pandasm::AnnotationElement &element = AnnotationElement::Deserialize(protoElement, allocato… in Deserialize() local
37 void AnnotationElement::Serialize(const panda::pandasm::AnnotationElement &element, in Serialize()
57 auto *element = allocator->New<panda::pandasm::AnnotationElement>(protoElement.name(), in Deserialize() local
63 auto *element = allocator->New<panda::pandasm::AnnotationElement>(protoElement.name(), in Deserialize() local
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/
DetsResizableArrayType.h41 Type *element) in ETSResizableArrayType()
72 void SetElementType(Type *element) in SetElementType()
DetsArrayType.h36 void SetElementType(Type *element) in SetElementType()
/arkcompiler/ets_frontend/es2panda/compiler/base/
Ddestructuring.cpp80 for (const auto *element : array->Elements()) { in GenArray() local
124 const ir::Expression *element, VReg value) in GenObjectProperty()
178 auto *element = properties[0]; in GenObjectWithRest() local
189 for (const auto *element : properties) { in GenObjectWithRest() local
235 for (const auto *element : properties) { in GenObject() local
Dliterals.cpp44 for (const auto *element : templateLit->Quasis()) { in GetTemplateObject() local
/arkcompiler/runtime_core/static_core/runtime/include/
Dhistogram-inl.h46 void SimpleHistogram<Value>::AddValue(const Value &element, size_t number) in AddValue()
89 void Histogram<Value>::AddValue(const Value &element, size_t number) in AddValue()
/arkcompiler/ets_frontend/ets2panda/ir/base/
DclassDefinition.cpp38 return std::any_of(body_.cbegin(), body_.cend(), [](auto *element) { in HasPrivateMethod()
45 return std::any_of(body_.cbegin(), body_.cend(), [](auto *element) { in HasNativeMethod()
52 return std::any_of(body_.cbegin(), body_.cend(), [](auto *element) { in HasComputedInstanceField()
60 return std::any_of(body_.cbegin(), body_.cend(), [&name](auto *element) { in HasMatchingPrivateKey()
/arkcompiler/ets_frontend/ets2panda/compiler/base/
Ddestructuring.cpp73 for (const auto *element : array->Elements()) { in GenElement() local
165 static void GenDefaultInitializer(PandaGen *pg, const ir::Expression *element, const ir::Expression… in GenDefaultInitializer()
196 for (const auto *element : properties) { in GenObjectWithRest() local
250 for (const auto *element : properties) { in GenObject() local
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
Dgc_adaptive_stack_inl.h75 void GCAdaptiveStack<Ref>::PushToStack(Ref element) in PushToStack()
144 auto *element = stackSrc_->back(); in PopFromStack() local
/arkcompiler/runtime_core/assembler/
Dannotation.cpp251 void AnnotationData::SetOrAddElementByIndex(size_t ele_idx, AnnotationElement &&element) in SetOrAddElementByIndex()
275 for (auto &element : elements_) { in EnumerateAnnotationElements() local
/arkcompiler/ets_runtime/test/moduletest/arrayfind/
Darrayfind.js43 function isPrime(element, index, array) { argument
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_linked_list.cpp106 JSTaggedValue JSAPILinkedList::Remove(JSThread *thread, const JSTaggedValue &element) in Remove()
117 const JSTaggedValue &element) in RemoveFirstFound()
129 const JSTaggedValue &element) in RemoveLastFound()
194 bool JSAPILinkedList::Has(const JSThread *thread, const JSTaggedValue &element) in Has()
210 JSTaggedValue JSAPILinkedList::GetIndexOf(const JSThread *thread, const JSTaggedValue &element) in GetIndexOf()
216 JSTaggedValue JSAPILinkedList::GetLastIndexOf(const JSThread *thread, const JSTaggedValue &element) in GetLastIndexOf()
/arkcompiler/ets_runtime/ecmascript/
Dtagged_list.cpp152 int TaggedList<Derived>::FindIndexByElement(const JSThread *thread, const JSTaggedValue &element) in FindIndexByElement()
170 …t TaggedList<Derived>::FindLastIndexByElement(const JSThread *thread, const JSTaggedValue &element) in FindLastIndexByElement()
254 int TaggedList<Derived>::FindPrevNodeByValue(const JSThread *thread, const JSTaggedValue &element) in FindPrevNodeByValue()
371 bool TaggedSingleList::Has(const JSThread *thread, const JSTaggedValue &element) in Has()
392 int TaggedSingleList::GetIndexOf(const JSThread *thread, const JSTaggedValue &element) in GetIndexOf()
397 int TaggedSingleList::GetLastIndexOf(const JSThread *thread, const JSTaggedValue &element) in GetLastIndexOf()
555 JSTaggedValue TaggedSingleList::Remove(JSThread *thread, const JSTaggedValue &element) in Remove()
669 bool TaggedDoubleList::Has(const JSThread *thread, const JSTaggedValue &element) in Has()
708 int TaggedDoubleList::GetIndexOf(const JSThread *thread, const JSTaggedValue &element) in GetIndexOf()
713 int TaggedDoubleList::GetLastIndexOf(const JSThread *thread, const JSTaggedValue &element) in GetLastIndexOf()
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/utils/
DSparseBitVector.ts311 const element = this.elements.get(elementIndex); constant
345 for (const [idx, element] of this.elements) { constant
522 for (const [elementIndex, element] of this.elements) { constant

123456