Lines Matching refs:command
64 void ExtClient::ExecuteCommand(const string &command) in ExecuteCommand() argument
66 … if (!strncmp(command.c_str(), CMDSTR_SOFTWARE_VERSION.c_str(), CMDSTR_SOFTWARE_VERSION.size())) { in ExecuteCommand()
67 Version(command); in ExecuteCommand()
68 … } else if (!strncmp(command.c_str(), CMDSTR_SOFTWARE_HELP.c_str(), CMDSTR_SOFTWARE_HELP.size())) { in ExecuteCommand()
69 Help(command); in ExecuteCommand()
70 …} else if (!strncmp(command.c_str(), CMDSTR_TARGET_DISCOVER.c_str(), CMDSTR_TARGET_DISCOVER.size()… in ExecuteCommand()
71 Discover(command); in ExecuteCommand()
72 … } else if (!strncmp(command.c_str(), CMDSTR_SERVICE_START.c_str(), CMDSTR_SERVICE_START.size())) { in ExecuteCommand()
73 Start(command); in ExecuteCommand()
74 } else if (!strncmp(command.c_str(), CMDSTR_SERVICE_KILL.c_str(), CMDSTR_SERVICE_KILL.size())) { in ExecuteCommand()
75 Kill(command); in ExecuteCommand()
76 …} else if (!strncmp(command.c_str(), CMDSTR_CONNECT_TARGET.c_str(), CMDSTR_CONNECT_TARGET.size()))… in ExecuteCommand()
77 Connect(command); in ExecuteCommand()
78 } else if (!strncmp(command.c_str(), CMDSTR_LIST_TARGETS.c_str(), CMDSTR_LIST_TARGETS.size())) { in ExecuteCommand()
79 ListTargets(command); in ExecuteCommand()
80 } else if (!strncmp(command.c_str(), CMDSTR_SHELL.c_str(), CMDSTR_SHELL.size())) { in ExecuteCommand()
81 Shell(command); in ExecuteCommand()
82 } else if (!strncmp(command.c_str(), CMDSTR_FILE_SEND.c_str(), CMDSTR_FILE_SEND.size()) || in ExecuteCommand()
83 !strncmp(command.c_str(), CMDSTR_FILE_RECV.c_str(), CMDSTR_FILE_RECV.size())) { in ExecuteCommand()
84 File(command); in ExecuteCommand()
85 } else if (!strncmp(command.c_str(), CMDSTR_APP_INSTALL.c_str(), CMDSTR_APP_INSTALL.size())) { in ExecuteCommand()
86 Install(command); in ExecuteCommand()
87 … } else if (!strncmp(command.c_str(), CMDSTR_APP_UNINSTALL.c_str(), CMDSTR_APP_UNINSTALL.size())) { in ExecuteCommand()
88 Uninstall(command); in ExecuteCommand()
89 … } else if (!strncmp(command.c_str(), CMDSTR_FORWARD_FPORT.c_str(), CMDSTR_FORWARD_FPORT.size())) { in ExecuteCommand()
90 Fport(command); in ExecuteCommand()
91 … } else if (!strncmp(command.c_str(), CMDSTR_FORWARD_RPORT.c_str(), CMDSTR_FORWARD_RPORT.size())) { in ExecuteCommand()
92 Rport(command); in ExecuteCommand()
93 } else if (!strncmp(command.c_str(), CMDSTR_LIST_JDWP.c_str(), CMDSTR_LIST_JDWP.size())) { in ExecuteCommand()
94 Jpid(command); in ExecuteCommand()
95 } else if (!strncmp(command.c_str(), CMDSTR_TRACK_JDWP.c_str(), CMDSTR_TRACK_JDWP.size())) { in ExecuteCommand()
96 TrackJpid(command); in ExecuteCommand()
97 } else if (!strncmp(command.c_str(), (CMDSTR_SHELL + " ").c_str(), CMDSTR_SHELL.size() + 1) || in ExecuteCommand()
98 … !strncmp(command.c_str(), CMDSTR_TARGET_REBOOT.c_str(), CMDSTR_TARGET_REBOOT.size()) || in ExecuteCommand()
99 !strncmp(command.c_str(), CMDSTR_TARGET_MOUNT.c_str(), CMDSTR_TARGET_MOUNT.size()) || in ExecuteCommand()
100 !strncmp(command.c_str(), CMDSTR_STARTUP_MODE.c_str(), CMDSTR_STARTUP_MODE.size()) || in ExecuteCommand()
101 !strncmp(command.c_str(), CMDSTR_TARGET_MODE.c_str(), CMDSTR_TARGET_MODE.size()) || in ExecuteCommand()
102 !strncmp(command.c_str(), CMDSTR_HILOG.c_str(), CMDSTR_HILOG.size())) { in ExecuteCommand()
103 Utility(command); in ExecuteCommand()
104 } else if (!strncmp(command.c_str(), CMDSTR_BUGREPORT.c_str(), CMDSTR_BUGREPORT.size())) { in ExecuteCommand()
105 Bugreport(command); in ExecuteCommand()
106 } else if (!strncmp(command.c_str(), CMDSTR_WAIT_FOR.c_str(), CMDSTR_WAIT_FOR.size())) { in ExecuteCommand()
107 WaitFor(command); in ExecuteCommand()
109 UnknowCommand(command); in ExecuteCommand()
312 HdcExtCommand command; in HandleLib() local
314 int rc = uv_dlsym(&lib, name, (void **) &command); in HandleLib()
324 command(str.c_str(), str.size(), buffer, size); in HandleLib()