/art/runtime/ |
D | parsed_options_test.cc | 55 RuntimeOptions options; in TEST_F() local 56 options.push_back(std::make_pair(boot_class_path.c_str(), nullptr)); in TEST_F() 57 options.push_back(std::make_pair("-classpath", nullptr)); in TEST_F() 58 options.push_back(std::make_pair(class_path.c_str(), nullptr)); in TEST_F() 59 options.push_back(std::make_pair("-cp", nullptr)); in TEST_F() 60 options.push_back(std::make_pair(class_path.c_str(), nullptr)); in TEST_F() 61 options.push_back(std::make_pair("-Ximage:boot_image", nullptr)); in TEST_F() 62 options.push_back(std::make_pair("-Xcheck:jni", nullptr)); in TEST_F() 63 options.push_back(std::make_pair("-Xms2048", nullptr)); in TEST_F() 64 options.push_back(std::make_pair("-Xmx4k", nullptr)); in TEST_F() [all …]
|
D | parsed_options.h | 53 static bool Parse(const RuntimeOptions& options, 65 bool ProcessSpecialOptions(const RuntimeOptions& options, 76 bool DoParse(const RuntimeOptions& options,
|
D | parsed_options.cc | 44 bool ParsedOptions::Parse(const RuntimeOptions& options, in Parse() argument 50 return parser.DoParse(options, ignore_unrecognized, runtime_options); in Parse() 319 bool ParsedOptions::ProcessSpecialOptions(const RuntimeOptions& options, in ProcessSpecialOptions() argument 326 for (size_t i = 0; i < options.size(); ++i) { in ProcessSpecialOptions() 327 const std::string option(options[i].first); in ProcessSpecialOptions() 331 const_cast<void*>(options[i].second)); in ProcessSpecialOptions() 338 reinterpret_cast<CompilerCallbacks*>(const_cast<void*>(options[i].second)); in ProcessSpecialOptions() 343 const char* isa_str = reinterpret_cast<const char*>(options[i].second); in ProcessSpecialOptions() 353 const void* hook = options[i].second; in ProcessSpecialOptions() 360 const void* hook = options[i].second; in ProcessSpecialOptions() [all …]
|
D | common_runtime_test.cc | 321 RuntimeOptions options; in SetUp() local 328 options.push_back(std::make_pair(boot_class_path_string, nullptr)); in SetUp() 329 options.push_back(std::make_pair("-Xcheck:jni", nullptr)); in SetUp() 330 options.push_back(std::make_pair(min_heap_string, nullptr)); in SetUp() 331 options.push_back(std::make_pair(max_heap_string, nullptr)); in SetUp() 335 SetUpRuntimeOptions(&options); in SetUp() 339 options.push_back(std::make_pair("compilercallbacks", callbacks_.get())); in SetUp() 343 if (!Runtime::Create(options, false)) { in SetUp()
|
D | dex2oat_environment_test.h | 84 virtual void SetUpRuntimeOptions(RuntimeOptions* options) OVERRIDE { in SetUpRuntimeOptions() argument 88 options->push_back(std::make_pair("-Ximage:" + GetImageLocation(), in SetUpRuntimeOptions()
|
D | profiler.h | 170 static bool Start(const std::string& output_filename, const ProfilerOptions& options) 192 const std::string& output_filename, const ProfilerOptions& options);
|
D | profiler.cc | 329 const std::string& output_filename, const ProfilerOptions& options) { in Start() argument 330 if (!options.IsEnabled()) { in Start() 346 << " and options: " << options; in Start() 349 profiler_ = new BackgroundMethodSamplingProfiler(output_filename, options); in Start() 392 const std::string& output_filename, const ProfilerOptions& options) in BackgroundMethodSamplingProfiler() argument 394 options_(options), in BackgroundMethodSamplingProfiler()
|
/art/disassembler/ |
D | disassembler.cc | 30 Disassembler* Disassembler::Create(InstructionSet instruction_set, DisassemblerOptions* options) { in Create() argument 32 return new arm::DisassemblerArm(options); in Create() 34 return new arm64::DisassemblerArm64(options); in Create() 36 return new mips::DisassemblerMips(options, false); in Create() 38 return new mips::DisassemblerMips(options, true); in Create() 40 return new x86::DisassemblerX86(options, false); in Create() 42 return new x86::DisassemblerX86(options, true); in Create() 58 Disassembler* create_disassembler(InstructionSet instruction_set, DisassemblerOptions* options) { in create_disassembler() argument 59 return Disassembler::Create(instruction_set, options); in create_disassembler()
|
D | disassembler_arm64.h | 33 explicit CustomDisassembler(DisassemblerOptions* options) in CustomDisassembler() argument 35 read_literals_(options->can_read_literals_), in CustomDisassembler() 36 base_address_(options->base_address_), in CustomDisassembler() 37 end_address_(options->end_address_) { in CustomDisassembler() 38 if (!options->absolute_addresses_) { in CustomDisassembler() 39 MapCodeAddress(0, reinterpret_cast<const vixl::Instruction*>(options->base_address_)); in CustomDisassembler() 69 explicit DisassemblerArm64(DisassemblerOptions* options) : in DisassemblerArm64() argument 70 Disassembler(options), disasm(options) { in DisassemblerArm64()
|
D | disassembler_mips.h | 29 DisassemblerMips(DisassemblerOptions* options, bool is64bit) in DisassemblerMips() argument 30 : Disassembler(options), in DisassemblerMips()
|
D | disassembler_x86.h | 29 DisassemblerX86(DisassemblerOptions* options, bool supports_rex) in DisassemblerX86() argument 30 : Disassembler(options), supports_rex_(supports_rex) {} in DisassemblerX86()
|
D | disassembler_arm.h | 29 explicit DisassemblerArm(DisassemblerOptions* options) : Disassembler(options) {} in DisassemblerArm() argument
|
D | disassembler.h | 62 static Disassembler* Create(InstructionSet instruction_set, DisassemblerOptions* options); 95 Disassembler* create_disassembler(InstructionSet instruction_set, DisassemblerOptions* options);
|
/art/runtime/jdwp/ |
D | jdwp_socket.cc | 71 bool InitSocketTransport(JdwpState* state, const JdwpOptions* options) { in InitSocketTransport() argument 72 uint16_t port = options->port; in InitSocketTransport() 74 if (options->server) { in InitSocketTransport() 75 if (options->port != 0) { in InitSocketTransport() 88 LOG(ERROR) << "JDWP net startup failed (req port=" << options->port << ")"; in InitSocketTransport() 95 if (options->suspend) { in InitSocketTransport() 98 LOG(INFO) << "JDWP will " << (options->server ? "listen" : "connect") << " on port " << port; in InitSocketTransport() 263 bool JdwpSocketState::Establish(const JdwpOptions* options) { in Establish() argument 270 CHECK(!options->server); in Establish() 271 CHECK(!options->host.empty()); in Establish() [all …]
|
D | jdwp_main.cc | 211 JdwpState::JdwpState(const JdwpOptions* options) in JdwpState() argument 212 : options_(options), in JdwpState() 246 JdwpState* JdwpState::Create(const JdwpOptions* options) { in Create() argument 249 std::unique_ptr<JdwpState> state(new JdwpState(options)); in Create() 250 switch (options->transport) { in Create() 252 InitSocketTransport(state.get(), options); in Create() 256 InitAdbTransport(state.get(), options); in Create() 260 LOG(FATAL) << "Unknown transport: " << options->transport; in Create() 285 if (options->suspend) { in Create()
|
/art/runtime/jit/ |
D | jit.cc | 52 JitOptions* JitOptions::CreateFromRuntimeArguments(const RuntimeArgumentMap& options) { in CreateFromRuntimeArguments() argument 54 jit_options->use_jit_compilation_ = options.GetOrDefault(RuntimeArgumentMap::UseJitCompilation); in CreateFromRuntimeArguments() 57 options.GetOrDefault(RuntimeArgumentMap::JITCodeCacheInitialCapacity); in CreateFromRuntimeArguments() 59 options.GetOrDefault(RuntimeArgumentMap::JITCodeCacheMaxCapacity); in CreateFromRuntimeArguments() 61 options.Exists(RuntimeArgumentMap::DumpJITInfoOnShutdown); in CreateFromRuntimeArguments() 63 options.GetOrDefault(RuntimeArgumentMap::JITSaveProfilingInfo); in CreateFromRuntimeArguments() 65 jit_options->compile_threshold_ = options.GetOrDefault(RuntimeArgumentMap::JITCompileThreshold); in CreateFromRuntimeArguments() 70 if (options.Exists(RuntimeArgumentMap::JITWarmupThreshold)) { in CreateFromRuntimeArguments() 71 jit_options->warmup_threshold_ = *options.Get(RuntimeArgumentMap::JITWarmupThreshold); in CreateFromRuntimeArguments() 79 if (options.Exists(RuntimeArgumentMap::JITOsrThreshold)) { in CreateFromRuntimeArguments() [all …]
|
D | jit.h | 50 static Jit* Create(JitOptions* options, std::string* error_msg); 206 static JitOptions* CreateFromRuntimeArguments(const RuntimeArgumentMap& options);
|
/art/runtime/gc/ |
D | heap_test.cc | 76 void SetUpRuntimeOptions(RuntimeOptions* options) { in SetUpRuntimeOptions() argument 77 CommonRuntimeTest::SetUpRuntimeOptions(options); in SetUpRuntimeOptions() 78 options->push_back(std::make_pair("-Xzygote", nullptr)); in SetUpRuntimeOptions()
|
/art/cmdline/ |
D | cmdline.h | 86 RuntimeOptions options; in StartRuntime() local 91 options.push_back(std::make_pair("compilercallbacks", &callbacks)); in StartRuntime() 99 options.push_back(std::make_pair(boot_image_option.c_str(), nullptr)); in StartRuntime() 103 options.push_back( in StartRuntime() 108 options.push_back(std::make_pair("-Xno-sig-chain", nullptr)); in StartRuntime() 109 if (!Runtime::Create(options, false)) { in StartRuntime()
|
D | cmdline_types.h | 78 Result Parse(const std::string& options) { 79 VLOG(jdwp) << "ParseJdwpOptions: " << options; 81 if (options == "help") { 90 Split(options, ',', &pairs); 98 "Can't parse JDWP option '" + jdwp_option + "' in '" + options + "'"); 111 return Result::Failure(s + "Must specify JDWP transport: " + options); 114 return Result::Failure(s + "Must specify JDWP host and port when server=n: " + options); 579 Result Parse(const std::string& options) { 583 Split(options, ',', &verbose_options); 679 static inline std::ostream& operator<<(std::ostream& stream, const TestProfilerOptions& options) { [all …]
|
/art/dalvikvm/ |
D | dalvikvm.cc | 121 std::unique_ptr<JavaVMOption[]> options(new JavaVMOption[option_count]()); in dalvikvm() local 140 options[curr_opt++].optionString = argv[arg_idx]; in dalvikvm() 170 init_args.options = options.get(); in dalvikvm()
|
/art/imgdiag/ |
D | imgdiag_test.cc | 58 virtual void SetUpRuntimeOptions(RuntimeOptions* options) OVERRIDE { in SetUpRuntimeOptions() argument 61 options->push_back(std::make_pair(runtime_args_image_, nullptr)); in SetUpRuntimeOptions()
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints_test.cc | 28 void SetUpRuntimeOptions(RuntimeOptions *options) OVERRIDE { in SetUpRuntimeOptions() argument 31 options->push_back(std::make_pair("imageinstructionset", "x86_64")); in SetUpRuntimeOptions()
|
/art/oatdump/ |
D | oatdump.cc | 329 OatDumper(const OatFile& oat_file, const OatDumperOptions& options) in OatDumper() argument 332 options_(options), in OatDumper() 2195 OatDumperOptions* options, in DumpImage() argument 2202 ImageDumper image_dumper(os, *image_space, image_header, options); in DumpImage() 2209 static int DumpImages(Runtime* runtime, OatDumperOptions* options, std::ostream* os) { in DumpImages() argument 2212 options->class_loader_ = &null_class_loader; in DumpImages() 2215 if (options->app_image_ != nullptr) { in DumpImages() 2216 if (options->app_oat_ == nullptr) { in DumpImages() 2224 std::unique_ptr<OatFile> oat_file(OatFile::Open(options->app_oat_, in DumpImages() 2225 options->app_oat_, in DumpImages() [all …]
|
/art/runtime/arch/ |
D | arch_test.cc | 30 void SetUpRuntimeOptions(RuntimeOptions *options) OVERRIDE { in SetUpRuntimeOptions() argument 33 options->push_back(std::make_pair("imageinstructionset", "x86_64")); in SetUpRuntimeOptions()
|