/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_api_tree_set_test.cpp | 103 JSHandle<JSAPITreeSet> tset(thread, CreateTreeSet()); in HWTEST_F_L0() local 108 JSAPITreeSet::Add(thread, tset, key); in HWTEST_F_L0() 110 EXPECT_EQ(tset->GetSize(), NODE_NUMBERS); 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() local 140 JSAPITreeSet::Add(thread, tset, key); in HWTEST_F_L0() 142 EXPECT_EQ(tset->GetSize(), NODE_NUMBERS); in HWTEST_F_L0() 148 bool success = JSAPITreeSet::Delete(thread, tset, key); in HWTEST_F_L0() 155 bool success = JSAPITreeSet::Delete(thread, tset, key); in HWTEST_F_L0() [all …]
|
D | tagged_tree_test.cpp | 199 JSHandle<TaggedTreeSet> tset(thread, TaggedTreeSet::Create(thread, NODE_NUMBERS)); in HWTEST_F_L0() local 200 EXPECT_EQ(tset->Capacity(), NODE_NUMBERS); in HWTEST_F_L0() 201 EXPECT_EQ(tset->GetRootEntries(), -1); in HWTEST_F_L0() 202 EXPECT_EQ(tset->NumberOfElements(), 0); in HWTEST_F_L0() 203 EXPECT_EQ(tset->NumberOfDeletedElements(), 0); in HWTEST_F_L0() 246 JSMutableHandle<TaggedTreeSet> tset(thread, TaggedTreeSet::Create(thread, NODE_NUMBERS)); in HWTEST_F_L0() local 256 tset.Update(TaggedTreeSet::Add(thread, tset, key1)); in HWTEST_F_L0() 257 EXPECT_EQ(tset->NumberOfElements(), 1); in HWTEST_F_L0() 258 tset.Update(TaggedTreeSet::Add(thread, tset, key2)); in HWTEST_F_L0() 259 EXPECT_EQ(tset->NumberOfElements(), 2); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/ecmascript/containers/tests/ |
D | containers_treeset_test.cpp | 187 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(); in HWTEST_F_L0() local 191 callInfo->SetThis(tset.GetTaggedValue()); in HWTEST_F_L0() 198 EXPECT_EQ(tset->GetSize(), i + 1); in HWTEST_F_L0() 200 EXPECT_EQ(tset->GetSize(), NODE_NUMBERS); in HWTEST_F_L0() 212 callInfo->SetThis(tset.GetTaggedValue()); in HWTEST_F_L0() 219 EXPECT_EQ(tset->GetSize(), NODE_NUMBERS + i + 1); in HWTEST_F_L0() 221 EXPECT_EQ(tset->GetSize(), NODE_NUMBERS * 2); in HWTEST_F_L0() 226 callInfo->SetThis(tset.GetTaggedValue()); in HWTEST_F_L0() 240 callInfo->SetThis(tset.GetTaggedValue()); in HWTEST_F_L0() 255 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(); in HWTEST_F_L0() local [all …]
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetentries_fuzzer/ |
D | containerstreesetentries_fuzzer.cpp | 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetEntriesFuzzTest() local 103 callInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetEntriesFuzzTest() 109 objCallInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetEntriesFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetgetlastvalue_fuzzer/ |
D | containerstreesetgetlastvalue_fuzzer.cpp | 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetGetLastValueFuzzTest() local 103 callInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetGetLastValueFuzzTest() 109 objCallInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetGetLastValueFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetisempty_fuzzer/ |
D | containerstreesetisempty_fuzzer.cpp | 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetIsEmptyFuzzTest() local 103 callInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetIsEmptyFuzzTest() 109 objCallInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetIsEmptyFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetpopfirst_fuzzer/ |
D | containerstreesetpopfirst_fuzzer.cpp | 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetPopFirstFuzzTest() local 103 callInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetPopFirstFuzzTest() 109 objCallInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetPopFirstFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetgetfirstvalue_fuzzer/ |
D | containerstreesetgetfirstvalue_fuzzer.cpp | 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetGetFirstValueFuzzTest() local 103 callInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetGetFirstValueFuzzTest() 109 objCallInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetGetFirstValueFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetgetlowervalue_fuzzer/ |
D | containerstreesetgetlowervalue_fuzzer.cpp | 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetGetLowerValueFuzzTest() local 103 callInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetGetLowerValueFuzzTest() 109 objCallInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetGetLowerValueFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetpoplast_fuzzer/ |
D | containerstreesetpoplast_fuzzer.cpp | 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetPopLastFuzzTest() local 103 callInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetPopLastFuzzTest() 109 objCallInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetPopLastFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetremove_fuzzer/ |
D | containerstreesetremove_fuzzer.cpp | 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetRemoveFuzzTest() local 103 callInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetRemoveFuzzTest() 109 objCallInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetRemoveFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesethas_fuzzer/ |
D | containerstreesethas_fuzzer.cpp | 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetHasFuzzTest() local 103 callInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetHasFuzzTest() 109 objCallInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetHasFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetclear_fuzzer/ |
D | containerstreesetclear_fuzzer.cpp | 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetClearFuzzTest() local 103 callInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetClearFuzzTest() 109 objCallInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetClearFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetgethighervalue_fuzzer/ |
D | containerstreesetgethighervalue_fuzzer.cpp | 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetGetHigherValueFuzzTest() local 103 callInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetGetHigherValueFuzzTest() 109 objCallInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetGetHigherValueFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetgetlength_fuzzer/ |
D | containerstreesetgetlength_fuzzer.cpp | 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetGetLengthFuzzTest() local 103 callInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetGetLengthFuzzTest() 109 objCallInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetGetLengthFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetvalues_fuzzer/ |
D | containerstreesetvalues_fuzzer.cpp | 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetValuesFuzzTest() local 103 callInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetValuesFuzzTest() 109 objCallInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetValuesFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetforeach_fuzzer/ |
D | containerstreesetforeach_fuzzer.cpp | 106 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetForEachFuzzTest() local 109 callInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetForEachFuzzTest() 119 objCallInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetForEachFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/containers/ |
D | containers_treeset.cpp | 233 JSHandle<TaggedTreeSet> tset(thread, set->GetTreeSet()); in GetLowerValue() local 234 return TaggedTreeSet::GetLowerKey(thread, tset, key); in GetLowerValue() 264 JSHandle<TaggedTreeSet> tset(thread, set->GetTreeSet()); in GetHigherValue() local 265 return TaggedTreeSet::GetHigherKey(thread, tset, key); in GetHigherValue() 379 JSHandle<JSAPITreeSet> tset = JSHandle<JSAPITreeSet>::Cast(self); in ForEach() local 380 JSMutableHandle<TaggedTreeSet> iteratedSet(thread, tset->GetTreeSet()); in ForEach() 398 if (tset->GetSize() != static_cast<int>(length)) { in ForEach() 399 iteratedSet.Update(tset->GetTreeSet()); in ForEach()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetconstructor_fuzzer/ |
D | containerstreesetconstructor_fuzzer.cpp | 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetConstructorFuzzTest() local 103 callInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetConstructorFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreesetadd_fuzzer/ |
D | containerstreesetadd_fuzzer.cpp | 100 JSHandle<JSAPITreeSet> tset = CreateJSAPITreeSet(thread); in ContainersTreeSetAddFuzzTest() local 103 callInfo->SetThis(tset.GetTaggedValue()); in ContainersTreeSetAddFuzzTest()
|