Lines Matching defs:args
43 WMError WindowDumper::Dump(int fd, const std::vector<std::u16string>& args)
53 for (auto& arg : args) {
247 WMError WindowDumper::DumpWindowInfo(const std::vector<std::string>& args, std::string& dumpInfo)
249 if (args.empty()) {
252 if (args.size() == 1 && args[0] == ARG_DUMP_ALL) { // 1: params num
254 } else if (args.size() >= 2 && args[0] == ARG_DUMP_WINDOW && IsValidDigitString(args[1])) { // 2: params num
255 uint32_t windowId = std::stoul(args[1]);
256 return DumpSpecifiedWindowInfo(windowId, args, dumpInfo);