Home
last modified time | relevance | path

Searched refs:truncated (Results 1 - 5 of 5) sorted by relevance

/commonlibrary/c_utils/base/include/
H A Dfile_ex.h44 bool RustSaveBufferToFile(const rust::String& filePath, const rust::vec<char>& content, bool truncated);
45 bool RustSaveStringToFile(const rust::String& filePath, const rust::String& content, bool truncated);
70 * @param truncated Indicates whether to truncate the original file.
74 bool SaveStringToFile(const std::string& filePath, const std::string& content, bool truncated = true);
120 bool SaveBufferToFile(const std::string& filePath, const std::vector<char>& content, bool truncated = true);
/commonlibrary/c_utils/base/src/rust/
H A Dfile_ex.rs27 pub fn RustSaveStringToFile(filePath: &String, content: &String, truncated: bool) -> bool; in RustSaveStringToFile()
42 truncated: bool, in RustSaveBufferToFile()
/commonlibrary/c_utils/base/src/
H A Dfile_ex.cpp68 bool RustSaveBufferToFile(const rust::String& filePath, const rust::vec<char>& content, bool truncated) in RustSaveBufferToFile() argument
72 return SaveBufferToFile(tmpPath, tmpContent, truncated); in RustSaveBufferToFile()
75 bool RustSaveStringToFile(const rust::String& filePath, const rust::String& content, bool truncated) in RustSaveStringToFile() argument
79 return SaveStringToFile(tmpPath, tmpContent, truncated); in RustSaveStringToFile()
203 bool SaveStringToFile(const std::string& filePath, const std::string& content, bool truncated /*= true*/) in SaveStringToFile()
211 if (truncated) { in SaveStringToFile()
331 bool SaveBufferToFile(const string& filePath, const vector<char>& content, bool truncated /*= true*/) in SaveBufferToFile()
339 uint32_t mode = truncated ? (ios::out | ios::binary | ios::trunc) : (ios::out | ios::binary | ios::app); in SaveBufferToFile()
/commonlibrary/c_utils/base/test/benchmarktest/mapped_benchmark_test/
H A Dmapped_benchmark_test.cpp100 bool SaveStringToFile(const std::string& filePath, const std::string& content, off_t offset, bool truncated /*= true*/) in SaveStringToFile()
108 if (truncated) { in SaveStringToFile()
/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_mapped_file_test.cpp88 bool SaveStringToFile(const std::string& filePath, const std::string& content, off_t offset, bool truncated /*= true*/) in SaveStringToFile()
95 if (truncated) { in SaveStringToFile()

Completed in 9 milliseconds