Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 143) 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-stdout.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/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/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/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()
/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/508-checker-disassembly/src/
DMain.java24 public int DisassembledFunction(int arg) { in DisassembledFunction() argument
25 return 7 / arg; in DisassembledFunction()
/art/test/166-bad-interface-super/
Dbuild20 for arg in "$@"; do
21 if [[ "$arg" == "--jvm" ]]; then
/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.sh434 --vm-arg -Djpda.settings.verbose=true \
435 --vm-arg -Djpda.settings.timeout=$jdwp_test_timeout \
436 --vm-arg -Djpda.settings.waitingTime=$jdwp_test_timeout \
437 --vm-arg -Djpda.settings.transportAddress=127.0.0.1:55107 \
438 --vm-arg -Djpda.settings.dumpProcess="$dump_command" \
439 --vm-arg -Djpda.settings.debuggeeJavaPath="$art_debugee $plugin $debuggee_args" \
440 --vm-arg -Djpda.settings.badTestCases="$skip_tests" \
Drun-libjdwp-tests.sh123 args+=(--vm-arg)
151 --vm-arg -Djpda.settings.debuggeeAgentExtraOptions=coredump=y \
152 --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/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 …]
/art/compiler/optimizing/
Dssa_liveness_analysis_test.cc60 HInstruction* arg = new (GetAllocator()) HParameterValue( in TEST_F() local
62 entry_->AddInstruction(arg); in TEST_F()
65 HInstruction* ret = new (GetAllocator()) HReturn(arg); in TEST_F()
74 arg->GetLiveInterval()->Dump(arg_dump); in TEST_F()
140 for (HInstruction* arg : args) { in TEST_F()
142 arg->GetLiveInterval()->Dump(arg_dump); in TEST_F()
212 for (HInstruction* arg : args) { in TEST_F()
214 arg->GetLiveInterval()->Dump(arg_dump); in TEST_F()
/art/cmdline/
Dcmdline_parser.h59 static void AppendCompletedArgument(Builder& builder, detail::CmdlineParseArgumentAny* arg);
521 void AppendCompletedArgument(detail::CmdlineParseArgumentAny* arg) { in AppendCompletedArgument()
522 auto smart_ptr = std::unique_ptr<detail::CmdlineParseArgumentAny>(arg); in AppendCompletedArgument()
632 for (auto&& arg : completed_arguments_) { in Parse()
633 size_t local_match = arg->MaybeMatches(possible_name); in Parse()
657 auto&& arg = completed_arguments_[best_match_arg_idx]; in Parse()
659 assert(arg->MaybeMatches(possible_name) == best_match_size); in Parse()
662 std::pair<size_t, size_t> num_tokens = arg->GetNumTokens(); in Parse()
692 CmdlineResult parse_attempt = arg->ParseArgument(exact_range, &consumed_tokens); in Parse()
731 detail::CmdlineParseArgumentAny* arg) { in AppendCompletedArgument() argument
[all …]
/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/988-method-trace/src/art/
DTest988.java226 private int arg;
228 public FibThrow(String format, int arg, Throwable res) {
230 this.arg = arg;
236 System.out.printf(format, arg, genericToString(res));
242 private int arg;
244 public FibResult(String format, int arg, int res) {
246 this.arg = arg;
252 System.out.printf(format, arg, res);
/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()

123456