Home
last modified time | relevance | path

Searched refs:JSAPILightWeightMap (Results 1 – 25 of 29) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_lightweightmap.h37 class JSAPILightWeightMap : public JSObject {
41 static JSAPILightWeightMap *Cast(TaggedObject *object) in Cast()
44 return static_cast<JSAPILightWeightMap *>(object); in Cast()
46 …static void InsertValue(const JSThread *thread, const JSHandle<JSAPILightWeightMap> &lightWeightMa…
48 …static void ReplaceValue(const JSThread *thread, const JSHandle<JSAPILightWeightMap> &lightWeightM…
50 static void Set(JSThread *thread, const JSHandle<JSAPILightWeightMap> &lightWeightMap,
52 static JSTaggedValue Get(JSThread *thread, const JSHandle<JSAPILightWeightMap> &lightWeightMap,
54 … static JSTaggedValue HasAll(JSThread *thread, const JSHandle<JSAPILightWeightMap> &lightWeightMap,
55 const JSHandle<JSAPILightWeightMap> &newLightWeightMap);
56 … static JSTaggedValue HasKey(JSThread *thread, const JSHandle<JSAPILightWeightMap> &lightWeightMap,
[all …]
Djs_api_lightweightmap.cpp30 JSTaggedValue JSAPILightWeightMap::IncreaseCapacityTo(JSThread *thread, in IncreaseCapacityTo()
31 … const JSHandle<JSAPILightWeightMap> &lightWeightMap, in IncreaseCapacityTo()
50 void JSAPILightWeightMap::InsertValue(const JSThread *thread, const JSHandle<JSAPILightWeightMap> &… in InsertValue()
60 void JSAPILightWeightMap::ReplaceValue(const JSThread *thread, const JSHandle<JSAPILightWeightMap> … in ReplaceValue()
68 void JSAPILightWeightMap::RemoveValue(const JSThread *thread, const JSHandle<JSAPILightWeightMap> &… in RemoveValue()
77 void JSAPILightWeightMap::Set(JSThread *thread, const JSHandle<JSAPILightWeightMap> &lightWeightMap, in Set()
93 JSTaggedValue JSAPILightWeightMap::Get(JSThread *thread, const JSHandle<JSAPILightWeightMap> &light… in Get()
104 JSTaggedValue JSAPILightWeightMap::HasAll(JSThread *thread, const JSHandle<JSAPILightWeightMap> &li… in HasAll()
105 const JSHandle<JSAPILightWeightMap> &newLightWeightMap) in HasAll()
139 JSTaggedValue JSAPILightWeightMap::HasKey(JSThread *thread, const JSHandle<JSAPILightWeightMap> &li… in HasKey()
[all …]
Djs_api_lightweightmap_iterator.cpp45 JSHandle<JSAPILightWeightMap> lightWeightMap(oldlightWeightMap); in Next()
91 …TaggedValue> iter(factory->NewJSAPILightWeightMapIterator(JSHandle<JSAPILightWeightMap>(obj), kind… in CreateLightWeightMapIterator()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_lightweightmap_test.cpp66 JSAPILightWeightMap *CreateLightWeightMap() in CreateLightWeightMap()
85 JSHandle<JSAPILightWeightMap> lightWeightMap = JSHandle<JSAPILightWeightMap>:: in CreateLightWeightMap()
100 JSAPILightWeightMap *lightWeightMap = CreateLightWeightMap(); in HWTEST_F_L0()
106 JSAPILightWeightMap *lightWeightMap = CreateLightWeightMap(); in HWTEST_F_L0()
110 JSHandle<JSAPILightWeightMap> lwm(thread, lightWeightMap); in HWTEST_F_L0()
111 JSAPILightWeightMap::Set(thread, lwm, key, value); in HWTEST_F_L0()
113 JSAPILightWeightMap::Get(thread, lwm, key)), value)); in HWTEST_F_L0()
117 JSAPILightWeightMap::Set(thread, lwm, key1, value1); in HWTEST_F_L0()
121 JSAPILightWeightMap::Set(thread, lwm, key2, value2); in HWTEST_F_L0()
127 JSAPILightWeightMap::Set(thread, lwm, key3, value3); in HWTEST_F_L0()
[all …]
Djs_api_lightweightmap_iterator_test.cpp66 JSAPILightWeightMap *CreateLightWeightMap() in CreateLightWeightMap()
85 JSHandle<JSAPILightWeightMap> lightWeightMap = JSHandle<JSAPILightWeightMap>:: in CreateLightWeightMap()
107 JSHandle<JSAPILightWeightMap> jsLightWeightMap(thread, CreateLightWeightMap()); in HWTEST_F_L0()
Ddump_test.cpp320 static JSHandle<JSAPILightWeightMap> NewJSAPILightWeightMap(JSThread *thread, ObjectFactory *factor… in NewJSAPILightWeightMap()
325 factory->NewEcmaHClass(JSAPILightWeightMap::SIZE, JSType::JS_API_LIGHT_WEIGHT_MAP, proto); in NewJSAPILightWeightMap()
326 JSHandle<JSAPILightWeightMap> jSAPILightWeightMap = in NewJSAPILightWeightMap()
327 JSHandle<JSAPILightWeightMap>::Cast(factory->NewJSObjectWithInit(lwmapClass)); in NewJSAPILightWeightMap()
329 … JSHandle<JSTaggedValue>(factory->NewTaggedArray(JSAPILightWeightMap::DEFAULT_CAPACITY_LENGTH)); in NewJSAPILightWeightMap()
331 … JSHandle<JSTaggedValue>(factory->NewTaggedArray(JSAPILightWeightMap::DEFAULT_CAPACITY_LENGTH)); in NewJSAPILightWeightMap()
333 … JSHandle<JSTaggedValue>(factory->NewTaggedArray(JSAPILightWeightMap::DEFAULT_CAPACITY_LENGTH)); in NewJSAPILightWeightMap()
1097 CHECK_DUMP_FIELDS(JSObject::SIZE, JSAPILightWeightMap::SIZE, 4U); in HWTEST_F_L0()
1098 … JSHandle<JSAPILightWeightMap> jSAPILightWeightMap = NewJSAPILightWeightMap(thread, factory); in HWTEST_F_L0()
1104 … JSHandle<JSAPILightWeightMap> jSAPILightWeightMap = NewJSAPILightWeightMap(thread, factory); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_lightweightmap.cpp49 JSHandle<JSAPILightWeightMap> lwMap = JSHandle<JSAPILightWeightMap>::Cast(obj); in LightWeightMapConstructor()
50 …JSHandle<TaggedArray> hashArray = factory->NewTaggedArray(JSAPILightWeightMap::DEFAULT_CAPACITY_LE… in LightWeightMapConstructor()
51 …JSHandle<TaggedArray> keyArray = factory->NewTaggedArray(JSAPILightWeightMap::DEFAULT_CAPACITY_LEN… in LightWeightMapConstructor()
52 …JSHandle<TaggedArray> valueArray = factory->NewTaggedArray(JSAPILightWeightMap::DEFAULT_CAPACITY_L… in LightWeightMapConstructor()
78 return JSTaggedValue(JSHandle<JSAPILightWeightMap>::Cast(self)->GetLength()); in Length()
114 return JSAPILightWeightMap::HasAll(thread, JSHandle<JSAPILightWeightMap>::Cast(self), in HasAll()
115 JSHandle<JSAPILightWeightMap>::Cast(lightWeightMap)); in HasAll()
137 return JSAPILightWeightMap::HasKey(thread, JSHandle<JSAPILightWeightMap>::Cast(self), key); in HasKey()
159 return JSAPILightWeightMap::HasValue(thread, JSHandle<JSAPILightWeightMap>::Cast(self), value); in HasValue()
190 JSAPILightWeightMap::IncreaseCapacityTo(thread, JSHandle<JSAPILightWeightMap>::Cast(self), in IncreaseCapacityTo()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dcontainers_lightweightmap_stub_builder.h33 return Load(VariableType::INT32(), obj, IntPtr(JSAPILightWeightMap::LWP_LENGTH_OFFSET)); in GetSize()
38 GateRef keysOffset = IntPtr(JSAPILightWeightMap::LWP_KEYS_OFFSET); in GetKey()
45 GateRef valuesOffset = IntPtr(JSAPILightWeightMap::LWP_VALUES_OFFSET); in GetValue()
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightmapsetall_fuzzer/
Dcontainerslightweightmapsetall_fuzzer.cpp69 JSHandle<JSAPILightWeightMap> CreateJSAPILightWeightMap(JSThread *thread) in CreateJSAPILightWeightMap()
78 JSHandle<JSAPILightWeightMap> map(thread, result); in CreateJSAPILightWeightMap()
101 JSHandle<JSAPILightWeightMap> oldLightWeightMap = CreateJSAPILightWeightMap(thread); in ContainersLightWeightMapSetAllFuzzTest()
110 JSHandle<JSAPILightWeightMap> lightWeightMap = CreateJSAPILightWeightMap(thread); in ContainersLightWeightMapSetAllFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightmapentries_fuzzer/
Dcontainerslightweightmapentries_fuzzer.cpp69 JSHandle<JSAPILightWeightMap> CreateJSAPILightWeightMap(JSThread *thread) in CreateJSAPILightWeightMap()
78 JSHandle<JSAPILightWeightMap> map(thread, result); in CreateJSAPILightWeightMap()
101 JSHandle<JSAPILightWeightMap> lightWeightMap = CreateJSAPILightWeightMap(thread); in ContainersLightWeightMapEntriesFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightmap_fuzzer/
Dcontainerslightweightmap_fuzzer.cpp69 JSHandle<JSAPILightWeightMap> CreateJSAPILightWeightMap(JSThread *thread) in CreateJSAPILightWeightMap()
78 JSHandle<JSAPILightWeightMap> map(thread, result); in CreateJSAPILightWeightMap()
101 JSHandle<JSAPILightWeightMap> lightWeightMap = CreateJSAPILightWeightMap(thread); in ContainersLightWeightMapFuzzTest()
/arkcompiler/ets_runtime/ecmascript/containers/tests/
Dcontainers_lightweightmap_test.cpp68 JSHandle<JSAPILightWeightMap> jsTreeMap(GetThis(argv)); in TestForEachFunc()
69 JSAPILightWeightMap::Set(thread, jsTreeMap, key, value); in TestForEachFunc()
95 JSHandle<JSAPILightWeightMap> CreateJSAPILightWeightMap() in CreateJSAPILightWeightMap()
107 JSHandle<JSAPILightWeightMap> map(thread, result); in CreateJSAPILightWeightMap()
127 JSHandle<JSAPILightWeightMap> mapHandle(thread, result); in HWTEST_F_L0()
140 JSHandle<JSAPILightWeightMap> lightWeightMap = CreateJSAPILightWeightMap(); in HWTEST_F_L0()
214 JSHandle<JSAPILightWeightMap> lightWeightMap = CreateJSAPILightWeightMap(); in HWTEST_F_L0()
275 JSHandle<JSAPILightWeightMap> lightWeightMap = CreateJSAPILightWeightMap(); in HWTEST_F_L0()
309 JSHandle<JSAPILightWeightMap> lightWeightMap = CreateJSAPILightWeightMap(); in HWTEST_F_L0()
346 JSHandle<JSAPILightWeightMap> oldLightWeightMap = CreateJSAPILightWeightMap(); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightmapclear_fuzzer/
Dcontainerslightweightmapclear_fuzzer.cpp69 JSHandle<JSAPILightWeightMap> CreateJSAPILightWeightMap(JSThread *thread) in CreateJSAPILightWeightMap()
78 JSHandle<JSAPILightWeightMap> map(thread, result); in CreateJSAPILightWeightMap()
101 JSHandle<JSAPILightWeightMap> lightWeightMap = CreateJSAPILightWeightMap(thread); in ContainersLightWeightMapClearFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightmapisempty_fuzzer/
Dcontainerslightweightmapisempty_fuzzer.cpp69 JSHandle<JSAPILightWeightMap> CreateJSAPILightWeightMap(JSThread *thread) in CreateJSAPILightWeightMap()
78 JSHandle<JSAPILightWeightMap> map(thread, result); in CreateJSAPILightWeightMap()
101 JSHandle<JSAPILightWeightMap> lightWeightMap = CreateJSAPILightWeightMap(thread); in ContainersLightWeightMapIsEmptyFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightmaptostring_fuzzer/
Dcontainerslightweightmaptostring_fuzzer.cpp69 JSHandle<JSAPILightWeightMap> CreateJSAPILightWeightMap(JSThread *thread) in CreateJSAPILightWeightMap()
78 JSHandle<JSAPILightWeightMap> map(thread, result); in CreateJSAPILightWeightMap()
101 JSHandle<JSAPILightWeightMap> lightWeightMap = CreateJSAPILightWeightMap(thread); in ContainersLightWeightMapToStringFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightmaphasall_fuzzer/
Dcontainerslightweightmaphasall_fuzzer.cpp69 JSHandle<JSAPILightWeightMap> CreateJSAPILightWeightMap(JSThread *thread) in CreateJSAPILightWeightMap()
78 JSHandle<JSAPILightWeightMap> map(thread, result); in CreateJSAPILightWeightMap()
101 JSHandle<JSAPILightWeightMap> lightWeightMap = CreateJSAPILightWeightMap(thread); in ContainersLightWeightMapHasAllhFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightmapforeach_fuzzer/
Dcontainerslightweightmapforeach_fuzzer.cpp69 JSHandle<JSAPILightWeightMap> CreateJSAPILightWeightMap(JSThread *thread) in CreateJSAPILightWeightMap()
78 JSHandle<JSAPILightWeightMap> map(thread, result); in CreateJSAPILightWeightMap()
101 JSHandle<JSAPILightWeightMap> lightWeightMap = CreateJSAPILightWeightMap(thread); in ContainersLightWeightMapForEachFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightmapremove_fuzzer/
Dcontainerslightweightmapremove_fuzzer.cpp69 JSHandle<JSAPILightWeightMap> CreateJSAPILightWeightMap(JSThread *thread) in CreateJSAPILightWeightMap()
78 JSHandle<JSAPILightWeightMap> map(thread, result); in CreateJSAPILightWeightMap()
101 JSHandle<JSAPILightWeightMap> lightWeightMap = CreateJSAPILightWeightMap(thread); in ContainersLightWeightMapRemoveFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightmaplength_fuzzer/
Dcontainerslightweightmaplength_fuzzer.cpp69 JSHandle<JSAPILightWeightMap> CreateJSAPILightWeightMap(JSThread *thread) in CreateJSAPILightWeightMap()
78 JSHandle<JSAPILightWeightMap> map(thread, result); in CreateJSAPILightWeightMap()
101 JSHandle<JSAPILightWeightMap> lightWeightMap = CreateJSAPILightWeightMap(thread); in ContainersLightWeightMapLengthFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightmapkeys_fuzzer/
Dcontainerslightweightmapkeys_fuzzer.cpp71 JSHandle<JSAPILightWeightMap> CreateJSAPILightWeightMap(JSThread *thread) in CreateJSAPILightWeightMap()
80 JSHandle<JSAPILightWeightMap> map(thread, result); in CreateJSAPILightWeightMap()
103 JSHandle<JSAPILightWeightMap> lightWeightMap = CreateJSAPILightWeightMap(thread); in ContainersLightWeightMapKeysFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightmapvalues_fuzzer/
Dcontainerslightweightmapvalues_fuzzer.cpp71 JSHandle<JSAPILightWeightMap> CreateJSAPILightWeightMap(JSThread *thread) in CreateJSAPILightWeightMap()
80 JSHandle<JSAPILightWeightMap> map(thread, result); in CreateJSAPILightWeightMap()
103 JSHandle<JSAPILightWeightMap> lightWeightMap = CreateJSAPILightWeightMap(thread); in ContainersLightWeightMapValuesFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightmapsetandget_fuzzer/
Dcontainerslightweightmapsetandget_fuzzer.cpp69 JSHandle<JSAPILightWeightMap> CreateJSAPILightWeightMap(JSThread *thread) in CreateJSAPILightWeightMap()
78 JSHandle<JSAPILightWeightMap> map(thread, result); in CreateJSAPILightWeightMap()
101 JSHandle<JSAPILightWeightMap> lightWeightMap = CreateJSAPILightWeightMap(thread); in ContainersLightWeightMapSetAndGetFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightmapat_fuzzer/
Dcontainerslightweightmapat_fuzzer.cpp69 JSHandle<JSAPILightWeightMap> CreateJSAPILightWeightMap(JSThread *thread) in CreateJSAPILightWeightMap()
78 JSHandle<JSAPILightWeightMap> map(thread, result); in CreateJSAPILightWeightMap()
101 JSHandle<JSAPILightWeightMap> lightWeightMap = CreateJSAPILightWeightMap(thread); in ContainersLightWeightMapAtFuzzTest()
/arkcompiler/ets_runtime/ecmascript/
Dobject_factory.h121 class JSAPILightWeightMap; variable
556 …APILightWeightMapIterator> NewJSAPILightWeightMapIterator(const JSHandle<JSAPILightWeightMap> &obj,
/arkcompiler/ets_runtime/ecmascript/mem/
Dobject_xray.h480 JSAPILightWeightMap::Cast(object)->VisitRangeSlot(visitor); in VisitObjectBody()

12