Lines Matching full:thread
39 static JSTaggedValue CreateBaseJSObject(JSThread *thread, const CString keyCStr) in CreateBaseJSObject() argument
41 EcmaVM *ecmaVM = thread->GetEcmaVM(); in CreateBaseJSObject()
50 JSHandle<JSTaggedValue> handleValue1(thread, JSTaggedValue(1)); // 1 : test case in CreateBaseJSObject()
51 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(jsObject), handleKey1, handleValue1); in CreateBaseJSObject()
55 JSHandle<JSTaggedValue> handleValue2(thread, JSTaggedValue(3.6)); // 3.6 : test case in CreateBaseJSObject()
56 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(jsObject), handleKey2, handleValue2); in CreateBaseJSObject()
61 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(jsObject), handleKey3, handleValue3); in CreateBaseJSObject()
66 static JSHandle<JSSharedMap> CreateSharedMap(JSThread *thread) in CreateSharedMap() argument
68 auto globalEnv = thread->GetEcmaVM()->GetGlobalEnv(); in CreateSharedMap()
70 auto emptySLayout = thread->GlobalConstants()->GetHandledEmptySLayoutInfo(); in CreateSharedMap()
71 auto vm = thread->GetEcmaVM(); in CreateSharedMap()
79 LinkedHashMap::Create(thread, LinkedHashMap::MIN_CAPACITY, MemSpaceKind::SHARED)); in CreateSharedMap()
80 jsMap->SetLinkedMap(thread, linkedMap); in CreateSharedMap()
85 static JSHandle<JSSharedSet> CreateJSSharedSet(JSThread *thread) in CreateJSSharedSet() argument
87 auto globalEnv = thread->GetEcmaVM()->GetGlobalEnv(); in CreateJSSharedSet()
88 auto vm = thread->GetEcmaVM(); in CreateJSSharedSet()
91 auto emptySLayout = thread->GlobalConstants()->GetHandledEmptySLayoutInfo(); in CreateJSSharedSet()
96 LinkedHashSet::Create(thread, LinkedHashSet::MIN_CAPACITY, MemSpaceKind::SHARED)); in CreateJSSharedSet()
97 jsSet->SetLinkedSet(thread, linkedSet); in CreateJSSharedSet()
102 static JSHandle<JSMap> CreateJSMap(JSThread *thread) in CreateJSMap() argument
104 auto globalEnv = thread->GetEcmaVM()->GetGlobalEnv(); in CreateJSMap()
105 auto vm = thread->GetEcmaVM(); in CreateJSMap()
110 JSHandle<LinkedHashMap> linkedMap = LinkedHashMap::Create(thread); in CreateJSMap()
111 map->SetLinkedMap(thread, linkedMap); in CreateJSMap()
112 return JSHandle<JSMap>(thread, *map); in CreateJSMap()
115 static JSHandle<JSSet> CreateJSSet(JSThread *thread) in CreateJSSet() argument
117 auto globalEnv = thread->GetEcmaVM()->GetGlobalEnv(); in CreateJSSet()
119 auto vm = thread->GetEcmaVM(); in CreateJSSet()
124 JSHandle<LinkedHashSet> linkedSet(LinkedHashSet::Create(thread)); in CreateJSSet()
125 jsSet->SetLinkedSet(thread, linkedSet); in CreateJSSet()
129 static JSAPIHashMap *CreateHashMap(JSThread *thread) in CreateHashMap() argument
131 return EcmaContainerCommon::CreateHashMap(thread); in CreateHashMap()
134 static JSAPIHashSet *CreateHashSet(JSThread *thread) in CreateHashSet() argument
136 return EcmaContainerCommon::CreateHashSet(thread); in CreateHashSet()
162 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
163 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv(); in HWTEST_F_L0()
165 …JSHandle<JSTaggedValue> handleObj = JSHandle<JSTaggedValue>(thread, CreateBaseJSObject(thread, "z"… in HWTEST_F_L0()
168 JSHandle<JSTaggedValue> handleValue(thread, handleObj.GetTaggedValue()); in HWTEST_F_L0()
169 JSHandle<JSTaggedValue> handleReplacer1(thread, handleFunc1.GetTaggedValue()); in HWTEST_F_L0()
170 JSHandle<JSTaggedValue> handleReplacer2(thread, handleFunc2.GetTaggedValue()); in HWTEST_F_L0()
171 JSHandle<JSTaggedValue> handleGap(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
173 JsonStringifier stringifier1(thread); in HWTEST_F_L0()
179 JsonStringifier stringifier2(thread); in HWTEST_F_L0()
196 JsonStringifier stringifier(thread); in HWTEST_F_L0()
198 …JSHandle<JSTaggedValue> handleObj = JSHandle<JSTaggedValue>(thread, CreateBaseJSObject(thread, "z"… in HWTEST_F_L0()
199 JSHandle<JSTaggedValue> handleValue(thread, handleObj.GetTaggedValue()); in HWTEST_F_L0()
200 JSHandle<JSTaggedValue> handleReplacer(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
201 JSHandle<JSTaggedValue> handleGap(thread, JSTaggedValue(static_cast<int32_t>(10))); in HWTEST_F_L0()
220 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
221 JsonStringifier stringifier(thread); in HWTEST_F_L0()
223 …JSHandle<JSTaggedValue> handleObj = JSHandle<JSTaggedValue>(thread, CreateBaseJSObject(thread, "z"… in HWTEST_F_L0()
225 JSHandle<EcmaString> handleStr(JSTaggedValue::ToString(thread, handleMsg)); in HWTEST_F_L0()
227 JSHandle<JSTaggedValue> handleValue(thread, handleObj.GetTaggedValue()); in HWTEST_F_L0()
228 JSHandle<JSTaggedValue> handleReplacer(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
229 JSHandle<JSTaggedValue> handleGap(thread, handleStr.GetTaggedValue()); in HWTEST_F_L0()
248 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
249 JsonStringifier stringifier(thread); in HWTEST_F_L0()
251 …JSHandle<JSTaggedValue> handleObj1 = JSHandle<JSTaggedValue>(thread, CreateBaseJSObject(thread, "z… in HWTEST_F_L0()
254 … JSArray::Cast(JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetTaggedValue().GetTaggedObject()); in HWTEST_F_L0()
255 JSHandle<JSObject> handleObj2(thread, handleArr); in HWTEST_F_L0()
256 JSHandle<JSTaggedValue> handleKey0(thread, JSTaggedValue(0)); in HWTEST_F_L0()
258 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(handleObj2), handleKey0, handleValue0); in HWTEST_F_L0()
260 JSHandle<JSTaggedValue> handleKey1(thread, JSTaggedValue(1)); in HWTEST_F_L0()
262 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(handleObj2), handleKey1, handleValue1); in HWTEST_F_L0()
265 JSHandle<EcmaString> handleStr(JSTaggedValue::ToString(thread, handleMsg)); in HWTEST_F_L0()
267 JSHandle<JSTaggedValue> handleValue(thread, handleObj1.GetTaggedValue()); in HWTEST_F_L0()
268 JSHandle<JSTaggedValue> handleReplacer(thread, handleObj2.GetTaggedValue()); in HWTEST_F_L0()
269 JSHandle<JSTaggedValue> handleGap(thread, handleStr.GetTaggedValue()); in HWTEST_F_L0()
287 JsonStringifier stringifier(thread); in HWTEST_F_L0()
288 …JSHandle<JSTaggedValue> handleObj = JSHandle<JSTaggedValue>(thread, CreateBaseJSObject(thread, "z"… in HWTEST_F_L0()
290 JSHandle<JSTaggedValue> handleValue(thread, handleObj.GetTaggedValue()); in HWTEST_F_L0()
291 JSHandle<JSTaggedValue> handleReplacer(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
292 JSHandle<JSTaggedValue> handleGap(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
310 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
311 JsonStringifier stringifier(thread); in HWTEST_F_L0()
314 … JSArray::Cast(JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetTaggedValue().GetTaggedObject()); in HWTEST_F_L0()
315 JSHandle<JSObject> handleObj(thread, handleArr); in HWTEST_F_L0()
317 JSHandle<JSTaggedValue> handleKey0(thread, JSTaggedValue(0)); in HWTEST_F_L0()
319 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(handleObj), handleKey0, handleValue0); in HWTEST_F_L0()
321 JSHandle<JSTaggedValue> handleKey1(thread, JSTaggedValue(1)); in HWTEST_F_L0()
322 …PropertyDescriptor handleDesc(thread, JSHandle<JSTaggedValue>(thread, JSTaggedValue(100)), true, t… in HWTEST_F_L0()
323 JSArray::DefineOwnProperty(thread, handleObj, handleKey1, handleDesc); in HWTEST_F_L0()
325 JSHandle<JSTaggedValue> handleKey2(thread, JSTaggedValue(2)); in HWTEST_F_L0()
327 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(handleObj), handleKey2, handleValue2); in HWTEST_F_L0()
330 JSHandle<EcmaString> handleStr(JSTaggedValue::ToString(thread, handleMsg)); in HWTEST_F_L0()
332 JSHandle<JSTaggedValue> handleValue(thread, handleObj.GetTaggedValue()); in HWTEST_F_L0()
333 JSHandle<JSTaggedValue> handleReplacer(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
334 JSHandle<JSTaggedValue> handleGap(thread, handleStr.GetTaggedValue()); in HWTEST_F_L0()
352 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
353 JsonStringifier stringifier(thread); in HWTEST_F_L0()
356 … JSArray::Cast(JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetTaggedValue().GetTaggedObject()); in HWTEST_F_L0()
357 JSHandle<JSObject> handleObj(thread, handleArr); in HWTEST_F_L0()
359 JSHandle<JSTaggedValue> handleKey0(thread, JSTaggedValue(0)); in HWTEST_F_L0()
360 …PropertyDescriptor handleDesc0(thread, JSHandle<JSTaggedValue>(thread, JSTaggedValue(1)), true, tr… in HWTEST_F_L0()
361 JSArray::DefineOwnProperty(thread, handleObj, handleKey0, handleDesc0); in HWTEST_F_L0()
363 JSHandle<JSTaggedValue> handleKey1(thread, JSTaggedValue(1)); in HWTEST_F_L0()
364 …PropertyDescriptor handleDesc1(thread, JSHandle<JSTaggedValue>(thread, JSTaggedValue(3.6)), true, … in HWTEST_F_L0()
365 JSArray::DefineOwnProperty(thread, handleObj, handleKey1, handleDesc1); in HWTEST_F_L0()
367 JSHandle<JSTaggedValue> handleKey2(thread, JSTaggedValue(2)); in HWTEST_F_L0()
369 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(handleObj), handleKey2, handleValue2); in HWTEST_F_L0()
371 JSHandle<JSTaggedValue> handleValue(thread, handleObj.GetTaggedValue()); in HWTEST_F_L0()
372 JSHandle<JSTaggedValue> handleReplacer(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
373 JSHandle<JSTaggedValue> handleGap(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
392 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
393 JsonStringifier stringifier(thread); in HWTEST_F_L0()
395 JSHandle<JSTaggedValue> undefined = thread->GlobalConstants()->GetHandledUndefined(); in HWTEST_F_L0()
398 JSHandle<JSObject> handleObj(thread, handlePrimitiveRef.GetTaggedValue()); in HWTEST_F_L0()
400 JSHandle<JSTaggedValue> handleValue(thread, handleObj.GetTaggedValue()); in HWTEST_F_L0()
401 JSHandle<JSTaggedValue> handleReplacer(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
402 JSHandle<JSTaggedValue> handleGap(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
440 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
441 JsonStringifier stringifier(thread); in HWTEST_F_L0()
443 EcmaVM *ecmaVM = thread->GetEcmaVM(); in HWTEST_F_L0()
452 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(jsObject), key1, value1); in HWTEST_F_L0()
456 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(jsObject), key2, value2); in HWTEST_F_L0()
458 JSHandle<JSTaggedValue> handleValue(thread, jsObject.GetTaggedValue()); in HWTEST_F_L0()
459 JSHandle<JSTaggedValue> handleReplacer(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
460 JSHandle<JSTaggedValue> handleGap(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
470 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
471 JsonStringifier stringifier(thread, TransformType::SENDABLE); in HWTEST_F_L0()
472 JSHandle<JSSharedMap> sharedMap = CreateSharedMap(thread); in HWTEST_F_L0()
474 JSHandle<JSTaggedValue> handleReplacer(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
475 JSHandle<JSTaggedValue> handleGap(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
481 JsonStringifier stringifier1(thread, TransformType::SENDABLE); in HWTEST_F_L0()
482 JSHandle<JSSharedMap> sharedMap1 = CreateSharedMap(thread); in HWTEST_F_L0()
485 JSSharedMap::Set(thread, sharedMap1, key1, value1); in HWTEST_F_L0()
489 JSSharedMap::Set(thread, sharedMap1, key2, value2); in HWTEST_F_L0()
492 JSHandle<JSTaggedValue> handleReplacer1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
493 JSHandle<JSTaggedValue> handleGap1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
503 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
504 JsonStringifier stringifier(thread, TransformType::SENDABLE); in HWTEST_F_L0()
505 JSHandle<JSMap> jsMap = CreateJSMap(thread); in HWTEST_F_L0()
507 JSHandle<JSTaggedValue> handleReplacer(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
508 JSHandle<JSTaggedValue> handleGap(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
514 JsonStringifier stringifier1(thread, TransformType::SENDABLE); in HWTEST_F_L0()
515 JSHandle<JSMap> jsMap1 = CreateJSMap(thread); in HWTEST_F_L0()
518 JSMap::Set(thread, jsMap1, key1, value1); in HWTEST_F_L0()
522 JSMap::Set(thread, jsMap1, key2, value2); in HWTEST_F_L0()
525 JSHandle<JSTaggedValue> handleReplacer1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
526 JSHandle<JSTaggedValue> handleGap1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
536 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
537 JsonStringifier stringifier(thread, TransformType::SENDABLE); in HWTEST_F_L0()
538 JSHandle<JSSharedSet> sharedSet = CreateJSSharedSet(thread); in HWTEST_F_L0()
540 JSHandle<JSTaggedValue> handleReplacer(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
541 JSHandle<JSTaggedValue> handleGap(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
547 JsonStringifier stringifier1(thread, TransformType::SENDABLE); in HWTEST_F_L0()
548 JSHandle<JSSharedSet> sharedSet1 = CreateJSSharedSet(thread); in HWTEST_F_L0()
550 JSSharedSet::Add(thread, sharedSet1, value1); in HWTEST_F_L0()
553 JSSharedSet::Add(thread, sharedSet1, value2); in HWTEST_F_L0()
556 JSHandle<JSTaggedValue> handleReplacer1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
557 JSHandle<JSTaggedValue> handleGap1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
567 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
568 JsonStringifier stringifier(thread, TransformType::SENDABLE); in HWTEST_F_L0()
569 JSHandle<JSSet> jsSet = CreateJSSet(thread); in HWTEST_F_L0()
571 JSHandle<JSTaggedValue> handleReplacer(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
572 JSHandle<JSTaggedValue> handleGap(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
578 JsonStringifier stringifier1(thread, TransformType::SENDABLE); in HWTEST_F_L0()
579 JSHandle<JSSet> jsSet1 = CreateJSSet(thread); in HWTEST_F_L0()
581 JSSet::Add(thread, jsSet1, value1); in HWTEST_F_L0()
584 JSSet::Add(thread, jsSet1, value2); in HWTEST_F_L0()
587 JSHandle<JSTaggedValue> handleReplacer1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
588 JSHandle<JSTaggedValue> handleGap1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
598 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
599 JsonStringifier stringifier(thread, TransformType::SENDABLE); in HWTEST_F_L0()
600 JSHandle<JSAPIHashMap> hashMap(thread, CreateHashMap(thread)); in HWTEST_F_L0()
602 JSHandle<JSTaggedValue> handleReplacer(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
603 JSHandle<JSTaggedValue> handleGap(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
609 JsonStringifier stringifier1(thread, TransformType::SENDABLE); in HWTEST_F_L0()
610 JSHandle<JSAPIHashMap> hashMap1(thread, CreateHashMap(thread)); in HWTEST_F_L0()
613 JSAPIHashMap::Set(thread, hashMap1, key1, value1); in HWTEST_F_L0()
617 JSAPIHashMap::Set(thread, hashMap1, key2, value2); in HWTEST_F_L0()
620 JSHandle<JSTaggedValue> handleReplacer1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
621 JSHandle<JSTaggedValue> handleGap1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
631 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
632 JsonStringifier stringifier(thread, TransformType::SENDABLE); in HWTEST_F_L0()
633 JSHandle<JSAPIHashSet> hashSet(thread, CreateHashSet(thread)); in HWTEST_F_L0()
635 JSHandle<JSTaggedValue> handleReplacer(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
636 JSHandle<JSTaggedValue> handleGap(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
642 JsonStringifier stringifier1(thread, TransformType::SENDABLE); in HWTEST_F_L0()
643 JSHandle<JSAPIHashSet> hashSet1(thread, CreateHashSet(thread)); in HWTEST_F_L0()
645 JSAPIHashSet::Add(thread, hashSet1, value1); in HWTEST_F_L0()
648 JSAPIHashSet::Add(thread, hashSet1, value2); in HWTEST_F_L0()
651 JSHandle<JSTaggedValue> handleReplacer1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
652 JSHandle<JSTaggedValue> handleGap1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
662 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
664 JsonStringifier stringifier(thread, TransformType::SENDABLE); in HWTEST_F_L0()
665 JSHandle<JSSharedMap> sharedMap1 = CreateSharedMap(thread); in HWTEST_F_L0()
668 JSSharedMap::Set(thread, sharedMap1, key1, value1); in HWTEST_F_L0()
669 JSSharedMap::Clear(thread, sharedMap1); in HWTEST_F_L0()
673 JSSharedMap::Set(thread, sharedMap1, key2, value2); in HWTEST_F_L0()
674 JSSharedMap::Set(thread, sharedMap1, key1, value1); in HWTEST_F_L0()
677 JSHandle<JSTaggedValue> handleReplacer1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
678 JSHandle<JSTaggedValue> handleGap1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
688 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
689 JsonStringifier stringifier(thread, TransformType::SENDABLE); in HWTEST_F_L0()
690 JSHandle<JSSharedSet> sharedSet1 = CreateJSSharedSet(thread); in HWTEST_F_L0()
692 JSSharedSet::Add(thread, sharedSet1, value1); in HWTEST_F_L0()
693 JSSharedSet::Clear(thread, sharedSet1); in HWTEST_F_L0()
696 JSSharedSet::Add(thread, sharedSet1, value2); in HWTEST_F_L0()
697 JSSharedSet::Add(thread, sharedSet1, value1); in HWTEST_F_L0()
700 JSHandle<JSTaggedValue> handleReplacer1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
701 JSHandle<JSTaggedValue> handleGap1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
711 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
713 JsonStringifier stringifier(thread, TransformType::SENDABLE); in HWTEST_F_L0()
714 JSHandle<JSSharedMap> sharedMap1 = CreateSharedMap(thread); in HWTEST_F_L0()
717 JSSharedMap::Set(thread, sharedMap1, key1, value1); in HWTEST_F_L0()
721 JSHandle<JSTaggedValue> undefined(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
722 JSSharedMap::Set(thread, sharedMap1, key2, undefined); in HWTEST_F_L0()
723 JSSharedMap::Set(thread, sharedMap1, undefined, value2); in HWTEST_F_L0()
726 JSHandle<JSTaggedValue> handleReplacer1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
727 JSHandle<JSTaggedValue> handleGap1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
737 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
738 JsonStringifier stringifier(thread, TransformType::SENDABLE); in HWTEST_F_L0()
739 JSHandle<JSSharedSet> sharedSet1 = CreateJSSharedSet(thread); in HWTEST_F_L0()
741 JSSharedSet::Add(thread, sharedSet1, value1); in HWTEST_F_L0()
744 JSSharedSet::Add(thread, sharedSet1, value2); in HWTEST_F_L0()
746 JSHandle<JSTaggedValue> undefined(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
747 JSSharedSet::Add(thread, sharedSet1, undefined); in HWTEST_F_L0()
750 JSHandle<JSTaggedValue> handleReplacer1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
751 JSHandle<JSTaggedValue> handleGap1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
761 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); in HWTEST_F_L0()
762 JsonStringifier stringifier1(thread, TransformType::SENDABLE); in HWTEST_F_L0()
763 JSHandle<JSAPIHashMap> hashMap1(thread, CreateHashMap(thread)); in HWTEST_F_L0()
766 JSAPIHashMap::Set(thread, hashMap1, key1, value1); in HWTEST_F_L0()
769 JSHandle<JSTaggedValue> value2(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
770 JSAPIHashMap::Set(thread, hashMap1, key2, value2); in HWTEST_F_L0()
773 JSHandle<JSTaggedValue> handleReplacer1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
774 JSHandle<JSTaggedValue> handleGap1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
784 JsonStringifier stringifier1(thread, TransformType::SENDABLE); in HWTEST_F_L0()
785 JSHandle<JSAPIHashSet> hashSet1(thread, CreateHashSet(thread)); in HWTEST_F_L0()
786 JSHandle<JSTaggedValue> value1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
787 JSAPIHashSet::Add(thread, hashSet1, value1); in HWTEST_F_L0()
790 JSHandle<JSTaggedValue> handleReplacer1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()
791 JSHandle<JSTaggedValue> handleGap1(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0()