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

/art/runtime/
H A Druntime_test.cc38 Runtime::Options options; local
39 options.push_back(std::make_pair(boot_class_path.c_str(), null));
40 options.push_back(std::make_pair("-classpath", null));
41 options.push_back(std::make_pair(lib_core.c_str(), null));
42 options.push_back(std::make_pair("-cp", null));
43 options.push_back(std::make_pair(lib_core.c_str(), null));
44 options.push_back(std::make_pair("-Ximage:boot_image", null));
45 options.push_back(std::make_pair("-Xcheck:jni", null));
46 options.push_back(std::make_pair("-Xms2048", null));
47 options
[all...]
H A Druntime.cc250 // The spec says the -Xmx and -Xms options must be multiples of 1024. It
322 Runtime::ParsedOptions* Runtime::ParsedOptions::Create(const Options& options, bool ignore_unrecognized) { argument
389 for (size_t i = 0; i < options.size(); ++i) {
390 const std::string option(options[i].first);
391 if (true && options[0].first == "-Xzygote") {
399 if (i == options.size()) {
404 const StringPiece& value = options[i].first;
408 = reinterpret_cast<const std::vector<const DexFile*>*>(options[i].second);
577 parsed->hook_is_sensitive_thread_ = reinterpret_cast<bool (*)()>(const_cast<void*>(options[i].second));
580 reinterpret_cast<int (*)(FILE *, const char*, va_list)>(const_cast<void*>(options[
654 Create(const Options& options, bool ignore_unrecognized) argument
[all...]
H A Dcommon_test.h299 Runtime::Options options; local
300 options.push_back(std::make_pair("compiler", reinterpret_cast<void*>(NULL)));
301 options.push_back(std::make_pair("bootclasspath", &boot_class_path_));
302 options.push_back(std::make_pair("-Xcheck:jni", reinterpret_cast<void*>(NULL)));
303 options.push_back(std::make_pair(min_heap_string.c_str(), reinterpret_cast<void*>(NULL)));
304 options.push_back(std::make_pair(max_heap_string.c_str(), reinterpret_cast<void*>(NULL)));
305 if (!Runtime::Create(options, false)) {
H A Druntime.h89 static ParsedOptions* Create(const Options& options, bool ignore_unrecognized);
139 static bool Create(const Options& options, bool ignore_unrecognized)
407 bool Init(const Options& options, bool ignore_unrecognized)
H A Djni_internal.h66 JavaVMExt(Runtime* runtime, Runtime::ParsedOptions* options);
H A Ddebugger.h86 static bool ParseJdwpOptions(const std::string& options);
363 JDWP::JdwpTag* arg_types, uint32_t options,
H A Ddebugger.cc166 // Broken-down JDWP options. (Only valid if IsJdwpConfigured() is true.)
333 * JDWP options are:
411 bool Dbg::ParseJdwpOptions(const std::string& options) { argument
412 VLOG(jdwp) << "ParseJdwpOptions: " << options;
415 Split(options, ',', pairs);
420 LOG(ERROR) << "Can't parse JDWP option '" << pairs[i] << "' in '" << options << "'"; local
427 LOG(ERROR) << "Must specify JDWP transport: " << options;
430 LOG(ERROR) << "Must specify JDWP host and port when server=n: " << options;
2626 JDWP::JdwpTag* arg_types, uint32_t options,
2738 req->options_ = options;
2623 InvokeMethod(JDWP::ObjectId thread_id, JDWP::ObjectId object_id, JDWP::RefTypeId class_id, JDWP::MethodId method_id, uint32_t arg_count, uint64_t* arg_values, JDWP::JdwpTag* arg_types, uint32_t options, JDWP::JdwpTag* pResultTag, uint64_t* pResultValue, JDWP::ObjectId* pExceptionId) argument
[all...]
H A Djni_internal.cc2894 Runtime::Options options; local
2896 JavaVMOption* option = &args->options[i];
2897 options.push_back(std::make_pair(std::string(option->optionString), option->extraInfo));
2900 if (!Runtime::Create(options, ignore_unrecognized)) {
2993 JavaVMExt::JavaVMExt(Runtime* runtime, Runtime::ParsedOptions* options) argument
2999 trace(options->jni_trace_),
3012 if (options->check_jni_) {
/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.cc199 JdwpState::JdwpState(const JdwpOptions* options) argument
200 : options_(options),
231 JdwpState* JdwpState::Create(const JdwpOptions* options) { argument
234 UniquePtr<JdwpState> state(new JdwpState(options));
235 switch (options->transport) {
237 InitSocketTransport(state.get(), options);
241 InitAdbTransport(state.get(), options);
245 LOG(FATAL) << "Unknown transport: " << options->transport;
248 if (!options->suspend) {
H A Djdwp.h114 static JdwpState* Create(const JdwpOptions* options)
269 explicit JdwpState(const JdwpOptions* options);
H A Djdwp_handler.cc117 uint32_t options = request.ReadUnsigned32("InvokeOptions bit flags"); local
118 VLOG(jdwp) << StringPrintf(" options=0x%04x%s%s", options,
119 (options & INVOKE_SINGLE_THREADED) ? " (SINGLE_THREADED)" : "",
120 (options & INVOKE_NONVIRTUAL) ? " (NONVIRTUAL)" : "");
125 JdwpError err = Dbg::InvokeMethod(thread_id, object_id, class_id, method_id, arg_count, argValues.get(), argTypes.get(), options, &resultTag, &resultValue, &exceptObjId);
/art/dalvikvm/
H A Ddalvikvm.cc117 // We're over-allocating, because this includes the options to the runtime
118 // plus the options to the program.
120 UniquePtr<JavaVMOption[]> options(new JavaVMOption[option_count]());
122 // Copy options over. Everything up to the name of the class starts
139 options[curr_opt++].optionString = argv[arg_idx];
141 // Some options require an additional argument.
160 // insert additional internal options here
177 init_args.options = options.get();
/art/compiler/sea_ir/debug/
H A Ddot_gen.h41 explicit DotGenerationVisitor(const DotConversionOptions* const options, argument
42 art::SafeMap<int, const Type*>* types): graph_(), types_(types), options_(options) { }
97 // Stores options for turning a SEA IR graph to a .dot file.
101 // Saves to @filename the .dot representation of @graph with the options @options.
/art/compiler/
H A Delf_writer_mclinker.cc121 linker_config_->options().setSOName(elf_file_->GetPath());
125 linker_config_->options().setNoUndefined(true);
134 linker_config_->options().addZOption(z_option);
138 linker_config_->options().setColor(false);
141 linker_config_->options().setTrace(true);
145 module_.reset(new mcld::Module(linker_config_->options().soname()));
H A Dimage_test.cc119 Runtime::Options options; local
122 options.push_back(std::make_pair(image.c_str(), reinterpret_cast<void*>(NULL)));
124 if (!Runtime::Create(options, false)) {
/art/dex2oat/
H A Ddex2oat.cc78 UsageError("Usage: dex2oat [options]...");
155 Runtime::Options& options,
160 if (!CreateRuntime(options, instruction_set)) {
338 static bool CreateRuntime(Runtime::Options& options, InstructionSet instruction_set)
340 if (!Runtime::Create(options, false)) {
850 Runtime::Options options; local
851 options.push_back(std::make_pair("compiler", reinterpret_cast<void*>(NULL)));
859 options.push_back(std::make_pair("bootclasspath", &boot_class_path));
861 options.push_back(std::make_pair(boot_image_option.c_str(), reinterpret_cast<void*>(NULL)));
864 options
[all...]
/art/oatdump/
H A Doatdump.cc58 "Usage: oatdump [options] ...\n"
1426 Runtime::Options options; local
1433 options.push_back(std::make_pair("compiler", reinterpret_cast<void*>(NULL)));
1438 options.push_back(std::make_pair(boot_image_option.c_str(), reinterpret_cast<void*>(NULL)));
1443 options.push_back(std::make_pair(image_option.c_str(), reinterpret_cast<void*>(NULL)));
1447 options.push_back(std::make_pair("host-prefix", host_prefix->c_str()));
1450 if (!Runtime::Create(options, false)) {

Completed in 1563 milliseconds