Searched refs:candidate_path (Results 1 – 8 of 8) sorted by relevance
103 std::filesystem::path candidate_path; in CreateTempFile() local106 candidate_path = temp_files_dir_ / in CreateTempFile()108 } while ((fd = open(candidate_path.c_str(), O_CREAT | O_EXCL | O_RDWR, in CreateTempFile()112 std::ofstream tmp_file(candidate_path); in CreateTempFile()115 absl::StrCat("could not create file ", candidate_path.string())); in CreateTempFile()118 return candidate_path.string(); in CreateTempFile()
168 std::filesystem::path candidate_path; in CreateTempFile() local171 candidate_path = in CreateTempFile()173 } while ((fd = open(candidate_path.c_str(), O_CREAT | O_EXCL | O_RDWR, in CreateTempFile()177 std::ofstream tmp_file(candidate_path); in CreateTempFile()180 absl::StrCat("could not create file ", candidate_path.string())); in CreateTempFile()183 return candidate_path.string(); in CreateTempFile()
34 candidate_path = os.path.join(build_tools_path, build_tool)35 if not os.path.exists(candidate_path):39 return candidate_path
45 for candidate_path in self._candidates:46 if self.is_valid_path(candidate_path):47 return candidate_path
514 FilePath candidate_path = path.InsertBeforeExtensionASCII( in GetUniquePathWithSuffixFormat() local516 if (!PathExists(candidate_path)) { in GetUniquePathWithSuffixFormat()517 return candidate_path; in GetUniquePathWithSuffixFormat()
246 [](const auto& candidate_path) { return candidate_path->IsValid(); }); in TEST_F() argument