Lines Matching refs:options
149 static tuple<std::string, std::string> SplitOnColon(const std::string& options) { in SplitOnColon() argument
150 size_t loc_delim = options.find(':'); in SplitOnColon()
154 command = options; in SplitOnColon()
156 command = options.substr(0, loc_delim); in SplitOnColon()
157 args = options.substr(loc_delim + 1, options.length()); in SplitOnColon()
164 static jint ParseOptionsAndExecuteCommand(const std::string& options) { in ParseOptionsAndExecuteCommand() argument
165 auto split = SplitOnColon(options); in ParseOptionsAndExecuteCommand()
183 static jint AgentStart(JavaVM* vm, char* options) { in AgentStart() argument
187 return ParseOptionsAndExecuteCommand(options); in AgentStart()
192 Agent_OnAttach(JavaVM* vm, char* options, void* reserved ATTRIBUTE_UNUSED) { in Agent_OnAttach() argument
193 return AgentStart(vm, options); in Agent_OnAttach()
198 Agent_OnLoad(JavaVM* jvm ATTRIBUTE_UNUSED, char* options ATTRIBUTE_UNUSED, void* reserved ATTRIBUTE… in Agent_OnLoad()