Home
last modified time | relevance | path

Searched refs:opts (Results 1 – 2 of 2) sorted by relevance

/art/adbconnection/
Dadbconnection.cc842 bool ContainsArgument(const std::string& opts, const char* arg) { in ContainsArgument() argument
843 return opts.find(arg) != std::string::npos; in ContainsArgument()
846 bool ValidateJdwpOptions(const std::string& opts) { in ValidateJdwpOptions() argument
851 if (ContainsArgument(opts, "server=n")) { in ValidateJdwpOptions()
857 if (ContainsArgument(opts, "suspend=y")) { in ValidateJdwpOptions()
865 const std::string& opts = art::Runtime::Current()->GetJdwpOptions(); in MakeAgentArg() local
866 DCHECK(ValidateJdwpOptions(opts)); in MakeAgentArg()
868 return agent_name_ + "=" + opts + (opts.empty() ? "" : ",") + in MakeAgentArg()
872 (ContainsArgument(opts, "server=y") ? "" : "server=y,") + in MakeAgentArg()
875 (ContainsArgument(opts, "suspend=n") ? "" : "suspend=n") + in MakeAgentArg()
/art/compiler/
Dcfi_test.h62 auto* opts = new DisassemblerOptions(false, in GenerateExpected() local
69 std::unique_ptr<Disassembler> disasm(Disassembler::Create(isa, opts)); in GenerateExpected()