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);
161 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
167 ArtMethod* method;
169 ReflectionTestMakeExecutable(&method, &receiver, is_static, "identity", "(I)I");
174 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
178 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
182 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
186 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
192 ArtMethod* method;
194 ReflectionTestMakeExecutable(&method, &receiver, is_static, "identity", "(D)D");
199 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
203 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
207 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
211 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
217 ArtMethod* method;
219 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(II)I");
225 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
230 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
235 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
240 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
246 ArtMethod* method;
248 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(III)I");
255 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
261 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
267 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
273 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
279 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
285 ArtMethod* method;
287 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(IIII)I");
295 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
302 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
309 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
316 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
323 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
329 ArtMethod* method;
331 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(IIIII)I");
340 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
348 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
356 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
364 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
372 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
378 ArtMethod* method;
380 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(DD)D");
386 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
391 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
396 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
401 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
406 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
412 ArtMethod* method;
414 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(DDD)D");
421 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
427 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
433 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
439 ArtMethod* method;
441 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(DDDD)D");
449 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
456 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
463 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
469 ArtMethod* method;
471 ReflectionTestMakeExecutable(&method, &receiver, is_static, "sum", "(DDDDD)D");
480 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
488 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
496 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
518 ArtMethod* method = klass->FindDirectMethod("main", "([Ljava/lang/String;)V", sizeof(void*));
519 ASSERT_TRUE(method != nullptr);
528 InvokeWithJValues(soa, nullptr, soa.EncodeMethod(method), args);