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

1234

/art/dexlayout/
H A Ddexlayout_main.cc77 Options options; local
78 options.dump_ = true;
79 options.verbose_ = true;
90 options.show_annotations_ = true;
93 options.build_dex_ir_ = true;
96 options.checksum_only_ = true;
99 options.disassemble_ = true;
102 options.exports_only_ = true;
105 options.show_file_headers_ = true;
108 options
[all...]
H A Ddex_ir_builder.h34 const Options& options);
H A Ddex_ir_builder.cc30 const Options& options);
34 const Options& options) {
78 if (!options.class_filter_.empty()) {
83 if (options.class_filter_.find(descriptor) == options.class_filter_.end()) {
93 CheckAndSetRemainingOffsets(dex_file, &collections, options);
108 const Options& options) {
141 if (options.class_filter_.empty()) {
32 DexIrBuilder(const DexFile& dex_file, bool eagerly_assign_offsets, const Options& options) argument
106 CheckAndSetRemainingOffsets(const DexFile& dex_file, Collections* collections, const Options& options) argument
/art/
H A Dtest.py37 options, unknown = parser.parse_known_args()
39 if options.run_test or options.help_runner or not options.gtest:
55 if subprocess.call(test_runner_cmd) or options.help_runner:
58 if options.gtest or not options.run_test:
60 if options.host or not options.target:
62 if options
[all...]
/art/disassembler/
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.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, /* is_o32_abi */ true);
46 return new mips::DisassemblerMips(options, /* is_o32_abi */ false);
48 return new x86::DisassemblerX86(options, false);
50 return new x86::DisassemblerX86(options, true);
66 Disassembler* create_disassembler(InstructionSet instruction_set, DisassemblerOptions* options) { argument
67 return Disassembler::Create(instruction_set, options);
H A Ddisassembler_mips.h29 explicit DisassemblerMips(DisassemblerOptions* options, bool is_o32_abi) argument
30 : Disassembler(options),
H A Ddisassembler.h69 static Disassembler* Create(InstructionSet instruction_set, DisassemblerOptions* options);
99 Disassembler* create_disassembler(InstructionSet instruction_set, DisassemblerOptions* options);
H A Ddisassembler_x86.h29 DisassemblerX86(DisassemblerOptions* options, bool supports_rex) argument
30 : Disassembler(options), supports_rex_(supports_rex) {}
/art/test/ti-agent/
H A Dcommon_load.cc36 jint OnLoad(JavaVM* vm, char* options, void* reserved);
40 jint OnLoad(JavaVM* vm, char* options, void* reserved);
44 jint OnLoad(JavaVM* vm, char* options, void* reserved);
49 using OnLoad = jint (*)(JavaVM* vm, char* options, void* reserved);
50 using OnAttach = jint (*)(JavaVM* vm, char* options, void* reserved);
60 char* options ATTRIBUTE_UNUSED,
97 static bool FindAgentNameAndOptions(char* options, argument
101 *name = options;
102 char* rest = options;
103 // name is the first thing in the options
115 SetIsJVM(const char* options) argument
121 Agent_OnLoad(JavaVM* vm, char* options, void* reserved) argument
145 Agent_OnAttach(JavaVM* vm, char* options, void* reserved) argument
[all...]
/art/test/1919-vminit-thread-start-timing/
H A Dvminit.h25 jint OnLoad(JavaVM* vm, char* options, void* reserved);
/art/test/901-hello-ti-agent/
H A Dbasics.h25 jint OnLoad(JavaVM* vm, char* options, void* reserved);
/art/test/909-attach-agent/
H A Dattach.h25 jint OnAttach(JavaVM* vm, char* options, void* reserved);
/art/test/936-search-onload/
H A Dsearch_onload.h25 jint OnLoad(JavaVM* vm, char* options, void* reserved);
/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.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,
/art/compiler/driver/
H A Dcompiler_options_map-inl.h35 inline bool ReadCompilerOptions(Base& map, CompilerOptions* options, std::string* error_msg) { argument
44 options->SetCompilerFilter(compiler_filter);
47 options->compile_pic_ = true;
49 map.AssignIfExists(Base::HugeMethodMaxThreshold, &options->huge_method_threshold_);
50 map.AssignIfExists(Base::LargeMethodMaxThreshold, &options->large_method_threshold_);
51 map.AssignIfExists(Base::SmallMethodMaxThreshold, &options->small_method_threshold_);
52 map.AssignIfExists(Base::TinyMethodMaxThreshold, &options->tiny_method_threshold_);
53 map.AssignIfExists(Base::NumDexMethodsThreshold, &options->num_dex_methods_threshold_);
54 map.AssignIfExists(Base::InlineMaxCodeUnitsThreshold, &options->inline_max_code_units_);
55 map.AssignIfExists(Base::GenerateDebugInfo, &options
[all...]
/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/jdwp/
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/profman/
H A Dboot_image_profile.h46 // to the out_profile if they meet the options.
50 const BootImageOptions& options,
H A Dboot_image_profile.cc33 const BootImageOptions& options,
70 if (counter >= options.compiled_method_threshold) {
122 if (counter >= options.image_class_theshold) {
125 } else if (is_clean && counter >= options.image_class_clean_theshold) {
30 GenerateBootImageProfile( const std::vector<std::unique_ptr<const DexFile>>& dex_files, const std::vector<std::unique_ptr<const ProfileCompilationInfo>>& profiles, const BootImageOptions& options, bool verbose, ProfileCompilationInfo* out_profile) argument
/art/test/900-hello-plugin/
H A Dload_unload.cc55 char* options,
57 printf("Agent_OnLoad called with options \"%s\"\n", options);
58 if (strcmp("test_900_round_2", options) == 0) {
54 Agent_OnLoad(JavaVM* vm, char* options, void* reserved ATTRIBUTE_UNUSED) argument
/art/tools/veridex/
H A Dveridex.cc86 static void ParseArgs(VeridexOptions* options, int argc, char** argv) { argument
101 options->dex_file = Substr(argv[i], strlen(kDexFileOption));
103 options->core_stubs = Substr(argv[i], strlen(kStubsOption));
105 options->blacklist = Substr(argv[i], strlen(kBlacklistOption));
107 options->dark_greylist = Substr(argv[i], strlen(kDarkGreylistOption));
109 options->light_greylist = Substr(argv[i], strlen(kLightGreylistOption));
111 options->precise = false;
113 options->target_sdk_version = atoi(Substr(argv[i], strlen(kTargetSdkVersion)));
131 VeridexOptions options; local
132 ParseArgs(&options, arg
[all...]
/art/tools/wrapagentproperties/
H A Dwrapagentproperties.cc248 std::string options,
252 return ((start == StartType::OnLoad) ? vm->load : vm->attach)(vm, options.c_str(), reserved);
285 static bool ParseArgs(const std::string& options, argument
289 if (options.find(',') == std::string::npos) {
290 LOG(ERROR) << "No agent lib in " << options;
293 *prop_file = substrOf(options, 0, options.find(','));
294 *agent_lib = substrOf(options, options.find(',') + 1, options
246 CallNextAgent(StartType start, ProxyJavaVM* vm, std::string options, void* reserved) argument
303 AgentStart(StartType start, JavaVM* vm, char* options, void* reserved) argument
324 Agent_OnAttach(JavaVM *vm, char* options, void* reserved) argument
330 Agent_OnLoad(JavaVM* jvm, char* options, void* reserved) argument
[all...]
/art/runtime/jit/
H A Djit.cc69 JitOptions* JitOptions::CreateFromRuntimeArguments(const RuntimeArgumentMap& options) { argument
71 jit_options->use_jit_compilation_ = options.GetOrDefault(RuntimeArgumentMap::UseJitCompilation);
74 options.GetOrDefault(RuntimeArgumentMap::JITCodeCacheInitialCapacity);
76 options.GetOrDefault(RuntimeArgumentMap::JITCodeCacheMaxCapacity);
78 options.Exists(RuntimeArgumentMap::DumpJITInfoOnShutdown);
80 options.GetOrDefault(RuntimeArgumentMap::ProfileSaverOpts);
82 if (options.Exists(RuntimeArgumentMap::JITCompileThreshold)) {
83 jit_options->compile_threshold_ = *options.Get(RuntimeArgumentMap::JITCompileThreshold);
96 if (options.Exists(RuntimeArgumentMap::JITWarmupThreshold)) {
97 jit_options->warmup_threshold_ = *options
179 Create(JitOptions* options, std::string* error_msg) argument
[all...]

Completed in 1117 milliseconds

1234