Searched refs:truncated (Results 1 - 5 of 5) sorted by relevance
/commonlibrary/c_utils/base/include/ |
H A D | file_ex.h | 44 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 D | file_ex.rs | 27 pub fn RustSaveStringToFile(filePath: &String, content: &String, truncated: bool) -> bool; in RustSaveStringToFile() 42 truncated: bool, in RustSaveBufferToFile()
|
/commonlibrary/c_utils/base/src/ |
H A D | file_ex.cpp | 68 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 D | mapped_benchmark_test.cpp | 100 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 D | utils_mapped_file_test.cpp | 88 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