| /arkcompiler/ets_runtime/ecmascript/js_api/ |
| D | js_api_hashset.h | 23 class JSAPIHashSet : public JSObject { 25 static JSAPIHashSet *Cast(TaggedObject *object) in Cast() 28 return static_cast<JSAPIHashSet *>(object); in Cast() 30 … static void Add(JSThread *thread, JSHandle<JSAPIHashSet> hashSet, JSHandle<JSTaggedValue> value); 31 … static JSTaggedValue Remove(JSThread *thread, JSHandle<JSAPIHashSet> hashSet, JSTaggedValue key);
|
| D | js_api_hashset.cpp | 24 JSTaggedValue JSAPIHashSet::IsEmpty() in IsEmpty() 29 JSTaggedValue JSAPIHashSet::Has(JSThread *thread, JSTaggedValue value) in Has() 44 void JSAPIHashSet::Add(JSThread *thread, JSHandle<JSAPIHashSet> hashSet, JSHandle<JSTaggedValue> va… in Add() 68 void JSAPIHashSet::Clear(JSThread *thread) in Clear() 78 JSTaggedValue JSAPIHashSet::Remove(JSThread *thread, JSHandle<JSAPIHashSet> hashSet, JSTaggedValue … in Remove()
|
| D | js_api_hashset_iterator.cpp | 44 JSHandle<JSAPIHashSet> hashSet = JSHandle<JSAPIHashSet>::Cast(iteratedHashSet); in Next() 86 … JSHandle<JSTaggedValue> iter(factory->NewJSAPIHashSetIterator(JSHandle<JSAPIHashSet>(obj), kind)); in CreateHashSetIterator()
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_api_hashset_test.cpp | 36 JSAPIHashSet *CreateHashSet() in CreateHashSet() 41 …void Update(JSHandle<JSAPIHashSet>& hashSet, JSMutableHandle<JSTaggedValue> value, std::string& my… in Update() 48 JSAPIHashSet::Add(thread, hashSet, value); in Update() 56 JSAPIHashSet *set = CreateHashSet(); in HWTEST_F_L0() 64 JSHandle<JSAPIHashSet> hashSet(thread, CreateHashSet()); in HWTEST_F_L0() 80 JSAPIHashSet::Add(thread, hashSet, hole); in HWTEST_F_L0() 94 JSHandle<JSAPIHashSet> hashSet(thread, CreateHashSet()); in HWTEST_F_L0() 102 …[[maybe_unused]] JSTaggedValue rvalue = JSAPIHashSet::Remove(thread, hashSet, value.GetTaggedValue… in HWTEST_F_L0() 125 JSTaggedValue exceptionValue = JSAPIHashSet::Remove(thread, hashSet, JSTaggedValue::Hole()); in HWTEST_F_L0() 135 JSHandle<JSAPIHashSet> hashSet(thread, CreateHashSet()); in HWTEST_F_L0() [all …]
|
| D | js_api_hashset_iterator_test.cpp | 36 JSAPIHashSet *CreateHashSet() in CreateHashSet() 51 JSHandle<JSAPIHashSet> jsHashSet(thread, CreateHashSet()); in HWTEST_F_L0()
|
| D | ecma_container_common.h | 118 static JSAPIHashSet *CreateHashSet(JSThread *thread) in CreateHashSet() 123 …JSHandle<JSAPIHashSet> set(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), co… in CreateHashSet()
|
| D | dump_test.cpp | 280 static JSHandle<JSAPIHashSet> NewJSAPIHashSet(JSThread *thread, ObjectFactory *factory) in NewJSAPIHashSet() 284 …JSHandle<JSHClass> setClass = factory->NewEcmaHClass(JSAPIHashSet::SIZE, JSType::JS_API_HASH_SET, … in NewJSAPIHashSet() 285 …JSHandle<JSAPIHashSet> jsHashSet = JSHandle<JSAPIHashSet>::Cast(factory->NewJSObjectWithInit(setCl… in NewJSAPIHashSet() 1274 CHECK_DUMP_FIELDS(JSObject::SIZE, JSAPIHashSet::SIZE, 2U); in HWTEST_F_L0() 1275 JSHandle<JSAPIHashSet> jsHashSet = NewJSAPIHashSet(thread, factory); in HWTEST_F_L0() 1289 JSHandle<JSAPIHashSet> jsHashSet = NewJSAPIHashSet(thread, factory); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/containers/ |
| D | containers_hashset.cpp | 44 JSHandle<JSAPIHashSet> hashSet = JSHandle<JSAPIHashSet>::Cast(obj); in HashSetConstructor() 132 JSHandle<JSAPIHashSet> hashSet = JSHandle<JSAPIHashSet>::Cast(self); in Add() 133 JSAPIHashSet::Add(thread, hashSet, value); in Add() 157 JSHandle<JSAPIHashSet> hashSet = JSHandle<JSAPIHashSet>::Cast(self); in Remove() 158 return JSAPIHashSet::Remove(thread, hashSet, key.GetTaggedValue()); in Remove() 179 JSHandle<JSAPIHashSet> jsHashSet = JSHandle<JSAPIHashSet>::Cast(self); in Has() 200 JSHandle<JSAPIHashSet> jsHashSet = JSHandle<JSAPIHashSet>::Cast(self); in Clear() 223 JSHandle<JSAPIHashSet> jsHashSet = JSHandle<JSAPIHashSet>::Cast(self); in GetLength() 244 JSHandle<JSAPIHashSet> jsHashSet = JSHandle<JSAPIHashSet>::Cast(self); in IsEmpty() 274 JSHandle<JSAPIHashSet> hashSet = JSHandle<JSAPIHashSet>::Cast(thisHandle); in ForEach()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
| D | containers_hashset_stub_builder.h | 39 GateRef tableOffset = IntPtr(JSAPIHashSet::HASHSET_TABLE_INDEX); in BUILTINS_WITH_CONTAINERS_HASHSET_STUB_BUILDER() 46 GateRef tableOffset = IntPtr(JSAPIHashSet::HASHSET_TABLE_INDEX); in GetNode()
|
| D | containers_stub_builder.h | 198 GateRef tableOffset = IntPtr(JSAPIHashSet::HASHSET_TABLE_INDEX); in ContainerGetSize() 292 GateRef tableOffset = IntPtr(JSAPIHashSet::HASHSET_TABLE_INDEX); in ContainerGetNode()
|
| /arkcompiler/ets_runtime/test/fuzztest/containershashsetadd_fuzzer/ |
| D | containershashsetadd_fuzzer.cpp | 69 JSHandle<JSAPIHashSet> CreateJSAPIHashSet(JSThread *thread) in CreateJSAPIHashSet() 78 JSHandle<JSAPIHashSet> map(thread, result); in CreateJSAPIHashSet() 103 JSHandle<JSAPIHashSet> hashSet = CreateJSAPIHashSet(thread); in ContainersHashSetAddFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/containershashsetconstructor_fuzzer/ |
| D | containershashsetconstructor_fuzzer.cpp | 69 JSHandle<JSAPIHashSet> CreateJSAPIHashSet(JSThread *thread) in CreateJSAPIHashSet() 78 JSHandle<JSAPIHashSet> map(thread, result); in CreateJSAPIHashSet() 103 JSHandle<JSAPIHashSet> hashSet = CreateJSAPIHashSet(thread); in ContainersHashSetConstructorFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/containershashsetentries_fuzzer/ |
| D | containershashsetentries_fuzzer.cpp | 69 JSHandle<JSAPIHashSet> CreateJSAPIHashSet(JSThread *thread) in CreateJSAPIHashSet() 78 JSHandle<JSAPIHashSet> map(thread, result); in CreateJSAPIHashSet() 103 JSHandle<JSAPIHashSet> hashSet = CreateJSAPIHashSet(thread); in ContainersHashSetEntriesFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/containershashsetisempty_fuzzer/ |
| D | containershashsetisempty_fuzzer.cpp | 69 JSHandle<JSAPIHashSet> CreateJSAPIHashSet(JSThread *thread) in CreateJSAPIHashSet() 78 JSHandle<JSAPIHashSet> map(thread, result); in CreateJSAPIHashSet() 103 JSHandle<JSAPIHashSet> hashSet = CreateJSAPIHashSet(thread); in ContainersHashSetIsEmptyFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/containershashsetforeach_fuzzer/ |
| D | containershashsetforeach_fuzzer.cpp | 68 JSHandle<JSAPIHashSet> CreateJSAPIHashSet(JSThread *thread) in CreateJSAPIHashSet() 77 JSHandle<JSAPIHashSet> map(thread, result); in CreateJSAPIHashSet() 102 JSHandle<JSAPIHashSet> hashSet = CreateJSAPIHashSet(thread); in ContainersHashSetForEachFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/containershashsetvalues_fuzzer/ |
| D | containershashsetvalues_fuzzer.cpp | 69 JSHandle<JSAPIHashSet> CreateJSAPIHashSet(JSThread *thread) in CreateJSAPIHashSet() 78 JSHandle<JSAPIHashSet> map(thread, result); in CreateJSAPIHashSet() 103 JSHandle<JSAPIHashSet> hashSet = CreateJSAPIHashSet(thread); in ContainersHashSetValuesFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/containershashsetremove_fuzzer/ |
| D | containershashsetremove_fuzzer.cpp | 69 JSHandle<JSAPIHashSet> CreateJSAPIHashSet(JSThread *thread) in CreateJSAPIHashSet() 78 JSHandle<JSAPIHashSet> map(thread, result); in CreateJSAPIHashSet() 103 JSHandle<JSAPIHashSet> hashSet = CreateJSAPIHashSet(thread); in ContainersHashSetRemoveFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/containershashsetclear_fuzzer/ |
| D | containershashsetclear_fuzzer.cpp | 69 JSHandle<JSAPIHashSet> CreateJSAPIHashSet(JSThread *thread) in CreateJSAPIHashSet() 78 JSHandle<JSAPIHashSet> map(thread, result); in CreateJSAPIHashSet() 103 JSHandle<JSAPIHashSet> hashSet = CreateJSAPIHashSet(thread); in ContainersHashSetClearFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/containershashsethas_fuzzer/ |
| D | containershashsethas_fuzzer.cpp | 69 JSHandle<JSAPIHashSet> CreateJSAPIHashSet(JSThread *thread) in CreateJSAPIHashSet() 78 JSHandle<JSAPIHashSet> map(thread, result); in CreateJSAPIHashSet() 103 JSHandle<JSAPIHashSet> hashSet = CreateJSAPIHashSet(thread); in ContainersHashSetHasFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/containershashsetgetlength_fuzzer/ |
| D | containershashsetgetlength_fuzzer.cpp | 69 JSHandle<JSAPIHashSet> CreateJSAPIHashSet(JSThread *thread) in CreateJSAPIHashSet() 78 JSHandle<JSAPIHashSet> map(thread, result); in CreateJSAPIHashSet() 103 JSHandle<JSAPIHashSet> hashSet = CreateJSAPIHashSet(thread); in ContainersHashSetGetLengthFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/jsvaluerefishashset_fuzzer/ |
| D | jsvaluerefishashset_fuzzer.cpp | 115 JSHandle<JSAPIHashSet> ConstructobjectHashSet(JSThread *thread) in ConstructobjectHashSet() 137 JSHandle<JSAPIHashSet> setHandle(thread, result); in ConstructobjectHashSet() 156 JSHandle<JSAPIHashSet> setHandle = ConstructobjectHashSet(thread); in JSValueRefIsHashSetFuzzTest()
|
| /arkcompiler/ets_runtime/ecmascript/containers/tests/ |
| D | containers_hashset_test.cpp | 79 JSHandle<JSAPIHashSet> CreateJSAPIHashSet() in CreateJSAPIHashSet() 90 JSHandle<JSAPIHashSet> map(thread, result); in CreateJSAPIHashSet() 111 JSHandle<JSAPIHashSet> setHandle(thread, result); in HWTEST_F_L0() 127 JSHandle<JSAPIHashSet> tSet = CreateJSAPIHashSet(); in HWTEST_F_L0() 158 JSHandle<JSAPIHashSet> tSet = CreateJSAPIHashSet(); in HWTEST_F_L0() 233 JSHandle<JSAPIHashSet> tSet = CreateJSAPIHashSet(); in HWTEST_F_L0() 319 JSHandle<JSAPIHashSet> tSet = CreateJSAPIHashSet(); in HWTEST_F_L0() 416 JSHandle<JSAPIHashSet> hashSet = CreateJSAPIHashSet(); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/base/tests/ |
| D | json_stringifier_test.cpp | 134 static JSAPIHashSet *CreateHashSet(JSThread *thread) in CreateHashSet() 634 JSHandle<JSAPIHashSet> hashSet(thread, CreateHashSet(thread)); in HWTEST_F_L0() 644 JSHandle<JSAPIHashSet> hashSet1(thread, CreateHashSet(thread)); in HWTEST_F_L0() 646 JSAPIHashSet::Add(thread, hashSet1, value1); in HWTEST_F_L0() 649 JSAPIHashSet::Add(thread, hashSet1, value2); in HWTEST_F_L0() 787 JSHandle<JSAPIHashSet> hashSet1(thread, CreateHashSet(thread)); in HWTEST_F_L0() 789 JSAPIHashSet::Add(thread, hashSet1, value1); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/ |
| D | heap_dump_test.cpp | 551 JSHandle<JSAPIHashSet> NewJSAPIHashSet() in NewJSAPIHashSet() 555 …JSHandle<JSObject> jsAPIHashSetObject = NewObject(JSAPIHashSet::SIZE, JSType::JS_API_HASH_SET, pro… in NewJSAPIHashSet() 556 JSHandle<JSAPIHashSet> jsAPIHashSet = JSHandle<JSAPIHashSet>::Cast(jsAPIHashSetObject); in NewJSAPIHashSet()
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | object_xray.h | 670 JSAPIHashSet::Cast(object)->VisitRangeSlot<visitType>(visitor); in VisitObjectBody()
|