/arkcompiler/ets_runtime/ecmascript/js_api/ |
D | js_api_tree_set.h | 27 class JSAPITreeSet : public JSObject { 29 static JSAPITreeSet *Cast(TaggedObject *object) in Cast() 31 return static_cast<JSAPITreeSet *>(object); in Cast() 34 …static void Add(JSThread *thread, const JSHandle<JSAPITreeSet> &set, const JSHandle<JSTaggedValue>… 36 static void Clear(const JSThread *thread, const JSHandle<JSAPITreeSet> &set); 38 …static bool Delete(JSThread *thread, const JSHandle<JSAPITreeSet> &set, const JSHandle<JSTaggedVal… 40 …static bool Has(JSThread *thread, const JSHandle<JSAPITreeSet> &set, const JSHandle<JSTaggedValue>… 42 static JSTaggedValue PopFirst(JSThread *thread, const JSHandle<JSAPITreeSet> &set); 43 static JSTaggedValue PopLast(JSThread *thread, const JSHandle<JSAPITreeSet> &set);
|
D | js_api_tree_set.cpp | 25 void JSAPITreeSet::Add(JSThread *thread, const JSHandle<JSAPITreeSet> &set, const JSHandle<JSTagged… in Add() 42 int JSAPITreeSet::GetSize() const in GetSize() 47 JSTaggedValue JSAPITreeSet::GetKey(int entry) const in GetKey() 54 bool JSAPITreeSet::Delete(JSThread *thread, const JSHandle<JSAPITreeSet> &set, const JSHandle<JSTag… in Delete() 68 bool JSAPITreeSet::Has(JSThread *thread, const JSHandle<JSAPITreeSet> &set, const JSHandle<JSTagged… in Has() 74 void JSAPITreeSet::Clear(const JSThread *thread, const JSHandle<JSAPITreeSet> &set) in Clear() 81 JSTaggedValue JSAPITreeSet::PopFirst(JSThread *thread, const JSHandle<JSAPITreeSet> &set) in PopFirst() 94 JSTaggedValue JSAPITreeSet::PopLast(JSThread *thread, const JSHandle<JSAPITreeSet> &set) in PopLast()
|
D | js_api_tree_set_iterator.cpp | 51 JSHandle<TaggedTreeSet> set(thread, JSHandle<JSAPITreeSet>::Cast(iteratedSet)->GetTreeSet()); in Next() 101 … JSHandle<JSTaggedValue> iter(factory->NewJSAPITreeSetIterator(JSHandle<JSAPITreeSet>(obj), kind)); in CreateTreeSetIterator()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_api_tree_set_test.cpp | 63 JSAPITreeSet *CreateTreeSet() in CreateTreeSet() 83 …JSHandle<JSAPITreeSet> set(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), co… in CreateTreeSet() 92 JSAPITreeSet *set = CreateTreeSet(); in HWTEST_F_L0() 103 JSHandle<JSAPITreeSet> tset(thread, CreateTreeSet()); in HWTEST_F_L0() 108 JSAPITreeSet::Add(thread, tset, key); in HWTEST_F_L0() 114 JSAPITreeSet::Add(thread, tset, key); in HWTEST_F_L0() 122 bool has = JSAPITreeSet::Has(thread, tset, key); in HWTEST_F_L0() 135 JSHandle<JSAPITreeSet> tset(thread, CreateTreeSet()); in HWTEST_F_L0() 140 JSAPITreeSet::Add(thread, tset, key); in HWTEST_F_L0() 148 bool success = JSAPITreeSet::Delete(thread, tset, key); in HWTEST_F_L0() [all …]
|
D | js_api_tree_set_iterator_test.cpp | 55 JSHandle<JSAPITreeSet> CreateTreeSet() in CreateTreeSet() 75 …JSHandle<JSAPITreeSet> jsSet(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), … in CreateTreeSet() 92 JSHandle<JSAPITreeSet> jsTreeSet = CreateTreeSet(); in HWTEST_F_L0() 115 JSHandle<JSAPITreeSet> jsTreeSet = CreateTreeSet(); in HWTEST_F_L0() 124 JSAPITreeSet::Add(thread, jsTreeSet, key); in HWTEST_F_L0() 127 …JSHandle<JSAPITreeSet> treeSetTo(thread, JSAPITreeSet::Cast(treeSetIterator->GetIteratedSet().GetT… in HWTEST_F_L0() 132 EXPECT_TRUE(JSAPITreeSet::Has(thread, jsTreeSet, key)); in HWTEST_F_L0() 147 JSHandle<JSAPITreeSet> jsTreeSet = CreateTreeSet(); in HWTEST_F_L0() 168 JSHandle<JSAPITreeSet> jsTreeSet = CreateTreeSet(); in HWTEST_F_L0() 199 JSHandle<JSAPITreeSet> jsTreeSet = CreateTreeSet(); in HWTEST_F_L0() [all …]
|
D | dump_test.cpp | 232 static JSHandle<JSAPITreeSet> NewJSAPITreeSet(JSThread *thread, ObjectFactory *factory) in NewJSAPITreeSet() 236 …JSHandle<JSHClass> setClass = factory->NewEcmaHClass(JSAPITreeSet::SIZE, JSType::JS_API_TREE_SET, … in NewJSAPITreeSet() 237 …JSHandle<JSAPITreeSet> jsTreeSet = JSHandle<JSAPITreeSet>::Cast(factory->NewJSObjectWithInit(setCl… in NewJSAPITreeSet() 1163 CHECK_DUMP_FIELDS(JSObject::SIZE, JSAPITreeSet::SIZE, 1U); in HWTEST_F_L0() 1164 JSHandle<JSAPITreeSet> jsTreeSet = NewJSAPITreeSet(thread, factory); in HWTEST_F_L0() 1180 JSHandle<JSAPITreeSet> jsTreeSet = NewJSAPITreeSet(thread, factory); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/containers/ |
D | containers_treeset.cpp | 49 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(obj); in TreeSetConstructor() 90 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in Add() 91 JSAPITreeSet::Add(thread, set, value); in Add() 113 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in Remove() 115 return GetTaggedBoolean(JSAPITreeSet::Delete(thread, set, key)); in Remove() 136 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in Has() 138 bool flag = JSAPITreeSet::Has(thread, JSHandle<JSAPITreeSet>::Cast(set), key); in Has() 160 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in GetFirstValue() 181 JSHandle<JSAPITreeSet> set = JSHandle<JSAPITreeSet>::Cast(self); in GetLastValue() 202 JSAPITreeSet::Clear(thread, JSHandle<JSAPITreeSet>::Cast(self)); in Clear() [all …]
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetforeach_fuzzer/ |
D | containerstreesetforeach_fuzzer.cpp | 69 JSHandle<JSAPITreeSet> CreateJSAPITreeSet(JSThread *thread) in CreateJSAPITreeSet() 78 JSHandle<JSAPITreeSet> set(thread, result); in CreateJSAPITreeSet() 106 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetForEachFuzzTest() 114 JSHandle<JSAPITreeSet> dset = CreateJSAPITreeSet(thread); in ContainersTreeSetForEachFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetconstructor_fuzzer/ |
D | containerstreesetconstructor_fuzzer.cpp | 68 JSHandle<JSAPITreeSet> CreateJSAPITreeSet(JSThread *thread) in CreateJSAPITreeSet() 77 JSHandle<JSAPITreeSet> set(thread, result); in CreateJSAPITreeSet() 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetConstructorFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetadd_fuzzer/ |
D | containerstreesetadd_fuzzer.cpp | 68 JSHandle<JSAPITreeSet> CreateJSAPITreeSet(JSThread *thread) in CreateJSAPITreeSet() 77 JSHandle<JSAPITreeSet> set(thread, result); in CreateJSAPITreeSet() 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetAddFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetentries_fuzzer/ |
D | containerstreesetentries_fuzzer.cpp | 68 JSHandle<JSAPITreeSet> CreateJSAPITreeSet(JSThread *thread) in CreateJSAPITreeSet() 77 JSHandle<JSAPITreeSet> set(thread, result); in CreateJSAPITreeSet() 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetEntriesFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetgetlastvalue_fuzzer/ |
D | containerstreesetgetlastvalue_fuzzer.cpp | 68 JSHandle<JSAPITreeSet> CreateJSAPITreeSet(JSThread *thread) in CreateJSAPITreeSet() 77 JSHandle<JSAPITreeSet> set(thread, result); in CreateJSAPITreeSet() 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetGetLastValueFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetisempty_fuzzer/ |
D | containerstreesetisempty_fuzzer.cpp | 68 JSHandle<JSAPITreeSet> CreateJSAPITreeSet(JSThread *thread) in CreateJSAPITreeSet() 77 JSHandle<JSAPITreeSet> set(thread, result); in CreateJSAPITreeSet() 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetIsEmptyFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetpopfirst_fuzzer/ |
D | containerstreesetpopfirst_fuzzer.cpp | 68 JSHandle<JSAPITreeSet> CreateJSAPITreeSet(JSThread *thread) in CreateJSAPITreeSet() 77 JSHandle<JSAPITreeSet> set(thread, result); in CreateJSAPITreeSet() 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetPopFirstFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetgetfirstvalue_fuzzer/ |
D | containerstreesetgetfirstvalue_fuzzer.cpp | 68 JSHandle<JSAPITreeSet> CreateJSAPITreeSet(JSThread *thread) in CreateJSAPITreeSet() 77 JSHandle<JSAPITreeSet> set(thread, result); in CreateJSAPITreeSet() 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetGetFirstValueFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetgetlowervalue_fuzzer/ |
D | containerstreesetgetlowervalue_fuzzer.cpp | 68 JSHandle<JSAPITreeSet> CreateJSAPITreeSet(JSThread *thread) in CreateJSAPITreeSet() 77 JSHandle<JSAPITreeSet> set(thread, result); in CreateJSAPITreeSet() 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetGetLowerValueFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetpoplast_fuzzer/ |
D | containerstreesetpoplast_fuzzer.cpp | 68 JSHandle<JSAPITreeSet> CreateJSAPITreeSet(JSThread *thread) in CreateJSAPITreeSet() 77 JSHandle<JSAPITreeSet> set(thread, result); in CreateJSAPITreeSet() 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetPopLastFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetremove_fuzzer/ |
D | containerstreesetremove_fuzzer.cpp | 68 JSHandle<JSAPITreeSet> CreateJSAPITreeSet(JSThread *thread) in CreateJSAPITreeSet() 77 JSHandle<JSAPITreeSet> set(thread, result); in CreateJSAPITreeSet() 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetRemoveFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesethas_fuzzer/ |
D | containerstreesethas_fuzzer.cpp | 68 JSHandle<JSAPITreeSet> CreateJSAPITreeSet(JSThread *thread) in CreateJSAPITreeSet() 77 JSHandle<JSAPITreeSet> set(thread, result); in CreateJSAPITreeSet() 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetHasFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetclear_fuzzer/ |
D | containerstreesetclear_fuzzer.cpp | 68 JSHandle<JSAPITreeSet> CreateJSAPITreeSet(JSThread *thread) in CreateJSAPITreeSet() 77 JSHandle<JSAPITreeSet> set(thread, result); in CreateJSAPITreeSet() 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetClearFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetgethighervalue_fuzzer/ |
D | containerstreesetgethighervalue_fuzzer.cpp | 68 JSHandle<JSAPITreeSet> CreateJSAPITreeSet(JSThread *thread) in CreateJSAPITreeSet() 77 JSHandle<JSAPITreeSet> set(thread, result); in CreateJSAPITreeSet() 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetGetHigherValueFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetgetlength_fuzzer/ |
D | containerstreesetgetlength_fuzzer.cpp | 68 JSHandle<JSAPITreeSet> CreateJSAPITreeSet(JSThread *thread) in CreateJSAPITreeSet() 77 JSHandle<JSAPITreeSet> set(thread, result); in CreateJSAPITreeSet() 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetGetLengthFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetvalues_fuzzer/ |
D | containerstreesetvalues_fuzzer.cpp | 68 JSHandle<JSAPITreeSet> CreateJSAPITreeSet(JSThread *thread) in CreateJSAPITreeSet() 77 JSHandle<JSAPITreeSet> set(thread, result); in CreateJSAPITreeSet() 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetValuesFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/containers/tests/ |
D | containers_treeset_test.cpp | 66 JSHandle<JSAPITreeSet> set(GetCallArg(argv, 2)); // 2 means the second arg in TestForEachFunc() 68 JSAPITreeSet::Delete(thread, set, key); in TestForEachFunc() 70 JSHandle<JSAPITreeSet> jsTreeSet(GetThis(argv)); in TestForEachFunc() 71 JSAPITreeSet::Add(thread, jsTreeSet, key); in TestForEachFunc() 134 JSHandle<JSAPITreeSet> CreateJSAPITreeSet(JSTaggedValue compare = JSTaggedValue::Undefined()) in CreateJSAPITreeSet() 147 JSHandle<JSAPITreeSet> set(thread, result); in CreateJSAPITreeSet() 169 JSHandle<JSAPITreeSet> setHandle(thread, result); in HWTEST_F_L0() 187 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(); in HWTEST_F_L0() 255 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(); in HWTEST_F_L0() 358 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/ecmascript/ |
D | object_factory.h | 129 class JSAPITreeSet; variable 572 …JSHandle<JSAPITreeSetIterator> NewJSAPITreeSetIterator(const JSHandle<JSAPITreeSet> &set, Iteratio…
|