/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/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/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 62 auto *element = allocator->New<panda::pandasm::AnnotationElement>(protoElement.name(), in Deserialize() local
|
/arkcompiler/ets_frontend/es2panda/compiler/base/ |
D | destructuring.cpp | 83 for (const auto *element : array->Elements()) { in GenArray() local 127 const ir::Expression *element, VReg value) in GenObjectProperty() 181 auto *element = properties[0]; in GenObjectWithRest() local 192 for (const auto *element : properties) { in GenObjectWithRest() local 238 for (const auto *element : properties) { in GenObject() local
|
D | literals.cpp | 45 for (const auto *element : templateLit->Quasis()) { in GetTemplateObject() local
|
/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 HasComputedInstanceField() 53 return std::any_of(body_.cbegin(), body_.cend(), [&name](auto *element) { in HasMatchingPrivateKey()
|
/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/compiler/base/ |
D | destructuring.cpp | 84 for (const auto *element : array->Elements()) { in GenArray() local 160 static void GenDefaultInitializer(PandaGen *pg, const ir::Expression *element, const ir::Expression… in GenDefaultInitializer() 191 for (const auto *element : properties) { in GenObjectWithRest() local 245 for (const auto *element : properties) { in GenObject() local
|
D | literals.cpp | 42 for (const auto *element : templateLit->Quasis()) { in GetTemplateObject() local
|
/arkcompiler/ets_runtime/ecmascript/ |
D | tagged_list.cpp | 158 int TaggedList<Derived>::FindIndexByElement(const JSTaggedValue &element) in FindIndexByElement() 176 int TaggedList<Derived>::FindLastIndexByElement(const JSTaggedValue &element) in FindLastIndexByElement() 260 int TaggedList<Derived>::FindPrevNodeByValue(const JSTaggedValue &element) in FindPrevNodeByValue() 377 bool TaggedSingleList::Has(const JSTaggedValue &element) in Has() 398 int TaggedSingleList::GetIndexOf(const JSTaggedValue &element) in GetIndexOf() 403 int TaggedSingleList::GetLastIndexOf(const JSTaggedValue &element) in GetLastIndexOf() 558 JSTaggedValue TaggedSingleList::Remove(JSThread *thread, const JSTaggedValue &element) in Remove() 646 bool TaggedDoubleList::Has(const JSTaggedValue &element) in Has() 685 int TaggedDoubleList::GetIndexOf(const JSTaggedValue &element) in GetIndexOf() 690 int TaggedDoubleList::GetLastIndexOf(const JSTaggedValue &element) in GetLastIndexOf() [all …]
|
D | template_string.cpp | 33 int32_t element = templateMap->FindEntry(rawStringsTag.GetTaggedValue()); in GetTemplateObject() local
|
/arkcompiler/ets_runtime/ecmascript/js_api/ |
D | js_api_linked_list.cpp | 107 JSTaggedValue JSAPILinkedList::Remove(JSThread *thread, const JSTaggedValue &element) in Remove() 118 const JSTaggedValue &element) in RemoveFirstFound() 130 const JSTaggedValue &element) in RemoveLastFound() 191 bool JSAPILinkedList::Has(const JSTaggedValue &element) in Has() 207 JSTaggedValue JSAPILinkedList::GetIndexOf(const JSTaggedValue &element) in GetIndexOf() 213 JSTaggedValue JSAPILinkedList::GetLastIndexOf(const JSTaggedValue &element) in GetLastIndexOf()
|
D | js_api_list.cpp | 90 bool JSAPIList::Has(const JSTaggedValue &element) in Has() 111 JSTaggedValue JSAPIList::GetIndexOf(const JSTaggedValue &element) in GetIndexOf() 117 JSTaggedValue JSAPIList::GetLastIndexOf(const JSTaggedValue &element) in GetLastIndexOf() 146 JSTaggedValue JSAPIList::Remove(JSThread *thread, const JSTaggedValue &element) in Remove()
|
/arkcompiler/runtime_core/static_core/runtime/tests/ |
D | histogram_test.cpp | 92 int element {}; member 105 for (auto element : simpleVector) { in TEST_F() local 121 for (auto element : simpleVector) { in TEST_F() local
|
/arkcompiler/ets_frontend/es2panda/util/ |
D | dumper.cpp | 32 std::visit([](auto&& element) { in DumpLiterals()
|
/arkcompiler/runtime_core/static_core/runtime/mem/gc/ |
D | gc_adaptive_stack.cpp | 80 void GCAdaptiveStack::PushToStack(ObjectHeader *element) in PushToStack() 148 ObjectHeader *element = stackSrc_->back(); in PopFromStack() local
|
/arkcompiler/ets_runtime/ecmascript/containers/ |
D | containers_linked_list.cpp | 255 JSHandle<JSTaggedValue> element = GetCallArg(argv, 0); in Has() local 305 JSHandle<JSTaggedValue> element = GetCallArg(argv, 0); in GetIndexOf() local 326 JSHandle<JSTaggedValue> element(GetCallArg(argv, 0)); in GetLastIndexOf() local 378 JSHandle<JSTaggedValue> element = GetCallArg(argv, 0); in Remove() local 421 JSHandle<JSTaggedValue> element = GetCallArg(argv, 0); in RemoveFirstFound() local 467 JSHandle<JSTaggedValue> element = GetCallArg(argv, 0); in RemoveLastFound() local 491 JSHandle<JSTaggedValue> element = GetCallArg(argv, 1); in Set() local
|
D | containers_vector.cpp | 216 JSHandle<JSTaggedValue> element = GetCallArg(argv, 0); in GetIndexOf() local 238 JSHandle<JSTaggedValue> element = GetCallArg(argv, 0); in GetIndexFrom() local 306 JSHandle<JSTaggedValue> element = GetCallArg(argv, 0); in GetLastIndexOf() local 328 JSHandle<JSTaggedValue> element = GetCallArg(argv, 0); in GetLastIndexFrom() local 357 JSHandle<JSTaggedValue> element = GetCallArg(argv, 0); in Remove() local 432 JSHandle<JSTaggedValue> element = GetCallArg(argv, 1); in Set() local
|
/arkcompiler/ets_runtime/test/moduletest/arrayfind/ |
D | arrayfind.js | 43 function isPrime(element, index, array) { argument
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/ |
D | ets_array.h | 137 void Set(uint32_t index, EtsObject *element) in Set() 222 void Set(uint32_t index, ClassType element) in Set()
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
D | taggedTemplateExpression.cpp | 70 for (const auto *element : quasi_->Expressions()) { in Compile() local
|
/arkcompiler/runtime_core/assembler/ |
D | annotation.cpp | 251 void AnnotationData::SetOrAddElementByIndex(size_t ele_idx, AnnotationElement &&element) in SetOrAddElementByIndex()
|