Home
last modified time | relevance | path

Searched refs:TruncateFile (Results 1 – 6 of 6) sorted by relevance

/third_party/flutter/engine/flutter/fml/platform/posix/
Dfile_posix.cc145 bool TruncateFile(const fml::UniqueFD& file, size_t size) { in TruncateFile() function
194 if (!TruncateFile(temp_file, data.GetSize())) { in WriteAtomically()
/third_party/flutter/engine/flutter/fml/
Dfile_unittest.cc16 if (!fml::TruncateFile(fd, contents.size())) { in WriteStringToFile()
81 ASSERT_TRUE(fml::TruncateFile(fd, contents.size())); in TEST()
Dfile.h56 bool TruncateFile(const fml::UniqueFD& file, size_t size);
/third_party/flutter/engine/flutter/fml/platform/win/
Dfile_win.cc307 bool TruncateFile(const fml::UniqueFD& file, size_t size) { in TruncateFile() function
350 if (!TruncateFile(temp_file, mapping.GetSize())) { in WriteAtomically()
/third_party/gn/src/base/files/
Dfile_util.h246 bool TruncateFile(FILE* file);
Dfile_util.cc206 bool TruncateFile(FILE* file) { in TruncateFile() function