Searched refs:options (Results 1 - 25 of 44) 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);
H A Ddisassembler_arm64.h33 explicit CustomDisassembler(DisassemblerOptions* options) : argument
34 vixl::Disassembler(), read_literals_(options->can_read_literals_) {
35 if (!options->absolute_addresses_) {
36 MapCodeAddress(0, reinterpret_cast<const vixl::Instruction*>(options->base_address_));
62 explicit DisassemblerArm64(DisassemblerOptions* options) : argument
63 Disassembler(options), disasm(options) {
H A Ddisassembler_mips.h29 explicit DisassemblerMips(DisassemblerOptions* options, bool is64bit) : Disassembler(options), argument
H A Ddisassembler_x86.h29 DisassemblerX86(DisassemblerOptions* options, bool supports_rex) argument
30 : Disassembler(options), supports_rex_(supports_rex) {}
H A Ddisassembler_arm.h29 explicit DisassemblerArm(DisassemblerOptions* options) : Disassembler(options) {} argument
H A Ddisassembler.h55 static Disassembler* Create(InstructionSet instruction_set, DisassemblerOptions* options);
/art/runtime/
H A Dparsed_options_test.cc43 RuntimeOptions options; local
44 options.push_back(std::make_pair(boot_class_path.c_str(), nullptr));
45 options.push_back(std::make_pair("-classpath", nullptr));
46 options.push_back(std::make_pair(lib_core.c_str(), nullptr));
47 options.push_back(std::make_pair("-cp", nullptr));
48 options.push_back(std::make_pair(lib_core.c_str(), nullptr));
49 options.push_back(std::make_pair("-Ximage:boot_image", nullptr));
50 options.push_back(std::make_pair("-Xcheck:jni", nullptr));
51 options.push_back(std::make_pair("-Xms2048", nullptr));
52 options
101 RuntimeOptions options; local
[all...]
H A Dparsed_options.h52 // returns true if parsing succeeds, and stores the resulting options into runtime_options
53 static ParsedOptions* Create(const RuntimeOptions& options, bool ignore_unrecognized,
64 bool ProcessSpecialOptions(const RuntimeOptions& options,
75 bool Parse(const RuntimeOptions& options, bool ignore_unrecognized,
H A Dparsed_options.cc44 ParsedOptions* ParsedOptions::Create(const RuntimeOptions& options, bool ignore_unrecognized, argument
49 if (parsed->Parse(options, ignore_unrecognized, runtime_options)) {
284 // Remove all the special options that have something in the void* part of the option.
285 // If runtime_options is not null, put the options in there.
286 // As a side-effect, populate the hooks from options.
287 bool ParsedOptions::ProcessSpecialOptions(const RuntimeOptions& options, argument
293 // Handle special options that set up hooks
294 for (size_t i = 0; i < options.size(); ++i) {
295 const std::string option(options[i].first);
299 = reinterpret_cast<const std::vector<const DexFile*>*>(options[
374 Parse(const RuntimeOptions& options, bool ignore_unrecognized, RuntimeArgumentMap* runtime_options) argument
[all...]
H A Dcommon_runtime_test.cc304 RuntimeOptions options; local
306 options.push_back(std::make_pair(boot_class_path_string, nullptr));
307 options.push_back(std::make_pair("-Xcheck:jni", nullptr));
308 options.push_back(std::make_pair(min_heap_string, nullptr));
309 options.push_back(std::make_pair(max_heap_string, nullptr));
313 SetUpRuntimeOptions(&options);
317 options.push_back(std::make_pair("compilercallbacks", callbacks_.get()));
321 if (!Runtime::Create(options, false)) {
/art/compiler/dex/
H A Dpass_manager.cc24 PassManager::PassManager(const PassManagerOptions& options) : options_(options) { argument
H A Dpass_driver_me.h105 auto* const options = &pass_manager_->GetOptions(); variable
106 const std::string& print_pass_list = options->GetPrintPassList();
114 FillOverriddenPassSettings(options, pass->GetName(), c_unit->overridden_pass_options);
167 LOG(INFO) << "Pass options for \"" << me_pass->GetName() << "\" are:";
208 * @brief Fills the settings_to_fill by finding all of the applicable options in the
211 * @param settings_to_fill Fills the options to contain the mapping of name of option to the new
215 const PassManagerOptions* options, const char* pass_name,
217 const std::string& settings = options->GetOverriddenPassOptions();
229 // If there is no room for pass options, exit early.
214 FillOverriddenPassSettings( const PassManagerOptions* options, const char* pass_name, SafeMap<const std::string, const OptionContent>& settings_to_fill) argument
H A Dpass_manager.h71 * @brief Used to set a string that contains the overridden pass options.
74 * @param s The string passed by user with overridden options. The string is in format
101 /** @brief String of all options that should be overridden for selected passes */
104 /** @brief String of all options that should be overridden for selected passes */
110 /** @brief Whether or not we print all the pass options when we create the pass manager */
120 explicit PassManager(const PassManagerOptions& options);
144 /** @brief Pass manager options. */
/art/runtime/jit/
H A Djit.cc34 JitOptions* JitOptions::CreateFromRuntimeArguments(const RuntimeArgumentMap& options) { argument
36 jit_options->use_jit_ = options.GetOrDefault(RuntimeArgumentMap::UseJIT);
38 options.GetOrDefault(RuntimeArgumentMap::JITCodeCacheCapacity);
40 options.GetOrDefault(RuntimeArgumentMap::JITCompileThreshold);
42 options.Exists(RuntimeArgumentMap::DumpJITInfoOnShutdown);
64 Jit* Jit::Create(JitOptions* options, std::string* error_msg) { argument
66 jit->dump_info_on_shutdown_ = options->DumpJitInfoOnShutdown();
70 jit->code_cache_.reset(JitCodeCache::Create(options->GetCodeCacheCapacity(), error_msg));
75 << PrettySize(options->GetCodeCacheCapacity())
76 << " compile_threshold=" << options
[all...]
H A Djit.h49 static Jit* Create(JitOptions* options, std::string* error_msg);
94 static JitOptions* CreateFromRuntimeArguments(const RuntimeArgumentMap& options);
/art/runtime/jdwp/
H A Djdwp_socket.cc69 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 Djdwp_main.cc208 JdwpState::JdwpState(const JdwpOptions* options) argument
209 : options_(options),
243 JdwpState* JdwpState::Create(const JdwpOptions* options) { argument
246 std::unique_ptr<JdwpState> state(new JdwpState(options));
247 switch (options->transport) {
249 InitSocketTransport(state.get(), options);
253 InitAdbTransport(state.get(), options);
257 LOG(FATAL) << "Unknown transport: " << options->transport;
282 if (options->suspend) {
/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/imgdiag/
H A Dimgdiag_test.cc50 virtual void SetUpRuntimeOptions(RuntimeOptions* options) OVERRIDE {
53 options->push_back(std::make_pair(runtime_args_image_, nullptr));
/art/cmdline/
H A Dcmdline_types.h63 * JDWP options are:
77 Result Parse(const std::string& options) { argument
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);
203 // The spec says the -Xmx and -Xms options must be multiples of 1024. It
535 // XGcOption::collector_type_ after parsing options
578 Parse(const std::string& options) argument
668 operator <<(std::ostream& stream, const TestProfilerOptions& options) argument
701 ParseInto(TestProfilerOptions& options, T TestProfilerOptions::*pField, CmdlineParseResult<T>&& result) argument
715 ParseIntoRangeCheck(TestProfilerOptions& options, T TestProfilerOptions::*pField, CmdlineParseResult<T>&& result, T min, T max) argument
[all...]
H A Dcmdline.h87 RuntimeOptions options; local
92 options.push_back(std::make_pair("compilercallbacks", &callbacks));
100 options.push_back(std::make_pair(boot_image_option.c_str(), nullptr));
104 options.push_back(
108 if (!Runtime::Create(options, false)) {
/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/compiler/
H A Dimage_test.cc148 RuntimeOptions options; local
151 options.push_back(std::make_pair(image.c_str(), static_cast<void*>(nullptr)));
153 options.push_back(std::make_pair("-Xnorelocate", nullptr));
155 if (!Runtime::Create(options, false)) {
H A Dcommon_compiler_test.h58 virtual void SetUpRuntimeOptions(RuntimeOptions *options);

Completed in 444 milliseconds

12