Searched defs:options (Results 1 - 25 of 33) sorted by relevance

12

/art/disassembler/
H A Ddisassembler.cc38 Disassembler* Disassembler::Create(InstructionSet instruction_set, DisassemblerOptions* options) { argument
40 return new arm::DisassemblerArm(options);
42 return new arm64::DisassemblerArm64(options);
44 return new mips::DisassemblerMips(options);
46 return new x86::DisassemblerX86(options, false);
48 return new x86::DisassemblerX86(options, true);
64 Disassembler* create_disassembler(InstructionSet instruction_set, DisassemblerOptions* options) { argument
65 return Disassembler::Create(instruction_set, options);
H A Ddisassembler_mips.h29 explicit DisassemblerMips(DisassemblerOptions* options) argument
30 : Disassembler(options),
H A Ddisassembler_arm64.h34 explicit CustomDisassembler(DisassemblerOptions* options) argument
36 read_literals_(options->can_read_literals_),
37 base_address_(options->base_address_),
38 end_address_(options->end_address_),
39 options_(options) {
40 if (!options->absolute_addresses_) {
42 reinterpret_cast<const vixl::aarch64::Instruction*>(options->base_address_));
74 explicit DisassemblerArm64(DisassemblerOptions* options) : argument
75 Disassembler(options), disasm(options) {
[all...]
H A Ddisassembler_x86.h29 DisassemblerX86(DisassemblerOptions* options, bool supports_rex) argument
30 : Disassembler(options), supports_rex_(supports_rex) {}
H A Ddisassembler_arm.cc47 const DisassemblerOptions* options)
48 : DisassemblerStream(os), disasm_(disasm), options_(options) {}
116 CustomDisassembler(std::ostream& os, const DisassemblerOptions* options) argument
117 : PrintDisassembler(&disassembler_stream_), disassembler_stream_(os, this, options) {}
192 DisassemblerArm::DisassemblerArm(DisassemblerOptions* options) argument
193 : Disassembler(options), disasm_(std::make_unique<CustomDisassembler>(output_, options)) {}
45 CustomDisassemblerStream(std::ostream& os, const CustomDisassembler* disasm, const DisassemblerOptions* options) argument
/art/dexlayout/
H A Ddexlayout_main.cc73 Options options; local
74 options.dump_ = true;
75 options.verbose_ = true;
86 options.show_annotations_ = true;
89 options.build_dex_ir_ = true;
92 options.checksum_only_ = true;
95 options.disassemble_ = true;
98 options.exports_only_ = true;
101 options.show_file_headers_ = true;
104 options
[all...]
H A Ddexlayout.h44 /* Command-line options. */
71 DexLayout(Options& options, argument
76 : options_(options), info_(info), out_file_(out_file), header_(header) { }
/art/runtime/gc/
H A Dheap_test.cc81 void SetUpRuntimeOptions(RuntimeOptions* options) { argument
82 CommonRuntimeTest::SetUpRuntimeOptions(options);
83 options->push_back(std::make_pair("-Xzygote", nullptr));
/art/test/900-hello-plugin/
H A Dload_unload.cc54 char* options,
56 printf("Agent_OnLoad called with options \"%s\"\n", options);
57 if (strcmp("test_900_round_2", options) == 0) {
53 Agent_OnLoad(JavaVM* vm, char* options, void* reserved ATTRIBUTE_UNUSED) argument
/art/test/testrunner/
H A 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/
H A Dparsed_options_test.cc54 RuntimeOptions options; local
55 options.push_back(std::make_pair(boot_class_path.c_str(), nullptr));
56 options.push_back(std::make_pair("-classpath", nullptr));
57 options.push_back(std::make_pair(class_path.c_str(), nullptr));
58 options.push_back(std::make_pair("-cp", nullptr));
59 options.push_back(std::make_pair(class_path.c_str(), nullptr));
60 options.push_back(std::make_pair("-Ximage:boot_image", nullptr));
61 options.push_back(std::make_pair("-Xcheck:jni", nullptr));
62 options.push_back(std::make_pair("-Xms2048", nullptr));
63 options
114 RuntimeOptions options; local
135 RuntimeOptions options; local
153 RuntimeOptions options; local
[all...]
H A Dparsed_options.cc45 bool ParsedOptions::Parse(const RuntimeOptions& options, argument
51 return parser.DoParse(options, ignore_unrecognized, runtime_options);
190 .Define("-Xps-_") // profile saver options -Xps-<key>:<value>
324 // Remove all the special options that have something in the void* part of the option.
325 // If runtime_options is not null, put the options in there.
326 // As a side-effect, populate the hooks from options.
327 bool ParsedOptions::ProcessSpecialOptions(const RuntimeOptions& options, argument
333 // Handle special options that set up hooks
334 for (size_t i = 0; i < options.size(); ++i) {
335 const std::string option(options[
436 DoParse(const RuntimeOptions& options, bool ignore_unrecognized, RuntimeArgumentMap* runtime_options) argument
[all...]
H A Doat_file_assistant_test.cc40 virtual void SetUpRuntimeOptions(RuntimeOptions* options) { argument
41 DexoptTest::SetUpRuntimeOptions(options);
42 options->push_back(std::make_pair("-Xnodex2oat", nullptr));
H A Ddebugger.h64 options(invoke_options), reply(JDWP::expandBufAlloc()) {
80 const uint32_t options; member in struct:art::DebugInvokeReq
239 // Configures JDWP with parsed command-line options.
610 // and resume it (and possibly other threads depending on the invoke options).
620 uint32_t options)
/art/test/ti-agent/
H A 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,
85 static bool FindAgentNameAndOptions(char* options, argument
89 *name = options;
90 char* rest = options;
91 // name is the first thing in the options
103 static void SetIsJVM(const char* options) { argument
104 SetJVM(strncmp(options, "jvm", 3) == 0);
109 extern "C" JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM* vm, char* options, voi argument
133 Agent_OnAttach(JavaVM* vm, char* options, void* reserved) argument
[all...]
/art/compiler/optimizing/
H A Dsharpening.cc67 static bool AOTCanEmbedMethod(ArtMethod* method, const CompilerOptions& options) { argument
68 return IsInBootImage(method) && !options.GetCompilePic();
/art/compiler/
H A Dcommon_compiler_test.cc204 void CommonCompilerTest::SetUpRuntimeOptions(RuntimeOptions* options) { argument
205 CommonRuntimeTest::SetUpRuntimeOptions(options);
H A Dimage_test.cc82 void SetUpRuntimeOptions(RuntimeOptions* options) OVERRIDE {
83 CommonCompilerTest::SetUpRuntimeOptions(options);
87 options->push_back(std::make_pair("compilercallbacks", callbacks_.get()));
426 RuntimeOptions options; local
429 options.push_back(std::make_pair(image.c_str(), static_cast<void*>(nullptr)));
431 options.push_back(std::make_pair("-Xnorelocate", nullptr));
433 if (!Runtime::Create(options, false)) {
H A Dverifier_deps_test.cc61 void SetUpRuntimeOptions(RuntimeOptions* options) { argument
62 CommonCompilerTest::SetUpRuntimeOptions(options);
/art/dexoptanalyzer/
H A Ddexoptanalyzer.cc81 UsageError("Usage: dexoptanalyzer [options]...");
182 RuntimeOptions options; local
185 options.push_back(std::make_pair(img.c_str(), nullptr));
188 options.push_back(std::make_pair("imageinstructionset", isa_opt));
190 options.push_back(std::make_pair("-Xno-sig-chain", nullptr));
194 options.push_back(std::make_pair("compilercallbacks", &callbacks));
197 options.push_back(std::make_pair("-Xnorelocate", nullptr));
199 if (!Runtime::Create(options, false)) {
/art/runtime/jdwp/
H A Djdwp_main.cc215 JdwpState::JdwpState(const JdwpOptions* options) argument
216 : options_(options),
251 JdwpState* JdwpState::Create(const JdwpOptions* options) { argument
254 std::unique_ptr<JdwpState> state(new JdwpState(options));
255 switch (options->transport) {
257 InitSocketTransport(state.get(), options);
261 InitAdbTransport(state.get(), options);
265 LOG(FATAL) << "Unknown transport: " << options->transport;
290 if (options->suspend) {
H A Djdwp_socket.cc72 bool InitSocketTransport(JdwpState* state, const JdwpOptions* options) { argument
73 uint16_t port = options->port;
75 if (options->server) {
76 if (options->port != 0) {
89 LOG(ERROR) << "JDWP net startup failed (req port=" << options->port << ")";
96 if (options->suspend) {
99 LOG(INFO) << "JDWP will " << (options->server ? "listen" : "connect") << " on port " << port;
266 bool JdwpSocketState::Establish(const JdwpOptions* options) { argument
273 CHECK(!options->server);
274 CHECK(!options
[all...]
/art/test/ti-stress/
H A Dstress.cc167 static void ReadOptions(StressData* data, char* options) { argument
168 std::string ops(options);
204 char* options,
218 // Read the options into the static variables that hold them.
219 ReadOptions(data, options);
203 Agent_OnLoad(JavaVM* vm, char* options, void* reserved ATTRIBUTE_UNUSED) argument
/art/cmdline/
H A Dcmdline.h88 RuntimeOptions options; local
93 options.push_back(std::make_pair("compilercallbacks", &callbacks));
101 options.push_back(std::make_pair(boot_image_option.c_str(), nullptr));
105 options.push_back(
110 options.push_back(std::make_pair("-Xno-sig-chain", nullptr));
111 if (!Runtime::Create(options, false)) {
H A Dcmdline_types.h68 * JDWP options are:
82 Result Parse(const std::string& options) { argument
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);
208 // The spec says the -Xmx and -Xms options must be multiples of 1024. It
572 // XGcOption::collector_type_ after parsing options
611 Parse(const std::string& options) argument
681 ParseInto(ProfileSaverOptions& options, T ProfileSaverOptions::*pField, CmdlineParseResult<T>&& result) argument
[all...]

Completed in 434 milliseconds

12