/arkcompiler/ets_runtime/ecmascript/js_api/ |
D | js_api_lightweightset.cpp | 29 bool JSAPILightWeightSet::Add(JSThread *thread, const JSHandle<JSAPILightWeightSet> &obj, in Add() 40 index ^= JSAPILightWeightSet::HASH_REBELLION; in Add() 61 JSTaggedValue JSAPILightWeightSet::Get(const uint32_t index) in Get() 67 JSHandle<TaggedArray> JSAPILightWeightSet::CreateSlot(const JSThread *thread, const uint32_t capaci… in CreateSlot() 78 int32_t JSAPILightWeightSet::GetHashIndex(const JSHandle<JSTaggedValue> &value, int32_t size) in GetHashIndex() 107 int32_t JSAPILightWeightSet::BinarySearchHashes(uint32_t hash, int32_t size) in BinarySearchHashes() 127 bool JSAPILightWeightSet::AddAll(JSThread *thread, const JSHandle<JSAPILightWeightSet> &obj, in AddAll() 131 JSHandle<JSAPILightWeightSet> srcLightWeightSet = JSHandle<JSAPILightWeightSet>::Cast(value); in AddAll() 138 changed |= JSAPILightWeightSet::Add(thread, obj, element); in AddAll() 143 void JSAPILightWeightSet::EnsureCapacity(const JSThread *thread, const JSHandle<JSAPILightWeightSet… in EnsureCapacity() [all …]
|
D | js_api_lightweightset.h | 23 class JSAPILightWeightSet : public JSObject { 27 static JSAPILightWeightSet *Cast(TaggedObject *object) in Cast() 30 return static_cast<JSAPILightWeightSet *>(object); in Cast() 32 …static bool Add(JSThread *thread, const JSHandle<JSAPILightWeightSet> &obj, const JSHandle<JSTagge… 34 static void EnsureCapacity(const JSThread *thread, const JSHandle<JSAPILightWeightSet> &obj, 36 …static void SizeCopy(const JSThread *thread, const JSHandle<JSAPILightWeightSet> &obj, uint32_t ca… 38 static bool AddAll(JSThread *thread, const JSHandle<JSAPILightWeightSet> &obj, 40 static bool Equal(JSThread *thread, const JSHandle<JSAPILightWeightSet> &obj, 42 …static void IncreaseCapacityTo(JSThread *thread, const JSHandle<JSAPILightWeightSet> &obj, int32_t… 43 static JSTaggedValue ToString(JSThread *thread, const JSHandle<JSAPILightWeightSet> &obj); [all …]
|
D | js_api_lightweightset_iterator.cpp | 52 length = JSHandle<JSAPILightWeightSet>(lightWeightSet)->GetLength(); in Next() 61 …thread, TaggedArray::Cast(JSHandle<JSAPILightWeightSet>(lightWeightSet)->GetValues().GetTaggedObje… in Next() 67 … TaggedArray::Cast(JSHandle<JSAPILightWeightSet>(lightWeightSet)->GetHashes().GetTaggedObject()); in Next()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_api_lightweightset_test.cpp | 61 JSAPILightWeightSet *CreateLightWeightSet() in CreateLightWeightSet() 81 JSHandle<JSAPILightWeightSet> lightweightSet = in CreateLightWeightSet() 82 …JSHandle<JSAPILightWeightSet>::Cast(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constru… in CreateLightWeightSet() 95 JSAPILightWeightSet *lightweightSet = CreateLightWeightSet(); in HWTEST_F_L0() 102 JSHandle<JSAPILightWeightSet> lws(thread, CreateLightWeightSet()); in HWTEST_F_L0() 103 JSHandle<JSAPILightWeightSet> srcLws(thread, CreateLightWeightSet()); in HWTEST_F_L0() 104 JSHandle<JSAPILightWeightSet> destLws(thread, CreateLightWeightSet()); in HWTEST_F_L0() 110 …bool result = JSAPILightWeightSet::Add(thread, lws, JSHandle<JSTaggedValue>(thread, JSTaggedValue(… in HWTEST_F_L0() 116 JSAPILightWeightSet::IncreaseCapacityTo(thread, lws, static_cast<int32_t>(tmp)); in HWTEST_F_L0() 121 JSAPILightWeightSet::IncreaseCapacityTo(thread, lws, 0); in HWTEST_F_L0() [all …]
|
D | js_api_lightweightset_iterator_test.cpp | 61 JSAPILightWeightSet *CreateLightWeightSet() in CreateLightWeightSet() 81 JSHandle<JSAPILightWeightSet> lightweightSet = in CreateLightWeightSet() 82 …JSHandle<JSAPILightWeightSet>::Cast(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constru… in CreateLightWeightSet() 102 JSHandle<JSAPILightWeightSet> jsLightWeightSet(thread, CreateLightWeightSet()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/containers/ |
D | containers_lightweightset.cpp | 44 JSHandle<JSAPILightWeightSet> lightweightSet = JSHandle<JSAPILightWeightSet>::Cast(obj); in LightWeightSetConstructor() 47 JSAPILightWeightSet::CreateSlot(thread, JSAPILightWeightSet::DEFAULT_CAPACITY_LENGTH); in LightWeightSetConstructor() 49 JSAPILightWeightSet::CreateSlot(thread, JSAPILightWeightSet::DEFAULT_CAPACITY_LENGTH); in LightWeightSetConstructor() 72 bool flag = JSAPILightWeightSet::Add(thread, JSHandle<JSAPILightWeightSet>::Cast(self), value); in Add() 107 …return JSTaggedValue(JSAPILightWeightSet::AddAll(thread, JSHandle<JSAPILightWeightSet>::Cast(self)… in AddAll() 126 JSAPILightWeightSet *set = JSAPILightWeightSet::Cast(self->GetTaggedObject()); in IsEmpty() 156 JSAPILightWeightSet *set = JSAPILightWeightSet::Cast(self->GetTaggedObject()); in GetValueAt() 189 JSAPILightWeightSet *set = JSAPILightWeightSet::Cast(self->GetTaggedObject()); in HasAll() 210 JSAPILightWeightSet *set = JSAPILightWeightSet::Cast(self->GetTaggedObject()); in Has() 231 JSAPILightWeightSet *set = JSAPILightWeightSet::Cast(self->GetTaggedObject()); in HasHash() [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
D | containers_lightweightset_stub_builder.h | 33 return Load(VariableType::INT32(), obj, IntPtr(JSAPILightWeightSet::LENGTH_OFFSET)); in GetSize() 43 GateRef valuesOffset = IntPtr(JSAPILightWeightSet::VALUES_OFFSET); in GetValue()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetforeach_fuzzer/ |
D | containerslightweightsetforeach_fuzzer.cpp | 67 JSHandle<JSAPILightWeightSet> CreateJSAPILightWeightSet(JSThread *thread) in CreateJSAPILightWeightSet() 75 JSHandle<JSAPILightWeightSet> map(thread, result); in CreateJSAPILightWeightSet() 98 JSHandle<JSAPILightWeightSet> lightWeightSet = CreateJSAPILightWeightSet(thread); in ContainersLightWeightSetFuzzTest() 99 JSHandle<JSAPILightWeightSet> lws = CreateJSAPILightWeightSet(thread); in ContainersLightWeightSetFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetaddall_fuzzer/ |
D | containerslightweightsetaddall_fuzzer.cpp | 67 JSHandle<JSAPILightWeightSet> CreateJSAPILightWeightSet(JSThread *thread) in CreateJSAPILightWeightSet() 75 JSHandle<JSAPILightWeightSet> map(thread, result); in CreateJSAPILightWeightSet() 97 JSHandle<JSAPILightWeightSet> lightWeightSet = CreateJSAPILightWeightSet(thread); in ContainersLightWeightSetFuzzTest() 98 JSHandle<JSAPILightWeightSet> lws = CreateJSAPILightWeightSet(thread); in ContainersLightWeightSetFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsethasall_fuzzer/ |
D | containerslightweightsethasall_fuzzer.cpp | 67 JSHandle<JSAPILightWeightSet> CreateJSAPILightWeightSet(JSThread *thread) in CreateJSAPILightWeightSet() 75 JSHandle<JSAPILightWeightSet> map(thread, result); in CreateJSAPILightWeightSet() 97 JSHandle<JSAPILightWeightSet> lightWeightSet = CreateJSAPILightWeightSet(thread); in ContainersLightWeightSetFuzzTest() 98 JSHandle<JSAPILightWeightSet> lws = CreateJSAPILightWeightSet(thread); in ContainersLightWeightSetFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/containers/tests/ |
D | containers_lightweightset_test.cpp | 67 JSHandle<JSAPILightWeightSet> jSAPILightWeightSet(GetThis(argv)); in TestForEachFunc() 68 JSAPILightWeightSet::Add(thread, jSAPILightWeightSet, value); in TestForEachFunc() 94 JSHandle<JSAPILightWeightSet> CreateJSAPILightWeightSet() in CreateJSAPILightWeightSet() 106 JSHandle<JSAPILightWeightSet> map(thread, result); in CreateJSAPILightWeightSet() 126 JSHandle<JSAPILightWeightSet> mapHandle(thread, result); in HWTEST_F_L0() 141 JSHandle<JSAPILightWeightSet> lightWeightSet = CreateJSAPILightWeightSet(); in HWTEST_F_L0() 182 JSHandle<JSAPILightWeightSet> lightWeightSet = CreateJSAPILightWeightSet(); in HWTEST_F_L0() 199 JSHandle<JSAPILightWeightSet> lws = CreateJSAPILightWeightSet(); in HWTEST_F_L0() 235 JSHandle<JSAPILightWeightSet> lightWeightSet = CreateJSAPILightWeightSet(); in HWTEST_F_L0() 252 JSHandle<JSAPILightWeightSet> lws = CreateJSAPILightWeightSet(); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetgetindexof_fuzzer/ |
D | containerslightweightsetgetindexof_fuzzer.cpp | 67 JSHandle<JSAPILightWeightSet> CreateJSAPILightWeightSet(JSThread *thread) in CreateJSAPILightWeightSet() 75 JSHandle<JSAPILightWeightSet> map(thread, result); in CreateJSAPILightWeightSet() 97 JSHandle<JSAPILightWeightSet> lightWeightSet = CreateJSAPILightWeightSet(thread); in ContainersLightWeightSetFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetclear_fuzzer/ |
D | containerslightweightsetclear_fuzzer.cpp | 67 JSHandle<JSAPILightWeightSet> CreateJSAPILightWeightSet(JSThread *thread) in CreateJSAPILightWeightSet() 75 JSHandle<JSAPILightWeightSet> map(thread, result); in CreateJSAPILightWeightSet() 97 JSHandle<JSAPILightWeightSet> lightWeightSet = CreateJSAPILightWeightSet(thread); in ContainersLightWeightSetFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetvalues_fuzzer/ |
D | containerslightweightsetvalues_fuzzer.cpp | 67 JSHandle<JSAPILightWeightSet> CreateJSAPILightWeightSet(JSThread *thread) in CreateJSAPILightWeightSet() 75 JSHandle<JSAPILightWeightSet> map(thread, result); in CreateJSAPILightWeightSet() 97 JSHandle<JSAPILightWeightSet> lightWeightSet = CreateJSAPILightWeightSet(thread); in ContainersLightWeightSetFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetgetiteratorobj_fuzzer/ |
D | containerslightweightsetgetiteratorobj_fuzzer.cpp | 67 JSHandle<JSAPILightWeightSet> CreateJSAPILightWeightSet(JSThread *thread) in CreateJSAPILightWeightSet() 75 JSHandle<JSAPILightWeightSet> map(thread, result); in CreateJSAPILightWeightSet() 97 JSHandle<JSAPILightWeightSet> lightWeightSet = CreateJSAPILightWeightSet(thread); in ContainersLightWeightSetFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetgetvalueat_fuzzer/ |
D | containerslightweightsetgetvalueat_fuzzer.cpp | 67 JSHandle<JSAPILightWeightSet> CreateJSAPILightWeightSet(JSThread *thread) in CreateJSAPILightWeightSet() 75 JSHandle<JSAPILightWeightSet> map(thread, result); in CreateJSAPILightWeightSet() 97 JSHandle<JSAPILightWeightSet> lightWeightSet = CreateJSAPILightWeightSet(thread); in ContainersLightWeightSetFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsethashash_fuzzer/ |
D | containerslightweightsethashash_fuzzer.cpp | 67 JSHandle<JSAPILightWeightSet> CreateJSAPILightWeightSet(JSThread *thread) in CreateJSAPILightWeightSet() 75 JSHandle<JSAPILightWeightSet> map(thread, result); in CreateJSAPILightWeightSet() 97 JSHandle<JSAPILightWeightSet> lightWeightSet = CreateJSAPILightWeightSet(thread); in ContainersLightWeightSetFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetgetsize_fuzzer/ |
D | containerslightweightsetgetsize_fuzzer.cpp | 67 JSHandle<JSAPILightWeightSet> CreateJSAPILightWeightSet(JSThread *thread) in CreateJSAPILightWeightSet() 75 JSHandle<JSAPILightWeightSet> map(thread, result); in CreateJSAPILightWeightSet() 97 JSHandle<JSAPILightWeightSet> lightWeightSet = CreateJSAPILightWeightSet(thread); in ContainersLightWeightSetFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsettoarray_fuzzer/ |
D | containerslightweightsettoarray_fuzzer.cpp | 67 JSHandle<JSAPILightWeightSet> CreateJSAPILightWeightSet(JSThread *thread) in CreateJSAPILightWeightSet() 75 JSHandle<JSAPILightWeightSet> map(thread, result); in CreateJSAPILightWeightSet() 97 JSHandle<JSAPILightWeightSet> lightWeightSet = CreateJSAPILightWeightSet(thread); in ContainersLightWeightSetFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetentries_fuzzer/ |
D | containerslightweightsetentries_fuzzer.cpp | 67 JSHandle<JSAPILightWeightSet> CreateJSAPILightWeightSet(JSThread *thread) in CreateJSAPILightWeightSet() 75 JSHandle<JSAPILightWeightSet> map(thread, result); in CreateJSAPILightWeightSet() 97 JSHandle<JSAPILightWeightSet> lightWeightSet = CreateJSAPILightWeightSet(thread); in ContainersLightWeightSetFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetisempty_fuzzer/ |
D | containerslightweightsetisempty_fuzzer.cpp | 67 JSHandle<JSAPILightWeightSet> CreateJSAPILightWeightSet(JSThread *thread) in CreateJSAPILightWeightSet() 75 JSHandle<JSAPILightWeightSet> map(thread, result); in CreateJSAPILightWeightSet() 97 JSHandle<JSAPILightWeightSet> lightWeightSet = CreateJSAPILightWeightSet(thread); in ContainersLightWeightSetFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsethas_fuzzer/ |
D | containerslightweightsethas_fuzzer.cpp | 67 JSHandle<JSAPILightWeightSet> CreateJSAPILightWeightSet(JSThread *thread) in CreateJSAPILightWeightSet() 75 JSHandle<JSAPILightWeightSet> map(thread, result); in CreateJSAPILightWeightSet() 97 JSHandle<JSAPILightWeightSet> lightWeightSet = CreateJSAPILightWeightSet(thread); in ContainersLightWeightSetFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetremove_fuzzer/ |
D | containerslightweightsetremove_fuzzer.cpp | 67 JSHandle<JSAPILightWeightSet> CreateJSAPILightWeightSet(JSThread *thread) in CreateJSAPILightWeightSet() 75 JSHandle<JSAPILightWeightSet> map(thread, result); in CreateJSAPILightWeightSet() 97 JSHandle<JSAPILightWeightSet> lightWeightSet = CreateJSAPILightWeightSet(thread); in ContainersLightWeightSetFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsettostring_fuzzer/ |
D | containerslightweightsettostring_fuzzer.cpp | 67 JSHandle<JSAPILightWeightSet> CreateJSAPILightWeightSet(JSThread *thread) in CreateJSAPILightWeightSet() 75 JSHandle<JSAPILightWeightSet> map(thread, result); in CreateJSAPILightWeightSet() 97 JSHandle<JSAPILightWeightSet> lightWeightSet = CreateJSAPILightWeightSet(thread); in ContainersLightWeightSetFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightset_fuzzer/ |
D | containerslightweightset_fuzzer.cpp | 69 JSHandle<JSAPILightWeightSet> CreateJSAPILightWeightSet(JSThread *thread) in CreateJSAPILightWeightSet() 77 JSHandle<JSAPILightWeightSet> map(thread, result); in CreateJSAPILightWeightSet() 100 JSHandle<JSAPILightWeightSet> lightWeightSet = CreateJSAPILightWeightSet(thread); in ContainersLightWeightSetFuzzTest()
|