Searched refs:temp_path (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Bluetooth/system/gd/os/linux_generic/ |
D | files.cc | 35 void HandleError(const std::string& temp_path, int* dir_fd, FILE** fp) { in HandleError() argument 38 unlink(temp_path.c_str()); in HandleError() 108 const std::string temp_path = path + ".new"; in WriteToFile() local 130 FILE* fp = std::fopen(temp_path.c_str(), "wt"); in WriteToFile() 132 log::error("unable to open file '{}', error: {}", temp_path, strerror(errno)); in WriteToFile() 133 HandleError(temp_path, &dir_fd, &fp); in WriteToFile() 138 log::error("unable to write to file '{}', error: {}", temp_path, strerror(errno)); in WriteToFile() 139 HandleError(temp_path, &dir_fd, &fp); in WriteToFile() 145 log::error("unable to flush buffer to file '{}', error: {}", temp_path, strerror(errno)); in WriteToFile() 146 HandleError(temp_path, &dir_fd, &fp); in WriteToFile() [all …]
|
/packages/modules/Bluetooth/android/pandora/ |
D | gen_cov.py | 122 temp_path = Path(f'{coverage_out}/temp') 123 if temp_path.exists(): 124 shutil.rmtree(temp_path, ignore_errors=True) 125 temp_path.mkdir() 240 shutil.rmtree(temp_path, ignore_errors=True) 249 temp_path = Path(f'{coverage_out}/temp') 250 if temp_path.exists(): 251 shutil.rmtree(temp_path, ignore_errors=True) 252 temp_path.mkdir() 305 shutil.rmtree(temp_path, ignore_errors=True)
|
/packages/modules/adb/ |
D | adb_utils.cpp | 329 WCHAR temp_path[MAX_PATH]; in GetLogFilePath() local 332 DWORD nchars = GetTempPathW(arraysize(temp_path), temp_path); in GetLogFilePath() 333 if (nchars >= arraysize(temp_path) || nchars == 0) { in GetLogFilePath() 340 if (!android::base::WideToUTF8(temp_path, &temp_path_utf8)) { in GetLogFilePath()
|