Lines Matching refs:node
172 const DepNode* node; member
223 for (DepNode* node : nodes) { in PopulateNinjaNodes()
224 PopulateNinjaNode(node); in PopulateNinjaNodes()
228 void PopulateNinjaNode(DepNode* node) { in PopulateNinjaNode() argument
229 auto p = done_.insert(node->output); in PopulateNinjaNode()
235 if (g_flags.detect_android_echo && node->output.str() == "out") in PopulateNinjaNode()
239 if (!node->has_rule && !node->is_phony) { in PopulateNinjaNode()
244 nn->node = node; in PopulateNinjaNode()
245 ce_.Eval(node, &nn->commands); in PopulateNinjaNode()
249 for (DepNode* d : node->deps) { in PopulateNinjaNode()
252 for (DepNode* d : node->order_onlys) { in PopulateNinjaNode()
463 bool GetDepfile(const DepNode* node, string* cmd_buf, string* depfile) { in GetDepfile() argument
464 if (node->depfile_var) { in GetDepfile()
465 node->depfile_var->Eval(ev_, depfile); in GetDepfile()
478 const DepNode* node = nn->node; in EmitDepfile() local
480 if (!GetDepfile(node, cmd_buf, &depfile)) in EmitDepfile()
487 const DepNode* node = nn->node; in EmitNode() local
498 use_local_pool |= GenShellScript(node->output.c_str(), commands, in EmitNode()
513 if (node->is_restat) { in EmitNode()
545 const DepNode* node = nn->node; in EmitBuild() local
546 string target = EscapeBuildTarget(node->output); in EmitBuild()
549 if (node->is_phony) { in EmitBuild()
552 for (DepNode* d : node->deps) { in EmitBuild()
555 if (!node->order_onlys.empty()) { in EmitBuild()
557 for (DepNode* d : node->order_onlys) { in EmitBuild()
564 if (node->is_default_target) { in EmitBuild()
566 default_target_ = node; in EmitBuild()