Lines Matching refs:path

115     /// Get the Node for a given command-line path, handling features like

262 string path = input_file;
263 if (path.empty()) {
264 *err = "empty path";
267 uint64_t slash_bits; // Unused because this path is only used for lookup.
268 CanonicalizePath(&path, &slash_bits);
269 Node* node = state_.LookupNode(path);
299 BuildLog::LogEntry* log_entry = build_log_.LookupByOutput(out->path());
310 string path = cpath;
311 if (path.empty()) {
312 *err = "empty path";
316 CanonicalizePath(&path, &slash_bits);
320 if (!path.empty() && path[path.size() - 1] == '^') {
321 path.resize(path.size() - 1);
325 Node* node = state_.LookupNode(path);
331 *err = "'" + path + "' has no out edge";
347 "unknown target '" + Node::PathDecanonicalized(path, slash_bits) + "'";
348 if (path == "clean") {
350 } else if (path == "help") {
353 Node* suggestion = state_.SpellcheckNode(path);
355 *err += ", did you mean '" + suggestion->path() + "'?";
411 printf("%s:\n", node->path().c_str());
425 printf(" %s%s\n", label, edge->inputs_[in]->path().c_str());
431 printf(" %s\n", (*validation)->path().c_str());
440 printf(" %s\n", (*out)->path().c_str());
450 printf(" %s\n", (*out)->path().c_str());
487 const char* target = (*n)->path().c_str();
505 printf("%s\n", (*inps)->path().c_str());
520 rules.insert((*out_node)->path());
540 (*out_node)->path().c_str(),
568 printf("%s: deps not found\n", (*it)->path().c_str());
573 TimeStamp mtime = disk_interface.Stat((*it)->path(), &err);
577 (*it)->path().c_str(), deps->node_count, deps->mtime,
580 printf(" %s\n", deps->nodes[i]->path().c_str());
932 PrintJSONString(edge->inputs_[0]->path());
934 PrintJSONString(edge->outputs_[0]->path());
1128 { "query", "show inputs/outputs for a path",
1300 string path = ".ninja_deps";
1302 path = build_dir_ + "/" + path;
1305 const LoadStatus status = deps_log_.Load(path, &state_, &err);
1307 Error("loading deps log %s: %s", path.c_str(), err.c_str());
1320 bool success = deps_log_.Recompact(path, &err);
1327 if (!deps_log_.OpenForWrite(path, &err)) {
1342 printf("path->node hash load %.2f (%d entries / %d buckets)\n",