Home
last modified time | relevance | path

Searched refs:resultValue (Results 1 – 9 of 9) sorted by relevance

/ark/js_runtime/ecmascript/base/tests/
Djson_parser_test.cpp151 JSTaggedValue resultValue(static_cast<JSTaggedType>(result->GetRawData())); in HWTEST_F_L0() local
152 EXPECT_TRUE(resultValue.IsECMAObject()); in HWTEST_F_L0()
153 JSHandle<JSObject> valueHandle(thread, resultValue); in HWTEST_F_L0()
177 JSTaggedValue resultValue(static_cast<JSTaggedType>(result->GetRawData())); in HWTEST_F_L0() local
178 EXPECT_TRUE(resultValue.IsECMAObject()); in HWTEST_F_L0()
180 JSHandle<JSObject> valueHandle(thread, resultValue); in HWTEST_F_L0()
/ark/js_runtime/ecmascript/tests/
Djs_iterator_test.cpp84 JSHandle<JSTaggedValue> resultValue(JSObject::GetProperty(thread, result, valueStr).GetValue()); in HWTEST_F_L0() local
85 EXPECT_EQ(resultValue->GetInt(), 1); in HWTEST_F_L0()
115 JSHandle<JSTaggedValue> resultValue(JSIterator::IteratorValue(thread, result)); in HWTEST_F_L0() local
116 EXPECT_EQ(resultValue->GetInt(), 1); in HWTEST_F_L0()
/ark/js_runtime/ecmascript/interpreter/
Dslow_runtime_helper.cpp151 JSTaggedValue resultValue = EcmaInterpreter::Execute(thread, params); in ConstructGeneric() local
154 if (ctor->IsBuiltinsConstructor() || resultValue.IsECMAObject()) { in ConstructGeneric()
155 return resultValue; in ConstructGeneric()
161 if (!resultValue.IsUndefined()) { in ConstructGeneric()
/ark/js_runtime/ecmascript/
Djs_function.cpp343 JSTaggedValue resultValue = EcmaInterpreter::Execute(thread, params); in ConstructInternal() local
346 if (func->IsBuiltinsConstructor() || resultValue.IsECMAObject()) { in ConstructInternal()
347 return resultValue; in ConstructInternal()
356 return resultValue; in ConstructInternal()
359 if (!resultValue.IsUndefined()) { in ConstructInternal()
/ark/js_runtime/ecmascript/builtins/tests/
Dbuiltins_reflect_test.cpp272 JSHandle<JSTaggedValue> resultValue(thread, result); in HWTEST_F_L0() local
273 ASSERT_EQ(resultValue->GetDouble(), 101.5); in HWTEST_F_L0()
304 …JSHandle<JSTaggedValue> resultValue = JSObject::GetProperty(thread, resultObj, valueKey).GetValue(… in HWTEST_F_L0() local
305 ASSERT_EQ(resultValue->GetInt(), 102); in HWTEST_F_L0()
Dbuiltins_object_test.cpp816 …JSHandle<EcmaString> resultValue = thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("… in HWTEST_F_L0() local
828 ASSERT_EQ(resultValue->Compare(reinterpret_cast<EcmaString *>(result.GetRawData())), 0); in HWTEST_F_L0()
837 …JSHandle<EcmaString> resultValue = thread->GetEcmaVM()->GetFactory()->NewFromCanBeCompressString("… in HWTEST_F_L0() local
847 ASSERT_EQ(resultValue->Compare(reinterpret_cast<EcmaString *>(result.GetRawData())), 0); in HWTEST_F_L0()
/ark/js_runtime/ecmascript/napi/
Djsnapi.cpp1034 JSHandle<JSTaggedValue> resultValue(thread, result); in Call() local
1039 return JSNApiHelper::ToLocal<JSValueRef>(resultValue); in Call()
1062 JSHandle<JSTaggedValue> resultValue(vm->GetJSThread(), result); in Constructor() local
1063 return JSNApiHelper::ToLocal<JSValueRef>(resultValue); in Constructor()
/ark/js_runtime/ecmascript/builtins/
Dbuiltins_regexp.cpp599 auto resultValue = factory->NewFromStdString(resultString); in RegExpReplaceFast() local
602 JSHandle<JSTaggedValue>(resultValue), in RegExpReplaceFast()
605 return resultValue.GetTaggedValue(); in RegExpReplaceFast()
/ark/js_runtime/ecmascript/compiler/
Dllvm_ir_builder.cpp1026 LLVMValueRef resultValue = LLVMBuildAdd(builder_, tmp1Value, tmp2Value, ""); in CanonicalizeToInt() local
1027 return resultValue; in CanonicalizeToInt()