Home
last modified time | relevance | path

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

123

/art/dexlayout/
Ddexlayout_main.cc73 Options options; in DexlayoutDriver() local
74 options.dump_ = true; in DexlayoutDriver()
75 options.verbose_ = true; in DexlayoutDriver()
86 options.show_annotations_ = true; in DexlayoutDriver()
89 options.build_dex_ir_ = true; in DexlayoutDriver()
92 options.checksum_only_ = true; in DexlayoutDriver()
95 options.disassemble_ = true; in DexlayoutDriver()
98 options.exports_only_ = true; in DexlayoutDriver()
101 options.show_file_headers_ = true; in DexlayoutDriver()
104 options.show_section_headers_ = true; in DexlayoutDriver()
[all …]
/art/runtime/
Dparsed_options_test.cc54 RuntimeOptions options; in TEST_F() local
55 options.push_back(std::make_pair(boot_class_path.c_str(), nullptr)); in TEST_F()
56 options.push_back(std::make_pair("-classpath", nullptr)); in TEST_F()
57 options.push_back(std::make_pair(class_path.c_str(), nullptr)); in TEST_F()
58 options.push_back(std::make_pair("-cp", nullptr)); in TEST_F()
59 options.push_back(std::make_pair(class_path.c_str(), nullptr)); in TEST_F()
60 options.push_back(std::make_pair("-Ximage:boot_image", nullptr)); in TEST_F()
61 options.push_back(std::make_pair("-Xcheck:jni", nullptr)); in TEST_F()
62 options.push_back(std::make_pair("-Xms2048", nullptr)); in TEST_F()
63 options.push_back(std::make_pair("-Xmx4k", nullptr)); in TEST_F()
[all …]
Dparsed_options.h53 static bool Parse(const RuntimeOptions& options,
65 bool ProcessSpecialOptions(const RuntimeOptions& options,
76 bool DoParse(const RuntimeOptions& options,
Dparsed_options.cc45 bool ParsedOptions::Parse(const RuntimeOptions& options, in Parse() argument
51 return parser.DoParse(options, ignore_unrecognized, runtime_options); in Parse()
327 bool ParsedOptions::ProcessSpecialOptions(const RuntimeOptions& options, in ProcessSpecialOptions() argument
334 for (size_t i = 0; i < options.size(); ++i) { in ProcessSpecialOptions()
335 const std::string option(options[i].first); in ProcessSpecialOptions()
339 const_cast<void*>(options[i].second)); in ProcessSpecialOptions()
346 reinterpret_cast<CompilerCallbacks*>(const_cast<void*>(options[i].second)); in ProcessSpecialOptions()
351 const char* isa_str = reinterpret_cast<const char*>(options[i].second); in ProcessSpecialOptions()
361 const void* hook = options[i].second; in ProcessSpecialOptions()
368 const void* hook = options[i].second; in ProcessSpecialOptions()
[all …]
/art/
Dtest.py36 options, unknown = parser.parse_known_args() variable
38 if options.run_test or not options.gtest:
54 if options.gtest or not options.run_test:
56 if options.host or not options.target:
58 if options.target or not options.host:
62 build_command += ' -j' + str(options.n_threads)
/art/test/ti-agent/
Dcommon_load.cc37 using OnLoad = jint (*)(JavaVM* vm, char* options, void* reserved);
38 using OnAttach = jint (*)(JavaVM* vm, char* options, void* reserved);
48 char* options ATTRIBUTE_UNUSED, in MinimalOnLoad()
85 static bool FindAgentNameAndOptions(char* options, in FindAgentNameAndOptions() argument
89 *name = options; in FindAgentNameAndOptions()
90 char* rest = options; in FindAgentNameAndOptions()
103 static void SetIsJVM(const char* options) { in SetIsJVM() argument
104 SetJVM(strncmp(options, "jvm", 3) == 0); in SetIsJVM()
109 extern "C" JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM* vm, char* options, void* reserved) { in Agent_OnLoad() argument
112 if (!FindAgentNameAndOptions(options, &name_option, &remaining_options)) { in Agent_OnLoad()
[all …]
Dcommon_helper.h26 jint OnLoad(JavaVM* vm, char* options, void* reserved);
30 jint OnLoad(JavaVM* vm, char* options, void* reserved);
34 jint OnLoad(JavaVM* vm, char* options, void* reserved);
/art/disassembler/
Ddisassembler_arm64.h34 explicit CustomDisassembler(DisassemblerOptions* options) in CustomDisassembler() argument
36 read_literals_(options->can_read_literals_), in CustomDisassembler()
37 base_address_(options->base_address_), in CustomDisassembler()
38 end_address_(options->end_address_), in CustomDisassembler()
39 options_(options) { in CustomDisassembler()
40 if (!options->absolute_addresses_) { in CustomDisassembler()
42 reinterpret_cast<const vixl::aarch64::Instruction*>(options->base_address_)); in CustomDisassembler()
74 explicit DisassemblerArm64(DisassemblerOptions* options) : in DisassemblerArm64() argument
75 Disassembler(options), disasm(options) { in DisassemblerArm64()
Ddisassembler.cc38 Disassembler* Disassembler::Create(InstructionSet instruction_set, DisassemblerOptions* options) { in Create() argument
40 return new arm::DisassemblerArm(options); in Create()
42 return new arm64::DisassemblerArm64(options); in Create()
44 return new mips::DisassemblerMips(options); in Create()
46 return new x86::DisassemblerX86(options, false); in Create()
48 return new x86::DisassemblerX86(options, true); in Create()
64 Disassembler* create_disassembler(InstructionSet instruction_set, DisassemblerOptions* options) { in create_disassembler() argument
65 return Disassembler::Create(instruction_set, options); in create_disassembler()
Ddisassembler_arm.cc47 const DisassemblerOptions* options) in CustomDisassemblerStream() argument
48 : DisassemblerStream(os), disasm_(disasm), options_(options) {} in CustomDisassemblerStream()
116 CustomDisassembler(std::ostream& os, const DisassemblerOptions* options) in CustomDisassembler() argument
117 : PrintDisassembler(&disassembler_stream_), disassembler_stream_(os, this, options) {} in CustomDisassembler()
192 DisassemblerArm::DisassemblerArm(DisassemblerOptions* options) in DisassemblerArm() argument
193 : Disassembler(options), disasm_(std::make_unique<CustomDisassembler>(output_, options)) {} in DisassemblerArm()
Ddisassembler_mips.h29 explicit DisassemblerMips(DisassemblerOptions* options) in DisassemblerMips() argument
30 : Disassembler(options), in DisassemblerMips()
Ddisassembler_x86.h29 DisassemblerX86(DisassemblerOptions* options, bool supports_rex) in DisassemblerX86() argument
30 : Disassembler(options), supports_rex_(supports_rex) {} in DisassemblerX86()
Ddisassembler.h69 static Disassembler* Create(InstructionSet instruction_set, DisassemblerOptions* options);
99 Disassembler* create_disassembler(InstructionSet instruction_set, DisassemblerOptions* options);
/art/test/testrunner/
Dtestrunner.py798 def setup_env_for_build_target(build_target, parser, options): argument
811 target_options['n_thread'] = options['n_thread']
812 target_options['dry_run'] = options['dry_run']
861 options = vars(parser.parse_args())
862 if options['build_target']:
863 options = setup_env_for_build_target(target_config[options['build_target']],
864 parser, options)
867 env.EXTRA_DISABLED_TESTS.update(set(options['skips']))
868 if options['test']:
869 test = parse_test_name(options['test'])
[all …]
Drun_build_test_target.py43 options = parser.parse_args() variable
47 if options.list:
54 if not target_config.get(options.build_target):
58 target = target_config[options.build_target]
59 n_threads = options.n_threads
/art/runtime/jdwp/
Djdwp_socket.cc72 bool InitSocketTransport(JdwpState* state, const JdwpOptions* options) { in InitSocketTransport() argument
73 uint16_t port = options->port; in InitSocketTransport()
75 if (options->server) { in InitSocketTransport()
76 if (options->port != 0) { in InitSocketTransport()
89 LOG(ERROR) << "JDWP net startup failed (req port=" << options->port << ")"; in InitSocketTransport()
96 if (options->suspend) { in InitSocketTransport()
99 LOG(INFO) << "JDWP will " << (options->server ? "listen" : "connect") << " on port " << port; in InitSocketTransport()
266 bool JdwpSocketState::Establish(const JdwpOptions* options) { in Establish() argument
273 CHECK(!options->server); in Establish()
274 CHECK(!options->host.empty()); in Establish()
[all …]
Djdwp_main.cc215 JdwpState::JdwpState(const JdwpOptions* options) in JdwpState() argument
216 : options_(options), in JdwpState()
251 JdwpState* JdwpState::Create(const JdwpOptions* options) { in Create() argument
254 std::unique_ptr<JdwpState> state(new JdwpState(options)); in Create()
255 switch (options->transport) { in Create()
257 InitSocketTransport(state.get(), options); in Create()
261 InitAdbTransport(state.get(), options); in Create()
265 LOG(FATAL) << "Unknown transport: " << options->transport; in Create()
290 if (options->suspend) { in Create()
/art/runtime/jit/
Djit.cc54 JitOptions* JitOptions::CreateFromRuntimeArguments(const RuntimeArgumentMap& options) { in CreateFromRuntimeArguments() argument
56 jit_options->use_jit_compilation_ = options.GetOrDefault(RuntimeArgumentMap::UseJitCompilation); in CreateFromRuntimeArguments()
59 options.GetOrDefault(RuntimeArgumentMap::JITCodeCacheInitialCapacity); in CreateFromRuntimeArguments()
61 options.GetOrDefault(RuntimeArgumentMap::JITCodeCacheMaxCapacity); in CreateFromRuntimeArguments()
63 options.Exists(RuntimeArgumentMap::DumpJITInfoOnShutdown); in CreateFromRuntimeArguments()
65 options.GetOrDefault(RuntimeArgumentMap::ProfileSaverOpts); in CreateFromRuntimeArguments()
67 jit_options->compile_threshold_ = options.GetOrDefault(RuntimeArgumentMap::JITCompileThreshold); in CreateFromRuntimeArguments()
72 if (options.Exists(RuntimeArgumentMap::JITWarmupThreshold)) { in CreateFromRuntimeArguments()
73 jit_options->warmup_threshold_ = *options.Get(RuntimeArgumentMap::JITWarmupThreshold); in CreateFromRuntimeArguments()
81 if (options.Exists(RuntimeArgumentMap::JITOsrThreshold)) { in CreateFromRuntimeArguments()
[all …]
/art/test/900-hello-plugin/
Dload_unload.cc54 char* options, in Agent_OnLoad() argument
56 printf("Agent_OnLoad called with options \"%s\"\n", options); in Agent_OnLoad()
57 if (strcmp("test_900_round_2", options) == 0) { in Agent_OnLoad()
Dexpected.txt2 Agent_OnLoad called with options "test_900"
6 Agent_OnLoad called with options "test_900_round_2"
/art/dexoptanalyzer/
Ddexoptanalyzer.cc182 RuntimeOptions options; in CreateRuntime() local
185 options.push_back(std::make_pair(img.c_str(), nullptr)); in CreateRuntime()
188 options.push_back(std::make_pair("imageinstructionset", isa_opt)); in CreateRuntime()
190 options.push_back(std::make_pair("-Xno-sig-chain", nullptr)); in CreateRuntime()
194 options.push_back(std::make_pair("compilercallbacks", &callbacks)); in CreateRuntime()
197 options.push_back(std::make_pair("-Xnorelocate", nullptr)); in CreateRuntime()
199 if (!Runtime::Create(options, false)) { in CreateRuntime()
/art/runtime/gc/
Dheap_test.cc81 void SetUpRuntimeOptions(RuntimeOptions* options) { in SetUpRuntimeOptions() argument
82 CommonRuntimeTest::SetUpRuntimeOptions(options); in SetUpRuntimeOptions()
83 options->push_back(std::make_pair("-Xzygote", nullptr)); in SetUpRuntimeOptions()
/art/cmdline/
Dcmdline.h88 RuntimeOptions options; in StartRuntime() local
93 options.push_back(std::make_pair("compilercallbacks", &callbacks)); in StartRuntime()
101 options.push_back(std::make_pair(boot_image_option.c_str(), nullptr)); in StartRuntime()
105 options.push_back( in StartRuntime()
110 options.push_back(std::make_pair("-Xno-sig-chain", nullptr)); in StartRuntime()
111 if (!Runtime::Create(options, false)) { in StartRuntime()
Dcmdline_types.h82 Result Parse(const std::string& options) {
83 VLOG(jdwp) << "ParseJdwpOptions: " << options;
85 if (options == "help") {
94 Split(options, ',', &pairs);
102 "Can't parse JDWP option '" + jdwp_option + "' in '" + options + "'");
115 return Result::Failure(s + "Must specify JDWP transport: " + options);
118 return Result::Failure(s + "Must specify JDWP host and port when server=n: " + options);
611 Result Parse(const std::string& options) {
615 Split(options, ',', &verbose_options);
681 static Result ParseInto(ProfileSaverOptions& options,
[all …]
/art/dalvikvm/
Ddalvikvm.cc121 std::unique_ptr<JavaVMOption[]> options(new JavaVMOption[option_count]()); in dalvikvm() local
140 options[curr_opt++].optionString = argv[arg_idx]; in dalvikvm()
170 init_args.options = options.get(); in dalvikvm()

123