Lines Matching refs:JSAPIHashMap
61 JSAPIHashMap *CreateHashMap() in CreateHashMap()
81 …JSHandle<JSAPIHashMap> map(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), co… in CreateHashMap()
91 JSAPIHashMap *map = CreateHashMap(); in HWTEST_F_L0()
103 JSHandle<JSAPIHashMap> hashMap(thread, CreateHashMap()); in HWTEST_F_L0()
110 JSAPIHashMap::Set(thread, hashMap, key, value); in HWTEST_F_L0()
120 JSAPIHashMap::Set(thread, hashMap, key, value); in HWTEST_F_L0()
147 JSHandle<JSAPIHashMap> hashMap(thread, CreateHashMap()); in HWTEST_F_L0()
150 JSTaggedValue undefined = JSAPIHashMap::Remove(thread, hashMap, JSTaggedValue::Hole()); in HWTEST_F_L0()
154 JSTaggedValue undefined1 = JSAPIHashMap::Remove(thread, hashMap, JSTaggedValue(0)); in HWTEST_F_L0()
164 JSAPIHashMap::Set(thread, hashMap, key, value); in HWTEST_F_L0()
169 JSTaggedValue undefined2 = JSAPIHashMap::Remove(thread, hashMap, JSTaggedValue(0)); in HWTEST_F_L0()
175 …[[maybe_unused]] JSTaggedValue rValue = JSAPIHashMap::Remove(thread, hashMap, key.GetTaggedValue()… in HWTEST_F_L0()
188 JSTaggedValue hasValue = JSAPIHashMap::HasValue(thread, hashMap, value); in HWTEST_F_L0()
201 JSTaggedValue hasValue = JSAPIHashMap::HasValue(thread, hashMap, value); in HWTEST_F_L0()
213 JSHandle<JSAPIHashMap> hashMap(thread, CreateHashMap()); in HWTEST_F_L0()
221 JSAPIHashMap::Set(thread, hashMap, key, value); in HWTEST_F_L0()
254 …[[maybe_unused]] JSTaggedValue rValue = JSAPIHashMap::Remove(thread, hashMap, key.GetTaggedValue()… in HWTEST_F_L0()
269 JSTaggedValue hasValue = JSAPIHashMap::HasValue(thread, hashMap, value); in HWTEST_F_L0()
278 JSHandle<JSAPIHashMap> hashMap(thread, CreateHashMap()); in HWTEST_F_L0()
284 JSAPIHashMap::Set(thread, hashMap, key, value); in HWTEST_F_L0()
298 JSTaggedValue iterValueFlag = JSAPIHashMap::HasValue(thread, hashMap, tmpIterValue); in HWTEST_F_L0()
314 JSTaggedValue iterValueFlag = JSAPIHashMap::HasValue(thread, hashMap, tmpValue); in HWTEST_F_L0()
319 JSTaggedValue rValue = JSAPIHashMap::Remove(thread, hashMap, key.GetTaggedValue()); in HWTEST_F_L0()
328 JSTaggedValue iterValueFlag = JSAPIHashMap::HasValue(thread, hashMap, tmpIterValue); in HWTEST_F_L0()
333 JSAPIHashMap::Set(thread, hashMap, key, key); in HWTEST_F_L0()
347 JSHandle<JSAPIHashMap> hashMap(thread, CreateHashMap()); in HWTEST_F_L0()
356 JSAPIHashMap::Set(thread, hashMap, key, value); in HWTEST_F_L0()
380 JSHandle<JSAPIHashMap> hashMap(thread, CreateHashMap()); in HWTEST_F_L0()
387 JSAPIHashMap::Set(thread, hashMap, key, value); in HWTEST_F_L0()
393 JSTaggedValue hasValue = JSAPIHashMap::HasValue(thread, hashMap, value); in HWTEST_F_L0()
397 JSTaggedValue hasValue = JSAPIHashMap::HasValue(thread, hashMap, value); in HWTEST_F_L0()
418 JSHandle<JSAPIHashMap> dstHashMap(thread, CreateHashMap()); in HWTEST_F_L0()
419 JSHandle<JSAPIHashMap> srcHashMap(thread, CreateHashMap()); in HWTEST_F_L0()
428 JSAPIHashMap::Set(thread, dstHashMap, key, dstValue); in HWTEST_F_L0()
429 JSAPIHashMap::Set(thread, srcHashMap, key, srcValue); in HWTEST_F_L0()
433 JSAPIHashMap::SetAll(thread, dstHashMap, srcHashMap); in HWTEST_F_L0()
443 JSAPIHashMap::Remove(thread, dstHashMap, key.GetTaggedValue()); in HWTEST_F_L0()