Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_private.cpp716 JSHandle<JSObject> stackFuncPrototype = factory->NewEmptyJSObject(); in InitializeStack() local
717 JSHandle<JSTaggedValue> stackFuncPrototypeValue(stackFuncPrototype); in InitializeStack()
723 thread, stackFuncPrototype, ContainersStack::StackConstructor, "Stack", FuncLength::ZERO)); in InitializeStack()
729 …JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(stackFuncPrototype), constructorKey, stackFu… in InitializeStack()
732 SetFrozenFunction(thread, stackFuncPrototype, "push", ContainersStack::Push, FuncLength::ONE); in InitializeStack()
734 …SetFrozenFunction(thread, stackFuncPrototype, "isEmpty", ContainersStack::IsEmpty, FuncLength::ONE… in InitializeStack()
736 SetFrozenFunction(thread, stackFuncPrototype, "peek", ContainersStack::Peek, FuncLength::ONE); in InitializeStack()
738 SetFrozenFunction(thread, stackFuncPrototype, "pop", ContainersStack::Pop, FuncLength::ONE); in InitializeStack()
740 … SetFrozenFunction(thread, stackFuncPrototype, "locate", ContainersStack::Locate, FuncLength::ONE); in InitializeStack()
742 …SetFrozenFunction(thread, stackFuncPrototype, "forEach", ContainersStack::ForEach, FuncLength::ONE, in InitializeStack()
[all …]