Home
last modified time | relevance | path

Searched refs:WriteToFileAtomic (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/external/libbrillo/brillo/
H A Dfile_utils.h135 BRILLO_EXPORT bool WriteToFileAtomic(const base::FilePath& path,
143 return WriteToFileAtomic(path, reinterpret_cast<const char*>(blob.data()), in WriteBlobToFileAtomic()
H A Dfile_utils_test.cc293 WriteToFileAtomic(filename, content.data(), content.size(), 0644)); in TEST_F()
306 WriteToFileAtomic(filename, content.data(), content.size(), mode)); in TEST_F()
320 WriteToFileAtomic(filename, content.data(), content.size(), mode)); in TEST_F()
336 WriteToFileAtomic(filename, content.data(), content.size(), 0777)); in TEST_F()
H A Dfile_utils.cc452 bool WriteToFileAtomic(const base::FilePath& path, in WriteToFileAtomic() function