Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 127) sorted by relevance

123456

/art/test/538-checker-embed-constants/src/
DMain.java35 public static int and254(int arg) { in and254() argument
36 return arg & 254; in and254()
43 public static int and255(int arg) { in and255() argument
44 return arg & 255; in and255()
50 public static int and511(int arg) { in and511() argument
51 return arg & 511; in and511()
58 public static int andF00D(int arg) { in andF00D() argument
59 return arg & 0xF00D; in andF00D()
66 public static int andNot15(int arg) { in andNot15() argument
67 return arg & ~15; in andNot15()
[all …]
/art/test/458-checker-instruct-simplification/src/
DMain.java74 public static long $noinline$Add0(long arg) { in $noinline$Add0() argument
75 return 0 + arg; in $noinline$Add0()
96 public static int $noinline$AddAddSubAddConst(int arg) { in $noinline$AddAddSubAddConst() argument
97 return arg + 1 + 2 - 3 + 4; in $noinline$AddAddSubAddConst()
113 public static int $noinline$AndAllOnes(int arg) { in $noinline$AndAllOnes() argument
114 return arg & -1; in $noinline$AndAllOnes()
134 public static int $noinline$UShr28And15(int arg) { in $noinline$UShr28And15() argument
135 return (arg >>> 28) & 15; in $noinline$UShr28And15()
155 public static long $noinline$UShr60And15(long arg) { in $noinline$UShr60And15() argument
156 return (arg >>> 60) & 15; in $noinline$UShr60And15()
[all …]
/art/test/526-checker-caller-callee-regs/src/
DMain.java29 public static int $opt$noinline$function_call(int arg) { in $opt$noinline$function_call() argument
31 return 1 % arg; in $opt$noinline$function_call()
79 public static int $opt$LiveInCall(int arg) { in $opt$LiveInCall() argument
80 int t1 = arg + 1; in $opt$LiveInCall()
81 int t2 = $opt$noinline$function_call(arg); in $opt$LiveInCall()
86 int arg = 123; in main() local
87 assertIntEquals($opt$LiveInCall(arg), arg); in main() local
/art/test/994-breakpoint-line/
Dexpected.txt1 Breaking on line: 29 calling with arg: true
4 Breaking on line: 29 calling with arg: false
7 Breaking on line: 30 calling with arg: true
10 Breaking on line: 30 calling with arg: false
13 Breaking on line: 31 calling with arg: true
16 Breaking on line: 31 calling with arg: false
18 Breaking on line: 33 calling with arg: true
20 Breaking on line: 33 calling with arg: false
23 Breaking on line: 35 calling with arg: true
26 Breaking on line: 35 calling with arg: false
[all …]
/art/test/442-checker-constant-folding/src/
DMain.java880 public static int AndSelfNegated(int arg) { in AndSelfNegated() argument
881 return arg & ~arg; in AndSelfNegated()
1096 public static int And0(int arg) { in And0() argument
1097 return arg & 0; in And0()
1114 public static long Mul0(long arg) { in Mul0() argument
1115 return arg * 0; in Mul0()
1131 public static int OrAllOnes(int arg) { in OrAllOnes() argument
1132 return arg | -1; in OrAllOnes()
1149 public static long Rem0(long arg) { in Rem0() argument
1150 return 0 % arg; in Rem0()
[all …]
/art/
Dtest.py44 for arg in sys.argv[1:]:
45 if arg == '--run-test' or arg == '--gtest' \
46 or arg == '-r' or arg == '-g':
48 if arg == '--help-runner':
51 run_test_args.append(arg)
/art/runtime/interpreter/
Dinterpreter_intrinsics.cc33 uint32_t arg[Instruction::kMaxVarArgRegs] = {}; \
34 inst->GetVarArgs(arg, inst_data); \
40 BINARY_INTRINSIC(name, op, GetVReg(arg[0]), GetVReg(arg[1]), set)
43 BINARY_INTRINSIC(name, op, GetVRegLong(arg[0]), GetVRegLong(arg[2]), set)
46 BINARY_INTRINSIC(name, op, GetVRegLong(arg[0]), GetVReg(arg[2]), set)
54 uint32_t arg[Instruction::kMaxVarArgRegs] = {}; \
55 inst->GetVarArgs(arg, inst_data); \
56 result_register->set(op(shadow_frame->get(arg[0]))); \
187 uint32_t arg[Instruction::kMaxVarArgRegs] = {}; in MterpStringCharAt() local
188 inst->GetVarArgs(arg, inst_data); in MterpStringCharAt()
[all …]
/art/test/466-get-live-vreg/src/
DMain.java34 static void $noinline$testIntervalHole(int arg, boolean test) { in $noinline$testIntervalHole() argument
39 staticField1 = arg; in $noinline$testIntervalHole()
43 staticField2 = arg; in $noinline$testIntervalHole()
72 static void testWrapperIntervalHole(int arg, boolean test) { in testWrapperIntervalHole() argument
75 $noinline$testIntervalHole(arg, test); in testWrapperIntervalHole()
/art/tools/dexanalyze/
Ddexanalyze.cc70 const std::string arg = argv[i]; in Parse() local
71 if (arg == "-i") { in Parse()
74 } else if (arg == "-v") { in Parse()
86 } else if (arg == "-a") { in Parse()
88 } else if (arg == "-n") { in Parse()
95 } else if (arg == "-count-indices") { in Parse()
97 } else if (arg == "-analyze-strings") { in Parse()
99 } else if (arg == "-analyze-debug-info") { in Parse()
101 } else if (arg == "-new-bytecode") { in Parse()
103 } else if (arg == "-d") { in Parse()
[all …]
/art/test/109-suspend-check/src/
DMain.java71 long ReturnArgOrConst(long arg); in ReturnArgOrConst() argument
72 void PutOrNop(long arg); in PutOrNop() argument
77 public long ReturnArgOrConst(long arg) { in ReturnArgOrConst() argument
80 public void PutOrNop(long arg) { in PutOrNop() argument
89 public long ReturnArgOrConst(long arg) { in ReturnArgOrConst() argument
90 return arg; in ReturnArgOrConst()
92 public void PutOrNop(long arg) { in PutOrNop() argument
93 value = arg; in PutOrNop()
/art/build/
DAndroid.oat.mk57 core_compile_options += --compiler-filter=extract --runtime-arg -Xverify:softfail
88 --runtime-arg -Xms$(DEX2OAT_IMAGE_XMS) \
89 --runtime-arg -Xmx$(DEX2OAT_IMAGE_XMX) \
100 --runtime-arg -XX:SlowDebug=true \
104 --runtime-arg -Xms$(DEX2OAT_IMAGE_XMS) \
105 --runtime-arg -Xmx$(DEX2OAT_IMAGE_XMX) \
106 --runtime-arg -Xbootclasspath:$$(subst $$(space),:,$$(strip \
108 --runtime-arg -Xbootclasspath-locations:$$(subst $$(space),:,$$(strip \
122 --runtime-arg -XX:SlowDebug=true \
169 core_compile_options += --compiler-filter=extract --runtime-arg -Xverify:softfail
[all …]
/art/runtime/gc/allocator/
Ddlmalloc.cc66 extern "C" void DlmallocMadviseCallback(void* start, void* end, size_t used_bytes, void* arg) { in DlmallocMadviseCallback() argument
81 size_t* reclaimed = reinterpret_cast<size_t*>(arg); in DlmallocMadviseCallback()
89 void* arg) { in DlmallocBytesAllocatedCallback() argument
93 size_t* bytes_allocated = reinterpret_cast<size_t*>(arg); in DlmallocBytesAllocatedCallback()
100 void* arg) { in DlmallocObjectsAllocatedCallback() argument
104 size_t* objects_allocated = reinterpret_cast<size_t*>(arg); in DlmallocObjectsAllocatedCallback()
Ddlmalloc.h46 extern "C" void DlmallocBytesAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg
47 …rn "C" void DlmallocObjectsAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg);
/art/test/1945-proxy-method-arguments/src/
DMain.java23 void method1(String arg); in method1() argument
76 String arg = (String) getProxyMethodArgument(arg_pos); in testMethod10() local
77 System.out.println(" arg" + arg_pos + ": " + arg.getClass().getName() + " \"" + arg + "\""); in testMethod10()
78 Main.assertEquals(args[i], arg); in testMethod10()
91 String arg = (String) getProxyMethodArgument(arg_pos); in testMethod10Even() local
92 System.out.println(" arg" + arg_pos + ": " + arg.getClass().getName() + " \"" + arg + "\""); in testMethod10Even()
93 Main.assertEquals(args[i], arg); in testMethod10Even()
/art/test/166-bad-interface-super/
Dbuild20 for arg in "$@"; do
21 if [[ "$arg" == "--jvm" ]]; then
/art/test/508-checker-disassembly/src/
DMain.java24 public int DisassembledFunction(int arg) { in DisassembledFunction() argument
25 return 7 / arg; in DisassembledFunction()
/art/tools/
Dhost_bcp.sh22 --runtime-arg -Xbootclasspath:...
23 --runtime-arg -Xbootclasspath-locations:...
91 echo --runtime-arg -Xbootclasspath:${BCP} \
92 --runtime-arg -Xbootclasspath-locations:${BCPL}
Drun-jdwp-tests.sh433 --vm-arg -Djpda.settings.verbose=true \
434 --vm-arg -Djpda.settings.timeout=$jdwp_test_timeout \
435 --vm-arg -Djpda.settings.waitingTime=$jdwp_test_timeout \
436 --vm-arg -Djpda.settings.transportAddress=127.0.0.1:55107 \
437 --vm-arg -Djpda.settings.dumpProcess="$dump_command" \
438 --vm-arg -Djpda.settings.debuggeeJavaPath="$art_debugee $plugin $debuggee_args" \
439 --vm-arg -Djpda.settings.badTestCases="$skip_tests" \
Drun-libjdwp-tests.sh118 args+=(--vm-arg)
146 --vm-arg -Djpda.settings.debuggeeAgentExtraOptions=coredump=y \
147 --vm-arg -Djpda.settings.testSuiteType=libjdwp \
/art/test/997-single-step/src/art/
DTest997.java74 for (boolean arg : values) { in run()
75 System.out.println("Stepping through doMultiPath(" + arg + ")"); in run()
77 doMultiPath(arg); in run()
/art/test/994-breakpoint-line/src/art/
DTest994.java64 for (boolean arg : values) { in run()
65 System.out.println("Breaking on line: " + line.line + " calling with arg: " + arg); in run()
66 doMultiPath(arg); in run()
/art/test/550-checker-regression-wide-store/src/
DMain.java24 private static int runTestCase(String name, long arg) throws Exception { in runTestCase() argument
27 int result = (Integer) m.invoke(null, arg); in runTestCase()
/art/test/101-fibonacci/src/
DMain.java46 String arg = (args.length > 1) ? args[1] : "10"; in main() local
48 int x = Integer.parseInt(arg); in main()
/art/compiler/optimizing/
Dssa_liveness_analysis_test.cc58 HInstruction* arg = new (GetAllocator()) HParameterValue( in TEST_F() local
60 entry_->AddInstruction(arg); in TEST_F()
63 HInstruction* ret = new (GetAllocator()) HReturn(arg); in TEST_F()
72 arg->GetLiveInterval()->Dump(arg_dump); in TEST_F()
138 for (HInstruction* arg : args) { in TEST_F()
140 arg->GetLiveInterval()->Dump(arg_dump); in TEST_F()
210 for (HInstruction* arg : args) { in TEST_F()
212 arg->GetLiveInterval()->Dump(arg_dump); in TEST_F()
/art/runtime/
Dreflection.cc236 MutableHandle<mirror::Object> arg(hs.NewHandle<mirror::Object>(nullptr)); in BuildArgArrayFromObjectArray() local
240 arg.Assign(args->Get(args_offset)); in BuildArgArrayFromObjectArray()
241 if (((shorty_[i] == 'L') && (arg != nullptr)) || in BuildArgArrayFromObjectArray()
242 ((arg == nullptr && shorty_[i] != 'L'))) { in BuildArgArrayFromObjectArray()
251 if (UNLIKELY(arg == nullptr || !arg->InstanceOf(dst_class))) { in BuildArgArrayFromObjectArray()
257 mirror::Object::PrettyTypeOf(arg.Get()).c_str()).c_str()); in BuildArgArrayFromObjectArray()
263 if (LIKELY(arg != nullptr && \ in BuildArgArrayFromObjectArray()
264 arg->GetClass()->DescriptorEquals(match_descriptor))) { \ in BuildArgArrayFromObjectArray()
265 ArtField* primitive_field = arg->GetClass()->GetInstanceField(0); \ in BuildArgArrayFromObjectArray()
266 append(primitive_field-> get_fn(arg.Get())); in BuildArgArrayFromObjectArray()
[all …]

123456