Home
last modified time | relevance | path

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

12

/art/runtime/
Dparsed_options_test.cc55 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 …]
Dparsed_options.h53 static bool Parse(const RuntimeOptions& options,
65 bool ProcessSpecialOptions(const RuntimeOptions& options,
76 bool DoParse(const RuntimeOptions& options,
Dparsed_options.cc44 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 …]
Dcommon_runtime_test.cc321 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()
Ddex2oat_environment_test.h84 virtual void SetUpRuntimeOptions(RuntimeOptions* options) OVERRIDE { in SetUpRuntimeOptions() argument
88 options->push_back(std::make_pair("-Ximage:" + GetImageLocation(), in SetUpRuntimeOptions()
Dprofiler.h170 static bool Start(const std::string& output_filename, const ProfilerOptions& options)
192 const std::string& output_filename, const ProfilerOptions& options);
Dprofiler.cc329 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/
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()
58 Disassembler* create_disassembler(InstructionSet instruction_set, DisassemblerOptions* options) { in create_disassembler() argument
59 return Disassembler::Create(instruction_set, options); in create_disassembler()
Ddisassembler_arm64.h33 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()
Ddisassembler_mips.h29 DisassemblerMips(DisassemblerOptions* options, bool is64bit) in DisassemblerMips() argument
30 : Disassembler(options), in DisassemblerMips()
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.h62 static Disassembler* Create(InstructionSet instruction_set, DisassemblerOptions* options);
95 Disassembler* create_disassembler(InstructionSet instruction_set, DisassemblerOptions* options);
/art/runtime/jdwp/
Djdwp_socket.cc71 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 …]
Djdwp_main.cc211 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/
Djit.cc52 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 …]
Djit.h50 static Jit* Create(JitOptions* options, std::string* error_msg);
206 static JitOptions* CreateFromRuntimeArguments(const RuntimeArgumentMap& options);
/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/cmdline/
Dcmdline.h86 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()
Dcmdline_types.h78 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/
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.cc58 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/
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/oatdump/
Doatdump.cc329 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/
Darch_test.cc30 void SetUpRuntimeOptions(RuntimeOptions *options) OVERRIDE { in SetUpRuntimeOptions() argument
33 options->push_back(std::make_pair("imageinstructionset", "x86_64")); in SetUpRuntimeOptions()

12