Home
last modified time | relevance | path

Searched refs:tmp_dir (Results 1 – 5 of 5) 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()
92 void TemporaryFile::init(const std::string& tmp_dir) { in init() argument
93 snprintf(path, sizeof(path), "%s%cTemporaryFile-XXXXXX", tmp_dir.c_str(), in init()
106 bool TemporaryDir::init(const std::string& tmp_dir) { in init() argument
107 snprintf(path, sizeof(path), "%s%cTemporaryDir-XXXXXX", tmp_dir.c_str(), in init()
/system/core/base/include/android-base/
Dtest_utils.h33 void init(const std::string& tmp_dir);
46 bool init(const std::string& tmp_dir);
/system/core/adb/client/
Dmain.cpp62 const char* tmp_dir = getenv("TMPDIR"); in GetLogFilePath()
63 if (tmp_dir == nullptr) tmp_dir = "/tmp"; in GetLogFilePath()
64 return android::base::StringPrintf("%s/adb.%u.log", tmp_dir, getuid()); in GetLogFilePath()
/system/extras/simpleperf/scripts/
Dapp_profiler.config19 tmp_dir = os.path.join(android_studio_project_dir,
21 if os.path.isdir(tmp_dir):
22 native_lib_dir = tmp_dir
/system/extras/simpleperf/
Dgtest_main.cpp203 std::unique_ptr<TemporaryDir> tmp_dir; in main() local
207 tmp_dir.reset(new TemporaryDir); in main()
208 testdata_dir = std::string(tmp_dir->path) + "/"; in main()