Lines Matching refs:result
53 virtual bool WaitForCommand(Result* result);
68 bool DryRunCommandRunner::WaitForCommand(Result* result) {
72 result->status = ExitSuccess;
73 result->edge = finished_.front();
193 bool Plan::EdgeFinished(Edge* edge, EdgeResult result, string* err) {
204 if (result != kEdgeSucceeded)
469 virtual bool WaitForCommand(Result* result);
522 bool RealCommandRunner::WaitForCommand(Result* result) {
530 result->status = subproc->Finish();
531 result->output = subproc->GetOutput();
534 result->edge = e->second;
701 CommandRunner::Result result;
702 if (!command_runner_->WaitForCommand(&result) ||
703 result.status == ExitInterrupted) {
711 if (!FinishCommand(&result, err)) {
717 if (!result.success()) {
799 std::string result = "";
801 result += content_list[i];
803 result += " ";
806 return result;
870 bool Builder::FinishCommand(CommandRunner::Result* result, string* err) {
873 Edge* edge = result->edge;
875 // First try to extract dependencies from the result, if any.
885 if (!ExtractDeps(result, deps_type, deps_prefix, &deps_nodes,
886 &extract_err) && result->success()) {
887 if (!result->output.empty())
888 result->output.append("\n");
889 result->output.append(extract_err);
890 result->status = ExitFailure;
901 result->success(), result->output);
904 if (!result->success()) {
976 bool Builder::ExtractDeps(CommandRunner::Result* result,
984 if (!parser.Parse(result->output, deps_prefix, &output, err))
986 result->output = output;
996 string depfile = result->edge->GetUnescapedDepfile();