/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_generator.cpp | 42 …JSHandle<JSGeneratorObject> generator(thread, JSGeneratorObject::Cast(*JSTaggedValue::ToObject(thr… in GeneratorPrototypeNext() 63 …JSHandle<JSGeneratorObject> generator(thread, JSGeneratorObject::Cast(*JSTaggedValue::ToObject(thr… in GeneratorPrototypeReturn() 88 …JSHandle<JSGeneratorObject> generator(thread, JSGeneratorObject::Cast(*JSTaggedValue::ToObject(thr… in GeneratorPrototypeThrow()
|
D | builtins_object.cpp | 60 return JSTaggedValue::ToObject(thread, value).GetTaggedValue(); in ObjectConstructor() 74 JSHandle<JSObject> toAssign = JSTaggedValue::ToObject(thread, target); in Assign() 90 JSHandle<JSObject> from = JSTaggedValue::ToObject(thread, source); in Assign() 148 JSHandle<JSObject> props = JSTaggedValue::ToObject(thread, prop); in ObjectDefineProperties() 329 JSHandle<JSObject> handle = JSTaggedValue::ToObject(thread, func); in GetOwnPropertyDescriptor() 360 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, object); in GetOwnPropertyKeys() 448 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, func); in GetPrototypeOf() 533 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, msg); in Keys() 559 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, msg); in Values() 621 JSHandle<JSObject> object = JSTaggedValue::ToObject(thread, msg); in Seal() [all …]
|
D | builtins_set.cpp | 120 JSHandle<JSSet> set(JSTaggedValue::ToObject(thread, self)); in Add() 139 JSHandle<JSSet> set(thread, JSSet::Cast(*JSTaggedValue::ToObject(thread, self))); in Clear() 158 JSHandle<JSSet> set(thread, JSSet::Cast(*JSTaggedValue::ToObject(thread, self))); in Delete() 177 JSSet *jsSet = JSSet::Cast(*JSTaggedValue::ToObject(thread, self)); in Has() 255 JSSet *jsSet = JSSet::Cast(*JSTaggedValue::ToObject(thread, self)); in GetSize()
|
D | builtins_weak_set.cpp | 128 JSHandle<JSWeakSet> weakSet(thread, JSWeakSet::Cast(*JSTaggedValue::ToObject(thread, self))); in Add() 147 JSHandle<JSWeakSet> weakSet(thread, JSWeakSet::Cast(*JSTaggedValue::ToObject(thread, self))); in Delete() 169 JSWeakSet *jsWeakSet = JSWeakSet::Cast(*JSTaggedValue::ToObject(thread, self)); in Has()
|
D | builtins_array.cpp | 254 JSHandle<JSObject> arrayLikeObj = JSTaggedValue::ToObject(thread, items); in From() 416 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Concat() 525 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, GetThis(argv)); in CopyWithin() 651 JSHandle<JSObject> self = JSTaggedValue::ToObject(thread, GetThis(argv)); in Entries() 668 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Every() 745 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Fill() 845 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Filter() 934 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Find() 996 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in FindIndex() 1065 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in ForEach() [all …]
|
D | builtins_weak_map.cpp | 109 JSWeakMap *jsWeakMap = JSWeakMap::Cast(*JSTaggedValue::ToObject(thread, self)); in Has() 131 JSWeakMap *jsWeakMap = JSWeakMap::Cast(*JSTaggedValue::ToObject(thread, self)); in Get()
|
D | builtins_map.cpp | 136 JSMap *jsMap = JSMap::Cast(*JSTaggedValue::ToObject(thread, self)); in Has() 154 JSMap *jsMap = JSMap::Cast(*JSTaggedValue::ToObject(thread, self)); in Get() 232 JSMap *jsMap = JSMap::Cast(*JSTaggedValue::ToObject(thread, self)); in GetSize()
|
D | builtins_typedarray.cpp | 254 JSHandle<JSObject> arrayLikeObj = JSTaggedValue::ToObject(thread, source); in From() 492 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Every() 680 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in ForEach() 1080 JSHandle<JSObject> src = JSTaggedValue::ToObject(thread, argArray); in Set() 1391 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Sort() 1612 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in At() 1827 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in ToReversed()
|
D | builtins_locale.cpp | 74 optionsObj = JSTaggedValue::ToObject(thread, options); in LocaleConstructor()
|
D | builtins_date.cpp | 156 JSHandle<JSObject> object = JSTaggedValue::ToObject(thread, msg); in ToJSON()
|
/arkcompiler/toolchain/tooling/agent/ |
D | runtime_impl.cpp | 526 Local<MapIteratorRef> iterRef = value->ToObject(vm_); in GetMapIteratorValue() 539 Local<SetIteratorRef> iterRef = value->ToObject(vm_); in GetSetIteratorValue() 552 Local<GeneratorFunctionRef> genFuncRef = value->ToObject(vm_); in GetGeneratorFunctionValue() 563 Local<GeneratorObjectRef> genObjRef = value->ToObject(vm_); in GetGeneratorObjectValue() 577 Local<NumberFormatRef> numberFormatRef = value->ToObject(vm_); in GetNumberFormatValue() 585 Local<CollatorRef> collatorRef = value->ToObject(vm_); in GetCollatorValue() 593 Local<DataTimeFormatRef> dtFormatRef = value->ToObject(vm_); in GetDateTimeFormatValue() 601 Local<MapRef> mapRef = value->ToObject(vm_); in GetMapValue() 627 Local<WeakMapRef> weakMapRef = value->ToObject(vm_); in GetWeakMapValue() 653 Local<SetRef> setRef = value->ToObject(vm_); in GetSetValue() [all …]
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_async_function.cpp | 103 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, asyncFuncObj); in AsyncFunctionAwait() 108 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, asyncFuncObj); in AsyncFunctionAwait()
|
D | js_generator_object.cpp | 30 JSHandle<JSObject> toObj = JSTaggedValue::ToObject(thread, obj); in GeneratorValidate()
|
D | js_async_generator_object.cpp | 47 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, gen); in AsyncGeneratorValidate() 282 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, gen); in AsyncGeneratorEnqueue()
|
D | js_displaynames.cpp | 129 JSHandle<JSObject> optionsObject = JSTaggedValue::ToObject(thread, options); in InitializeDisplayNames()
|
D | js_list_format.cpp | 107 optionsObject = JSTaggedValue::ToObject(thread, options); in InitializeListFormat()
|
D | js_plural_rules.cpp | 164 prOptions = JSTaggedValue::ToObject(thread, options); in InitializePluralRules()
|
D | js_collator.cpp | 100 optionsObject = JSTaggedValue::ToObject(thread, options); in InitializeCollator()
|
D | js_tagged_value.h | 427 static JSHandle<JSObject> ToObject(JSThread *thread, const JSHandle<JSTaggedValue> &tagged);
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | json_parser.cpp | 28 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, val); in InternalizeJsonProperty()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | tagged_value_test.cpp | 827 …CheckOkString(thread, JSHandle<JSTaggedValue>::Cast(JSTaggedValue::ToObject(thread, value1)), righ… in HWTEST_F_L0() 832 …CheckOkString(thread, JSHandle<JSTaggedValue>::Cast(JSTaggedValue::ToObject(thread, value2)), righ… in HWTEST_F_L0() 837 …CheckOkString(thread, JSHandle<JSTaggedValue>::Cast(JSTaggedValue::ToObject(thread, value3)), righ… in HWTEST_F_L0() 854 HWTEST_F_L0(JSTaggedValueTest, ToObject) in HWTEST_F_L0() argument 860 …JSTaggedValue(JSHandle<JSPrimitiveRef>::Cast(JSTaggedValue::ToObject(thread, value1))->GetValue()); in HWTEST_F_L0() 865 …JSTaggedValue(JSHandle<JSPrimitiveRef>::Cast(JSTaggedValue::ToObject(thread, value2))->GetValue()); in HWTEST_F_L0() 870 …JSTaggedValue(JSHandle<JSPrimitiveRef>::Cast(JSTaggedValue::ToObject(thread, value3))->GetValue()); in HWTEST_F_L0() 875 …JSTaggedValue(JSHandle<JSPrimitiveRef>::Cast(JSTaggedValue::ToObject(thread, value4))->GetValue()); in HWTEST_F_L0() 884 …JSTaggedValue(JSHandle<JSPrimitiveRef>::Cast(JSTaggedValue::ToObject(thread, value5))->GetValue()); in HWTEST_F_L0() 894 EXPECT_EQ(*JSTaggedValue::ToObject(thread, value), *jsObj); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/intl/ |
D | global_intl_helper.cpp | 141 optionsObject = JSTaggedValue::ToObject(thread, options); in OptionsToMap()
|
D | locale_helper.cpp | 85 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, locales); in CanonicalizeLocaleList()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_set_test.cpp | 322 …JSHandle<JSFunction> constructor = JSHandle<JSFunction>::Cast(JSTaggedValue::ToObject(thread, valu… in HWTEST_F_L0()
|
D | builtins_map_test.cpp | 311 …JSHandle<JSFunction> constructor = JSHandle<JSFunction>::Cast(JSTaggedValue::ToObject(thread, valu… in HWTEST_F_L0()
|