Lines Matching refs:proto
75 std::optional<std::string> proto; member
80 std::optional<CrashArtifact> proto; member
176 result.proto = create_temporary_file(); in get_output()
200 result.proto = StringPrintf("%s%02d.pb", file_name_prefix_.c_str(), next_artifact_); in get_next_artifact_paths()
290 crash->output.proto = CrashArtifact::devnull(); in perform_request()
305 if (crash->output.proto) { in perform_request()
307 crash->output.proto->fd.get()); in perform_request()
469 if (crash->output.proto && crash->output.proto->fd != -1) { in crash_completed()
470 if (!paths.proto) { in crash_completed()
473 rename_tombstone_fd(crash->output.proto->fd, queue->dir_fd(), *paths.proto); in crash_completed()
484 if (crash->output.proto && crash->output.proto->temporary_path) { in crash_completed()
485 rc = unlinkat(queue->dir_fd().get(), crash->output.proto->temporary_path->c_str(), 0); in crash_completed()