Searched refs:arg (Results 1 - 25 of 109) sorted by relevance

12345

/art/test/508-checker-disassembly/src/
H A DMain.java24 public int DisassembledFunction(int arg) { argument
25 return 7 / arg;
/art/test/526-checker-caller-callee-regs/src/
H A DMain.java29 public static int $opt$noinline$function_call(int arg) { argument
31 return 1 % arg;
79 public static int $opt$LiveInCall(int arg) { argument
80 int t1 = arg + 1;
81 int t2 = $opt$noinline$function_call(arg);
86 int arg = 123;
87 assertIntEquals($opt$LiveInCall(arg), arg);
/art/test/538-checker-embed-constants/src/
H A DMain.java35 public static int and255(int arg) { argument
36 return arg & 255;
43 public static int and511(int arg) { argument
44 return arg & 511;
51 public static int andNot15(int arg) { argument
52 return arg & ~15;
59 public static int or255(int arg) { argument
60 return arg | 255;
67 public static int or511(int arg) { argument
68 return arg | 51
75 orNot15(int arg) argument
83 xor255(int arg) argument
91 xor511(int arg) argument
99 xorNot15(int arg) argument
112 and255(long arg) argument
125 and511(long arg) argument
137 andNot15(long arg) argument
151 and0xfffffff00000000f(long arg) argument
163 or255(long arg) argument
175 or511(long arg) argument
188 orNot15(long arg) argument
202 or0xfffffff00000000f(long arg) argument
212 xor255(long arg) argument
222 xor511(long arg) argument
234 xorNot15(long arg) argument
247 xor0xfffffff00000000f(long arg) argument
259 xor0xf00000000000000f(long arg) argument
277 shl1(long arg) argument
289 shl2(long arg) argument
301 shl31(long arg) argument
312 shl32(long arg) argument
323 shl33(long arg) argument
334 shl63(long arg) argument
345 shr1(long arg) argument
357 shr2(long arg) argument
369 shr31(long arg) argument
381 shr32(long arg) argument
392 shr33(long arg) argument
403 shr63(long arg) argument
414 ushr1(long arg) argument
426 ushr2(long arg) argument
438 ushr31(long arg) argument
449 ushr32(long arg) argument
460 ushr33(long arg) argument
471 ushr63(long arg) argument
494 addM1(long arg) argument
[all...]
/art/test/458-checker-instruction-simplification/src/
H A DMain.java74 public static long Add0(long arg) { argument
75 return 0 + arg;
91 public static int AndAllOnes(int arg) { argument
92 return arg & -1;
112 public static int UShr28And15(int arg) { argument
113 return (arg >>> 28) & 15;
133 public static long UShr60And15(long arg) { argument
134 return (arg >>> 60) & 15;
153 public static int UShr28And7(int arg) { argument
154 return (arg >>> 2
173 UShr60And7(long arg) argument
195 Shr24And255(int arg) argument
217 Shr56And255(long arg) argument
237 Shr24And127(int arg) argument
257 Shr56And127(long arg) argument
274 Div1(long arg) argument
292 DivN1(int arg) argument
309 Mul1(long arg) argument
327 MulN1(int arg) argument
346 MulPowerOfTwo128(long arg) argument
363 Or0(int arg) argument
379 OrSame(long arg) argument
396 Shl0(int arg) argument
413 Shr0(long arg) argument
430 Shr64(long arg) argument
447 Sub0(long arg) argument
465 SubAliasNeg(int arg) argument
482 UShr0(long arg) argument
499 Xor0(int arg) argument
517 XorAllOnes(int arg) argument
718 NegNeg1(long arg) argument
751 NegNeg2(int arg) argument
778 NegNeg3(long arg) argument
859 NotNot1(long arg) argument
880 NotNot2(int arg) argument
1000 EqualBoolVsIntConst(boolean arg) argument
1018 NotEqualBoolVsIntConst(boolean arg) argument
1040 NegateValue(boolean arg) argument
1044 NotNotBool(boolean arg) argument
1063 Div2(float arg) argument
1081 Div2(double arg) argument
1100 DivMP25(float arg) argument
1118 DivMP25(double arg) argument
1137 mulPow2Plus1(int arg) argument
1156 mulPow2Minus1(long arg) argument
[all...]
/art/test/565-checker-condition-liveness/src/
H A DMain.java30 public static int p(float arg) { argument
31 return (arg > 5.0f) ? 0 : -1;
/art/test/466-get-live-vreg/src/
H A DMain.java21 static int testLiveArgument(int arg) { argument
23 return arg;
34 static void $opt$noinline$testIntervalHole(int arg, boolean test) { argument
39 staticField1 = arg;
40 // The environment use of `arg` should not make it live.
43 staticField2 = arg;
44 // The environment use of `arg` should not make it live.
70 static void testWrapperIntervalHole(int arg, boolean test) { argument
73 $opt$noinline$testIntervalHole(arg, test);
/art/runtime/gc/allocator/
H A Ddlmalloc.h41 extern "C" void dlmalloc_inspect_all(void(*handler)(void*, void *, size_t, void*), void* arg);
47 extern "C" void DlmallocMadviseCallback(void* start, void* end, size_t used_bytes, void* /*arg*/);
52 extern "C" void DlmallocBytesAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg);
53 extern "C" void DlmallocObjectsAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg);
H A Ddlmalloc.cc59 extern "C" void DlmallocMadviseCallback(void* start, void* end, size_t used_bytes, void* arg) { argument
74 size_t* reclaimed = reinterpret_cast<size_t*>(arg);
82 void* arg) {
86 size_t* bytes_allocated = reinterpret_cast<size_t*>(arg);
93 void* arg) {
97 size_t* objects_allocated = reinterpret_cast<size_t*>(arg);
79 DlmallocBytesAllocatedCallback(void* start ATTRIBUTE_UNUSED, void* end ATTRIBUTE_UNUSED, size_t used_bytes, void* arg) argument
90 DlmallocObjectsAllocatedCallback(void* start ATTRIBUTE_UNUSED, void* end ATTRIBUTE_UNUSED, size_t used_bytes, void* arg) argument
/art/runtime/interpreter/mterp/arm/
H A Dop_float_to_long.S16 bl __aeabi_fcmpge @ is arg >= maxlong?
22 mov r0, r4 @ recover arg
24 bl __aeabi_fcmple @ is arg <= minlong?
30 mov r0, r4 @ recover arg
32 bl __aeabi_fcmpeq @ is arg == self?
37 mov r0, r4 @ recover arg
H A Dop_double_to_long.S20 bl __aeabi_dcmpge @ is arg >= maxlong?
26 mov r0, r4 @ recover arg
31 bl __aeabi_dcmple @ is arg <= minlong?
37 mov r0, r4 @ recover arg
41 bl __aeabi_dcmpeq @ is arg == self?
46 mov r0, r4 @ recover arg
/art/test/101-fibonacci/src/
H A DMain.java46 String arg = (args.length > 1) ? args[1] : "10";
48 int x = Integer.parseInt(arg);
/art/test/109-suspend-check/src/
H A DMain.java71 long ReturnArgOrConst(long arg); argument
72 void PutOrNop(long arg); argument
77 public long ReturnArgOrConst(long arg) { argument
80 public void PutOrNop(long arg) { argument
89 public long ReturnArgOrConst(long arg) { argument
90 return arg;
92 public void PutOrNop(long arg) { argument
93 value = arg;
/art/test/550-checker-regression-wide-store/src/
H A DMain.java24 private static int runTestCase(String name, long arg) throws Exception { argument
27 int result = (Integer) m.invoke(null, arg);
/art/tools/
H A Drun-jdwp-tests.sh103 vm_args="--vm-arg $image"
105 vm_args="$vm_args --vm-arg -Xusejit:true"
110 vm_args="$vm_args --vm-arg -XXlib:libartd.so"
125 --vm-arg -Djpda.settings.verbose=true \
126 --vm-arg -Djpda.settings.transportAddress=127.0.0.1:55107 \
127 --vm-arg -Djpda.settings.debuggeeJavaPath="$art_debugee $image $debuggee_args" \
130 --vm-arg -Xcompiler-option --vm-arg --debuggable \
/art/test/146-bad-interface/src/
H A DMain.java34 Class<?> arg = Class.forName("Iface", true, p);
35 Method r = runner.getDeclaredMethod("doInvoke", arg);
/art/test/442-checker-constant-folding/src/
H A DMain.java1076 public static int And0(int arg) { argument
1077 return arg & 0;
1094 public static long Mul0(long arg) { argument
1095 return arg * 0;
1111 public static int OrAllOnes(int arg) { argument
1112 return arg | -1;
1129 public static long Rem0(long arg) { argument
1130 return 0 % arg;
1146 public static int Rem1(int arg) { argument
1147 return arg
1164 RemN1(long arg) argument
1182 Shl0(int arg) argument
1200 ShlLong0WithInt(int arg) argument
1219 Shr0(int arg) argument
1236 SubSameLong(long arg) argument
1254 UShr0(int arg) argument
1271 XorSameInt(int arg) argument
1295 CmpFloatGreaterThanNaN(float arg) argument
1319 CmpDoubleLessThanNaN(double arg) argument
[all...]
/art/runtime/gc/accounting/
H A Dspace_bitmap.cc111 void SpaceBitmap<kAlignment>::Walk(ObjectCallback* callback, void* arg) { argument
124 (*callback)(obj, arg);
135 SpaceBitmap::SweepCallback* callback, void* arg) {
177 (*callback)(pb - &pointer_buf[0], &pointer_buf[0], arg);
183 (*callback)(pb - &pointer_buf[0], &pointer_buf[0], arg);
190 mirror::Class* klass, void* arg)
195 WalkInstanceFields(visited, callback, obj, super, arg);
202 WalkFieldsInOrder(visited, callback, value, arg);
211 void* arg) {
216 (*callback)(obj, arg);
132 SweepWalk(const SpaceBitmap<kAlignment>& live_bitmap, const SpaceBitmap<kAlignment>& mark_bitmap, uintptr_t sweep_begin, uintptr_t sweep_end, SpaceBitmap::SweepCallback* callback, void* arg) argument
209 WalkFieldsInOrder(SpaceBitmap<kAlignment>* visited, ObjectCallback* callback, mirror::Object* obj, void* arg) argument
245 InOrderWalk(ObjectCallback* callback, void* arg) argument
[all...]
H A Dheap_bitmap.cc74 void HeapBitmap::Walk(ObjectCallback* callback, void* arg) { argument
76 bitmap->Walk(callback, arg);
79 bitmap->Walk(callback, arg);
H A Dspace_bitmap.h44 typedef void ScanCallback(mirror::Object* obj, void* finger, void* arg);
45 typedef void SweepCallback(size_t ptr_count, mirror::Object** ptrs, void* arg);
102 void VisitRange(uintptr_t base, uintptr_t max, ObjectCallback* callback, void* arg) const;
133 void Walk(ObjectCallback* callback, void* arg)
138 void InOrderWalk(ObjectCallback* callback, void* arg)
145 uintptr_t max, SweepCallback* thunk, void* arg);
207 void* arg) SHARED_REQUIRES(Locks::mutator_lock_);
211 mirror::Object* obj, mirror::Class* klass, void* arg)
/art/test/137-cfi/src/
H A DMain.java40 for (String arg : args) {
41 if (arg.equals("--test-local")) {
44 if (arg.equals("--test-remote")) {
47 if (arg.equals("--secondary")) {
50 if (arg.equals("--full-signatures")) {
/art/runtime/
H A Dobject_callbacks.h29 typedef void (ObjectCallback)(mirror::Object* obj, void* arg);
H A Ddex_instruction.cc334 uint32_t arg[kMaxVarArgRegs25x]; local
335 GetAllArgs25x(arg);
337 DCHECK_LE(num_extra_var_args + 2, arraysize(arg));
340 os << opcode << " v" << arg[0] << ", {"; local
345 os << "v" << arg[i + 2]; // Don't print the pair of vC registers. Pair is implicit. local
381 uint32_t arg[5]; local
382 GetVarArgs(arg);
392 os << "v" << arg[i]; local
410 os << "v" << arg[i]; local
424 os << "v" << arg[ local
[all...]
H A Ddex_instruction-inl.h334 // Number of additional registers in this instruction. # of var arg registers = this value + 1.
457 // Copies all of the parameter registers into the arg array. Check the length with VRegB_25x()+2.
458 inline void Instruction::GetAllArgs25x(uint32_t (&arg)[kMaxVarArgRegs25x]) const {
483 DCHECK_LE(count, 4U) << "Invalid arg count in 25x (" << count << ")";
495 * Copy the argument registers into the arg[] array, and
503 arg[5] = (Fetch16(0) >> 8) & 0x0f; // vG
506 arg[4] = (reg_list >> 12) & 0x0f; // vF
509 arg[3] = (reg_list >> 8) & 0x0f; // vE
512 arg[2] = (reg_list >> 4) & 0x0f; // vD
516 arg[
522 GetVarArgs(uint32_t arg[kMaxVarArgRegs], uint16_t inst_data) const argument
[all...]
H A Dreflection.cc42 // We can trivially use the small arg array.
45 // Analyze shorty to see if we need the large arg array.
223 mirror::Object* arg = args->Get(args_offset); local
224 if (((shorty_[i] == 'L') && (arg != nullptr)) || ((arg == nullptr && shorty_[i] != 'L'))) {
230 if (UNLIKELY(arg == nullptr || !arg->InstanceOf(dst_class))) {
236 PrettyTypeOf(arg).c_str()).c_str());
242 if (LIKELY(arg != nullptr && arg
389 int32_t arg = static_cast<int32_t>(args[i + offset]); local
[all...]
/art/compiler/jni/quick/mips64/
H A Dcalling_convention_mips64.cc105 FpuRegister arg = kFpuArgumentRegisters[reg_index]; local
106 Mips64ManagedRegister reg = Mips64ManagedRegister::FromFpuRegister(arg);
109 GpuRegister arg = kGpuArgumentRegisters[reg_index]; local
110 Mips64ManagedRegister reg = Mips64ManagedRegister::FromGpuRegister(arg);

Completed in 492 milliseconds

12345