Lines Matching refs:tool
72 const Tool &tool = kTools[i]; in usage() local
73 if (tool.func == nullptr) { in usage()
76 printf(" %s\n", tool.name); in usage()
82 const Tool &tool = kTools[i]; in FindTool() local
83 if (tool.func == nullptr || name == tool.name) { in FindTool()
84 return tool.func; in FindTool()
112 tool_func_t tool = nullptr; in main() local
114 tool = FindTool(basename(argv[0])); in main()
116 if (tool == nullptr) { in main()
119 tool = FindTool(argv[1]); in main()
122 if (tool == nullptr) { in main()
132 if (!tool(args)) { in main()