Lines Matching refs:result
155 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod() local
156 EXPECT_EQ(0, result.GetB()); in InvokeIdentityByteMethod()
159 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
160 EXPECT_EQ(-1, result.GetB()); in InvokeIdentityByteMethod()
163 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
164 EXPECT_EQ(SCHAR_MAX, result.GetB()); in InvokeIdentityByteMethod()
168 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
169 EXPECT_EQ(SCHAR_MIN, result.GetB()); in InvokeIdentityByteMethod()
181 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod() local
182 EXPECT_EQ(0, result.GetI()); in InvokeIdentityIntMethod()
185 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
186 EXPECT_EQ(-1, result.GetI()); in InvokeIdentityIntMethod()
189 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
190 EXPECT_EQ(INT_MAX, result.GetI()); in InvokeIdentityIntMethod()
193 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
194 EXPECT_EQ(INT_MIN, result.GetI()); in InvokeIdentityIntMethod()
206 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod() local
207 EXPECT_DOUBLE_EQ(0.0, result.GetD()); in InvokeIdentityDoubleMethod()
210 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod()
211 EXPECT_DOUBLE_EQ(-1.0, result.GetD()); in InvokeIdentityDoubleMethod()
214 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod()
215 EXPECT_DOUBLE_EQ(DBL_MAX, result.GetD()); in InvokeIdentityDoubleMethod()
218 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod()
219 EXPECT_DOUBLE_EQ(DBL_MIN, result.GetD()); in InvokeIdentityDoubleMethod()
232 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntMethod() local
233 EXPECT_EQ(3, result.GetI()); in InvokeSumIntIntMethod()
237 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntMethod()
238 EXPECT_EQ(3, result.GetI()); in InvokeSumIntIntMethod()
242 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntMethod()
243 EXPECT_EQ(-1, result.GetI()); in InvokeSumIntIntMethod()
247 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntMethod()
248 EXPECT_EQ(-2, result.GetI()); in InvokeSumIntIntMethod()
262 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod() local
263 EXPECT_EQ(0, result.GetI()); in InvokeSumIntIntIntMethod()
268 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
269 EXPECT_EQ(6, result.GetI()); in InvokeSumIntIntIntMethod()
274 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
275 EXPECT_EQ(-2, result.GetI()); in InvokeSumIntIntIntMethod()
280 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
281 EXPECT_EQ(2147483646, result.GetI()); in InvokeSumIntIntIntMethod()
286 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
287 EXPECT_EQ(2147483645, result.GetI()); in InvokeSumIntIntIntMethod()
302 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod() local
303 EXPECT_EQ(0, result.GetI()); in InvokeSumIntIntIntIntMethod()
309 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
310 EXPECT_EQ(10, result.GetI()); in InvokeSumIntIntIntIntMethod()
316 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
317 EXPECT_EQ(2, result.GetI()); in InvokeSumIntIntIntIntMethod()
323 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
324 EXPECT_EQ(-2, result.GetI()); in InvokeSumIntIntIntIntMethod()
330 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
331 EXPECT_EQ(-4, result.GetI()); in InvokeSumIntIntIntIntMethod()
347 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod() local
348 EXPECT_EQ(0, result.GetI()); in InvokeSumIntIntIntIntIntMethod()
355 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
356 EXPECT_EQ(15, result.GetI()); in InvokeSumIntIntIntIntIntMethod()
363 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
364 EXPECT_EQ(-3, result.GetI()); in InvokeSumIntIntIntIntIntMethod()
371 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
372 EXPECT_EQ(2147483645, result.GetI()); in InvokeSumIntIntIntIntIntMethod()
379 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
380 EXPECT_EQ(2147483643, result.GetI()); in InvokeSumIntIntIntIntIntMethod()
393 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod() local
394 EXPECT_DOUBLE_EQ(0.0, result.GetD()); in InvokeSumDoubleDoubleMethod()
398 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
399 EXPECT_DOUBLE_EQ(3.0, result.GetD()); in InvokeSumDoubleDoubleMethod()
403 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
404 EXPECT_DOUBLE_EQ(-1.0, result.GetD()); in InvokeSumDoubleDoubleMethod()
408 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
409 EXPECT_DOUBLE_EQ(1.7976931348623157e308, result.GetD()); in InvokeSumDoubleDoubleMethod()
413 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
414 EXPECT_DOUBLE_EQ(INFINITY, result.GetD()); in InvokeSumDoubleDoubleMethod()
428 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleMethod() local
429 EXPECT_DOUBLE_EQ(0.0, result.GetD()); in InvokeSumDoubleDoubleDoubleMethod()
434 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleMethod()
435 EXPECT_DOUBLE_EQ(6.0, result.GetD()); in InvokeSumDoubleDoubleDoubleMethod()
440 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleMethod()
441 EXPECT_DOUBLE_EQ(2.0, result.GetD()); in InvokeSumDoubleDoubleDoubleMethod()
456 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleMethod() local
457 EXPECT_DOUBLE_EQ(0.0, result.GetD()); in InvokeSumDoubleDoubleDoubleDoubleMethod()
463 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleMethod()
464 EXPECT_DOUBLE_EQ(10.0, result.GetD()); in InvokeSumDoubleDoubleDoubleDoubleMethod()
470 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleMethod()
471 EXPECT_DOUBLE_EQ(-2.0, result.GetD()); in InvokeSumDoubleDoubleDoubleDoubleMethod()
487 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod() local
488 EXPECT_DOUBLE_EQ(0.0, result.GetD()); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod()
495 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod()
496 EXPECT_DOUBLE_EQ(15.0, result.GetD()); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod()
503 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod()
504 EXPECT_DOUBLE_EQ(3.0, result.GetD()); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod()