Lines Matching refs:result

154     JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args);  in InvokeIdentityByteMethod()  local
155 EXPECT_EQ(0, result.GetB()); in InvokeIdentityByteMethod()
158 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
159 EXPECT_EQ(-1, result.GetB()); in InvokeIdentityByteMethod()
162 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
163 EXPECT_EQ(SCHAR_MAX, result.GetB()); in InvokeIdentityByteMethod()
167 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
168 EXPECT_EQ(SCHAR_MIN, result.GetB()); in InvokeIdentityByteMethod()
180 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod() local
181 EXPECT_EQ(0, result.GetI()); in InvokeIdentityIntMethod()
184 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
185 EXPECT_EQ(-1, result.GetI()); in InvokeIdentityIntMethod()
188 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
189 EXPECT_EQ(INT_MAX, result.GetI()); in InvokeIdentityIntMethod()
192 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
193 EXPECT_EQ(INT_MIN, result.GetI()); in InvokeIdentityIntMethod()
205 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod() local
206 EXPECT_DOUBLE_EQ(0.0, result.GetD()); in InvokeIdentityDoubleMethod()
209 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod()
210 EXPECT_DOUBLE_EQ(-1.0, result.GetD()); in InvokeIdentityDoubleMethod()
213 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod()
214 EXPECT_DOUBLE_EQ(DBL_MAX, result.GetD()); in InvokeIdentityDoubleMethod()
217 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod()
218 EXPECT_DOUBLE_EQ(DBL_MIN, result.GetD()); in InvokeIdentityDoubleMethod()
231 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntMethod() local
232 EXPECT_EQ(3, result.GetI()); in InvokeSumIntIntMethod()
236 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntMethod()
237 EXPECT_EQ(3, result.GetI()); in InvokeSumIntIntMethod()
241 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntMethod()
242 EXPECT_EQ(-1, result.GetI()); in InvokeSumIntIntMethod()
246 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntMethod()
247 EXPECT_EQ(-2, result.GetI()); in InvokeSumIntIntMethod()
261 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod() local
262 EXPECT_EQ(0, result.GetI()); in InvokeSumIntIntIntMethod()
267 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
268 EXPECT_EQ(6, result.GetI()); in InvokeSumIntIntIntMethod()
273 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
274 EXPECT_EQ(-2, result.GetI()); in InvokeSumIntIntIntMethod()
279 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
280 EXPECT_EQ(2147483646, result.GetI()); in InvokeSumIntIntIntMethod()
285 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
286 EXPECT_EQ(2147483645, result.GetI()); in InvokeSumIntIntIntMethod()
301 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod() local
302 EXPECT_EQ(0, result.GetI()); in InvokeSumIntIntIntIntMethod()
308 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
309 EXPECT_EQ(10, result.GetI()); in InvokeSumIntIntIntIntMethod()
315 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
316 EXPECT_EQ(2, result.GetI()); in InvokeSumIntIntIntIntMethod()
322 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
323 EXPECT_EQ(-2, result.GetI()); in InvokeSumIntIntIntIntMethod()
329 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
330 EXPECT_EQ(-4, result.GetI()); in InvokeSumIntIntIntIntMethod()
346 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod() local
347 EXPECT_EQ(0, result.GetI()); in InvokeSumIntIntIntIntIntMethod()
354 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
355 EXPECT_EQ(15, result.GetI()); in InvokeSumIntIntIntIntIntMethod()
362 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
363 EXPECT_EQ(-3, result.GetI()); in InvokeSumIntIntIntIntIntMethod()
370 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
371 EXPECT_EQ(2147483645, result.GetI()); in InvokeSumIntIntIntIntIntMethod()
378 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
379 EXPECT_EQ(2147483643, result.GetI()); in InvokeSumIntIntIntIntIntMethod()
392 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod() local
393 EXPECT_DOUBLE_EQ(0.0, result.GetD()); in InvokeSumDoubleDoubleMethod()
397 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
398 EXPECT_DOUBLE_EQ(3.0, result.GetD()); in InvokeSumDoubleDoubleMethod()
402 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
403 EXPECT_DOUBLE_EQ(-1.0, result.GetD()); in InvokeSumDoubleDoubleMethod()
407 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
408 EXPECT_DOUBLE_EQ(1.7976931348623157e308, result.GetD()); in InvokeSumDoubleDoubleMethod()
412 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
413 EXPECT_DOUBLE_EQ(INFINITY, result.GetD()); in InvokeSumDoubleDoubleMethod()
427 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleMethod() local
428 EXPECT_DOUBLE_EQ(0.0, result.GetD()); in InvokeSumDoubleDoubleDoubleMethod()
433 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleMethod()
434 EXPECT_DOUBLE_EQ(6.0, result.GetD()); in InvokeSumDoubleDoubleDoubleMethod()
439 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleMethod()
440 EXPECT_DOUBLE_EQ(2.0, result.GetD()); in InvokeSumDoubleDoubleDoubleMethod()
455 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleMethod() local
456 EXPECT_DOUBLE_EQ(0.0, result.GetD()); in InvokeSumDoubleDoubleDoubleDoubleMethod()
462 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleMethod()
463 EXPECT_DOUBLE_EQ(10.0, result.GetD()); in InvokeSumDoubleDoubleDoubleDoubleMethod()
469 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleMethod()
470 EXPECT_DOUBLE_EQ(-2.0, result.GetD()); in InvokeSumDoubleDoubleDoubleDoubleMethod()
486 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod() local
487 EXPECT_DOUBLE_EQ(0.0, result.GetD()); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod()
494 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod()
495 EXPECT_DOUBLE_EQ(15.0, result.GetD()); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod()
502 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod()
503 EXPECT_DOUBLE_EQ(3.0, result.GetD()); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod()