/ark/js_runtime/ecmascript/tooling/test/ |
D | debugger_returns_test.cpp | 70 Local<ObjectRef> enableObject = enableReturns->ToObject(ecmaVm); in HWTEST_F_L0() 89 Local<ObjectRef> setObject = setBreakpointByUrlReturns->ToObject(ecmaVm); in HWTEST_F_L0() 104 Local<ObjectRef> callObject = evaluateOnCallFrameReturns->ToObject(ecmaVm); in HWTEST_F_L0() 124 Local<ArrayRef> getObject = getPossibleBreakpointsReturns->ToObject(ecmaVm); in HWTEST_F_L0() 137 Local<ObjectRef> scriptObject = getScriptSourceReturns->ToObject(ecmaVm); in HWTEST_F_L0() 157 Local<ArrayRef> restartObject = restartFrameReturns->ToObject(ecmaVm); in HWTEST_F_L0() 171 Local<ObjectRef> breakObject = setBreakpointReturns->ToObject(ecmaVm); in HWTEST_F_L0() 190 Local<ObjectRef> instrumentationObject = setInstrumentationBreakpointReturns->ToObject(ecmaVm); in HWTEST_F_L0() 205 Local<ArrayRef> setObject = setScriptSourceReturns->ToObject(ecmaVm); in HWTEST_F_L0() 228 Local<ArrayRef> getObject = getPropertiesReturns->ToObject(ecmaVm); in HWTEST_F_L0() [all …]
|
D | debugger_events_test.cpp | 98 Local<ObjectRef> object1 = paused.ToObject(ecmaVm); in HWTEST_F_L0() 122 Local<ObjectRef> object = resumed.ToObject(ecmaVm); in HWTEST_F_L0() 157 Local<ObjectRef> object1 = parsed.ToObject(ecmaVm); in HWTEST_F_L0() 278 Local<ObjectRef> object1 = parsed.ToObject(ecmaVm); in HWTEST_F_L0() 399 Local<ObjectRef> object1 = consoleProfileFinished.ToObject(ecmaVm); in HWTEST_F_L0() 438 Local<ObjectRef> object1 = consoleProfileStarted.ToObject(ecmaVm); in HWTEST_F_L0() 450 Local<ObjectRef> tmpObject = consoleProfileStarted.GetLocation()->ToObject(ecmaVm); in HWTEST_F_L0() 478 Local<ObjectRef> object1 = preciseCoverageDeltaUpdate.ToObject(ecmaVm); in HWTEST_F_L0() 507 Local<ObjectRef> object1 = heapStatsUpdate.ToObject(ecmaVm); in HWTEST_F_L0() 526 Local<ObjectRef> object1 = lastSeenObjectId.ToObject(ecmaVm); in HWTEST_F_L0() [all …]
|
/ark/js_runtime/ecmascript/builtins/ |
D | builtins_object.cpp | 57 return JSTaggedValue::ToObject(thread, value).GetTaggedValue(); in ObjectConstructor() 71 JSHandle<JSObject> toAssign = JSTaggedValue::ToObject(thread, target); in Assign() 87 JSHandle<JSObject> from = JSTaggedValue::ToObject(thread, source); in Assign() 142 JSHandle<JSObject> props = JSTaggedValue::ToObject(thread, prop); in ObjectDefineProperties() 323 JSHandle<JSObject> handle = JSTaggedValue::ToObject(thread, func); in GetOwnPropertyDesciptor() 354 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, object); in GetOwnPropertyKeys() 440 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, func); in GetPrototypeOf() 523 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, msg); in Keys() 584 JSHandle<JSObject> object = JSTaggedValue::ToObject(thread, msg); in Seal() 659 JSHandle<JSObject> object = JSTaggedValue::ToObject(thread, GetThis(argv)); in HasOwnProperty() [all …]
|
D | builtins_generator.cpp | 41 …JSHandle<JSGeneratorObject> generator(thread, JSGeneratorObject::Cast(*JSTaggedValue::ToObject(thr… in GeneratorPrototypeNext() 61 …JSHandle<JSGeneratorObject> generator(thread, JSGeneratorObject::Cast(*JSTaggedValue::ToObject(thr… in GeneratorPrototypeReturn() 86 …JSHandle<JSGeneratorObject> generator(thread, JSGeneratorObject::Cast(*JSTaggedValue::ToObject(thr… in GeneratorPrototypeThrow()
|
D | builtins_set.cpp | 119 JSHandle<JSSet> set(JSTaggedValue::ToObject(thread, self)); in Add() 138 JSHandle<JSSet> set(thread, JSSet::Cast(*JSTaggedValue::ToObject(thread, self))); in Clear() 156 JSHandle<JSSet> set(thread, JSSet::Cast(*JSTaggedValue::ToObject(thread, self))); in Delete() 174 JSSet *jsSet = JSSet::Cast(*JSTaggedValue::ToObject(thread, self)); in Has() 191 JSHandle<JSSet> set(thread, JSSet::Cast(*JSTaggedValue::ToObject(thread, self))); in ForEach() 236 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() 167 JSWeakSet *jsWeakSet = JSWeakSet::Cast(*JSTaggedValue::ToObject(thread, self)); in Has()
|
D | builtins_array.cpp | 244 JSHandle<JSObject> arrayLikeObj = JSTaggedValue::ToObject(thread, items); in From() 399 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Concat() 525 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, GetThis(argv)); in CopyWithin() 650 JSHandle<JSObject> self = JSTaggedValue::ToObject(thread, GetThis(argv)); in Entries() 666 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Every() 733 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Fill() 809 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Filter() 892 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Find() 952 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in FindIndex() 1011 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in ForEach() [all …]
|
D | builtins_map.cpp | 194 JSMap *jsMap = JSMap::Cast(*JSTaggedValue::ToObject(thread, self)); in Has() 211 JSMap *jsMap = JSMap::Cast(*JSTaggedValue::ToObject(thread, self)); in Get() 228 JSHandle<JSMap> map(thread, JSMap::Cast(*JSTaggedValue::ToObject(thread, self))); in ForEach() 276 JSMap *jsMap = JSMap::Cast(*JSTaggedValue::ToObject(thread, self)); in GetSize()
|
D | builtins_weak_map.cpp | 163 JSWeakMap *jsWeakMap = JSWeakMap::Cast(*JSTaggedValue::ToObject(thread, self)); in Has() 184 JSWeakMap *jsWeakMap = JSWeakMap::Cast(*JSTaggedValue::ToObject(thread, self)); in Get()
|
D | builtins_typedarray.cpp | 212 JSHandle<JSObject> arrayLikeObj = JSTaggedValue::ToObject(thread, source); in From() 442 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Every() 621 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in ForEach() 975 JSHandle<JSObject> src = JSTaggedValue::ToObject(thread, argArray); in Set() 1265 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Sort() 1296 return JSTaggedValue::ToObject(thread, thisHandle).GetTaggedValue(); in Sort()
|
D | builtins_locale.cpp | 70 optionsObj = JSTaggedValue::ToObject(thread, options); in LocaleConstructor()
|
D | builtins_date.cpp | 163 JSHandle<JSObject> object = JSTaggedValue::ToObject(thread, msg); in ToJSON()
|
D | builtins_string.cpp | 177 … JSHandle<JSObject> cooked = JSTaggedValue::ToObject(thread, BuiltinsString::GetCallArg(argv, 0)); in Raw() 184 JSHandle<JSObject> rawObj = JSTaggedValue::ToObject(thread, rawTag); in Raw()
|
/ark/js_runtime/ecmascript/base/ |
D | json_parser.cpp | 27 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, val); in InternalizeJsonProperty()
|
/ark/js_runtime/ecmascript/ |
D | js_generator_object.cpp | 29 JSHandle<JSObject> toObj = JSTaggedValue::ToObject(thread, obj); in GeneratorValidate()
|
D | js_tagged_value.h | 166 static JSHandle<JSObject> ToObject(JSThread *thread, const JSHandle<JSTaggedValue> &tagged);
|
D | js_plural_rules.cpp | 161 prOptions = JSTaggedValue::ToObject(thread, options); in InitializePluralRules()
|
D | js_collator.cpp | 88 optionsObject = JSTaggedValue::ToObject(thread, options); in InitializeCollator()
|
D | js_relative_time_format.cpp | 38 rtfOptions = JSTaggedValue::ToObject(thread, options); in InitializeRelativeTimeFormat()
|
D | js_locale.cpp | 210 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, locales); in CanonicalizeLocaleList() 543 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, options); in SupportedLocales()
|
D | js_tagged_value.cpp | 436 JSHandle<JSObject> JSTaggedValue::ToObject(JSThread *thread, const JSHandle<JSTaggedValue> &tagged) in ToObject() function in panda::ecmascript::JSTaggedValue
|
/ark/js_runtime/ecmascript/tests/ |
D | tagged_value_test.cpp | 819 …CheckOkString(thread, JSHandle<JSTaggedValue>::Cast(JSTaggedValue::ToObject(thread, value1)), righ… in HWTEST_F_L0() 824 …CheckOkString(thread, JSHandle<JSTaggedValue>::Cast(JSTaggedValue::ToObject(thread, value2)), righ… in HWTEST_F_L0() 829 …CheckOkString(thread, JSHandle<JSTaggedValue>::Cast(JSTaggedValue::ToObject(thread, value3)), righ… in HWTEST_F_L0() 849 HWTEST_F_L0(JSTaggedValueTest, ToObject) in HWTEST_F_L0() argument 855 …JSTaggedValue(JSHandle<JSPrimitiveRef>::Cast(JSTaggedValue::ToObject(thread, value1))->GetValue()); in HWTEST_F_L0() 860 …JSTaggedValue(JSHandle<JSPrimitiveRef>::Cast(JSTaggedValue::ToObject(thread, value2))->GetValue()); in HWTEST_F_L0() 865 …JSTaggedValue(JSHandle<JSPrimitiveRef>::Cast(JSTaggedValue::ToObject(thread, value3))->GetValue()); in HWTEST_F_L0() 870 …JSTaggedValue(JSHandle<JSPrimitiveRef>::Cast(JSTaggedValue::ToObject(thread, value4))->GetValue()); in HWTEST_F_L0() 878 …JSTaggedValue(JSHandle<JSPrimitiveRef>::Cast(JSTaggedValue::ToObject(thread, value5))->GetValue()); in HWTEST_F_L0() 888 EXPECT_EQ(*JSTaggedValue::ToObject(thread, value), *jsObj); in HWTEST_F_L0()
|
/ark/js_runtime/ecmascript/builtins/tests/ |
D | builtins_set_test.cpp | 313 …JSHandle<JSFunction> constructor = JSHandle<JSFunction>::Cast(JSTaggedValue::ToObject(thread, valu… in HWTEST_F_L0()
|
D | builtins_map_test.cpp | 300 …JSHandle<JSFunction> constructor = JSHandle<JSFunction>::Cast(JSTaggedValue::ToObject(thread, valu… in HWTEST_F_L0()
|
/ark/js_runtime/ecmascript/napi/include/ |
D | jsnapi.h | 273 Local<ObjectRef> ToObject(const EcmaVM *vm);
|