Home
last modified time | relevance | path

Searched refs:tmp_dir (Results 1 – 7 of 7) sorted by relevance

/system/core/base/
Dtest_utils.cpp68 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() argument
88 init(tmp_dir); in TemporaryFile()
104 void TemporaryFile::init(const std::string& tmp_dir) { in init() argument
105 snprintf(path, sizeof(path), "%s%cTemporaryFile-XXXXXX", tmp_dir.c_str(), in init()
[all …]
/system/core/base/include/android-base/
Dtest_utils.h28 explicit TemporaryFile(const std::string& tmp_dir);
39 void init(const std::string& tmp_dir);
52 bool init(const std::string& tmp_dir);
/system/timezone/
Dupdate-tzdata.py49 tmp_dir = tempfile.mkdtemp('-tzdata') variable
80 zone_compactor_setup_file = '%s/setup' % tmp_dir
91 icu_build_dir = '%s/icu' % tmp_dir
127 zic_build_dir = '%s/zic' % tmp_dir
149 zic_output_dir = '%s/data' % tmp_dir
236 iana_data_dir = '%s/iana_data' % tmp_dir
/system/core/adb/
Dadb_utils.cpp311 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()
/system/extras/simpleperf/
Dgtest_main.cpp204 std::unique_ptr<ScopedTempDir> tmp_dir; in main() local
208 tmp_dir.reset(new ScopedTempDir); in main()
209 testdata_dir = std::string(tmp_dir->path()) + "/"; in main()
Denvironment.h108 ScopedTempFiles(const std::string& tmp_dir);
Denvironment.cpp695 ScopedTempFiles::ScopedTempFiles(const std::string& tmp_dir) { in ScopedTempFiles() argument
697 tmp_dir_ = tmp_dir; in ScopedTempFiles()