| /arkcompiler/ets_runtime/ecmascript/js_api/ |
| D | js_api_lightweightmap.h | 37 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 …]
|
| D | js_api_lightweightmap.cpp | 30 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 …]
|
| D | js_api_lightweightmap_iterator.cpp | 45 JSHandle<JSAPILightWeightMap> lightWeightMap(oldlightWeightMap); in Next() 91 …TaggedValue> iter(factory->NewJSAPILightWeightMapIterator(JSHandle<JSAPILightWeightMap>(obj), kind… in CreateLightWeightMapIterator()
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_api_lightweightmap_test.cpp | 66 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 …]
|
| D | js_api_lightweightmap_iterator_test.cpp | 66 JSAPILightWeightMap *CreateLightWeightMap() in CreateLightWeightMap() 85 JSHandle<JSAPILightWeightMap> lightWeightMap = JSHandle<JSAPILightWeightMap>:: in CreateLightWeightMap() 107 JSHandle<JSAPILightWeightMap> jsLightWeightMap(thread, CreateLightWeightMap()); in HWTEST_F_L0()
|
| D | dump_test.cpp | 320 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/ |
| D | containers_lightweightmap.cpp | 49 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/ |
| D | containers_lightweightmap_stub_builder.h | 33 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/ |
| D | containerslightweightmapsetall_fuzzer.cpp | 69 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/ |
| D | containerslightweightmapentries_fuzzer.cpp | 69 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/ |
| D | containerslightweightmap_fuzzer.cpp | 69 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/ |
| D | containers_lightweightmap_test.cpp | 68 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/ |
| D | containerslightweightmapclear_fuzzer.cpp | 69 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/ |
| D | containerslightweightmapisempty_fuzzer.cpp | 69 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/ |
| D | containerslightweightmaptostring_fuzzer.cpp | 69 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/ |
| D | containerslightweightmaphasall_fuzzer.cpp | 69 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/ |
| D | containerslightweightmapforeach_fuzzer.cpp | 69 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/ |
| D | containerslightweightmapremove_fuzzer.cpp | 69 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/ |
| D | containerslightweightmaplength_fuzzer.cpp | 69 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/ |
| D | containerslightweightmapkeys_fuzzer.cpp | 71 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/ |
| D | containerslightweightmapvalues_fuzzer.cpp | 71 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/ |
| D | containerslightweightmapsetandget_fuzzer.cpp | 69 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/ |
| D | containerslightweightmapat_fuzzer.cpp | 69 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/ |
| D | object_factory.h | 121 class JSAPILightWeightMap; variable 556 …APILightWeightMapIterator> NewJSAPILightWeightMapIterator(const JSHandle<JSAPILightWeightMap> &obj,
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | object_xray.h | 480 JSAPILightWeightMap::Cast(object)->VisitRangeSlot(visitor); in VisitObjectBody()
|