/art/runtime/ |
D | reflection_test.cc | 150 jvalue args[1]; in InvokeIdentityByteMethod() local 152 args[0].b = 0; in InvokeIdentityByteMethod() 153 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod() 156 args[0].b = -1; in InvokeIdentityByteMethod() 157 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod() 160 args[0].b = SCHAR_MAX; in InvokeIdentityByteMethod() 161 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod() 165 args[0].b = SCHAR_MIN; in InvokeIdentityByteMethod() 166 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod() 176 jvalue args[1]; in InvokeIdentityIntMethod() local [all …]
|
D | common_throws.cc | 58 va_list* args = nullptr) in ThrowException() argument 61 if (args != nullptr) { in ThrowException() 63 StringAppendV(&vmsg, fmt, *args); in ThrowException() 76 va_list* args = nullptr) in ThrowWrappedException() argument 79 if (args != nullptr) { in ThrowWrappedException() 81 StringAppendV(&vmsg, fmt, *args); in ThrowWrappedException() 132 va_list args; in ThrowBootstrapMethodError() local 133 va_start(args, fmt); in ThrowBootstrapMethodError() 134 ThrowException("Ljava/lang/BootstrapMethodError;", nullptr, fmt, &args); in ThrowBootstrapMethodError() 135 va_end(args); in ThrowBootstrapMethodError() [all …]
|
D | parsed_options.cc | 487 RuntimeArgumentMap args = parser->ReleaseArgumentsMap(); in DoParse() local 490 if (args.Exists(M::Help)) { in DoParse() 493 } else if (args.Exists(M::ShowVersion)) { in DoParse() 499 } else if (args.Exists(M::BootClassPath)) { in DoParse() 500 LOG(INFO) << "setting boot class path to " << *args.Get(M::BootClassPath); in DoParse() 503 if (args.GetOrDefault(M::UseJitCompilation) && args.GetOrDefault(M::Interpret)) { in DoParse() 510 args.SetIfMissing(M::BootClassPath, std::string(getenv("BOOTCLASSPATH"))); in DoParse() 515 args.SetIfMissing(M::ClassPath, std::string(getenv("CLASSPATH"))); in DoParse() 519 args.SetIfMissing(M::ParallelGCThreads, gc::Heap::kDefaultEnableParallelGC ? in DoParse() 524 LogVerbosity *log_verbosity = args.Get(M::Verbose); in DoParse() [all …]
|
D | exec_utils.cc | 39 std::vector<char*> args; in ExecAndReturnCode() local 44 args.push_back(arg_str); in ExecAndReturnCode() 46 args.push_back(nullptr); in ExecAndReturnCode() 60 execv(program, &args[0]); in ExecAndReturnCode() 62 execve(program, &args[0], envp); in ExecAndReturnCode()
|
/art/test/611-checker-simplify-if/src/ |
D | Main.java | 19 public static void main(String[] args) { in main() argument 20 testNoInline(args); in main() 22 testInline(args); in main() 24 testNonConstantInputs(args); in main() 26 testNonConstantEqual(args); in main() 28 testGreaterCondition(args); in main() 30 testSwitch(args); in main() 32 testFP(args); in main() 50 public static void testNoInline(String[] args) { in testNoInline() argument 52 if (args.length == 42) { in testNoInline() [all …]
|
/art/test/412-new-array/src/ |
D | Main.java | 24 public static void main(String[] args) throws Exception { in main() argument 153 Object[] args = {new Integer(1), new Integer(2), new Integer(3)}; in testSmaliFilledNewArray() local 154 int[] result = (int[])m.invoke(null, args); in testSmaliFilledNewArray() 163 Object[] args = {new Integer(1), new Integer(2)}; in testSmaliFilledNewArray() local 164 Object[] result = (Object[])m.invoke(null, args); in testSmaliFilledNewArray() 166 assertEquals(args[0], result[0]); in testSmaliFilledNewArray() 167 assertEquals(args[1], result[1]); in testSmaliFilledNewArray() 172 Object[] args = {new int[0], new int[1]}; in testSmaliFilledNewArray() local 173 Object[] result = (Object[])m.invoke(null, args); in testSmaliFilledNewArray() 175 assertEquals(args[0], result[0]); in testSmaliFilledNewArray() [all …]
|
/art/compiler/utils/ |
D | assembler_test_base.h | 218 std::vector<std::string> args; in Assemble() local 223 args.push_back(GetAssemblerCommand()); in Assemble() 224 args.push_back("-o"); in Assemble() 225 args.push_back(to_file); in Assemble() 226 args.push_back(from_file); in Assemble() 227 std::string cmd = android::base::Join(args, ' '); in Assemble() 229 args.clear(); in Assemble() 230 args.push_back("/bin/sh"); in Assemble() 231 args.push_back("-c"); in Assemble() 232 args.push_back(cmd); in Assemble() [all …]
|
D | test_dex_file_builder.h | 69 for (const auto& arg_type : proto_key.args) { in AddMethod() 126 size_t num_args = entry.first.args.size(); in Build() 181 size_t num_args = entry.first.args.size(); in Build() 193 GetTypeIdx(entry.first.args[i])); in Build() 301 std::vector<std::string> args; member 308 size_t min_args = std::min(lhs.args.size(), rhs.args.size()); in operator() 310 if (lhs.args[i] != rhs.args[i]) { in operator() 311 return lhs.args[i] < rhs.args[i]; in operator() 314 return lhs.args.size() < rhs.args.size(); in operator() 337 const char* args = signature.c_str() + 1; in CreateProtoKey() local [all …]
|
/art/tools/bisection_search/ |
D | bisection_search.py | 359 def PrepareBaseCommand(args, classpath): argument 361 if args.raw_cmd: 362 return shlex.split(args.raw_cmd) 364 base_cmd = ['dalvikvm64'] if args.x64 else ['dalvikvm32'] 365 if not args.device: 366 base_cmd += ['-XXlib:{0}'.format(args.lib)] 367 if not args.image: 371 image_path = args.image 373 if args.dalvikvm_opts: 374 base_cmd += args.dalvikvm_opts [all …]
|
/art/runtime/arch/arm/ |
D | quick_entrypoints_cc_arm.cc | 28 static void quick_invoke_reg_setup(ArtMethod* method, uint32_t* args, uint32_t args_size, in quick_invoke_reg_setup() argument 42 core_reg_args[gpr_index++] = args[arg_index++]; in quick_invoke_reg_setup() 57 fp_reg_args[fpr_double_index++] = args[arg_index]; in quick_invoke_reg_setup() 58 fp_reg_args[fpr_double_index++] = args[arg_index + 1]; in quick_invoke_reg_setup() 74 fp_reg_args[fpr_index++] = args[arg_index]; in quick_invoke_reg_setup() 86 core_reg_args[gpr_index++] = args[arg_index]; in quick_invoke_reg_setup() 92 core_reg_args[gpr_index++] = args[arg_index]; in quick_invoke_reg_setup() 98 art_quick_invoke_stub_internal(method, args, args_size, self, result, result_in_float, in quick_invoke_reg_setup() 104 extern "C" void art_quick_invoke_stub(ArtMethod* method, uint32_t* args, uint32_t args_size, in art_quick_invoke_stub() argument 106 quick_invoke_reg_setup<false>(method, args, args_size, self, result, shorty); in art_quick_invoke_stub() [all …]
|
/art/tools/ |
D | run-jdwp-tests.sh | 51 args=$@ 95 args=${args/$1} 100 args=${args/$1} 105 args=${args/$1} 109 args=${args/$1} 113 args=${args/$1} 174 $args \
|
/art/disassembler/ |
D | disassembler_mips.cc | 504 std::ostringstream args; in Dump() local 517 args << sa; in Dump() 524 args << FormatInstructionPointer(instr_ptr + offset) in Dump() 533 args << FormatInstructionPointer(instr_ptr + offset) in Dump() 538 args << "cc" << (sa >> 2); in Dump() 541 args << "cc" << (rt >> 2); in Dump() 543 case 'D': args << RegName(rd); break; in Dump() 544 case 'd': args << 'f' << rd; break; in Dump() 545 case 'a': args << 'f' << sa; break; in Dump() 546 case 'F': args << (sa + 32); break; // dinsu position. in Dump() [all …]
|
/art/tools/ahat/src/ |
D | Main.java | 49 public static void main(String[] args) throws IOException { in main() argument 51 for (String arg : args) { in main() 62 for (int i = 0; i < args.length; i++) { in main() 63 if ("-p".equals(args[i]) && i + 1 < args.length) { in main() 65 port = Integer.parseInt(args[i]); in main() 66 } else if ("--proguard-map".equals(args[i]) && i + 1 < args.length) { in main() 69 map.readFromFile(new File(args[i])); in main() 74 } else if ("--baseline-proguard-map".equals(args[i]) && i + 1 < args.length) { in main() 77 mapbase.readFromFile(new File(args[i])); in main() 82 } else if ("--baseline".equals(args[i]) && i + 1 < args.length) { in main() [all …]
|
/art/tools/checker/ |
D | checker.py | 98 args = ParseArguments() variable 100 if args.quiet: 103 if args.list_passes: 104 ListPasses(args.tested_file) 105 elif args.dump_pass: 106 DumpPass(args.tested_file, args.dump_pass) 108 RunTests(args.check_prefix, args.source_path, args.tested_file, args.arch, args.debuggable)
|
/art/test/993-breakpoints/ |
D | expected.txt | 3 Native invoking: public static void art.Test993.breakpoint() args: [this: null] 4 Reflective invoking: public static void art.Test993.breakpoint() args: [this: null] 7 Native invoking: public static void art.Test993.breakpoint() args: [this: null] 9 Reflective invoking: public static void art.Test993.breakpoint() args: [this: null] 15 Native invoking: private static void art.Test993.privateBreakpoint() args: [this: null] 18 Native invoking: private static void art.Test993.privateBreakpoint() args: [this: null] 24 Native invoking: public static void art.Test993$Breakable.iBreakpoint() args: [this: null] 25 Reflective invoking: public static void art.Test993$Breakable.iBreakpoint() args: [this: null] 28 Native invoking: public static void art.Test993$Breakable.iBreakpoint() args: [this: null] 30 Reflective invoking: public static void art.Test993$Breakable.iBreakpoint() args: [this: null] [all …]
|
/art/tools/ahat/test/ |
D | Tests.java | 22 public static void main(String[] args) { in main() argument 23 if (args.length == 0) { in main() 24 args = new String[]{ in main() 37 JUnitCore.main(args); in main()
|
/art/test/137-cfi/ |
D | run | 20 --args --full-signatures --args --test-local --args --test-remote 25 ${RUN} "$@" -Xcompiler-option --generate-mini-debug-info --args --test-remote
|
/art/test/023-many-interfaces/src/ |
D | Main.java | 2 static public void main(String[] args) throws Exception { in main() argument 3 boolean timing = (args.length >= 1) && args[0].equals("--timing"); in main()
|
/art/runtime/interpreter/ |
D | interpreter.cc | 48 uint32_t* args, in InterpreterJni() argument 86 result->SetB(fn(soa.Env(), klass.get(), args[0])); in InterpreterJni() 93 result->SetI(fn(soa.Env(), klass.get(), args[0])); in InterpreterJni() 100 soa.AddLocalReference<jobject>(ObjArg(args[0]))); in InterpreterJni() 113 result->SetI(fn(soa.Env(), klass.get(), args[0], args[1])); in InterpreterJni() 121 soa.AddLocalReference<jobject>(ObjArg(args[0]))); in InterpreterJni() 123 result->SetI(fn(soa.Env(), klass.get(), arg0.get(), args[1])); in InterpreterJni() 131 result->SetS(fn(soa.Env(), klass.get(), args[0], args[1])); in InterpreterJni() 138 fn(soa.Env(), klass.get(), args[0], args[1]); in InterpreterJni() 145 soa.AddLocalReference<jobject>(ObjArg(args[0]))); in InterpreterJni() [all …]
|
/art/test/137-cfi/src/ |
D | Main.java | 38 public Main(String[] args) throws Exception { in Main() argument 39 System.loadLibrary(args[0]); in Main() 40 for (String arg : args) { in Main() 59 public static void main(String[] args) throws Exception { in main() argument 60 new Main(args).run(); in main() 143 private static Process exec(String[] args) { in exec() argument 145 return Runtime.getRuntime().exec(args); in exec()
|
/art/compiler/optimizing/ |
D | ssa_liveness_analysis_test.cc | 101 ArenaVector<HInstruction*> args({ array, index, value, extra_arg1, extra_arg2 }, in TEST_F() local 103 for (HInstruction* insn : args) { in TEST_F() 115 null_check_env->CopyFrom(args); in TEST_F() 126 bounds_check_env->CopyFrom(args); in TEST_F() 150 ASSERT_EQ(arraysize(expected), args.size()); in TEST_F() 152 for (HInstruction* arg : args) { in TEST_F() 171 ArenaVector<HInstruction*> args({ array, index, value, extra_arg1, extra_arg2 }, in TEST_F() local 173 for (HInstruction* insn : args) { in TEST_F() 185 null_check_env->CopyFrom(args); in TEST_F() 200 deoptimize_env->CopyFrom(args); in TEST_F() [all …]
|
/art/test/002-sleep/src/ |
D | Main.java | 2 static public void main(String[] args) throws Exception { in main() argument 5 if (args.length > 1) { in main() 6 millis = Integer.parseInt(args[1]); in main()
|
/art/runtime/gc/space/ |
D | image_space_test.cc | 36 std::vector<std::string> args; in TEST_F() local 37 args.push_back("--dex-file=" + dex1); in TEST_F() 38 args.push_back("--dex-file=" + multidex1); in TEST_F() 39 args.push_back("--dex-file=" + dex2); in TEST_F() 40 args.push_back("--oat-file=" + oat_location); in TEST_F() 41 ASSERT_TRUE(OatFileAssistant::Dex2Oat(args, &error_msg)) << error_msg; in TEST_F()
|
/art/test/044-proxy/src/ |
D | FloatSelect.java | 29 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { in invoke() argument 30 return args[1]; in invoke() 34 public static void main(String[] args) { in main() argument
|
/art/test/101-fibonacci/src/ |
D | Main.java | 45 public static void main(String[] args) { in main() argument 46 String arg = (args.length > 1) ? args[1] : "10"; in main()
|