/art/runtime/ |
H A D | runtime_test.cc | 38 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 D | common_test.h | 299 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 D | runtime.cc | 250 // 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 D | jni_internal.cc | 2891 Runtime::Options options; local 2893 JavaVMOption* option = &args->options[i]; 2894 options.push_back(std::make_pair(std::string(option->optionString), option->extraInfo)); 2897 if (!Runtime::Create(options, ignore_unrecognized)) { 2990 JavaVMExt::JavaVMExt(Runtime* runtime, Runtime::ParsedOptions* options) argument 2996 trace(options->jni_trace_), 3009 if (options->check_jni_) {
|
H A D | debugger.cc | 166 // 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...] |
/art/compiler/sea_ir/debug/ |
H A D | dot_gen.h | 41 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 D | image_test.cc | 119 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/runtime/jdwp/ |
H A D | jdwp_main.cc | 199 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 D | jdwp_socket.cc | 69 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 D | jdwp_handler.cc | 117 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/dex2oat/ |
H A D | dex2oat.cc | 78 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)) { 845 Runtime::Options options; local 846 options.push_back(std::make_pair("compiler", reinterpret_cast<void*>(NULL))); 854 options.push_back(std::make_pair("bootclasspath", &boot_class_path)); 856 options.push_back(std::make_pair(boot_image_option.c_str(), reinterpret_cast<void*>(NULL))); 859 options [all...] |
/art/oatdump/ |
H A D | oatdump.cc | 58 "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)) {
|