Searched refs:tmp_dir (Results 1 – 7 of 7) sorted by relevance
68 char tmp_dir[MAX_PATH]; in GetSystemTempDir()69 DWORD result = GetTempPathA(sizeof(tmp_dir), tmp_dir); in GetSystemTempDir()71 CHECK_LT(result, sizeof(tmp_dir)) << "path truncated to: " << result; in GetSystemTempDir()75 CHECK_EQ(tmp_dir[result - 1], '\\'); in GetSystemTempDir()76 tmp_dir[result - 1] = '\0'; in GetSystemTempDir()77 return tmp_dir; in GetSystemTempDir()87 TemporaryFile::TemporaryFile(const std::string& tmp_dir) { in TemporaryFile() argument88 init(tmp_dir); in TemporaryFile()104 void TemporaryFile::init(const std::string& tmp_dir) { in init() argument105 snprintf(path, sizeof(path), "%s%cTemporaryFile-XXXXXX", tmp_dir.c_str(), in init()[all …]
28 explicit TemporaryFile(const std::string& tmp_dir);39 void init(const std::string& tmp_dir);52 bool init(const std::string& tmp_dir);
49 tmp_dir = tempfile.mkdtemp('-tzdata') variable80 zone_compactor_setup_file = '%s/setup' % tmp_dir91 icu_build_dir = '%s/icu' % tmp_dir127 zic_build_dir = '%s/zic' % tmp_dir149 zic_output_dir = '%s/data' % tmp_dir236 iana_data_dir = '%s/iana_data' % tmp_dir
311 const char* tmp_dir = getenv("TMPDIR"); in GetLogFilePath()312 if (tmp_dir == nullptr) tmp_dir = "/tmp"; in GetLogFilePath()313 return android::base::StringPrintf("%s/adb.%u.log", tmp_dir, getuid()); in GetLogFilePath()
204 std::unique_ptr<ScopedTempDir> tmp_dir; in main() local208 tmp_dir.reset(new ScopedTempDir); in main()209 testdata_dir = std::string(tmp_dir->path()) + "/"; in main()
108 ScopedTempFiles(const std::string& tmp_dir);
695 ScopedTempFiles::ScopedTempFiles(const std::string& tmp_dir) { in ScopedTempFiles() argument697 tmp_dir_ = tmp_dir; in ScopedTempFiles()