| /arkcompiler/ets_runtime/test/moduletest/arrayfindlastindex/ |
| D | arrayfindlastindex.js | 33 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/ |
| D | arrayfindlast.js | 66 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/ |
| D | findIndex.js | 24 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/ |
| D | ets_arraybuffer-inl.h | 85 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()
|
| D | ets_array.h | 203 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/ |
| D | ring_buffer_test.cpp | 53 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/ |
| D | ring_buffer_test.cpp | 53 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/ |
| D | escompat_Array.cpp | 87 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 …]
|
| D | std_core_StackTrace.cpp | 48 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/ |
| D | compiler_queue_counter_priority.h | 96 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
|
| D | compiler_queue_aged_counter_priority.h | 46 bool UpdateCounterAndCheck(CompilationQueueElement *element) override in UpdateCounterAndCheck()
|
| /arkcompiler/ets_frontend/merge_abc/src/ |
| D | annotationProto.cpp | 22 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/ |
| D | etsResizableArrayType.h | 41 Type *element) in ETSResizableArrayType() 72 void SetElementType(Type *element) in SetElementType()
|
| D | etsArrayType.h | 36 void SetElementType(Type *element) in SetElementType()
|
| /arkcompiler/ets_frontend/es2panda/compiler/base/ |
| D | destructuring.cpp | 80 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
|
| D | literals.cpp | 44 for (const auto *element : templateLit->Quasis()) { in GetTemplateObject() local
|
| /arkcompiler/runtime_core/static_core/runtime/include/ |
| D | histogram-inl.h | 46 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/ |
| D | classDefinition.cpp | 38 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/ |
| D | destructuring.cpp | 73 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/ |
| D | gc_adaptive_stack_inl.h | 75 void GCAdaptiveStack<Ref>::PushToStack(Ref element) in PushToStack() 144 auto *element = stackSrc_->back(); in PopFromStack() local
|
| /arkcompiler/runtime_core/assembler/ |
| D | annotation.cpp | 251 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/ |
| D | arrayfind.js | 43 function isPrime(element, index, array) { argument
|
| /arkcompiler/ets_runtime/ecmascript/js_api/ |
| D | js_api_linked_list.cpp | 106 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/ |
| D | tagged_list.cpp | 152 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/ |
| D | SparseBitVector.ts | 311 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
|