Home
last modified time | relevance | path

Searched refs:JSAPIHashSet (Results 1 – 25 of 27) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_hashset.h23 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);
Djs_api_hashset.cpp26 JSTaggedValue JSAPIHashSet::IsEmpty() in IsEmpty()
31 JSTaggedValue JSAPIHashSet::Has(JSThread *thread, JSTaggedValue value) in Has()
46 void JSAPIHashSet::Add(JSThread *thread, JSHandle<JSAPIHashSet> hashSet, JSHandle<JSTaggedValue> va… in Add()
70 void JSAPIHashSet::Clear(JSThread *thread) in Clear()
80 JSTaggedValue JSAPIHashSet::Remove(JSThread *thread, JSHandle<JSAPIHashSet> hashSet, JSTaggedValue … in Remove()
Djs_api_hashset_iterator.cpp48 JSHandle<JSAPIHashSet> hashSet = JSHandle<JSAPIHashSet>::Cast(iteratedHashSet); in Next()
153 … JSHandle<JSTaggedValue> iter(factory->NewJSAPIHashSetIterator(JSHandle<JSAPIHashSet>(obj), kind)); in CreateHashSetIterator()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_hashset_test.cpp61 JSAPIHashSet *CreateHashSet() in CreateHashSet()
81 …JSHandle<JSAPIHashSet> set(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), co… in CreateHashSet()
91 JSAPIHashSet *set = CreateHashSet(); in HWTEST_F_L0()
102 JSHandle<JSAPIHashSet> hashSet(thread, CreateHashSet()); in HWTEST_F_L0()
107 JSAPIHashSet::Add(thread, hashSet, value); in HWTEST_F_L0()
122 JSAPIHashSet::Add(thread, hashSet, hole); in HWTEST_F_L0()
138 JSHandle<JSAPIHashSet> hashSet(thread, CreateHashSet()); in HWTEST_F_L0()
143 JSAPIHashSet::Add(thread, hashSet, value); in HWTEST_F_L0()
150 …[[maybe_unused]] JSTaggedValue rvalue = JSAPIHashSet::Remove(thread, hashSet, value.GetTaggedValue… in HWTEST_F_L0()
173 JSTaggedValue exceptionValue = JSAPIHashSet::Remove(thread, hashSet, JSTaggedValue::Hole()); in HWTEST_F_L0()
[all …]
Djs_api_hashset_iterator_test.cpp61 JSAPIHashSet *CreateHashSet() in CreateHashSet()
81 …JSHandle<JSAPIHashSet> set(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), co… in CreateHashSet()
98 JSHandle<JSAPIHashSet> jsHashSet(thread, CreateHashSet()); in HWTEST_F_L0()
Ddump_test.cpp211 static JSHandle<JSAPIHashSet> NewJSAPIHashSet(JSThread *thread, ObjectFactory *factory) in NewJSAPIHashSet()
215 …JSHandle<JSHClass> setClass = factory->NewEcmaHClass(JSAPIHashSet::SIZE, JSType::JS_API_HASH_SET, … in NewJSAPIHashSet()
216 …JSHandle<JSAPIHashSet> jsHashSet = JSHandle<JSAPIHashSet>::Cast(factory->NewJSObjectWithInit(setCl… in NewJSAPIHashSet()
1134 CHECK_DUMP_FIELDS(JSObject::SIZE, JSAPIHashSet::SIZE, 2U); in HWTEST_F_L0()
1135 JSHandle<JSAPIHashSet> jsHashSet = NewJSAPIHashSet(thread, factory); in HWTEST_F_L0()
1149 JSHandle<JSAPIHashSet> jsHashSet = NewJSAPIHashSet(thread, factory); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_hashset.cpp48 JSHandle<JSAPIHashSet> hashSet = JSHandle<JSAPIHashSet>::Cast(obj); in HashSetConstructor()
116 JSHandle<JSAPIHashSet> hashSet = JSHandle<JSAPIHashSet>::Cast(self); in Add()
117 JSAPIHashSet::Add(thread, hashSet, value); in Add()
141 JSHandle<JSAPIHashSet> hashSet = JSHandle<JSAPIHashSet>::Cast(self); in Remove()
142 return JSAPIHashSet::Remove(thread, hashSet, key.GetTaggedValue()); in Remove()
163 JSHandle<JSAPIHashSet> jsHashSet = JSHandle<JSAPIHashSet>::Cast(self); in Has()
184 JSHandle<JSAPIHashSet> jsHashSet = JSHandle<JSAPIHashSet>::Cast(self); in Clear()
207 JSHandle<JSAPIHashSet> jsHashSet = JSHandle<JSAPIHashSet>::Cast(self); in GetLength()
228 JSHandle<JSAPIHashSet> jsHashSet = JSHandle<JSAPIHashSet>::Cast(self); in IsEmpty()
258 JSHandle<JSAPIHashSet> hashSet = JSHandle<JSAPIHashSet>::Cast(thisHandle); in ForEach()
Dcontainers_private.cpp1190 … factory->NewEcmaHClass(JSAPIHashSet::SIZE, JSType::JS_API_HASH_SET, hashSetFuncPrototypeValue); in InitializeHashSet()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dcontainers_hashset_stub_builder.h33 GateRef tableOffset = IntPtr(JSAPIHashSet::HASHSET_TABLE_INDEX); in GetTableLength()
40 GateRef tableOffset = IntPtr(JSAPIHashSet::HASHSET_TABLE_INDEX); in GetNode()
/arkcompiler/ets_runtime/test/fuzztest/containershashsetadd_fuzzer/
Dcontainershashsetadd_fuzzer.cpp69 JSHandle<JSAPIHashSet> CreateJSAPIHashSet(JSThread *thread) in CreateJSAPIHashSet()
78 JSHandle<JSAPIHashSet> map(thread, result); in CreateJSAPIHashSet()
101 JSHandle<JSAPIHashSet> hashSet = CreateJSAPIHashSet(thread); in ContainersHashSetAddFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/containershashsetconstructor_fuzzer/
Dcontainershashsetconstructor_fuzzer.cpp69 JSHandle<JSAPIHashSet> CreateJSAPIHashSet(JSThread *thread) in CreateJSAPIHashSet()
78 JSHandle<JSAPIHashSet> map(thread, result); in CreateJSAPIHashSet()
101 JSHandle<JSAPIHashSet> hashSet = CreateJSAPIHashSet(thread); in ContainersHashSetConstructorFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/containershashsetvalues_fuzzer/
Dcontainershashsetvalues_fuzzer.cpp69 JSHandle<JSAPIHashSet> CreateJSAPIHashSet(JSThread *thread) in CreateJSAPIHashSet()
78 JSHandle<JSAPIHashSet> map(thread, result); in CreateJSAPIHashSet()
101 JSHandle<JSAPIHashSet> hashSet = CreateJSAPIHashSet(thread); in ContainersHashSetValuesFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/containershashsetisempty_fuzzer/
Dcontainershashsetisempty_fuzzer.cpp69 JSHandle<JSAPIHashSet> CreateJSAPIHashSet(JSThread *thread) in CreateJSAPIHashSet()
78 JSHandle<JSAPIHashSet> map(thread, result); in CreateJSAPIHashSet()
101 JSHandle<JSAPIHashSet> hashSet = CreateJSAPIHashSet(thread); in ContainersHashSetIsEmptyFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/containershashsetentries_fuzzer/
Dcontainershashsetentries_fuzzer.cpp69 JSHandle<JSAPIHashSet> CreateJSAPIHashSet(JSThread *thread) in CreateJSAPIHashSet()
78 JSHandle<JSAPIHashSet> map(thread, result); in CreateJSAPIHashSet()
101 JSHandle<JSAPIHashSet> hashSet = CreateJSAPIHashSet(thread); in ContainersHashSetEntriesFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/containershashsetforeach_fuzzer/
Dcontainershashsetforeach_fuzzer.cpp68 JSHandle<JSAPIHashSet> CreateJSAPIHashSet(JSThread *thread) in CreateJSAPIHashSet()
77 JSHandle<JSAPIHashSet> map(thread, result); in CreateJSAPIHashSet()
100 JSHandle<JSAPIHashSet> hashSet = CreateJSAPIHashSet(thread); in ContainersHashSetForEachFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/containershashsetremove_fuzzer/
Dcontainershashsetremove_fuzzer.cpp69 JSHandle<JSAPIHashSet> CreateJSAPIHashSet(JSThread *thread) in CreateJSAPIHashSet()
78 JSHandle<JSAPIHashSet> map(thread, result); in CreateJSAPIHashSet()
101 JSHandle<JSAPIHashSet> hashSet = CreateJSAPIHashSet(thread); in ContainersHashSetRemoveFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/containershashsethas_fuzzer/
Dcontainershashsethas_fuzzer.cpp69 JSHandle<JSAPIHashSet> CreateJSAPIHashSet(JSThread *thread) in CreateJSAPIHashSet()
78 JSHandle<JSAPIHashSet> map(thread, result); in CreateJSAPIHashSet()
101 JSHandle<JSAPIHashSet> hashSet = CreateJSAPIHashSet(thread); in ContainersHashSetHasFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/containershashsetgetlength_fuzzer/
Dcontainershashsetgetlength_fuzzer.cpp69 JSHandle<JSAPIHashSet> CreateJSAPIHashSet(JSThread *thread) in CreateJSAPIHashSet()
78 JSHandle<JSAPIHashSet> map(thread, result); in CreateJSAPIHashSet()
101 JSHandle<JSAPIHashSet> hashSet = CreateJSAPIHashSet(thread); in ContainersHashSetGetLengthFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/containershashsetclear_fuzzer/
Dcontainershashsetclear_fuzzer.cpp69 JSHandle<JSAPIHashSet> CreateJSAPIHashSet(JSThread *thread) in CreateJSAPIHashSet()
78 JSHandle<JSAPIHashSet> map(thread, result); in CreateJSAPIHashSet()
101 JSHandle<JSAPIHashSet> hashSet = CreateJSAPIHashSet(thread); in ContainersHashSetClearFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefishashset_fuzzer/
Djsvaluerefishashset_fuzzer.cpp114 JSHandle<JSAPIHashSet> ConstructobjectHashSet(JSThread *thread) in ConstructobjectHashSet()
136 JSHandle<JSAPIHashSet> setHandle(thread, result); in ConstructobjectHashSet()
150 JSHandle<JSAPIHashSet> setHandle = ConstructobjectHashSet(thread); in JSValueRefIsHashSetFuzzTest()
/arkcompiler/ets_runtime/ecmascript/containers/tests/
Dcontainers_hashset_test.cpp79 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/
Dobject_factory.h122 class JSAPIHashSet; variable
626 …JSHandle<JSAPIHashSetIterator> NewJSAPIHashSetIterator(const JSHandle<JSAPIHashSet> &hashSet, Iter…
Ddump.cpp1120 JSAPIHashSet::Cast(obj)->Dump(os); in DumpObject()
2182 void JSAPIHashSet::Dump(std::ostream &os) const in Dump()
2190 void JSAPIHashSet::DumpForSnapshot(std::vector<Reference> &vec) const in DumpForSnapshot()
4235 JSAPIHashSet::Cast(obj)->DumpForSnapshot(vec); in DumpObject()
/arkcompiler/ets_runtime/ecmascript/mem/
Dobject_xray.h591 JSAPIHashSet::Cast(object)->VisitRangeSlot<visitType>(visitor); in VisitObjectBody()
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.cpp54 using ecmascript::JSAPIHashSet;
1018 JSHandle<JSAPIHashSet> hashSet(JSNApiHelper::ToJSHandle(value)); in GetHashSetValue()

12