Home
last modified time | relevance | path

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

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