Lines Matching defs:args
70 void EventDump::CheckCount(int32_t fd, const std::vector<std::string> &args, int32_t &count)
73 for (const auto &str : args) {
85 void EventDump::ParseCommand(int32_t fd, const std::vector<std::string> &args)
89 CheckCount(fd, args, count);
112 if (args.empty()) {
113 MMI_HILOGE("size of args can't be zero");
116 char **argv = new (std::nothrow) char *[args.size()];
118 if (memset_s(argv, args.size() * sizeof(char*), 0, args.size() * sizeof(char*)) != EOK) {
123 for (size_t i = 0; i < args.size(); ++i) {
124 argv[i] = new (std::nothrow) char[args[i].size() + 1];
129 if (strcpy_s(argv[i], args[i].size() + 1, args[i].c_str()) != EOK) {
136 while ((c = getopt_long (args.size(), argv, "hdlwusoifmcke", dumpOptions, &optionIndex)) != -1) {
139 DumpEventHelp(fd, args);
143 INPUT_DEV_MGR->Dump(fd, args);
147 INPUT_DEV_MGR->DumpDeviceList(fd, args);
151 WIN_MGR->Dump(fd, args);
157 udsServer->Dump(fd, args);
164 subscriberHandler->Dump(fd, args);
174 monitorHandler->Dump(fd, args);
184 interceptorHandler->Dump(fd, args);
193 filterHandler->Dump(fd, args);
198 MouseEventHdr->Dump(fd, args);
206 IPointerDrawingManager::GetInstance()->Dump(fd, args);
211 TOUCH_DRAWING_MGR->Dump(fd, args);
221 keyHandler->Dump(fd, args);
228 EventStatistic::Dump(fd, args);
239 for (size_t i = 0; i < args.size(); ++i) {
247 void EventDump::DumpEventHelp(int32_t fd, const std::vector<std::string> &args)