Lines Matching refs:method
87 void ReflectionTestMakeExecutable(ArtMethod** method, in ReflectionTestMakeExecutable() argument
111 *method = c->FindClassMethod(method_name, method_signature, kRuntimePointerSize); in ReflectionTestMakeExecutable()
112 CHECK(*method != nullptr); in ReflectionTestMakeExecutable()
113 CHECK_EQ(is_static, (*method)->IsStatic()); in ReflectionTestMakeExecutable()
137 ArtMethod* method; in InvokeNopMethod() local
139 ReflectionTestMakeExecutable(&method, &receiver, is_static, "nop", "()V"); in InvokeNopMethod()
141 InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), nullptr); in InvokeNopMethod()
146 ArtMethod* method; in InvokeIdentityByteMethod() local
148 ReflectionTestMakeExecutable(&method, &receiver, is_static, "identity", "(B)B"); in InvokeIdentityByteMethod()
153 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
157 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
161 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
166 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
172 ArtMethod* method; in InvokeIdentityIntMethod() local
174 ReflectionTestMakeExecutable(&method, &receiver, is_static, "identity", "(I)I"); in InvokeIdentityIntMethod()
179 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
183 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
187 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
191 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
197 ArtMethod* method; in InvokeIdentityDoubleMethod() local
199 ReflectionTestMakeExecutable(&method, &receiver, is_static, "identity", "(D)D"); in InvokeIdentityDoubleMethod()
204 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod()
208 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod()
212 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod()
216 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod()
222 ArtMethod* method; in InvokeSumIntIntMethod() local
224 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(II)I"); in InvokeSumIntIntMethod()
230 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntMethod()
235 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntMethod()
240 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntMethod()
245 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntMethod()
251 ArtMethod* method; in InvokeSumIntIntIntMethod() local
253 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(III)I"); in InvokeSumIntIntIntMethod()
260 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
266 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
272 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
278 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
284 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
290 ArtMethod* method; in InvokeSumIntIntIntIntMethod() local
292 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(IIII)I"); in InvokeSumIntIntIntIntMethod()
300 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
307 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
314 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
321 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
328 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
334 ArtMethod* method; in InvokeSumIntIntIntIntIntMethod() local
336 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(IIIII)I"); in InvokeSumIntIntIntIntIntMethod()
345 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
353 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
361 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
369 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
377 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
383 ArtMethod* method; in InvokeSumDoubleDoubleMethod() local
385 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(DD)D"); in InvokeSumDoubleDoubleMethod()
391 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
396 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
401 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
406 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
411 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
417 ArtMethod* method; in InvokeSumDoubleDoubleDoubleMethod() local
419 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(DDD)D"); in InvokeSumDoubleDoubleDoubleMethod()
426 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleMethod()
432 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleMethod()
438 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleMethod()
444 ArtMethod* method; in InvokeSumDoubleDoubleDoubleDoubleMethod() local
446 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(DDDD)D"); in InvokeSumDoubleDoubleDoubleDoubleMethod()
454 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleMethod()
461 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleMethod()
468 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleMethod()
474 ArtMethod* method; in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod() local
476 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(DDDDD)D"); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod()
485 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod()
493 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod()
501 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod()
523 ArtMethod* method = klass->FindClassMethod("main", in TEST_F() local
526 ASSERT_TRUE(method != nullptr); in TEST_F()
527 ASSERT_TRUE(method->IsStatic()); in TEST_F()
536 InvokeWithJValues(soa, nullptr, jni::EncodeArtMethod(method), args); in TEST_F()