Home
last modified time | relevance | path

Searched refs:stackFuncPrototype (Results 1 – 1 of 1) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_private.cpp717 JSHandle<JSObject> stackFuncPrototype = factory->NewEmptyJSObject(); in InitializeStack() local
718 JSHandle<JSTaggedValue> stackFuncPrototypeValue(stackFuncPrototype); in InitializeStack()
724 thread, stackFuncPrototype, ContainersStack::StackConstructor, "Stack", FuncLength::ZERO)); in InitializeStack()
730 …JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(stackFuncPrototype), constructorKey, stackFu… in InitializeStack()
733 SetFrozenFunction(thread, stackFuncPrototype, "push", ContainersStack::Push, FuncLength::ONE); in InitializeStack()
735 …SetFrozenFunction(thread, stackFuncPrototype, "isEmpty", ContainersStack::IsEmpty, FuncLength::ONE… in InitializeStack()
737 SetFrozenFunction(thread, stackFuncPrototype, "peek", ContainersStack::Peek, FuncLength::ONE); in InitializeStack()
739 SetFrozenFunction(thread, stackFuncPrototype, "pop", ContainersStack::Pop, FuncLength::ONE); in InitializeStack()
741 … SetFrozenFunction(thread, stackFuncPrototype, "locate", ContainersStack::Locate, FuncLength::ONE); in InitializeStack()
743 …SetFrozenFunction(thread, stackFuncPrototype, "forEach", ContainersStack::ForEach, FuncLength::ONE, in InitializeStack()
[all …]