/arkcompiler/ets_runtime/ecmascript/js_api/ |
D | js_api_tree_map.h | 27 class JSAPITreeMap : public JSObject { 29 static JSAPITreeMap *Cast(TaggedObject *object) in Cast() 31 return static_cast<JSAPITreeMap *>(object); in Cast() 34 …static void Set(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTaggedValue>… 37 static void Clear(const JSThread *thread, const JSHandle<JSAPITreeMap> &map); 39 …static JSTaggedValue Get(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTag… 41 static JSTaggedValue Delete(JSThread *thread, const JSHandle<JSAPITreeMap> &map, 44 …static bool HasKey(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTaggedVal… 47 …static bool Replace(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTaggedVa…
|
D | js_api_tree_map.cpp | 25 void JSAPITreeMap::Set(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTagged… in Set() 43 JSTaggedValue JSAPITreeMap::Get(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle… in Get() 49 int JSAPITreeMap::GetSize() const in GetSize() 54 JSTaggedValue JSAPITreeMap::GetKey(int entry) const in GetKey() 61 JSTaggedValue JSAPITreeMap::GetValue(int entry) const in GetValue() 68 JSTaggedValue JSAPITreeMap::Delete(JSThread *thread, const JSHandle<JSAPITreeMap> &map, in Delete() 83 bool JSAPITreeMap::HasKey(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTag… in HasKey() 89 bool JSAPITreeMap::HasValue(JSThread *thread, const JSHandle<JSTaggedValue> &value) const in HasValue() 95 void JSAPITreeMap::Clear(const JSThread *thread, const JSHandle<JSAPITreeMap> &map) in Clear() 102 bool JSAPITreeMap::Replace(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTa… in Replace()
|
/arkcompiler/ets_runtime/ecmascript/containers/ |
D | containers_treemap.cpp | 50 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(obj); in TreeMapConstructor() 93 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in Set() 94 JSAPITreeMap::Set(thread, map, key, value); in Set() 117 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in Get() 119 return JSAPITreeMap::Get(thread, map, key); in Get() 139 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in Remove() 141 return JSAPITreeMap::Delete(thread, map, key); in Remove() 162 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in HasKey() 164 bool flag = JSAPITreeMap::HasKey(thread, JSHandle<JSAPITreeMap>::Cast(map), key); in HasKey() 186 JSHandle<JSAPITreeMap> map = JSHandle<JSAPITreeMap>::Cast(self); in HasValue() [all …]
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_api_tree_map_test.cpp | 63 JSAPITreeMap *CreateTreeMap() in CreateTreeMap() 83 …JSHandle<JSAPITreeMap> map(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), co… in CreateTreeMap() 92 JSAPITreeMap *map = CreateTreeMap(); in HWTEST_F_L0() 104 JSHandle<JSAPITreeMap> tmap(thread, CreateTreeMap()); in HWTEST_F_L0() 112 JSAPITreeMap::Set(thread, tmap, key, value); in HWTEST_F_L0() 118 JSAPITreeMap::Set(thread, tmap, key, value); in HWTEST_F_L0() 128 JSTaggedValue gvalue = JSAPITreeMap::Get(thread, tmap, key); in HWTEST_F_L0() 142 JSHandle<JSAPITreeMap> tmap(thread, CreateTreeMap()); in HWTEST_F_L0() 150 JSAPITreeMap::Set(thread, tmap, key, value); in HWTEST_F_L0() 157 [[maybe_unused]] JSTaggedValue dvalue = JSAPITreeMap::Delete(thread, tmap, key); in HWTEST_F_L0() [all …]
|
D | js_api_tree_map_iterator_test.cpp | 55 JSHandle<JSAPITreeMap> CreateTreeMap() in CreateTreeMap() 75 JSHandle<JSAPITreeMap> jsTreeMap( in CreateTreeMap() 93 JSHandle<JSAPITreeMap> jsTreeMap = CreateTreeMap(); in HWTEST_F_L0() 117 JSHandle<JSAPITreeMap> jsTreeMap = CreateTreeMap(); in HWTEST_F_L0() 129 JSAPITreeMap::Set(thread, jsTreeMap, key, value); in HWTEST_F_L0() 132 …JSHandle<JSAPITreeMap> treeMapTo(thread, JSAPITreeMap::Cast(treeMapIterator->GetIteratedMap().GetT… in HWTEST_F_L0() 139 JSTaggedValue result = JSAPITreeMap::Get(thread, treeMapTo, key); in HWTEST_F_L0() 155 JSHandle<JSAPITreeMap> jsTreeMap = CreateTreeMap(); in HWTEST_F_L0() 176 JSHandle<JSAPITreeMap> jsTreeMap = CreateTreeMap(); in HWTEST_F_L0() 208 JSHandle<JSAPITreeMap> jsTreeMap = CreateTreeMap(); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapsetall_fuzzer/ |
D | containerstreemapsetall_fuzzer.cpp | 68 JSHandle<JSAPITreeMap> CreateJSAPITreeMap(JSThread *thread) in CreateJSAPITreeMap() 77 JSHandle<JSAPITreeMap> map(thread, result); in CreateJSAPITreeMap() 100 JSHandle<JSAPITreeMap> tmap = CreateJSAPITreeMap(thread); in ContainersTreeMapSetAllFuzzTest() 108 JSHandle<JSAPITreeMap> map = CreateJSAPITreeMap(thread); in ContainersTreeMapSetAllFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapgetlength_fuzzer/ |
D | containerstreemapgetlength_fuzzer.cpp | 68 JSHandle<JSAPITreeMap> CreateJSAPITreeMap(JSThread *thread) in CreateJSAPITreeMap() 77 JSHandle<JSAPITreeMap> map(thread, result); in CreateJSAPITreeMap() 100 JSHandle<JSAPITreeMap> tmap = CreateJSAPITreeMap(thread); in ContainersTreeMapGetLengthFuzzTest() 108 JSHandle<JSAPITreeMap> map = CreateJSAPITreeMap(thread); in ContainersTreeMapGetLengthFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapremove_fuzzer/ |
D | containerstreemapremove_fuzzer.cpp | 68 JSHandle<JSAPITreeMap> CreateJSAPITreeMap(JSThread *thread) in CreateJSAPITreeMap() 77 JSHandle<JSAPITreeMap> map(thread, result); in CreateJSAPITreeMap() 100 JSHandle<JSAPITreeMap> tmap = CreateJSAPITreeMap(thread); in ContainersTreeMapRemoveFuzzTest() 108 JSHandle<JSAPITreeMap> map = CreateJSAPITreeMap(thread); in ContainersTreeMapRemoveFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapforeach_fuzzer/ |
D | containerstreemapforeach_fuzzer.cpp | 69 JSHandle<JSAPITreeMap> CreateJSAPITreeMap(JSThread *thread) in CreateJSAPITreeMap() 78 JSHandle<JSAPITreeMap> map(thread, result); in CreateJSAPITreeMap() 106 JSHandle<JSAPITreeMap> tmap = CreateJSAPITreeMap(thread); in ContainersTreeMapForEachFuzzTest() 115 JSHandle<JSAPITreeMap> dmap = CreateJSAPITreeMap(thread); in ContainersTreeMapForEachFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/containers/tests/ |
D | containers_treemap_test.cpp | 70 JSAPITreeMap::Set(thread, JSHandle<JSAPITreeMap>::Cast(map), key, newValue); in TestForEachFunc() 73 JSHandle<JSAPITreeMap> jsTreeMap(GetThis(argv)); in TestForEachFunc() 74 JSAPITreeMap::Set(thread, jsTreeMap, key, value); in TestForEachFunc() 137 JSHandle<JSAPITreeMap> CreateJSAPITreeMap(JSTaggedValue compare = JSTaggedValue::Undefined()) in CreateJSAPITreeMap() 150 JSHandle<JSAPITreeMap> map(thread, result); in CreateJSAPITreeMap() 173 JSHandle<JSAPITreeMap> mapHandle(thread, result); in HWTEST_F_L0() 191 JSHandle<JSAPITreeMap> tmap = CreateJSAPITreeMap(); in HWTEST_F_L0() 203 EXPECT_EQ(JSAPITreeMap::Cast(result.GetTaggedObject())->GetSize(), i + 1); in HWTEST_F_L0() 227 EXPECT_EQ(JSAPITreeMap::Cast(result.GetTaggedObject())->GetSize(), NODE_NUMBERS + i + 1); in HWTEST_F_L0() 264 JSHandle<JSAPITreeMap> tmap = CreateJSAPITreeMap(); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapconstructor_fuzzer/ |
D | containerstreemapconstructor_fuzzer.cpp | 68 JSHandle<JSAPITreeMap> CreateJSAPITreeMap(JSThread *thread) in CreateJSAPITreeMap() 77 JSHandle<JSAPITreeMap> map(thread, result); in CreateJSAPITreeMap() 100 JSHandle<JSAPITreeMap> tmap = CreateJSAPITreeMap(thread); in ContainersTreeMapConstructorFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapget_fuzzer/ |
D | containerstreemapget_fuzzer.cpp | 68 JSHandle<JSAPITreeMap> CreateJSAPITreeMap(JSThread *thread) in CreateJSAPITreeMap() 77 JSHandle<JSAPITreeMap> map(thread, result); in CreateJSAPITreeMap() 100 JSHandle<JSAPITreeMap> tmap = CreateJSAPITreeMap(thread); in ContainersTreeMapGetFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapset_fuzzer/ |
D | containerstreemapset_fuzzer.cpp | 68 JSHandle<JSAPITreeMap> CreateJSAPITreeMap(JSThread *thread) in CreateJSAPITreeMap() 77 JSHandle<JSAPITreeMap> map(thread, result); in CreateJSAPITreeMap() 100 JSHandle<JSAPITreeMap> tmap = CreateJSAPITreeMap(thread); in ContainersTreeMapSetFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemaphasvalue_fuzzer/ |
D | containerstreemaphasvalue_fuzzer.cpp | 68 JSHandle<JSAPITreeMap> CreateJSAPITreeMap(JSThread *thread) in CreateJSAPITreeMap() 77 JSHandle<JSAPITreeMap> map(thread, result); in CreateJSAPITreeMap() 100 JSHandle<JSAPITreeMap> tmap = CreateJSAPITreeMap(thread); in ContainersTreeMapSetFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemaphaskey_fuzzer/ |
D | containerstreemaphaskey_fuzzer.cpp | 68 JSHandle<JSAPITreeMap> CreateJSAPITreeMap(JSThread *thread) in CreateJSAPITreeMap() 77 JSHandle<JSAPITreeMap> map(thread, result); in CreateJSAPITreeMap() 100 JSHandle<JSAPITreeMap> tmap = CreateJSAPITreeMap(thread); in ContainersTreeMapSetFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapisempty_fuzzer/ |
D | containerstreemapisempty_fuzzer.cpp | 68 JSHandle<JSAPITreeMap> CreateJSAPITreeMap(JSThread *thread) in CreateJSAPITreeMap() 77 JSHandle<JSAPITreeMap> map(thread, result); in CreateJSAPITreeMap() 100 JSHandle<JSAPITreeMap> tmap = CreateJSAPITreeMap(thread); in ContainersTreeMapIsEmptyFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapgethigherkey_fuzzer/ |
D | containerstreemapgethigherkey_fuzzer.cpp | 68 JSHandle<JSAPITreeMap> CreateJSAPITreeMap(JSThread *thread) in CreateJSAPITreeMap() 77 JSHandle<JSAPITreeMap> map(thread, result); in CreateJSAPITreeMap() 100 JSHandle<JSAPITreeMap> tmap = CreateJSAPITreeMap(thread); in ContainersTreeMapGetHigherKeyFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapvalues_fuzzer/ |
D | containerstreemapvalues_fuzzer.cpp | 68 JSHandle<JSAPITreeMap> CreateJSAPITreeMap(JSThread *thread) in CreateJSAPITreeMap() 77 JSHandle<JSAPITreeMap> map(thread, result); in CreateJSAPITreeMap() 100 JSHandle<JSAPITreeMap> tmap = CreateJSAPITreeMap(thread); in ContainersTreeMapValuesFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapgetlowerkey_fuzzer/ |
D | containerstreemapgetlowerkey_fuzzer.cpp | 68 JSHandle<JSAPITreeMap> CreateJSAPITreeMap(JSThread *thread) in CreateJSAPITreeMap() 77 JSHandle<JSAPITreeMap> map(thread, result); in CreateJSAPITreeMap() 100 JSHandle<JSAPITreeMap> tmap = CreateJSAPITreeMap(thread); in ContainersTreeMapGetLowerKeyFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapgetlastkey_fuzzer/ |
D | containerstreemapgetlastkey_fuzzer.cpp | 68 JSHandle<JSAPITreeMap> CreateJSAPITreeMap(JSThread *thread) in CreateJSAPITreeMap() 77 JSHandle<JSAPITreeMap> map(thread, result); in CreateJSAPITreeMap() 100 JSHandle<JSAPITreeMap> tmap = CreateJSAPITreeMap(thread); in ContainersTreeMapGetLastKeyFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapgetfirstkey_fuzzer/ |
D | containerstreemapgetfirstkey_fuzzer.cpp | 68 JSHandle<JSAPITreeMap> CreateJSAPITreeMap(JSThread *thread) in CreateJSAPITreeMap() 77 JSHandle<JSAPITreeMap> map(thread, result); in CreateJSAPITreeMap() 100 JSHandle<JSAPITreeMap> tmap = CreateJSAPITreeMap(thread); in ContainersTreeMapGetFirstKeyFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapclear_fuzzer/ |
D | containerstreemapclear_fuzzer.cpp | 68 JSHandle<JSAPITreeMap> CreateJSAPITreeMap(JSThread *thread) in CreateJSAPITreeMap() 77 JSHandle<JSAPITreeMap> map(thread, result); in CreateJSAPITreeMap() 100 JSHandle<JSAPITreeMap> tmap = CreateJSAPITreeMap(thread); in ContainersTreeMapClearFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapentries_fuzzer/ |
D | containerstreemapentries_fuzzer.cpp | 68 JSHandle<JSAPITreeMap> CreateJSAPITreeMap(JSThread *thread) in CreateJSAPITreeMap() 77 JSHandle<JSAPITreeMap> map(thread, result); in CreateJSAPITreeMap() 100 JSHandle<JSAPITreeMap> tmap = CreateJSAPITreeMap(thread); in ContainersTreeMapEntriesFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapkeys_fuzzer/ |
D | containerstreemapkeys_fuzzer.cpp | 68 JSHandle<JSAPITreeMap> CreateJSAPITreeMap(JSThread *thread) in CreateJSAPITreeMap() 77 JSHandle<JSAPITreeMap> map(thread, result); in CreateJSAPITreeMap() 100 JSHandle<JSAPITreeMap> tmap = CreateJSAPITreeMap(thread); in ContainersTreeMapKeysFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapreplace_fuzzer/ |
D | containerstreemapreplace_fuzzer.cpp | 68 JSHandle<JSAPITreeMap> CreateJSAPITreeMap(JSThread *thread) in CreateJSAPITreeMap() 77 JSHandle<JSAPITreeMap> map(thread, result); in CreateJSAPITreeMap() 101 JSHandle<JSAPITreeMap> tmap = CreateJSAPITreeMap(thread); in ContainersTreeMapReplaceFuzzTest()
|