/art/runtime/ |
H A D | parsed_options_test.cc | 39 RuntimeOptions options; local 40 options.push_back(std::make_pair(boot_class_path.c_str(), null)); 41 options.push_back(std::make_pair("-classpath", null)); 42 options.push_back(std::make_pair(lib_core.c_str(), null)); 43 options.push_back(std::make_pair("-cp", null)); 44 options.push_back(std::make_pair(lib_core.c_str(), null)); 45 options.push_back(std::make_pair("-Ximage:boot_image", null)); 46 options.push_back(std::make_pair("-Xcheck:jni", null)); 47 options.push_back(std::make_pair("-Xms2048", null)); 48 options [all...] |
H A D | runtime.cc | 333 bool Runtime::Create(const RuntimeOptions& options, bool ignore_unrecognized) { argument 340 if (!instance_->Init(options, ignore_unrecognized)) { 674 std::unique_ptr<ParsedOptions> options(ParsedOptions::Create(raw_options, ignore_unrecognized)); 675 if (options.get() == nullptr) { 676 LOG(ERROR) << "Failed to parse options"; 683 Monitor::Init(options->lock_profiling_threshold_, options->hook_is_sensitive_thread_); 685 boot_class_path_string_ = options->boot_class_path_string_; 686 class_path_string_ = options->class_path_string_; 687 properties_ = options [all...] |
H A D | parsed_options.cc | 33 ParsedOptions* ParsedOptions::Create(const RuntimeOptions& options, bool ignore_unrecognized) { argument 35 if (parsed->Parse(options, ignore_unrecognized)) { 49 // The spec says the -Xmx and -Xms options must be multiples of 1024. It 169 bool ParsedOptions::Parse(const RuntimeOptions& options, bool ignore_unrecognized) { argument 206 // parsing options. If you set this to kCollectorTypeHSpaceCompact then we will do an hspace 277 for (size_t i = 0; i < options.size(); ++i) { 278 if (true && options[0].first == "-Xzygote") { 279 LOG(INFO) << "option[" << i << "]=" << options[i].first; 282 for (size_t i = 0; i < options.size(); ++i) { 283 const std::string option(options[ [all...] |
H A D | common_runtime_test.cc | 208 RuntimeOptions options; local 209 options.push_back(std::make_pair("bootclasspath", &boot_class_path_)); 210 options.push_back(std::make_pair("-Xcheck:jni", nullptr)); 211 options.push_back(std::make_pair(min_heap_string.c_str(), nullptr)); 212 options.push_back(std::make_pair(max_heap_string.c_str(), nullptr)); 213 options.push_back(std::make_pair("compilercallbacks", callbacks_.get())); 214 SetUpRuntimeOptions(&options); 215 if (!Runtime::Create(options, false)) {
|
H A D | parsed_options.h | 40 static ParsedOptions* Create(const RuntimeOptions& options, bool ignore_unrecognized); 119 bool Parse(const RuntimeOptions& options, bool ignore_unrecognized);
|
H A D | monitor_test.cc | 35 void SetUpRuntimeOptions(RuntimeOptions *options) OVERRIDE { 37 for (std::pair<std::string, const void*>& pair : *options) { 42 options->push_back(std::make_pair("-Xint", nullptr));
|
H A D | common_runtime_test.h | 88 // Allow subclases such as CommonCompilerTest to add extra options. 89 virtual void SetUpRuntimeOptions(RuntimeOptions* options) {} argument
|
H A D | profiler.h | 170 static bool Start(const std::string& output_filename, const ProfilerOptions& options) 190 const std::string& output_filename, const ProfilerOptions& options); 214 // The options used to start the profiler.
|
H A D | profiler.cc | 328 const std::string& output_filename, const ProfilerOptions& options) { 329 if (!options.IsEnabled()) { 345 << " and options: " << options; local 348 profiler_ = new BackgroundMethodSamplingProfiler(output_filename, options); 391 const std::string& output_filename, const ProfilerOptions& options) 393 options_(options), 327 Start( const std::string& output_filename, const ProfilerOptions& options) argument 390 BackgroundMethodSamplingProfiler( const std::string& output_filename, const ProfilerOptions& options) argument
|
/art/disassembler/ |
H A D | disassembler.cc | 30 Disassembler* Disassembler::Create(InstructionSet instruction_set, DisassemblerOptions* options) { argument 32 return new arm::DisassemblerArm(options); 34 return new arm64::DisassemblerArm64(options); 36 return new mips::DisassemblerMips(options); 38 return new x86::DisassemblerX86(options, false); 40 return new x86::DisassemblerX86(options, true);
|
H A D | disassembler_mips.h | 29 explicit DisassemblerMips(DisassemblerOptions* options) : Disassembler(options) {} argument
|
H A D | disassembler_arm64.h | 30 explicit DisassemblerArm64(DisassemblerOptions* options) : Disassembler(options) { argument
|
H A D | disassembler_x86.h | 27 DisassemblerX86(DisassemblerOptions* options, bool supports_rex) argument 28 : Disassembler(options), supports_rex_(supports_rex) {}
|
H A D | disassembler_arm.h | 29 explicit DisassemblerArm(DisassemblerOptions* options) : Disassembler(options) {} argument
|
H A D | disassembler.h | 49 static Disassembler* Create(InstructionSet instruction_set, DisassemblerOptions* options);
|
/art/runtime/jdwp/ |
H A D | jdwp_socket.cc | 69 bool InitSocketTransport(JdwpState* state, const JdwpOptions* options) { argument 70 uint16_t port = options->port; 72 if (options->server) { 73 if (options->port != 0) { 86 LOG(ERROR) << "JDWP net startup failed (req port=" << options->port << ")"; 93 if (options->suspend) { 96 LOG(INFO) << "JDWP will " << (options->server ? "listen" : "connect") << " on port " << port; 261 bool JdwpSocketState::Establish(const JdwpOptions* options) { argument 268 CHECK(!options->server); 269 CHECK(!options [all...] |
H A D | jdwp_main.cc | 200 JdwpState::JdwpState(const JdwpOptions* options) argument 201 : options_(options), 235 JdwpState* JdwpState::Create(const JdwpOptions* options) { argument 238 std::unique_ptr<JdwpState> state(new JdwpState(options)); 239 switch (options->transport) { 241 InitSocketTransport(state.get(), options); 245 InitAdbTransport(state.get(), options); 249 LOG(FATAL) << "Unknown transport: " << options->transport; 274 if (options->suspend) {
|
H A D | jdwp.h | 127 static JdwpState* Create(const JdwpOptions* options) 301 explicit JdwpState(const JdwpOptions* options);
|
/art/dalvikvm/ |
H A D | dalvikvm.cc | 117 // We're over-allocating, because this includes the options to the runtime 118 // plus the options to the program. 120 std::unique_ptr<JavaVMOption[]> options(new JavaVMOption[option_count]()); 122 // Copy options over. Everything up to the name of the class starts 139 options[curr_opt++].optionString = argv[arg_idx]; 141 // Some options require an additional argument. 169 init_args.options = options.get();
|
/art/compiler/sea_ir/debug/ |
H A D | dot_gen.h | 41 explicit DotGenerationVisitor(const DotConversionOptions* const options, argument 42 art::SafeMap<int, const Type*>* types): graph_(), types_(types), options_(options) { } 97 // Stores options for turning a SEA IR graph to a .dot file. 101 // Saves to @filename the .dot representation of @graph with the options @options.
|
/art/compiler/ |
H A D | image_test.cc | 146 RuntimeOptions options; local 149 options.push_back(std::make_pair(image.c_str(), reinterpret_cast<void*>(NULL))); 151 options.push_back(std::make_pair("-Xnorelocate", nullptr)); 153 if (!Runtime::Create(options, false)) {
|
H A D | elf_writer_mclinker.cc | 125 linker_config_->options().setSOName(elf_file_->GetPath()); 129 linker_config_->options().setNoUndefined(true); 138 linker_config_->options().addZOption(z_option); 142 linker_config_->options().setColor(false); 145 linker_config_->options().setTrace(true); 150 module_.reset(new mcld::Module(linker_config_->options().soname(), *linker_script_.get()));
|
H A D | common_compiler_test.h | 57 virtual void SetUpRuntimeOptions(RuntimeOptions *options);
|
H A D | common_compiler_test.cc | 326 void CommonCompilerTest::SetUpRuntimeOptions(RuntimeOptions* options) { argument 327 CommonRuntimeTest::SetUpRuntimeOptions(options); 334 options->push_back(std::make_pair("compilercallbacks", callbacks_.get()));
|
/art/patchoat/ |
H A D | patchoat.cc | 151 RuntimeOptions options; local 153 options.push_back(std::make_pair("compilercallbacks", &callbacks)); 155 options.push_back(std::make_pair(img.c_str(), nullptr)); 156 options.push_back(std::make_pair("imageinstructionset", reinterpret_cast<const void*>(isa_name))); 157 if (!Runtime::Create(options, false)) { 246 RuntimeOptions options; local 248 options.push_back(std::make_pair("compilercallbacks", &callbacks)); 250 options.push_back(std::make_pair(img.c_str(), nullptr)); 251 options.push_back(std::make_pair("imageinstructionset", reinterpret_cast<const void*>(isa_name))); 252 if (!Runtime::Create(options, fals [all...] |