Home
last modified time | relevance | path

Searched refs:JSAPITreeSet (Results 1 – 25 of 30) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_tree_set.h27 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);
Djs_api_tree_set.cpp25 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()
Djs_api_tree_set_iterator.cpp51 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/
Djs_api_tree_set_test.cpp63 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 …]
Djs_api_tree_set_iterator_test.cpp55 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 …]
Ddump_test.cpp232 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/
Dcontainers_treeset.cpp49 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/
Dcontainerstreesetforeach_fuzzer.cpp69 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/
Dcontainerstreesetconstructor_fuzzer.cpp68 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/
Dcontainerstreesetadd_fuzzer.cpp68 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/
Dcontainerstreesetentries_fuzzer.cpp68 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/
Dcontainerstreesetgetlastvalue_fuzzer.cpp68 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/
Dcontainerstreesetisempty_fuzzer.cpp68 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/
Dcontainerstreesetpopfirst_fuzzer.cpp68 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/
Dcontainerstreesetgetfirstvalue_fuzzer.cpp68 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/
Dcontainerstreesetgetlowervalue_fuzzer.cpp68 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/
Dcontainerstreesetpoplast_fuzzer.cpp68 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/
Dcontainerstreesetremove_fuzzer.cpp68 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/
Dcontainerstreesethas_fuzzer.cpp68 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/
Dcontainerstreesetclear_fuzzer.cpp68 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/
Dcontainerstreesetgethighervalue_fuzzer.cpp68 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/
Dcontainerstreesetgetlength_fuzzer.cpp68 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/
Dcontainerstreesetvalues_fuzzer.cpp68 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/
Dcontainers_treeset_test.cpp66 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/
Dobject_factory.h129 class JSAPITreeSet; variable
572 …JSHandle<JSAPITreeSetIterator> NewJSAPITreeSetIterator(const JSHandle<JSAPITreeSet> &set, Iteratio…

12