Searched refs:queueFuncPrototype (Results 1 – 1 of 1) sorted by relevance
| /arkcompiler/ets_runtime/ecmascript/containers/ |
| D | containers_private.cpp | 853 JSHandle<JSObject> queueFuncPrototype = factory->NewEmptyJSObject(); in InitializeQueue() local 854 JSHandle<JSTaggedValue> queueFuncPrototypeValue(queueFuncPrototype); in InitializeQueue() 860 thread, queueFuncPrototype, ContainersQueue::QueueConstructor, "Queue", FuncLength::ZERO)); in InitializeQueue() 865 …JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(queueFuncPrototype), constructorKey, queueFu… in InitializeQueue() 868 SetFrozenFunction(thread, queueFuncPrototype, "add", ContainersQueue::Add, FuncLength::ONE); in InitializeQueue() 869 …SetFrozenFunction(thread, queueFuncPrototype, "getFirst", ContainersQueue::GetFirst, FuncLength::Z… in InitializeQueue() 870 SetFrozenFunction(thread, queueFuncPrototype, "pop", ContainersQueue::Pop, FuncLength::ZERO); in InitializeQueue() 871 …SetFrozenFunction(thread, queueFuncPrototype, "forEach", ContainersQueue::ForEach, FuncLength::TWO, in InitializeQueue() 875 SetStringTagSymbol(thread, env, queueFuncPrototype, "Queue"); in InitializeQueue() 879 SetGetter(thread, queueFuncPrototype, lengthKey, lengthGetter); in InitializeQueue() [all …]
|