Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 45) sorted by relevance

12

/art/runtime/
Dparsed_options_test.cc43 RuntimeOptions options; in TEST_F() local
44 options.push_back(std::make_pair(boot_class_path.c_str(), nullptr)); in TEST_F()
45 options.push_back(std::make_pair("-classpath", nullptr)); in TEST_F()
46 options.push_back(std::make_pair(lib_core.c_str(), nullptr)); in TEST_F()
47 options.push_back(std::make_pair("-cp", nullptr)); in TEST_F()
48 options.push_back(std::make_pair(lib_core.c_str(), nullptr)); in TEST_F()
49 options.push_back(std::make_pair("-Ximage:boot_image", nullptr)); in TEST_F()
50 options.push_back(std::make_pair("-Xcheck:jni", nullptr)); in TEST_F()
51 options.push_back(std::make_pair("-Xms2048", nullptr)); in TEST_F()
52 options.push_back(std::make_pair("-Xmx4k", nullptr)); in TEST_F()
[all …]
Dparsed_options.cc44 ParsedOptions* ParsedOptions::Create(const RuntimeOptions& options, bool ignore_unrecognized, in Create() argument
49 if (parsed->Parse(options, ignore_unrecognized, runtime_options)) { in Create()
287 bool ParsedOptions::ProcessSpecialOptions(const RuntimeOptions& options, in ProcessSpecialOptions() argument
294 for (size_t i = 0; i < options.size(); ++i) { in ProcessSpecialOptions()
295 const std::string option(options[i].first); in ProcessSpecialOptions()
299 = reinterpret_cast<const std::vector<const DexFile*>*>(options[i].second); in ProcessSpecialOptions()
306 reinterpret_cast<CompilerCallbacks*>(const_cast<void*>(options[i].second)); in ProcessSpecialOptions()
311 const char* isa_str = reinterpret_cast<const char*>(options[i].second); in ProcessSpecialOptions()
321 const void* hook = options[i].second; in ProcessSpecialOptions()
328 const void* hook = options[i].second; in ProcessSpecialOptions()
[all …]
Dparsed_options.h53 static ParsedOptions* Create(const RuntimeOptions& options, bool ignore_unrecognized,
64 bool ProcessSpecialOptions(const RuntimeOptions& options,
75 bool Parse(const RuntimeOptions& options, bool ignore_unrecognized,
Dcommon_runtime_test.cc304 RuntimeOptions options; in SetUp() local
306 options.push_back(std::make_pair(boot_class_path_string, nullptr)); in SetUp()
307 options.push_back(std::make_pair("-Xcheck:jni", nullptr)); in SetUp()
308 options.push_back(std::make_pair(min_heap_string, nullptr)); in SetUp()
309 options.push_back(std::make_pair(max_heap_string, nullptr)); in SetUp()
313 SetUpRuntimeOptions(&options); in SetUp()
317 options.push_back(std::make_pair("compilercallbacks", callbacks_.get())); in SetUp()
321 if (!Runtime::Create(options, false)) { in SetUp()
Dmonitor_test.cc36 void SetUpRuntimeOptions(RuntimeOptions *options) OVERRIDE { in SetUpRuntimeOptions() argument
38 for (std::pair<std::string, const void*>& pair : *options) { in SetUpRuntimeOptions()
43 options->push_back(std::make_pair("-Xint", nullptr)); in SetUpRuntimeOptions()
/art/disassembler/
Ddisassembler.cc30 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()
Ddisassembler_arm64.h33 explicit CustomDisassembler(DisassemblerOptions* options) : in CustomDisassembler() argument
34 vixl::Disassembler(), read_literals_(options->can_read_literals_) { in CustomDisassembler()
35 if (!options->absolute_addresses_) { in CustomDisassembler()
36 MapCodeAddress(0, reinterpret_cast<const vixl::Instruction*>(options->base_address_)); in CustomDisassembler()
62 explicit DisassemblerArm64(DisassemblerOptions* options) : in DisassemblerArm64() argument
63 Disassembler(options), disasm(options) { in DisassemblerArm64()
Ddisassembler_mips.h29 explicit DisassemblerMips(DisassemblerOptions* options, bool is64bit) : Disassembler(options), in DisassemblerMips() argument
Ddisassembler_x86.h29 DisassemblerX86(DisassemblerOptions* options, bool supports_rex) in DisassemblerX86() argument
30 : Disassembler(options), supports_rex_(supports_rex) {} in DisassemblerX86()
Ddisassembler_arm.h29 explicit DisassemblerArm(DisassemblerOptions* options) : Disassembler(options) {} in DisassemblerArm() argument
Ddisassembler.h55 static Disassembler* Create(InstructionSet instruction_set, DisassemblerOptions* options);
/art/runtime/jdwp/
Djdwp_socket.cc69 bool InitSocketTransport(JdwpState* state, const JdwpOptions* options) { in InitSocketTransport() argument
70 uint16_t port = options->port; in InitSocketTransport()
72 if (options->server) { in InitSocketTransport()
73 if (options->port != 0) { in InitSocketTransport()
86 LOG(ERROR) << "JDWP net startup failed (req port=" << options->port << ")"; in InitSocketTransport()
93 if (options->suspend) { in InitSocketTransport()
96 LOG(INFO) << "JDWP will " << (options->server ? "listen" : "connect") << " on port " << port; in InitSocketTransport()
261 bool JdwpSocketState::Establish(const JdwpOptions* options) { in Establish() argument
268 CHECK(!options->server); in Establish()
269 CHECK(!options->host.empty()); in Establish()
[all …]
Djdwp_main.cc208 JdwpState::JdwpState(const JdwpOptions* options) in JdwpState() argument
209 : options_(options), in JdwpState()
243 JdwpState* JdwpState::Create(const JdwpOptions* options) { in Create() argument
246 std::unique_ptr<JdwpState> state(new JdwpState(options)); in Create()
247 switch (options->transport) { in Create()
249 InitSocketTransport(state.get(), options); in Create()
253 InitAdbTransport(state.get(), options); in Create()
257 LOG(FATAL) << "Unknown transport: " << options->transport; in Create()
282 if (options->suspend) { in Create()
/art/runtime/jit/
Djit.cc34 JitOptions* JitOptions::CreateFromRuntimeArguments(const RuntimeArgumentMap& options) { in CreateFromRuntimeArguments() argument
36 jit_options->use_jit_ = options.GetOrDefault(RuntimeArgumentMap::UseJIT); in CreateFromRuntimeArguments()
38 options.GetOrDefault(RuntimeArgumentMap::JITCodeCacheCapacity); in CreateFromRuntimeArguments()
40 options.GetOrDefault(RuntimeArgumentMap::JITCompileThreshold); in CreateFromRuntimeArguments()
42 options.Exists(RuntimeArgumentMap::DumpJITInfoOnShutdown); in CreateFromRuntimeArguments()
64 Jit* Jit::Create(JitOptions* options, std::string* error_msg) { in Create() argument
66 jit->dump_info_on_shutdown_ = options->DumpJitInfoOnShutdown(); in Create()
70 jit->code_cache_.reset(JitCodeCache::Create(options->GetCodeCacheCapacity(), error_msg)); in Create()
75 << PrettySize(options->GetCodeCacheCapacity()) in Create()
76 << " compile_threshold=" << options->GetCompileThreshold(); in Create()
Djit.h49 static Jit* Create(JitOptions* options, std::string* error_msg);
94 static JitOptions* CreateFromRuntimeArguments(const RuntimeArgumentMap& options);
/art/cmdline/
Dcmdline_types.h77 Result Parse(const std::string& options) {
78 VLOG(jdwp) << "ParseJdwpOptions: " << options;
80 if (options == "help") {
89 Split(options, ',', &pairs);
97 "Can't parse JDWP option '" + jdwp_option + "' in '" + options + "'");
110 return Result::Failure(s + "Must specify JDWP transport: " + options);
113 return Result::Failure(s + "Must specify JDWP host and port when server=n: " + options);
578 Result Parse(const std::string& options) {
582 Split(options, ',', &verbose_options);
668 static inline std::ostream& operator<<(std::ostream& stream, const TestProfilerOptions& options) {
[all …]
Dcmdline.h87 RuntimeOptions options; in StartRuntime() local
92 options.push_back(std::make_pair("compilercallbacks", &callbacks)); in StartRuntime()
100 options.push_back(std::make_pair(boot_image_option.c_str(), nullptr)); in StartRuntime()
104 options.push_back( in StartRuntime()
108 if (!Runtime::Create(options, false)) { in StartRuntime()
/art/compiler/dex/
Dpass_manager.cc24 PassManager::PassManager(const PassManagerOptions& options) : options_(options) { in PassManager() argument
Dpass_driver_me.h105 auto* const options = &pass_manager_->GetOptions(); in RunPass() local
106 const std::string& print_pass_list = options->GetPrintPassList(); in RunPass()
114 FillOverriddenPassSettings(options, pass->GetName(), c_unit->overridden_pass_options); in RunPass()
215 const PassManagerOptions* options, const char* pass_name, in FillOverriddenPassSettings() argument
217 const std::string& settings = options->GetOverriddenPassOptions(); in FillOverriddenPassSettings()
/art/runtime/gc/
Dheap_test.cc76 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/dalvikvm/
Ddalvikvm.cc121 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/
Dimgdiag_test.cc50 virtual void SetUpRuntimeOptions(RuntimeOptions* options) OVERRIDE { in SetUpRuntimeOptions() argument
53 options->push_back(std::make_pair(runtime_args_image_, nullptr)); in SetUpRuntimeOptions()
/art/compiler/
Dimage_test.cc148 RuntimeOptions options; in TEST_F() local
151 options.push_back(std::make_pair(image.c_str(), static_cast<void*>(nullptr))); in TEST_F()
153 options.push_back(std::make_pair("-Xnorelocate", nullptr)); in TEST_F()
155 if (!Runtime::Create(options, false)) { in TEST_F()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints_test.cc28 void SetUpRuntimeOptions(RuntimeOptions *options) OVERRIDE { in SetUpRuntimeOptions() argument
31 options->push_back(std::make_pair("imageinstructionset", "x86_64")); in SetUpRuntimeOptions()
/art/runtime/arch/
Darch_test.cc27 void SetUpRuntimeOptions(RuntimeOptions *options) OVERRIDE { in SetUpRuntimeOptions() argument
30 options->push_back(std::make_pair("imageinstructionset", "x86_64")); in SetUpRuntimeOptions()

12