Searched defs:options (Results 1 - 25 of 29) 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_arm.h29 explicit DisassemblerArm(DisassemblerOptions* options) : Disassembler(options) {} argument
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) {}
/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
/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/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.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 Doat_file_assistant_test.cc89 virtual void SetUpRuntimeOptions(RuntimeOptions* options) { argument
90 // options->push_back(std::make_pair("-verbose:oat", nullptr));
93 options->push_back(std::make_pair("-Ximage:" + GetImageLocation(),
276 virtual void SetUpRuntimeOptions(RuntimeOptions* options) { argument
277 OatFileAssistantTest::SetUpRuntimeOptions(options);
278 options->push_back(std::make_pair("-Xnodex2oat", nullptr));
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)) {
H A Ddebugger.h63 options(invoke_options), reply(JDWP::expandBufAlloc()) {
79 const uint32_t options; member in struct:art::DebugInvokeReq
250 // Configures JDWP with parsed command-line options.
631 // and resume it (and possibly other threads depending on the invoke options).
641 uint32_t options)
H A Doat_file_assistant.cc524 const ProfilerOptions& options = Runtime::Current()->GetProfilerOptions(); local
525 const double top_k_threshold = options.GetTopKThreshold();
526 const double change_threshold = options.GetTopKChangeThreshold();
H A Djava_vm_ext.cc799 RuntimeOptions options; local
801 JavaVMOption* option = &args->options[i];
802 options.push_back(std::make_pair(std::string(option->optionString), option->extraInfo));
805 if (!Runtime::Create(options, ignore_unrecognized)) {
H A Dprofiler.cc325 const std::string& output_filename, const ProfilerOptions& options) {
326 if (!options.IsEnabled()) {
342 << " and options: " << options; local
345 profiler_ = new BackgroundMethodSamplingProfiler(output_filename, options);
388 const std::string& output_filename, const ProfilerOptions& options)
390 options_(options),
324 Start( const std::string& output_filename, const ProfilerOptions& options) argument
387 BackgroundMethodSamplingProfiler( const std::string& output_filename, const ProfilerOptions& options) argument
/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.cc203 void CommonCompilerTest::SetUpRuntimeOptions(RuntimeOptions* options) { argument
204 CommonRuntimeTest::SetUpRuntimeOptions(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...]
/art/runtime/jdwp/
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) {
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_handler.cc109 uint32_t options = request->ReadUnsigned32("InvokeOptions bit flags"); local
110 VLOG(jdwp) << StringPrintf(" options=0x%04x%s%s", options,
111 (options & INVOKE_SINGLE_THREADED) ? " (SINGLE_THREADED)" : "",
112 (options & INVOKE_NONVIRTUAL) ? " (NONVIRTUAL)" : "");
116 argValues.get(), argTypes.get(), options);
/art/cmdline/
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)) {
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...]
/art/patchoat/
H A Dpatchoat.cc135 RuntimeOptions options; local
137 options.push_back(std::make_pair("compilercallbacks", &callbacks));
139 options.push_back(std::make_pair(img.c_str(), nullptr));
140 options.push_back(std::make_pair("imageinstructionset", reinterpret_cast<const void*>(isa_name)));
141 if (!Runtime::Create(options, false)) {
230 RuntimeOptions options; local
232 options.push_back(std::make_pair("compilercallbacks", &callbacks));
234 options.push_back(std::make_pair(img.c_str(), nullptr));
235 options.push_back(std::make_pair("imageinstructionset", reinterpret_cast<const void*>(isa_name)));
236 if (!Runtime::Create(options, fals
[all...]

Completed in 4652 milliseconds

12