Home
last modified time | relevance | path

Searched defs:element (Results 1 – 25 of 114) 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/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/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.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/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/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/runtime_core/static_core/runtime/mem/gc/
Dgc_adaptive_stack_inl.h75 void GCAdaptiveStack<Ref>::PushToStack(Ref element) in PushToStack()
143 auto *element = stackSrc_->back(); in PopFromStack() 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_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.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 JSTaggedValue &element) in Has()
210 JSTaggedValue JSAPILinkedList::GetIndexOf(const JSTaggedValue &element) in GetIndexOf()
216 JSTaggedValue JSAPILinkedList::GetLastIndexOf(const JSTaggedValue &element) in GetLastIndexOf()
/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/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.cpp215 LatticeElement *element = BottomElement::GetInstance(); in VisitCompare() local
233 LatticeElement *element = propagation->FoldingModuleOperation(inst->CastToIntrinsic()); in VisitIntrinsic() local
282 LatticeElement *element = BottomElement::GetInstance(); in VisitCastValueToAnyType() local
311 LatticeElement *element = BottomElement::GetInstance(); in VisitConstant() local
345 … LatticeElement *element = propagation->GetGraph()->GetLocalAllocator()->New<ConstantElement>(val); in VisitLoadString() local
360 LatticeElement *element = TopElement::GetInstance(); in VisitPhi() local
/arkcompiler/jsvm/src/
Dsourcemap.h190 auto element = sources->Get(context, i); in ParseSourceNames() local
288 auto element = arr->Get(context, i); in ParseSections() local
341 v8::Local<v8::Value> element = trace->Get(ctx, i).ToLocalChecked(); in HandleError() local
433 v8::Local<v8::Value> element = trace->Get(ctx, i).ToLocalChecked(); in ParseSourceMap() local
/arkcompiler/ets_runtime/test/moduletest/arrayflatmap/
Darrayflatmap.js40 function testFunction(element, index, array) { argument

12345