Home
last modified time | relevance | path

Searched refs:ToObject (Results 1 – 25 of 38) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_generator.cpp42 …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()
Dbuiltins_object.cpp60 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 …]
Dbuiltins_set.cpp120 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()
Dbuiltins_weak_set.cpp128 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()
Dbuiltins_array.cpp254 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 …]
Dbuiltins_weak_map.cpp109 JSWeakMap *jsWeakMap = JSWeakMap::Cast(*JSTaggedValue::ToObject(thread, self)); in Has()
131 JSWeakMap *jsWeakMap = JSWeakMap::Cast(*JSTaggedValue::ToObject(thread, self)); in Get()
Dbuiltins_map.cpp136 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()
Dbuiltins_typedarray.cpp254 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()
Dbuiltins_locale.cpp74 optionsObj = JSTaggedValue::ToObject(thread, options); in LocaleConstructor()
Dbuiltins_date.cpp156 JSHandle<JSObject> object = JSTaggedValue::ToObject(thread, msg); in ToJSON()
/arkcompiler/toolchain/tooling/agent/
Druntime_impl.cpp526 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/
Djs_async_function.cpp103 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, asyncFuncObj); in AsyncFunctionAwait()
108 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, asyncFuncObj); in AsyncFunctionAwait()
Djs_generator_object.cpp30 JSHandle<JSObject> toObj = JSTaggedValue::ToObject(thread, obj); in GeneratorValidate()
Djs_async_generator_object.cpp47 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, gen); in AsyncGeneratorValidate()
282 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, gen); in AsyncGeneratorEnqueue()
Djs_displaynames.cpp129 JSHandle<JSObject> optionsObject = JSTaggedValue::ToObject(thread, options); in InitializeDisplayNames()
Djs_list_format.cpp107 optionsObject = JSTaggedValue::ToObject(thread, options); in InitializeListFormat()
Djs_plural_rules.cpp164 prOptions = JSTaggedValue::ToObject(thread, options); in InitializePluralRules()
Djs_collator.cpp100 optionsObject = JSTaggedValue::ToObject(thread, options); in InitializeCollator()
Djs_tagged_value.h427 static JSHandle<JSObject> ToObject(JSThread *thread, const JSHandle<JSTaggedValue> &tagged);
/arkcompiler/ets_runtime/ecmascript/base/
Djson_parser.cpp28 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, val); in InternalizeJsonProperty()
/arkcompiler/ets_runtime/ecmascript/tests/
Dtagged_value_test.cpp827 …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/
Dglobal_intl_helper.cpp141 optionsObject = JSTaggedValue::ToObject(thread, options); in OptionsToMap()
Dlocale_helper.cpp85 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, locales); in CanonicalizeLocaleList()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_set_test.cpp322 …JSHandle<JSFunction> constructor = JSHandle<JSFunction>::Cast(JSTaggedValue::ToObject(thread, valu… in HWTEST_F_L0()
Dbuiltins_map_test.cpp311 …JSHandle<JSFunction> constructor = JSHandle<JSFunction>::Cast(JSTaggedValue::ToObject(thread, valu… in HWTEST_F_L0()

12