Home
last modified time | relevance | path

Searched refs:invoke (Results 1 – 25 of 46) sorted by relevance

12

/art/compiler/dex/quick/
Ddex_file_method_inliner.cc102 MIR* AllocReplacementMIR(MIRGraph* mir_graph, MIR* invoke, MIR* move_return) { in AllocReplacementMIR() argument
104 insn->offset = invoke->offset; in AllocReplacementMIR()
109 uint32_t GetInvokeReg(MIR* invoke, uint32_t arg) { in GetInvokeReg() argument
110 DCHECK_LT(arg, invoke->dalvikInsn.vA); in GetInvokeReg()
111 DCHECK(!MIR::DecodedInstruction::IsPseudoMirOp(invoke->dalvikInsn.opcode)); in GetInvokeReg()
112 if (Instruction::FormatOf(invoke->dalvikInsn.opcode) == Instruction::k3rc) { in GetInvokeReg()
113 return invoke->dalvikInsn.vC + arg; // Non-range invoke. in GetInvokeReg()
115 DCHECK_EQ(Instruction::FormatOf(invoke->dalvikInsn.opcode), Instruction::k35c); in GetInvokeReg()
116 return invoke->dalvikInsn.arg[arg]; // Range invoke. in GetInvokeReg()
120 bool WideArgIsInConsecutiveDalvikRegs(MIR* invoke, uint32_t arg) { in WideArgIsInConsecutiveDalvikRegs() argument
[all …]
Ddex_file_method_inliner.h90 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/004-NativeAllocations/src/
DMain.java33 register_native_allocation.invoke(runtime, bytes); in NativeAllocation()
46 register_native_free.invoke(runtime, bytes); in finalize()
53 runtime = get_runtime.invoke(null); in main()
/art/test/082-inline-execute/src/
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(runtime, Byte.TYPE, 5);
[all …]
/art/test/201-built-in-exception-detail-messages/src/
DMain.java385 m.invoke(new A(), 2, 2); in reflection()
394 m.invoke(new A(), null, ""); in reflection()
402 m.invoke("hello"); // Wrong number of arguments. in reflection()
409 m.invoke("hello", "world"); // Wrong type. in reflection()
416 m.invoke("hello", (Object) null); // Null for a primitive argument. in reflection()
423 m.invoke(new Integer(5)); // Wrong type for 'this'. in reflection()
430 m.invoke(null); // Null for 'this'. in reflection()
/art/test/104-growth-limit/src/
DMain.java39 Object runtime = get_runtime.invoke(null); in main()
41 clear_growth_limit.invoke(runtime); in main()
/art/test/100-reflect2/src/
DMain.java181 show(m.invoke(null, 4444)); in testMethodReflection()
186 show(m.invoke(null, 1111, 2222)); in testMethodReflection()
190 show(m.invoke(null, 1111, 2222)); in testMethodReflection()
194 show(m.invoke(null, new int[] { 1, 2, 3, 4 })); in testMethodReflection()
198 show(m.invoke(null, (Object) new String[] { "h", "e", "l", "l", "o" })); in testMethodReflection()
202 show(m.invoke(null, true, (byte) 0, '1', 2, 3, 4, 5, (short) 6)); in testMethodReflection()
206 show(m.invoke(null, true, (byte) 0, '1', 2, "hello world", 3, 4, 5, (short) 6)); in testMethodReflection()
211 show(m.invoke(null)); in testMethodReflection()
/art/test/118-noimage-dex2oat/src/
DMain.java64 return (String) getCurrentInstructionSetMethod.invoke(null); in getCurrentInstructionSet()
67 return (boolean) isBootClassPathOnDiskMethod.invoke(null, instructionSet); in isBootClassPathOnDisk()
/art/test/099-vmdebug/src/
DMain.java122 startMethodTracingMethod.invoke(null, filename, bufferSize, flags, samplingEnabled, in startMethodTracing()
126 stopMethodTracingMethod.invoke(null); in stopMethodTracing()
129 return (int) getMethodTracingModeMethod.invoke(null); in getMethodTracingMode()
/art/test/098-ddmc/src/
DMain.java145 enableRecentAllocationsMethod.invoke(null, enable); in enableRecentAllocations()
148 return (boolean) getRecentAllocationStatusMethod.invoke(null); in getRecentAllocationStatus()
151 return (byte[]) getRecentAllocationsMethod.invoke(null); in getRecentAllocations()
/art/test/071-dexfile/src/
DMain.java99 Object dexFile = DexFile_loadDex.invoke(null, CLASS_PATH, null, 0); in testDexFile()
100 Enumeration<String> e = (Enumeration<String>) DexFile_entries.invoke(dexFile); in testDexFile()
/art/test/087-gc-after-link/src/
DMain.java93 meth.invoke(dexFile, name, this); in findDexClass()
98 meth.invoke(dexFile); in findDexClass()
/art/test/105-invoke/src/
DMain.java71 static int invoke(int a) { in invoke() method in Main
91 int res = invoke(912); in main()
/art/test/105-invoke/
Dexpected.txt1 invoke PASSED
/art/test/055-enum-performance/
Dinfo.txt1 This is a performance test of Enum.valueOf(). To see the numbers, invoke
/art/test/122-secondarydex/
Dinfo.txt3 - Regression test to ensure slow path of direct invoke does null check.
/art/test/133-static-invoke-super/
Dinfo.txt1 This is a performance test of invoking static methods in super class. To see the numbers, invoke
/art/test/046-reflect/src/
DMain.java88 meth.invoke(instance); in checkAccess()
103 meth.invoke(instance); in checkAccess()
156 boxval = (Integer) meth.invoke(instance, argList); in run()
161 meth.invoke(instance, (Object[]) null); in run()
166 meth.invoke(instance, (Object[]) null); in run()
410 m.invoke(null, new Object(), Object.class); in checkType()
421 m.invoke(s, new Object(), Object.class); in checkType()
432 m.invoke(null, new Object(), int.class); in checkType()
476 method.invoke(null); in checkClinitForMethods()
/art/test/034-call-null/
Dexpected.txt1 java.lang.NullPointerException: Attempt to invoke direct method 'void Main.doStuff(int, int[][], ja…
/art/compiler/sea_ir/code_gen/
Dcode_gen.cc194 void CodeGenVisitor::Visit(InvokeStaticInstructionNode* invoke) { in Visit() argument
195 std::string instr = invoke->GetInstruction()->DumpString(NULL); in Visit()
199 symbol += art::MangleForJni(PrettyMethod(invoke->GetCalledMethodIndex(), dex_file_)); in Visit()
205 std::vector<InstructionNode*> parameter_sources = invoke->GetSSAProducers(); in Visit()
215 parameter_values, invoke->StringId()); in Visit()
216 llvm_data_->AddValue(invoke, return_value); in Visit()
/art/test/038-inner-null/
Dexpected.txt2 java.lang.NullPointerException: Attempt to invoke virtual method 'void Main$Blort.repaint()' on a n…
/art/test/044-proxy/src/
DFloatSelect.java29 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { in invoke() method in FloatSelect.FloatSelectIInvoke1
DClash2.java55 public Object invoke(Object proxy, Method method, Object[] args) in invoke() method in Clash2InvocationHandler
DClash.java65 public Object invoke(Object proxy, Method method, Object[] args) in invoke() method in ClashInvocationHandler
DClash3.java70 public Object invoke(Object proxy, Method method, Object[] args) in invoke() method in Clash3InvocationHandler

12