Searched refs:invoke (Results 1 - 25 of 39) sorted by relevance

12

/art/test/104-growth-limit/src/
H A DMain.java39 Object runtime = get_runtime.invoke(null);
41 clear_growth_limit.invoke(runtime);
/art/test/118-noimage-dex2oat/src/
H A DMain.java64 return (String) getCurrentInstructionSetMethod.invoke(null);
67 return (boolean) isBootClassPathOnDiskMethod.invoke(null, instructionSet);
/art/test/004-NativeAllocations/src/
H A DMain.java33 register_native_allocation.invoke(runtime, bytes);
46 register_native_free.invoke(runtime, bytes);
53 runtime = get_runtime.invoke(null);
/art/compiler/dex/quick/
H A Ddex_file_method_inliner.cc102 MIR* AllocReplacementMIR(MIRGraph* mir_graph, MIR* invoke, MIR* move_return) { argument
104 insn->offset = invoke->offset;
109 uint32_t GetInvokeReg(MIR* invoke, uint32_t arg) { argument
110 DCHECK_LT(arg, invoke->dalvikInsn.vA);
111 DCHECK(!MIR::DecodedInstruction::IsPseudoMirOp(invoke->dalvikInsn.opcode));
112 if (Instruction::FormatOf(invoke->dalvikInsn.opcode) == Instruction::k3rc) {
113 return invoke->dalvikInsn.vC + arg; // Non-range invoke.
115 DCHECK_EQ(Instruction::FormatOf(invoke->dalvikInsn.opcode), Instruction::k35c);
116 return invoke
120 WideArgIsInConsecutiveDalvikRegs(MIR* invoke, uint32_t arg) argument
529 GenInline(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke, uint32_t method_idx) argument
711 GenInlineConst(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke, MIR* move_result, const InlineMethod& method) argument
732 GenInlineReturnArg(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke, MIR* move_result, const InlineMethod& method) argument
770 GenInlineIGet(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke, MIR* move_result, const InlineMethod& method, uint32_t method_idx) argument
822 GenInlineIPut(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke, MIR* move_result, const InlineMethod& method, uint32_t method_idx) argument
[all...]
H A Ddex_file_method_inliner.h88 * Try to inline an invoke.
90 bool GenInline(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke, uint32_t method_idx)
313 static bool GenInlineConst(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke,
315 static bool GenInlineReturnArg(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke,
317 static bool GenInlineIGet(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke,
319 static bool GenInlineIPut(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke,
/art/test/044-proxy/src/
H A DFloatSelect.java29 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { method in class:FloatSelect.FloatSelectIInvoke1
H A DClash.java65 public Object invoke(Object proxy, Method method, Object[] args) method in class:ClashInvocationHandler
H A DClash2.java55 public Object invoke(Object proxy, Method method, Object[] args) method in class:Clash2InvocationHandler
H A DClash3.java70 public Object invoke(Object proxy, Method method, Object[] args) method in class:Clash3InvocationHandler
H A DClash4.java72 public Object invoke(Object proxy, Method method, Object[] args) method in class:Clash4InvocationHandler
H A DNarrowingTest.java37 public Object invoke(Object proxy, Method method,
/art/test/071-dexfile/src/
H A DMain.java99 Object dexFile = DexFile_loadDex.invoke(null, CLASS_PATH, null, 0);
100 Enumeration<String> e = (Enumeration<String>) DexFile_entries.invoke(dexFile);
/art/test/087-gc-after-link/src/
H A DMain.java93 meth.invoke(dexFile, name, this);
98 meth.invoke(dexFile);
118 * otherwise invoke the super's loadClass method.
/art/test/105-invoke/src/
H A DMain.java71 static int invoke(int a) { method in class:Main
91 int res = invoke(912);
93 System.out.println("invoke PASSED");
95 System.out.println("invoke FAILED: " + res);
/art/test/201-built-in-exception-detail-messages/src/
H A DMain.java305 assertEquals("Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference", ex.getMessage());
385 m.invoke(new A(), 2, 2);
394 m.invoke(new A(), null, "");
402 m.invoke("hello"); // Wrong number of arguments.
409 m.invoke("hello", "world"); // Wrong type.
416 m.invoke("hello", (Object) null); // Null for a primitive argument.
423 m.invoke(new Integer(5)); // Wrong type for 'this'.
430 m.invoke(null); // Null for 'this'.
/art/test/098-ddmc/src/
H A DMain.java145 enableRecentAllocationsMethod.invoke(null, enable);
148 return (boolean) getRecentAllocationStatusMethod.invoke(null);
151 return (byte[]) getRecentAllocationsMethod.invoke(null);
/art/test/099-vmdebug/src/
H A DMain.java122 startMethodTracingMethod.invoke(null, filename, bufferSize, flags, samplingEnabled,
126 stopMethodTracingMethod.invoke(null);
129 return (int) getMethodTracingModeMethod.invoke(null);
/art/test/082-inline-execute/src/
H A DMain.java831 runtime = get_runtime.invoke(null);
847 byte[] b = (byte[])new_non_movable_array.invoke(runtime, Byte.TYPE, 2);
850 long address = (long)address_of.invoke(runtime, b);
851 Assert.assertEquals((byte)peek_byte.invoke(null, address), 0x12);
852 Assert.assertEquals((byte)peek_byte.invoke(null, address + 1), 0x11);
856 byte[] b = (byte[])new_non_movable_array.invoke(runtime, Byte.TYPE, 3);
860 long address = (long)address_of.invoke(runtime, b);
861 Assert.assertEquals((short)peek_short.invoke(null, address, false), 0x1213); // Aligned read
862 Assert.assertEquals((short)peek_short.invoke(null, address + 1, false), 0x1112); // Unaligned read
866 byte[] b = (byte[])new_non_movable_array.invoke(runtim
[all...]
/art/test/100-reflect2/src/
H A DMain.java181 show(m.invoke(null, 4444));
186 show(m.invoke(null, 1111, 2222));
190 show(m.invoke(null, 1111, 2222));
194 show(m.invoke(null, new int[] { 1, 2, 3, 4 }));
198 show(m.invoke(null, (Object) new String[] { "h", "e", "l", "l", "o" }));
202 show(m.invoke(null, true, (byte) 0, '1', 2, 3, 4, 5, (short) 6));
206 show(m.invoke(null, true, (byte) 0, '1', 2, "hello world", 3, 4, 5, (short) 6));
211 show(m.invoke(null));
/art/runtime/native/
H A Djava_lang_reflect_Method.cc56 NATIVE_METHOD(Method, invoke, "!(Ljava/lang/Object;[Ljava/lang/Object;Z)Ljava/lang/Object;"),
/art/test/086-null-super/src/
H A DMain.java91 meth.invoke(mDexFile, name, this);
109 * otherwise invoke the super's loadClass method.
/art/compiler/sea_ir/code_gen/
H A Dcode_gen.cc183 // by merging them with the invoke-* instructions,
194 void CodeGenVisitor::Visit(InvokeStaticInstructionNode* invoke) { argument
195 std::string instr = invoke->GetInstruction()->DumpString(NULL);
199 symbol += art::MangleForJni(PrettyMethod(invoke->GetCalledMethodIndex(), dex_file_));
205 std::vector<InstructionNode*> parameter_sources = invoke->GetSSAProducers();
215 parameter_values, invoke->StringId());
216 llvm_data_->AddValue(invoke, return_value);
/art/test/068-classloader/src/
H A DFancyLoader.java121 meth.invoke(mDexFile, name, this);
221 * (Since we're not in java.lang, we can't actually invoke the
/art/test/046-reflect/src/
H A DMain.java88 meth.invoke(instance);
103 meth.invoke(instance);
104 System.err.println("inner-method invoke unexpectedly worked");
156 boxval = (Integer) meth.invoke(instance, argList);
157 System.out.println("Result of invoke: " + boxval.intValue());
161 meth.invoke(instance, (Object[]) null);
166 meth.invoke(instance, (Object[]) null);
174 System.out.println("GLITCH: invoke got wrong exception:");
410 m.invoke(null, new Object(), Object.class);
421 m.invoke(
[all...]
/art/test/004-ThreadStress/src/
H A DMain.java272 int pid = (Integer)getpid.invoke(null);
279 kill.invoke(null, pid, sigquit);

Completed in 1701 milliseconds

12