Searched refs:mapFuncPrototype (Results 1 - 2 of 2) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/containers/ |
H A D | containers_private.cpp | 487 JSHandle<JSObject> mapFuncPrototype = factory->NewEmptyJSObject(); in InitializeTreeMap() local 488 JSHandle<JSTaggedValue> mapFuncPrototypeValue(mapFuncPrototype); in InitializeTreeMap() 494 thread, mapFuncPrototype, ContainersTreeMap::TreeMapConstructor, "TreeMap", FuncLength::ZERO)); in InitializeTreeMap() 500 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(mapFuncPrototype), constructorKey, mapFunction); in InitializeTreeMap() 503 SetFrozenFunction(thread, mapFuncPrototype, "set", ContainersTreeMap::Set, FuncLength::TWO); in InitializeTreeMap() 504 SetFrozenFunction(thread, mapFuncPrototype, "get", ContainersTreeMap::Get, FuncLength::ONE); in InitializeTreeMap() 505 SetFrozenFunction(thread, mapFuncPrototype, "remove", ContainersTreeMap::Remove, FuncLength::ONE); in InitializeTreeMap() 506 SetFrozenFunction(thread, mapFuncPrototype, "hasKey", ContainersTreeMap::HasKey, FuncLength::ONE); in InitializeTreeMap() 507 SetFrozenFunction(thread, mapFuncPrototype, "hasValue", ContainersTreeMap::HasValue, FuncLength::ONE); in InitializeTreeMap() 508 SetFrozenFunction(thread, mapFuncPrototype, "getFirstKe in InitializeTreeMap() [all...] |
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins.cpp | 1421 JSHandle<JSObject> mapFuncPrototype = factory_->NewJSObjectWithInit(mapFuncPrototypeHClass); in InitializeMap() local 1422 JSHandle<JSTaggedValue> mapFuncPrototypeValue(mapFuncPrototype); in InitializeMap() 1430 NewBuiltinConstructor(env, mapFuncPrototype, BuiltinsMap::MapConstructor, "Map", FunctionLength::ZERO, in InitializeMap() 1439 JSObject::SetProperty(thread_, JSHandle<JSTaggedValue>(mapFuncPrototype), constructorKey, mapFunction); in InitializeMap() 1443 SetFunction(env, mapFuncPrototype, entry.GetName(), entry.GetEntrypoint(), in InitializeMap() 1447 SetStringTagSymbol(env, mapFuncPrototype, "Map"); in InitializeMap() 1452 SetGetter(mapFuncPrototype, sizeKey, sizeGetter); in InitializeMap() 1464 JSObject::GetMethod(thread_, JSHandle<JSTaggedValue>::Cast(mapFuncPrototype), entries); in InitializeMap() 1467 JSObject::DefineOwnProperty(thread_, mapFuncPrototype, iteratorSymbol, descriptor); in InitializeMap() 1470 env->SetMapPrototype(thread_, mapFuncPrototype); in InitializeMap() [all...] |
Completed in 7 milliseconds