Home | History | Annotate | Download | only in tool

Lines Matching defs:Tool

39 struct Tool {
44 static const Tool kTools[] = {
72 const Tool &tool = kTools[i];
73 if (tool.func == nullptr) {
76 printf(" %s\n", tool.name);
82 const Tool &tool = kTools[i];
83 if (tool.func == nullptr || name == tool.name) {
84 return tool.func;
112 tool_func_t tool = nullptr;
114 tool = FindTool(basename(argv[0]));
116 if (tool == nullptr) {
119 tool = FindTool(argv[1]);
122 if (tool == nullptr) {
132 if (!tool(args)) {