Home
last modified time | relevance | path

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

12

/ark/js_runtime/ecmascript/tooling/test/
Ddebugger_returns_test.cpp70 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 …]
Ddebugger_events_test.cpp98 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/
Dbuiltins_object.cpp57 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 …]
Dbuiltins_generator.cpp41 …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()
Dbuiltins_set.cpp119 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()
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()
167 JSWeakSet *jsWeakSet = JSWeakSet::Cast(*JSTaggedValue::ToObject(thread, self)); in Has()
Dbuiltins_array.cpp244 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 …]
Dbuiltins_map.cpp194 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()
Dbuiltins_weak_map.cpp163 JSWeakMap *jsWeakMap = JSWeakMap::Cast(*JSTaggedValue::ToObject(thread, self)); in Has()
184 JSWeakMap *jsWeakMap = JSWeakMap::Cast(*JSTaggedValue::ToObject(thread, self)); in Get()
Dbuiltins_typedarray.cpp212 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()
Dbuiltins_locale.cpp70 optionsObj = JSTaggedValue::ToObject(thread, options); in LocaleConstructor()
Dbuiltins_date.cpp163 JSHandle<JSObject> object = JSTaggedValue::ToObject(thread, msg); in ToJSON()
Dbuiltins_string.cpp177 … 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/
Djson_parser.cpp27 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, val); in InternalizeJsonProperty()
/ark/js_runtime/ecmascript/
Djs_generator_object.cpp29 JSHandle<JSObject> toObj = JSTaggedValue::ToObject(thread, obj); in GeneratorValidate()
Djs_tagged_value.h166 static JSHandle<JSObject> ToObject(JSThread *thread, const JSHandle<JSTaggedValue> &tagged);
Djs_plural_rules.cpp161 prOptions = JSTaggedValue::ToObject(thread, options); in InitializePluralRules()
Djs_collator.cpp88 optionsObject = JSTaggedValue::ToObject(thread, options); in InitializeCollator()
Djs_relative_time_format.cpp38 rtfOptions = JSTaggedValue::ToObject(thread, options); in InitializeRelativeTimeFormat()
Djs_locale.cpp210 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, locales); in CanonicalizeLocaleList()
543 JSHandle<JSObject> obj = JSTaggedValue::ToObject(thread, options); in SupportedLocales()
Djs_tagged_value.cpp436 JSHandle<JSObject> JSTaggedValue::ToObject(JSThread *thread, const JSHandle<JSTaggedValue> &tagged) in ToObject() function in panda::ecmascript::JSTaggedValue
/ark/js_runtime/ecmascript/tests/
Dtagged_value_test.cpp819 …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/
Dbuiltins_set_test.cpp313 …JSHandle<JSFunction> constructor = JSHandle<JSFunction>::Cast(JSTaggedValue::ToObject(thread, valu… in HWTEST_F_L0()
Dbuiltins_map_test.cpp300 …JSHandle<JSFunction> constructor = JSHandle<JSFunction>::Cast(JSTaggedValue::ToObject(thread, valu… in HWTEST_F_L0()
/ark/js_runtime/ecmascript/napi/include/
Djsnapi.h273 Local<ObjectRef> ToObject(const EcmaVM *vm);

12