Lines Matching defs:output

140     // Load output mtimes so we can compare them to the most recent input below.

195 // We may also be dirty due to output state: missing outputs, out of
201 // Finally, visit each output and update their dirty state if necessary.
240 // instead of some other output of the starting edge. For example,
280 Node* output) {
282 // Phony edges don't write any output. Outputs are only dirty if
283 // there are no inputs and we're missing the output.
284 if (edge->inputs_.empty() && !output->exists()) {
285 EXPLAIN("output %s of phony edge with no inputs doesn't exist",
286 output->path().c_str());
293 output->UpdatePhonyMtime(most_recent_input->mtime());
300 // Dirty if we're missing the output.
301 if (!output->exists()) {
302 EXPLAIN("output %s doesn't exist", output->path().c_str());
308 // If this is a restat rule, we may have cleaned the output in a
312 // output file's actual mtime and simply check the recorded mtime from
316 (entry = build_log()->LookupByOutput(output->path()))) {
320 // Dirty if the output is older than the input.
321 if (!used_restat && most_recent_input && output->mtime() < most_recent_input->mtime()) {
322 EXPLAIN("output %s older than most recent input %s "
324 output->path().c_str(),
326 output->mtime(), most_recent_input->mtime());
332 if (entry || (entry = build_log()->LookupByOutput(output->path()))) {
338 EXPLAIN("command line changed for %s", output->path().c_str());
344 // on disk is newer if a previous run wrote to the output file but
347 // mtime and ignore the actual output's mtime above.
349 output->path().c_str(), most_recent_input->path().c_str(),
355 EXPLAIN("command line not found in log for %s", output->path().c_str());
693 // Check that this depfile matches the edge's output, if not return false to
708 *err = path + ": depfile mentions '" + o->AsString() + "' as an output, but no such output was declared";
737 Node* output = edge->outputs_[0];
738 DepsLog::Deps* deps = deps_log_ ? deps_log_->GetDeps(output) : NULL;
740 EXPLAIN("deps for '%s' are missing", output->path().c_str());
744 // Deps are invalid if the output is newer than the deps.
745 if (output->mtime() > deps->mtime) {
747 output->path().c_str(), deps->mtime, output->mtime());