/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_iterator_test.cpp | 60 JSHandle<JSTaggedValue> resultValue(JSObject::GetProperty(thread, result, valueStr).GetValue()); in HWTEST_F_L0() 61 EXPECT_EQ(resultValue->GetInt(), 1); in HWTEST_F_L0() 91 JSHandle<JSTaggedValue> resultValue(JSIterator::IteratorValue(thread, result)); in HWTEST_F_L0() 92 EXPECT_EQ(resultValue->GetInt(), 1); in HWTEST_F_L0()
|
H A D | js_regexp_iterator_test.cpp | 80 JSHandle<JSTaggedValue> resultValue(thread, JSTaggedValue(i + 1)); in HWTEST_F_L0() 82 factory->ConcatFromString(JSHandle<EcmaString>(barZero), JSTaggedValue::ToString(thread, resultValue)); in HWTEST_F_L0()
|
H A D | js_api_queue_iterator_test.cpp | 67 std::string resultValue = queueValue + std::to_string(i); in HWTEST_F_L0() local 69 value.Update(factory->NewFromStdString(resultValue).GetTaggedValue()); in HWTEST_F_L0()
|
H A D | js_api_vector_iterator_test.cpp | 143 std::string resultValue = vectorValue + std::to_string(i); in HWTEST_F_L0() local 145 value.Update(factory->NewFromStdString(resultValue).GetTaggedValue()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ic/tests/ |
H A D | ic_runtime_stub_test.cpp | 151 JSTaggedValue resultValue = ICRuntimeStub::CheckPolyHClass(handleWeakCacheValue, handleObjClass); in HWTEST_F_L0() local 152 EXPECT_TRUE(resultValue.IsPropertyBox()); in HWTEST_F_L0() 173 JSTaggedValue resultValue = in HWTEST_F_L0() local 176 EXPECT_EQ(resultValue.GetInt(), 2); in HWTEST_F_L0() 196 JSTaggedValue resultValue = in HWTEST_F_L0() local 199 EXPECT_TRUE(resultValue.IsString()); in HWTEST_F_L0() 200 JSHandle<EcmaString> handleEcmaStrTo(JSHandle<JSTaggedValue>(thread, resultValue)); in HWTEST_F_L0() 277 JSTaggedValue resultValue = ICRuntimeStub::TryLoadICByValue(thread, handleReceiver, JSTaggedValue(0), in HWTEST_F_L0() local 279 EXPECT_EQ(resultValue.GetInt(), handleStoreVal.GetInt()); in HWTEST_F_L0() 309 JSTaggedValue resultValue in HWTEST_F_L0() local 517 JSTaggedValue resultValue = ICRuntimeStub::LoadFromField(*handleObj, handler); HWTEST_F_L0() local 556 JSTaggedValue resultValue = HWTEST_F_L0() local [all...] |
/arkcompiler/ets_runtime/ecmascript/ohos/ |
H A D | ohos_pkg_args.h | 187 JSTaggedValue resultValue(static_cast<JSTaggedType>(result->GetRawData())); in ParseListFromJson() 188 if (!resultValue.IsArray(jsThread)) { in ParseListFromJson() 192 JSHandle<JSArray> valueHandle(jsThread, resultValue); in ParseListFromJson() 222 JSTaggedValue resultValue(static_cast<JSTaggedType>(result->GetRawData())); in ParseFromJson() 223 if (!resultValue.IsECMAObject()) { in ParseFromJson() 227 JSHandle<JSObject> valueHandle(jsThread, resultValue); in ParseFromJson()
|
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
H A D | json_parser_test.cpp | 204 JSTaggedValue resultValue(static_cast<JSTaggedType>(result->GetRawData())); in HWTEST_F_L0() 205 EXPECT_TRUE(resultValue.IsECMAObject()); in HWTEST_F_L0() 206 JSHandle<JSObject> valueHandle(thread, resultValue); in HWTEST_F_L0() 230 JSTaggedValue resultValue(static_cast<JSTaggedType>(result->GetRawData())); in HWTEST_F_L0() 231 EXPECT_TRUE(resultValue.IsECMAObject()); in HWTEST_F_L0() 233 JSHandle<JSObject> valueHandle(thread, resultValue); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_function.cpp | 580 JSTaggedValue resultValue; in InvokeOptimizedEntrypoint() local 594 resultValue = thread->GetEcmaVM()->FastCallAot(info->GetArgsNumber(), stackArgs + 1, prevFp); in InvokeOptimizedEntrypoint() 596 resultValue = thread->GetCurrentEcmaContext()->ExecuteAot(info->GetArgsNumber(), in InvokeOptimizedEntrypoint() 602 return resultValue; in InvokeOptimizedEntrypoint() 626 JSTaggedValue resultValue; in ConstructInternal() local 629 resultValue = InvokeOptimizedEntrypoint(thread, func, info); in ConstructInternal() 635 resultValue = EcmaInterpreter::Execute(info); in ConstructInternal() 639 if (resultValue.IsECMAObject()) { in ConstructInternal() 640 return resultValue; in ConstructInternal() 647 if (!resultValue in ConstructInternal() [all...] |
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_reflect_test.cpp | 247 JSHandle<JSTaggedValue> resultValue(thread, result); in HWTEST_F_L0() 248 ASSERT_EQ(resultValue->GetDouble(), 101.5); in HWTEST_F_L0() 280 JSHandle<JSTaggedValue> resultValue = JSObject::GetProperty(thread, resultObj, valueKey).GetValue(); in HWTEST_F_L0() local 281 ASSERT_EQ(resultValue->GetInt(), 102); in HWTEST_F_L0()
|
H A D | builtins_object_test.cpp | 804 JSHandle<EcmaString> resultValue = thread->GetEcmaVM()->GetFactory()->NewFromASCII("[object Object]"); in HWTEST_F_L0() local 816 ASSERT_EQ(EcmaStringAccessor::Compare(instance, resultValue, JSHandle<EcmaString>(thread, result)), 0); in HWTEST_F_L0() 825 JSHandle<EcmaString> resultValue = thread->GetEcmaVM()->GetFactory()->NewFromASCII("[object Object]"); in HWTEST_F_L0() local 835 ASSERT_EQ(EcmaStringAccessor::Compare(instance, resultValue, JSHandle<EcmaString>(thread, result)), 0); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
H A D | runtime_stubs-inl.h | 2951 JSTaggedValue resultValue; 2964 resultValue = thread->GetEcmaVM()->FastCallAot(size, values.data(), prevFp); 2966 resultValue = thread->GetCurrentEcmaContext()->ExecuteAot(size, values.data(), prevFp, needPushArgv); 2973 resultValue = EcmaInterpreter::Execute(info); 2975 return resultValue; 3027 JSTaggedValue resultValue = RuntimeStubs::GetResultValue(thread, isCompiledCode, ctor, values, newTgt, size, obj); 3030 if (resultValue.IsECMAObject()) { 3031 if (resultValue.IsJSShared()) { 3032 JSObject::Cast(resultValue.GetTaggedObject())->GetJSHClass()->SetExtensible(false); 3034 return resultValue; [all...] |
/arkcompiler/ets_runtime/ecmascript/napi/ |
H A D | jsnapi_expo.cpp | 2692 JSHandle<JSTaggedValue> resultValue(thread, result); in Get() 2693 return JSNApiHelper::ToLocal<JSValueRef>(resultValue); in Get() 2717 JSHandle<JSTaggedValue> resultValue(thread, result); in Get() 2718 return JSNApiHelper::ToLocal<JSValueRef>(resultValue); in Get() 2739 JSHandle<JSTaggedValue> resultValue(thread, result); in Get() 2740 return JSNApiHelper::ToLocal<JSValueRef>(resultValue); in Get() 2915 JSHandle<JSTaggedValue> resultValue(obj); in Freeze() 2916 return scope.Escape(JSNApiHelper::ToLocal<JSValueRef>(resultValue)); in Freeze() 2940 JSHandle<JSTaggedValue> resultValue(obj); in Seal() 2941 return scope.Escape(JSNApiHelper::ToLocal<JSValueRef>(resultValue)); in Seal() [all...] |
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_promise.cpp | 133 JSTaggedValue resultValue = PerformPromiseAll(thread, itRecord, ctor, capa); in All() local 134 JSHandle<CompletionRecord> result = JSHandle<CompletionRecord>(thread, resultValue); in All()
|
H A D | builtins_regexp.cpp | 868 auto resultValue = factory->NewFromStdString(resultString); in RegExpReplaceFast() local 871 JSHandle<JSTaggedValue>(resultValue), in RegExpReplaceFast() 875 return resultValue.GetTaggedValue(); in RegExpReplaceFast()
|