Home
last modified time | relevance | path

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

12

/art/runtime/
Dparsed_options_test.cc39 RuntimeOptions options; in TEST_F() local
40 options.push_back(std::make_pair(boot_class_path.c_str(), null)); in TEST_F()
41 options.push_back(std::make_pair("-classpath", null)); in TEST_F()
42 options.push_back(std::make_pair(lib_core.c_str(), null)); in TEST_F()
43 options.push_back(std::make_pair("-cp", null)); in TEST_F()
44 options.push_back(std::make_pair(lib_core.c_str(), null)); in TEST_F()
45 options.push_back(std::make_pair("-Ximage:boot_image", null)); in TEST_F()
46 options.push_back(std::make_pair("-Xcheck:jni", null)); in TEST_F()
47 options.push_back(std::make_pair("-Xms2048", null)); in TEST_F()
48 options.push_back(std::make_pair("-Xmx4k", null)); in TEST_F()
[all …]
Druntime.cc333 bool Runtime::Create(const RuntimeOptions& options, bool ignore_unrecognized) { in Create() argument
340 if (!instance_->Init(options, ignore_unrecognized)) { in Create()
674 std::unique_ptr<ParsedOptions> options(ParsedOptions::Create(raw_options, ignore_unrecognized)); in Init() local
675 if (options.get() == nullptr) { in Init()
683 Monitor::Init(options->lock_profiling_threshold_, options->hook_is_sensitive_thread_); in Init()
685 boot_class_path_string_ = options->boot_class_path_string_; in Init()
686 class_path_string_ = options->class_path_string_; in Init()
687 properties_ = options->properties_; in Init()
689 compiler_callbacks_ = options->compiler_callbacks_; in Init()
690 patchoat_executable_ = options->patchoat_executable_; in Init()
[all …]
Dparsed_options.cc33 ParsedOptions* ParsedOptions::Create(const RuntimeOptions& options, bool ignore_unrecognized) { in Create() argument
35 if (parsed->Parse(options, ignore_unrecognized)) { in Create()
169 bool ParsedOptions::Parse(const RuntimeOptions& options, bool ignore_unrecognized) { in Parse() argument
277 for (size_t i = 0; i < options.size(); ++i) { in Parse()
278 if (true && options[0].first == "-Xzygote") { in Parse()
279 LOG(INFO) << "option[" << i << "]=" << options[i].first; in Parse()
282 for (size_t i = 0; i < options.size(); ++i) { in Parse()
283 const std::string option(options[i].first); in Parse()
296 if (i == options.size()) { in Parse()
300 const StringPiece& value = options[i].first; in Parse()
[all …]
Dcommon_runtime_test.cc208 RuntimeOptions options; in SetUp() local
209 options.push_back(std::make_pair("bootclasspath", &boot_class_path_)); in SetUp()
210 options.push_back(std::make_pair("-Xcheck:jni", nullptr)); in SetUp()
211 options.push_back(std::make_pair(min_heap_string.c_str(), nullptr)); in SetUp()
212 options.push_back(std::make_pair(max_heap_string.c_str(), nullptr)); in SetUp()
213 options.push_back(std::make_pair("compilercallbacks", callbacks_.get())); in SetUp()
214 SetUpRuntimeOptions(&options); in SetUp()
215 if (!Runtime::Create(options, false)) { in SetUp()
Dparsed_options.h40 static ParsedOptions* Create(const RuntimeOptions& options, bool ignore_unrecognized);
119 bool Parse(const RuntimeOptions& options, bool ignore_unrecognized);
Dmonitor_test.cc35 void SetUpRuntimeOptions(RuntimeOptions *options) OVERRIDE { in SetUpRuntimeOptions() argument
37 for (std::pair<std::string, const void*>& pair : *options) { in SetUpRuntimeOptions()
42 options->push_back(std::make_pair("-Xint", nullptr)); in SetUpRuntimeOptions()
Dprofiler.cc328 const std::string& output_filename, const ProfilerOptions& options) { in Start() argument
329 if (!options.IsEnabled()) { in Start()
345 << " and options: " << options; in Start()
348 profiler_ = new BackgroundMethodSamplingProfiler(output_filename, options); in Start()
391 const std::string& output_filename, const ProfilerOptions& options) in BackgroundMethodSamplingProfiler() argument
393 options_(options), in BackgroundMethodSamplingProfiler()
Dprofiler.h170 static bool Start(const std::string& output_filename, const ProfilerOptions& options)
190 const std::string& output_filename, const ProfilerOptions& options);
Dcommon_runtime_test.h89 virtual void SetUpRuntimeOptions(RuntimeOptions* options) {} in SetUpRuntimeOptions() argument
/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); in Create()
38 return new x86::DisassemblerX86(options, false); in Create()
40 return new x86::DisassemblerX86(options, true); in Create()
Ddisassembler_mips.h29 explicit DisassemblerMips(DisassemblerOptions* options) : Disassembler(options) {} in DisassemblerMips() argument
Ddisassembler_arm64.h30 explicit DisassemblerArm64(DisassemblerOptions* options) : Disassembler(options) { in DisassemblerArm64() argument
Ddisassembler_x86.h27 DisassemblerX86(DisassemblerOptions* options, bool supports_rex) in DisassemblerX86() argument
28 : Disassembler(options), supports_rex_(supports_rex) {} in DisassemblerX86()
Ddisassembler_arm.h29 explicit DisassemblerArm(DisassemblerOptions* options) : Disassembler(options) {} in DisassemblerArm() argument
Ddisassembler.h49 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.cc200 JdwpState::JdwpState(const JdwpOptions* options) in JdwpState() argument
201 : options_(options), in JdwpState()
235 JdwpState* JdwpState::Create(const JdwpOptions* options) { in Create() argument
238 std::unique_ptr<JdwpState> state(new JdwpState(options)); in Create()
239 switch (options->transport) { in Create()
241 InitSocketTransport(state.get(), options); in Create()
245 InitAdbTransport(state.get(), options); in Create()
249 LOG(FATAL) << "Unknown transport: " << options->transport; in Create()
274 if (options->suspend) { in Create()
Djdwp.h127 static JdwpState* Create(const JdwpOptions* options)
301 explicit JdwpState(const JdwpOptions* options);
/art/dalvikvm/
Ddalvikvm.cc120 std::unique_ptr<JavaVMOption[]> options(new JavaVMOption[option_count]()); in dalvikvm() local
139 options[curr_opt++].optionString = argv[arg_idx]; in dalvikvm()
169 init_args.options = options.get(); in dalvikvm()
/art/compiler/
Delf_writer_mclinker.cc125 linker_config_->options().setSOName(elf_file_->GetPath()); in Init()
129 linker_config_->options().setNoUndefined(true); in Init()
138 linker_config_->options().addZOption(z_option); in Init()
142 linker_config_->options().setColor(false); in Init()
145 linker_config_->options().setTrace(true); in Init()
150 module_.reset(new mcld::Module(linker_config_->options().soname(), *linker_script_.get())); in Init()
Dimage_test.cc146 RuntimeOptions options; in TEST_F() local
149 options.push_back(std::make_pair(image.c_str(), reinterpret_cast<void*>(NULL))); in TEST_F()
151 options.push_back(std::make_pair("-Xnorelocate", nullptr)); in TEST_F()
153 if (!Runtime::Create(options, false)) { in TEST_F()
Dcommon_compiler_test.h57 virtual void SetUpRuntimeOptions(RuntimeOptions *options);
Dcommon_compiler_test.cc326 void CommonCompilerTest::SetUpRuntimeOptions(RuntimeOptions* options) { in SetUpRuntimeOptions() argument
327 CommonRuntimeTest::SetUpRuntimeOptions(options); in SetUpRuntimeOptions()
334 options->push_back(std::make_pair("compilercallbacks", callbacks_.get())); in SetUpRuntimeOptions()
/art/compiler/sea_ir/debug/
Ddot_gen.h41 explicit DotGenerationVisitor(const DotConversionOptions* const options, in DotGenerationVisitor() argument
42 art::SafeMap<int, const Type*>* types): graph_(), types_(types), options_(options) { } in DotGenerationVisitor()
/art/patchoat/
Dpatchoat.cc151 RuntimeOptions options; in Patch() local
153 options.push_back(std::make_pair("compilercallbacks", &callbacks)); in Patch()
155 options.push_back(std::make_pair(img.c_str(), nullptr)); in Patch()
156 options.push_back(std::make_pair("imageinstructionset", reinterpret_cast<const void*>(isa_name))); in Patch()
157 if (!Runtime::Create(options, false)) { in Patch()
246 RuntimeOptions options; in Patch() local
248 options.push_back(std::make_pair("compilercallbacks", &callbacks)); in Patch()
250 options.push_back(std::make_pair(img.c_str(), nullptr)); in Patch()
251 options.push_back(std::make_pair("imageinstructionset", reinterpret_cast<const void*>(isa_name))); in Patch()
252 if (!Runtime::Create(options, false)) { in Patch()

12