Lines Matching refs:method

89   void ReflectionTestMakeInterpreted(ArtMethod** method,  in ReflectionTestMakeInterpreted()  argument
113 *method = c->FindClassMethod(method_name, method_signature, kRuntimePointerSize); in ReflectionTestMakeInterpreted()
114 CHECK(*method != nullptr); in ReflectionTestMakeInterpreted()
115 CHECK_EQ(is_static, (*method)->IsStatic()); in ReflectionTestMakeInterpreted()
139 ArtMethod* method; in InvokeNopMethod() local
141 ReflectionTestMakeInterpreted(&method, &receiver, is_static, "nop", "()V"); in InvokeNopMethod()
143 InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), nullptr); in InvokeNopMethod()
148 ArtMethod* method; in InvokeIdentityByteMethod() local
150 ReflectionTestMakeInterpreted(&method, &receiver, is_static, "identity", "(B)B"); in InvokeIdentityByteMethod()
155 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
159 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
163 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
168 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
174 ArtMethod* method; in InvokeIdentityIntMethod() local
176 ReflectionTestMakeInterpreted(&method, &receiver, is_static, "identity", "(I)I"); in InvokeIdentityIntMethod()
181 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
185 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
189 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
193 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
199 ArtMethod* method; in InvokeIdentityDoubleMethod() local
201 ReflectionTestMakeInterpreted(&method, &receiver, is_static, "identity", "(D)D"); in InvokeIdentityDoubleMethod()
206 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod()
210 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod()
214 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod()
218 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod()
224 ArtMethod* method; in InvokeSumIntIntMethod() local
226 ReflectionTestMakeInterpreted(&method, &receiver, is_static, "sum", "(II)I"); in InvokeSumIntIntMethod()
232 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntMethod()
237 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntMethod()
242 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntMethod()
247 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntMethod()
253 ArtMethod* method; in InvokeSumIntIntIntMethod() local
255 ReflectionTestMakeInterpreted(&method, &receiver, is_static, "sum", "(III)I"); in InvokeSumIntIntIntMethod()
262 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
268 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
274 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
280 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
286 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
292 ArtMethod* method; in InvokeSumIntIntIntIntMethod() local
294 ReflectionTestMakeInterpreted(&method, &receiver, is_static, "sum", "(IIII)I"); in InvokeSumIntIntIntIntMethod()
302 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
309 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
316 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
323 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
330 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
336 ArtMethod* method; in InvokeSumIntIntIntIntIntMethod() local
338 ReflectionTestMakeInterpreted(&method, &receiver, is_static, "sum", "(IIIII)I"); in InvokeSumIntIntIntIntIntMethod()
347 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
355 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
363 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
371 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
379 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
385 ArtMethod* method; in InvokeSumDoubleDoubleMethod() local
387 ReflectionTestMakeInterpreted(&method, &receiver, is_static, "sum", "(DD)D"); in InvokeSumDoubleDoubleMethod()
393 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
398 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
403 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
408 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
413 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
419 ArtMethod* method; in InvokeSumDoubleDoubleDoubleMethod() local
421 ReflectionTestMakeInterpreted(&method, &receiver, is_static, "sum", "(DDD)D"); in InvokeSumDoubleDoubleDoubleMethod()
428 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleMethod()
434 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleMethod()
440 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleMethod()
446 ArtMethod* method; in InvokeSumDoubleDoubleDoubleDoubleMethod() local
448 ReflectionTestMakeInterpreted(&method, &receiver, is_static, "sum", "(DDDD)D"); in InvokeSumDoubleDoubleDoubleDoubleMethod()
456 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleMethod()
463 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleMethod()
470 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleMethod()
476 ArtMethod* method; in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod() local
478 ReflectionTestMakeInterpreted(&method, &receiver, is_static, "sum", "(DDDDD)D"); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod()
487 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod()
495 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod()
503 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod()
525 ArtMethod* method = klass->FindClassMethod("main", in TEST_F() local
528 ASSERT_TRUE(method != nullptr); in TEST_F()
529 ASSERT_TRUE(method->IsStatic()); in TEST_F()
538 InvokeWithJValues(soa, nullptr, jni::EncodeArtMethod(method), args); in TEST_F()