/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | linked_hash_table_test.cpp | 101 JSHandle<LinkedHashSet> setHandle = LinkedHashSet::Create(thread, numOfElement); in HWTEST_F_L0() local 102 EXPECT_TRUE(*setHandle != nullptr); in HWTEST_F_L0() 116 setHandle = LinkedHashSet::Add(thread, setHandle, key1); in HWTEST_F_L0() 117 EXPECT_EQ(setHandle->NumberOfElements(), 1); in HWTEST_F_L0() 120 EXPECT_TRUE(setHandle->Has(thread, key1.GetTaggedValue())); in HWTEST_F_L0() 122 setHandle = LinkedHashSet::Add(thread, setHandle, key2); in HWTEST_F_L0() 123 EXPECT_EQ(setHandle->NumberOfElements(), 2); in HWTEST_F_L0() 125 setHandle in HWTEST_F_L0() 169 JSHandle<LinkedHashSet> setHandle = LinkedHashSet::Create(thread, numOfElement); HWTEST_F_L0() local 233 JSHandle<LinkedHashSet> setHandle = LinkedHashSet::Create(thread, numOfElement); HWTEST_F_L0() local [all...] |
H A D | js_proxy_test.cpp | 197 JSHandle<JSTaggedValue> setHandle(factory->NewJSFunction(env, reinterpret_cast<void *>(HandlerSetProperty))); in HWTEST_F_L0() 198 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(handlerHandle), setKey, setHandle); in HWTEST_F_L0() 232 JSHandle<JSTaggedValue> setHandle(factory->NewJSFunction(env, reinterpret_cast<void *>(HandlerDefineOwnProperty))); in HWTEST_F_L0() 233 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(handlerHandle), setKey, setHandle); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/js_api/ |
H A D | js_api_tree_set.cpp | 34 JSHandle<TaggedTreeSet> setHandle(thread, TaggedTreeSet::Cast(set->GetTreeSet().GetTaggedObject())); in Add() 36 JSTaggedValue newSet = TaggedTreeSet::Add(thread, setHandle, value); in Add() 55 JSHandle<TaggedTreeSet> setHandle(thread, TaggedTreeSet::Cast(set->GetTreeSet().GetTaggedObject())); in Delete() 57 int entry = TaggedTreeSet::FindEntry(thread, setHandle, key); in Delete() 62 JSTaggedValue newSet = TaggedTreeSet::Delete(thread, setHandle, entry); in Delete() 69 JSHandle<TaggedTreeSet> setHandle(thread, TaggedTreeSet::Cast(set->GetTreeSet().GetTaggedObject())); in Has() 70 return TaggedTreeSet::FindEntry(thread, setHandle, key) >= 0; in Has() 90 JSHandle<TaggedTreeSet> setHandle(thread, TaggedTreeSet::Cast(set->GetTreeSet().GetTaggedObject())); in PopFirst() 91 int entry = setHandle->GetMinimum(setHandle in PopFirst() [all...] |
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_set.cpp | 26 JSHandle<LinkedHashSet> setHandle(thread, LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject())); in Add() 28 JSHandle<LinkedHashSet> newSet = LinkedHashSet::Add(thread, setHandle, value); in Add() 34 JSHandle<LinkedHashSet> setHandle(thread, LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject())); in Delete() 35 int entry = setHandle->FindElement(thread, value.GetTaggedValue()); in Delete() 39 setHandle->RemoveEntry(thread, entry); in Delete() 46 JSHandle<LinkedHashSet> setHandle(thread, LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject())); in Clear() 47 JSHandle<LinkedHashSet> newSet = linkedSet->Clear(thread, setHandle); in Clear()
|
/arkcompiler/ets_runtime/ecmascript/shared_objects/ |
H A D | js_shared_set.cpp | 33 JSHandle<LinkedHashSet> setHandle(thread, LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject())); in Add() 34 JSHandle<LinkedHashSet> newSet = LinkedHashSet::Add(thread, setHandle, value); in Add() 43 JSHandle<LinkedHashSet> setHandle(thread, LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject())); in Delete() 44 int entry = setHandle->FindElement(thread, value.GetTaggedValue()); in Delete() 48 setHandle->RemoveEntry(thread, entry); in Delete() 57 JSHandle<LinkedHashSet> setHandle(thread, LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject())); in Clear() 58 JSHandle<LinkedHashSet> newSet = LinkedHashSet::Clear(thread, setHandle); in Clear()
|
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefishashset_fuzzer/ |
H A D | jsvaluerefishashset_fuzzer.cpp | 136 JSHandle<JSAPIHashSet> setHandle(thread, result); in ConstructobjectHashSet() 137 return setHandle; in ConstructobjectHashSet() 152 JSHandle<JSAPIHashSet> setHandle = ConstructobjectHashSet(thread); in JSValueRefIsHashSetFuzzTest() local 153 JSHandle<JSTaggedValue> jshashmap = JSHandle<JSTaggedValue>::Cast(setHandle); in JSValueRefIsHashSetFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_set.cpp | 57 JSHandle<JSTaggedValue> setHandle(set); in SetConstructor() 58 JSHandle<JSTaggedValue> adder = JSObject::GetProperty(thread, setHandle, adderKey).GetValue(); in SetConstructor() 80 EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, adder, setHandle, undefined, 1); in SetConstructor()
|
H A D | builtins_shared_set.cpp | 63 JSHandle<JSTaggedValue> setHandle(set); in Constructor() 64 JSHandle<JSTaggedValue> adder = JSObject::GetProperty(thread, setHandle, adderKey).GetValue(); in Constructor() 86 EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, adder, setHandle, undefined, 1); in Constructor()
|
/arkcompiler/ets_runtime/ecmascript/containers/tests/ |
H A D | containers_hashset_test.cpp | 111 JSHandle<JSAPIHashSet> setHandle(thread, result); in HWTEST_F_L0() 112 JSTaggedValue resultProto = JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(setHandle)); in HWTEST_F_L0() 115 int size = setHandle->GetSize(); in HWTEST_F_L0()
|
H A D | containers_treeset_test.cpp | 169 JSHandle<JSAPITreeSet> setHandle(thread, result); in HWTEST_F_L0() 170 JSTaggedValue resultProto = JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(setHandle)); in HWTEST_F_L0() 173 int size = setHandle->GetSize(); in HWTEST_F_L0()
|
H A D | containers_vector_test.cpp | 152 JSHandle<JSAPIVector> setHandle(thread, result);
in HWTEST_F_L0() 153 JSTaggedValue resultProto = JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(setHandle));
in HWTEST_F_L0() 156 int size = setHandle->GetSize();
in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
H A D | ffi_workload.cpp | 1289 JSHandle<JSAPIHashSet> setHandle(thread, result); in ConstructobjectHashSet() 1290 return setHandle; in ConstructobjectHashSet() 1557 JSHandle<JSAPIHashSet> setHandle = ConstructobjectHashSet(vm_); in HWTEST_F_L0() local 1558 JSHandle<JSTaggedValue> jsHashMap = JSHandle<JSTaggedValue>::Cast(setHandle); in HWTEST_F_L0()
|