Home
last modified time | relevance | path

Searched refs:funcPrototype (Results 1 - 4 of 4) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/containers/
H A Dcontainers_private.cpp347 JSHandle<JSObject> funcPrototype = factory->NewEmptyJSObject(); in InitializeLightWeightMap() local
348 JSHandle<JSTaggedValue> mapFuncPrototypeValue(funcPrototype); in InitializeLightWeightMap()
352 thread, funcPrototype, ContainersLightWeightMap::LightWeightMapConstructor, "LightWeightMap", in InitializeLightWeightMap()
359 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(funcPrototype), constructorKey, lightWeightMapFunction); in InitializeLightWeightMap()
363 SetFrozenFunction(thread, funcPrototype, "hasAll", ContainersLightWeightMap::HasAll, FuncLength::ONE); in InitializeLightWeightMap()
364 SetFrozenFunction(thread, funcPrototype, "hasKey", ContainersLightWeightMap::HasKey, FuncLength::ONE); in InitializeLightWeightMap()
365 SetFrozenFunction(thread, funcPrototype, "hasValue", ContainersLightWeightMap::HasValue, FuncLength::ONE); in InitializeLightWeightMap()
366 SetFrozenFunction(thread, funcPrototype, "increaseCapacityTo", ContainersLightWeightMap::IncreaseCapacityTo, in InitializeLightWeightMap()
368 SetFrozenFunction(thread, funcPrototype, "entries", ContainersLightWeightMap::Entries, FuncLength::ONE); in InitializeLightWeightMap()
369 SetFrozenFunction(thread, funcPrototype, "ge in InitializeLightWeightMap()
421 JSHandle<JSObject> funcPrototype = factory->NewEmptyJSObject(); InitializeLightWeightSet() local
[all...]
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_hclass_test.cpp326 JSHandle<JSTaggedValue> funcPrototype = env->GetFunctionPrototype(); in HWTEST_F_L0() local
345 JSHandle<JSHClass> newClass = JSHClass::TransitionProto(thread, objClass, funcPrototype); in HWTEST_F_L0()
346 EXPECT_EQ(newClass->GetPrototype(), funcPrototype.GetTaggedValue()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins.h86 JSHandle<JSHClass> CreateFunctionHClass(const JSHandle<JSFunction> &funcPrototype) const;
H A Dbuiltins.cpp526 JSHandle<JSHClass> Builtins::CreateFunctionHClass(const JSHandle<JSFunction> &funcPrototype) const in CreateFunctionHClass()
546 JSHandle<JSTaggedValue>(funcPrototype), JSHandle<JSTaggedValue>(layout)); in CreateFunctionHClass()

Completed in 11 milliseconds