Lines Matching defs:method
84 void ReflectionTestMakeExecutable(ArtMethod** method,
110 *method = is_static ? c->FindDirectMethod(method_name, method_signature, sizeof(void*))
112 CHECK(method != nullptr);
133 ArtMethod* method;
135 ReflectionTestMakeExecutable(&method, &receiver, is_static, "nop", "()V");
137 InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), nullptr);
142 ArtMethod* method;
144 ReflectionTestMakeExecutable(&method, &receiver, is_static, "identity", "(B)B");
149 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
153 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
157 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
162 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
168 ArtMethod* method;
170 ReflectionTestMakeExecutable(&method, &receiver, is_static, "identity", "(I)I");
175 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
179 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
183 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
187 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
193 ArtMethod* method;
195 ReflectionTestMakeExecutable(&method, &receiver, is_static, "identity", "(D)D");
200 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
204 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
208 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
212 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
218 ArtMethod* method;
220 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(II)I");
226 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
231 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
236 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
241 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
247 ArtMethod* method;
249 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(III)I");
256 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
262 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
268 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
274 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
280 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
286 ArtMethod* method;
288 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(IIII)I");
296 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
303 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
310 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
317 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
324 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
330 ArtMethod* method;
332 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(IIIII)I");
341 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
349 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
357 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
365 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
373 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
379 ArtMethod* method;
381 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(DD)D");
387 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
392 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
397 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
402 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
407 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
413 ArtMethod* method;
415 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(DDD)D");
422 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
428 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
434 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
440 ArtMethod* method;
442 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(DDDD)D");
450 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
457 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
464 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
470 ArtMethod* method;
472 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(DDDDD)D");
481 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
489 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
497 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
520 ArtMethod* method = klass->FindDirectMethod("main", "([Ljava/lang/String;)V", sizeof(void*));
521 ASSERT_TRUE(method != nullptr);
530 InvokeWithJValues(soa, nullptr, soa.EncodeMethod(method), args);