Searched refs:resultValue (Results 1 – 9 of 9) sorted by relevance
/ark/js_runtime/ecmascript/base/tests/ |
D | json_parser_test.cpp | 151 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/ |
D | js_iterator_test.cpp | 84 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/ |
D | slow_runtime_helper.cpp | 151 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/ |
D | js_function.cpp | 343 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/ |
D | builtins_reflect_test.cpp | 272 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()
|
D | builtins_object_test.cpp | 816 …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/ |
D | jsnapi.cpp | 1034 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/ |
D | builtins_regexp.cpp | 599 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/ |
D | llvm_ir_builder.cpp | 1026 LLVMValueRef resultValue = LLVMBuildAdd(builder_, tmp1Value, tmp2Value, ""); in CanonicalizeToInt() local 1027 return resultValue; in CanonicalizeToInt()
|