Home
last modified time | relevance | path

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

12345

/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/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/arrayFindIndexCase/
DfindIndex.js24 const isLargeNumber = (element) => element > 13; argument
35 function isPrime(element) { argument
64 const hasFirst = (element) => element == "first"; argument
/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/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/es2panda/compiler/base/
Ddestructuring.cpp83 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
Dliterals.cpp45 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/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dstd_core_StackTrace.cpp47 …auto element = EtsHandle<EtsStackTraceElement>(coroutine, EtsStackTraceElement::Create(coroutine)); in CreateStackTraceElement() local
70 auto element = EtsHandle<EtsStackTraceElement>(coroutine, CreateStackTraceElement(&stack)); in StdCoreStackTraceProvisionStackTrace() local
/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 HasComputedInstanceField()
53 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
Dliterals.cpp42 for (const auto *element : templateLit->Quasis()) { in GetTemplateObject() local
/arkcompiler/ets_runtime/ecmascript/
Dtagged_list.cpp152 int TaggedList<Derived>::FindIndexByElement(const JSTaggedValue &element) in FindIndexByElement()
170 int TaggedList<Derived>::FindLastIndexByElement(const JSTaggedValue &element) in FindLastIndexByElement()
254 int TaggedList<Derived>::FindPrevNodeByValue(const JSTaggedValue &element) in FindPrevNodeByValue()
371 bool TaggedSingleList::Has(const JSTaggedValue &element) in Has()
392 int TaggedSingleList::GetIndexOf(const JSTaggedValue &element) in GetIndexOf()
397 int TaggedSingleList::GetLastIndexOf(const JSTaggedValue &element) in GetLastIndexOf()
555 JSTaggedValue TaggedSingleList::Remove(JSThread *thread, const JSTaggedValue &element) in Remove()
669 bool TaggedDoubleList::Has(const JSTaggedValue &element) in Has()
708 int TaggedDoubleList::GetIndexOf(const JSTaggedValue &element) in GetIndexOf()
713 int TaggedDoubleList::GetLastIndexOf(const JSTaggedValue &element) in GetLastIndexOf()
[all …]
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_linked_list.cpp112 JSTaggedValue JSAPILinkedList::Remove(JSThread *thread, const JSTaggedValue &element) in Remove()
123 const JSTaggedValue &element) in RemoveFirstFound()
135 const JSTaggedValue &element) in RemoveLastFound()
200 bool JSAPILinkedList::Has(const JSTaggedValue &element) in Has()
216 JSTaggedValue JSAPILinkedList::GetIndexOf(const JSTaggedValue &element) in GetIndexOf()
222 JSTaggedValue JSAPILinkedList::GetLastIndexOf(const JSTaggedValue &element) in GetLastIndexOf()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
Dgc_adaptive_stack.cpp80 void GCAdaptiveStack::PushToStack(ObjectHeader *element) in PushToStack()
148 ObjectHeader *element = stackSrc_->back(); in PopFromStack() local
/arkcompiler/ets_frontend/es2panda/util/
Ddumper.cpp32 std::visit([](auto&& element) { in DumpLiterals()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_linked_list.cpp253 JSHandle<JSTaggedValue> element = GetCallArg(argv, 0); in Has() local
306 JSHandle<JSTaggedValue> element = GetCallArg(argv, 0); in GetIndexOf() local
327 JSHandle<JSTaggedValue> element(GetCallArg(argv, 0)); in GetLastIndexOf() local
382 JSHandle<JSTaggedValue> element = GetCallArg(argv, 0); in Remove() local
425 JSHandle<JSTaggedValue> element = GetCallArg(argv, 0); in RemoveFirstFound() local
471 JSHandle<JSTaggedValue> element = GetCallArg(argv, 0); in RemoveLastFound() local
495 JSHandle<JSTaggedValue> element = GetCallArg(argv, 1); in Set() local
/arkcompiler/ets_runtime/test/moduletest/arrayfind/
Darrayfind.js43 function isPrime(element, index, array) { argument
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
Dets_shared_memory-inl.h52 void EtsSharedMemory::SetElement(uint32_t index, T element) in SetElement()
Dets_array.h136 void Set(uint32_t index, Component *element) in Set()
151 void Set(uint32_t index, Component *element, std::memory_order memoryOrder) in Set()
235 void Set(uint32_t index, ClassType element) in Set()
/arkcompiler/runtime_core/bytecode_optimizer/constant_propagation/
Dconstant_propagation.cpp219 LatticeElement *element = BottomElement::GetInstance(); in VisitCompare() local
237 LatticeElement *element = propagation->FoldingModuleOperation(inst->CastToIntrinsic()); in VisitIntrinsic() local
286 LatticeElement *element = BottomElement::GetInstance(); in VisitCastValueToAnyType() local
315 LatticeElement *element = BottomElement::GetInstance(); in VisitConstant() local
349 … LatticeElement *element = propagation->GetGraph()->GetLocalAllocator()->New<ConstantElement>(val); in VisitLoadString() local
364 LatticeElement *element = TopElement::GetInstance(); in VisitPhi() local
/arkcompiler/ets_frontend/ets2panda/checker/
Dchecker.h234 …explicit NamedTypeStackElement(Checker *checker, Type *element) : checker_(checker), element_(elem… in NamedTypeStackElement()
253 …explicit TypeStackElement(Checker *checker, void *element, std::initializer_list<TypeErrorMessageE… in TypeStackElement()
262 …explicit TypeStackElement(Checker *checker, void *element, std::string_view err, const lexer::Sour… in TypeStackElement()

12345