Lines Matching refs:name
195 /// Short name of the tool.
196 const char* name;
418 printf(" input: %s\n", edge->rule_->name().c_str());
489 printf("%s: %s\n", target, (*n)->in_edge()->rule_->name().c_str());
517 if ((*e)->rule_->name() == rule_name) {
541 (*e)->rule_->name().c_str());
650 // The rules tool uses getopt, and expects argv[0] to contain the name of
726 // The commands tool uses getopt, and expects argv[0] to contain the name of
784 // The inputs tool uses getopt, and expects argv[0] to contain the name of
834 // The clean tool uses getopt, and expects argv[0] to contain the name of
940 // The compdb tool uses getopt, and expects argv[0] to contain the name of
996 if ((*e)->rule_->name() == argv[i]) {
1023 // The restat tool uses getopt, and expects argv[0] to contain the name of the
1153 for (const Tool* tool = &kTools[0]; tool->name; ++tool) {
1155 printf("%11s %s\n", tool->name, tool->desc);
1160 for (const Tool* tool = &kTools[0]; tool->name; ++tool) {
1161 if (tool->name == tool_name)
1166 for (const Tool* tool = &kTools[0]; tool->name; ++tool)
1167 words.push_back(tool->name);
1180 bool DebugEnable(const string& name) {
1181 if (name == "list") {
1192 } else if (name == "stats") {
1195 } else if (name == "explain") {
1198 } else if (name == "keepdepfile") {
1201 } else if (name == "keeprsp") {
1204 } else if (name == "nostatcache") {
1209 SpellcheckString(name.c_str(),
1214 name.c_str(), suggestion);
1216 Error("unknown debug setting '%s'", name.c_str());
1224 bool WarningEnable(const string& name, Options* options) {
1225 if (name == "list") {
1230 } else if (name == "dupbuild=err") {
1233 } else if (name == "dupbuild=warn") {
1236 } else if (name == "phonycycle=err") {
1239 } else if (name == "phonycycle=warn") {
1242 } else if (name == "depfilemulti=err" ||
1243 name == "depfilemulti=warn") {
1248 SpellcheckString(name.c_str(), "dupbuild=err", "dupbuild=warn",
1252 name.c_str(), suggestion);
1254 Error("unknown warning flag '%s'", name.c_str());