Searched refs:options (Results 1 - 25 of 39) sorted by relevance

12

/art/disassembler/
H A Ddisassembler.cc30 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, false);
38 return new mips::DisassemblerMips(options, true);
40 return new x86::DisassemblerX86(options, false);
42 return new x86::DisassemblerX86(options, true);
58 Disassembler* create_disassembler(InstructionSet instruction_set, DisassemblerOptions* options) { argument
59 return Disassembler::Create(instruction_set, options);
H A Ddisassembler_arm64.h33 explicit CustomDisassembler(DisassemblerOptions* options) argument
35 read_literals_(options->can_read_literals_),
36 base_address_(options->base_address_),
37 end_address_(options->end_address_) {
38 if (!options->absolute_addresses_) {
39 MapCodeAddress(0, reinterpret_cast<const vixl::Instruction*>(options->base_address_));
69 explicit DisassemblerArm64(DisassemblerOptions* options) : argument
70 Disassembler(options), disasm(options) {
H A Ddisassembler_mips.h29 DisassemblerMips(DisassemblerOptions* options, bool is64bit) argument
30 : Disassembler(options),
H A Ddisassembler_x86.h29 DisassemblerX86(DisassemblerOptions* options, bool supports_rex) argument
30 : Disassembler(options), supports_rex_(supports_rex) {}
H A Ddisassembler.h62 static Disassembler* Create(InstructionSet instruction_set, DisassemblerOptions* options);
95 Disassembler* create_disassembler(InstructionSet instruction_set, DisassemblerOptions* options);
H A Ddisassembler_arm.h29 explicit DisassemblerArm(DisassemblerOptions* options) : Disassembler(options) {} argument
/art/runtime/
H A Dparsed_options_test.cc55 RuntimeOptions options; local
56 options.push_back(std::make_pair(boot_class_path.c_str(), nullptr));
57 options.push_back(std::make_pair("-classpath", nullptr));
58 options.push_back(std::make_pair(class_path.c_str(), nullptr));
59 options.push_back(std::make_pair("-cp", nullptr));
60 options.push_back(std::make_pair(class_path.c_str(), nullptr));
61 options.push_back(std::make_pair("-Ximage:boot_image", nullptr));
62 options.push_back(std::make_pair("-Xcheck:jni", nullptr));
63 options.push_back(std::make_pair("-Xms2048", nullptr));
64 options
115 RuntimeOptions options; local
136 RuntimeOptions options; local
154 RuntimeOptions options; local
[all...]
H A Dparsed_options.h52 // returns true if parsing succeeds, and stores the resulting options into runtime_options
53 static bool Parse(const RuntimeOptions& options,
65 bool ProcessSpecialOptions(const RuntimeOptions& options,
76 bool DoParse(const RuntimeOptions& options,
H A Dparsed_options.cc44 bool ParsedOptions::Parse(const RuntimeOptions& options, argument
50 return parser.DoParse(options, ignore_unrecognized, runtime_options);
316 // Remove all the special options that have something in the void* part of the option.
317 // If runtime_options is not null, put the options in there.
318 // As a side-effect, populate the hooks from options.
319 bool ParsedOptions::ProcessSpecialOptions(const RuntimeOptions& options, argument
325 // Handle special options that set up hooks
326 for (size_t i = 0; i < options.size(); ++i) {
327 const std::string option(options[i].first);
331 const_cast<void*>(options[
428 DoParse(const RuntimeOptions& options, bool ignore_unrecognized, RuntimeArgumentMap* runtime_options) argument
[all...]
H A Dcommon_runtime_test.cc321 RuntimeOptions options; local
328 options.push_back(std::make_pair(boot_class_path_string, nullptr));
329 options.push_back(std::make_pair("-Xcheck:jni", nullptr));
330 options.push_back(std::make_pair(min_heap_string, nullptr));
331 options.push_back(std::make_pair(max_heap_string, nullptr));
335 SetUpRuntimeOptions(&options);
339 options.push_back(std::make_pair("compilercallbacks", callbacks_.get()));
343 if (!Runtime::Create(options, false)) {
H A Ddex2oat_environment_test.h84 virtual void SetUpRuntimeOptions(RuntimeOptions* options) OVERRIDE {
85 // options->push_back(std::make_pair("-verbose:oat", nullptr));
88 options->push_back(std::make_pair("-Ximage:" + GetImageLocation(),
H A Dprofiler.h170 static bool Start(const std::string& output_filename, const ProfilerOptions& options)
192 const std::string& output_filename, const ProfilerOptions& options);
218 // The options used to start the profiler.
/art/runtime/jdwp/
H A Djdwp_socket.cc71 bool InitSocketTransport(JdwpState* state, const JdwpOptions* options) { argument
72 uint16_t port = options->port;
74 if (options->server) {
75 if (options->port != 0) {
88 LOG(ERROR) << "JDWP net startup failed (req port=" << options->port << ")";
95 if (options->suspend) {
98 LOG(INFO) << "JDWP will " << (options->server ? "listen" : "connect") << " on port " << port;
263 bool JdwpSocketState::Establish(const JdwpOptions* options) { argument
270 CHECK(!options->server);
271 CHECK(!options
[all...]
H A Djdwp_main.cc211 JdwpState::JdwpState(const JdwpOptions* options) argument
212 : options_(options),
246 JdwpState* JdwpState::Create(const JdwpOptions* options) { argument
249 std::unique_ptr<JdwpState> state(new JdwpState(options));
250 switch (options->transport) {
252 InitSocketTransport(state.get(), options);
256 InitAdbTransport(state.get(), options);
260 LOG(FATAL) << "Unknown transport: " << options->transport;
285 if (options->suspend) {
/art/runtime/jit/
H A Djit.cc52 JitOptions* JitOptions::CreateFromRuntimeArguments(const RuntimeArgumentMap& options) { argument
54 jit_options->use_jit_compilation_ = options.GetOrDefault(RuntimeArgumentMap::UseJitCompilation);
57 options.GetOrDefault(RuntimeArgumentMap::JITCodeCacheInitialCapacity);
59 options.GetOrDefault(RuntimeArgumentMap::JITCodeCacheMaxCapacity);
61 options.Exists(RuntimeArgumentMap::DumpJITInfoOnShutdown);
63 options.GetOrDefault(RuntimeArgumentMap::JITSaveProfilingInfo);
65 jit_options->compile_threshold_ = options.GetOrDefault(RuntimeArgumentMap::JITCompileThreshold);
70 if (options.Exists(RuntimeArgumentMap::JITWarmupThreshold)) {
71 jit_options->warmup_threshold_ = *options.Get(RuntimeArgumentMap::JITWarmupThreshold);
79 if (options
155 Create(JitOptions* options, std::string* error_msg) argument
[all...]
H A Djit.h50 static Jit* Create(JitOptions* options, std::string* error_msg);
126 // Starts the profile saver if the config options allow profile recording.
206 static JitOptions* CreateFromRuntimeArguments(const RuntimeArgumentMap& options);
/art/runtime/gc/
H A Dheap_test.cc76 void SetUpRuntimeOptions(RuntimeOptions* options) { argument
77 CommonRuntimeTest::SetUpRuntimeOptions(options);
78 options->push_back(std::make_pair("-Xzygote", nullptr));
/art/dalvikvm/
H A Ddalvikvm.cc118 // We're over-allocating, because this includes the options to the runtime
119 // plus the options to the program.
121 std::unique_ptr<JavaVMOption[]> options(new JavaVMOption[option_count]());
123 // Copy options over. Everything up to the name of the class starts
140 options[curr_opt++].optionString = argv[arg_idx];
142 // Some options require an additional argument.
170 init_args.options = options.get();
/art/cmdline/
H A Dcmdline.h86 RuntimeOptions options; local
91 options.push_back(std::make_pair("compilercallbacks", &callbacks));
99 options.push_back(std::make_pair(boot_image_option.c_str(), nullptr));
103 options.push_back(
108 options.push_back(std::make_pair("-Xno-sig-chain", nullptr));
109 if (!Runtime::Create(options, false)) {
H A Dcmdline_types.h64 * JDWP options are:
78 Result Parse(const std::string& options) { argument
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);
204 // The spec says the -Xmx and -Xms options must be multiples of 1024. It
536 // XGcOption::collector_type_ after parsing options
579 Parse(const std::string& options) argument
679 operator <<(std::ostream& stream, const TestProfilerOptions& options) argument
712 ParseInto(TestProfilerOptions& options, T TestProfilerOptions::*pField, CmdlineParseResult<T>&& result) argument
726 ParseIntoRangeCheck(TestProfilerOptions& options, T TestProfilerOptions::*pField, CmdlineParseResult<T>&& result, T min, T max) argument
[all...]
/art/imgdiag/
H A Dimgdiag_test.cc58 virtual void SetUpRuntimeOptions(RuntimeOptions* options) OVERRIDE {
61 options->push_back(std::make_pair(runtime_args_image_, nullptr));
/art/runtime/entrypoints/quick/
H A Dquick_trampoline_entrypoints_test.cc28 void SetUpRuntimeOptions(RuntimeOptions *options) OVERRIDE {
31 options->push_back(std::make_pair("imageinstructionset", "x86_64"));
/art/oatdump/
H A Doatdump.cc329 OatDumper(const OatFile& oat_file, const OatDumperOptions& options) argument
332 options_(options),
2195 OatDumperOptions* options,
2202 ImageDumper image_dumper(os, *image_space, image_header, options);
2209 static int DumpImages(Runtime* runtime, OatDumperOptions* options, std::ostream* os) { argument
2212 options->class_loader_ = &null_class_loader;
2215 if (options->app_image_ != nullptr) {
2216 if (options->app_oat_ == nullptr) {
2224 std::unique_ptr<OatFile> oat_file(OatFile::Open(options->app_oat_,
2225 options
2267 DumpOatWithRuntime(Runtime* runtime, OatFile* oat_file, OatDumperOptions* options, std::ostream* os) argument
2304 DumpOatWithoutRuntime(OatFile* oat_file, OatDumperOptions* options, std::ostream* os) argument
2315 DumpOat(Runtime* runtime, const char* oat_filename, OatDumperOptions* options, std::ostream* os) argument
[all...]
/art/compiler/
H A Dcommon_compiler_test.h60 virtual void SetUpRuntimeOptions(RuntimeOptions* options);
/art/runtime/arch/
H A Darch_test.cc30 void SetUpRuntimeOptions(RuntimeOptions *options) OVERRIDE {
33 options->push_back(std::make_pair("imageinstructionset", "x86_64"));

Completed in 187 milliseconds

12