Searched refs:truncated (Results 1 - 6 of 6) sorted by relevance
/foundation/distributeddatamgr/relational_store/rdbmock/frameworks/native/rdb/ |
H A D | file_ex.h | 22 static bool SaveBufferToFile(const std::string& filePath, const std::vector<char>& content, bool truncated = true) in SaveBufferToFile()
|
/foundation/ai/intelligent_voice_framework/llt/hdt/depend_libs/src/ |
H A D | file_ex.cpp | 128 bool SaveStringToFile(const std::string& filePath, const std::string& content, bool truncated /* = true */) in SaveStringToFile() 136 if (truncated) { in SaveStringToFile() 253 bool SaveBufferToFile(const string& filePath, const vector<char>& content, bool truncated /* = true */) in SaveBufferToFile() 261 ios_base::openmode mode = truncated ? (ios::out | ios::binary | ios::trunc) : (ios::out | ios::binary | ios::app); in SaveBufferToFile()
|
/foundation/resourceschedule/memmgr/services/memmgrservice/src/reclaim_strategy_manager/ |
H A D | memcg.cpp | 249 inline bool Memcg::WriteToFile_(const std::string& path, const std::string& content, bool truncated) in WriteToFile_() argument 251 std::string op = truncated ? ">" : ">>"; in WriteToFile_() 252 if (!KernelInterface::GetInstance().WriteToFile(path, content, truncated)) { in WriteToFile_()
|
/foundation/resourceschedule/memmgr/common/src/ |
H A D | kernel_interface.cpp | 116 bool KernelInterface::WriteToFile(const std::string& path, const std::string& content, bool truncated) in WriteToFile() argument 132 fd = open(actualPath, O_RDWR | (truncated ? O_TRUNC : O_APPEND)); in WriteToFile() 135 content.c_str(), truncated ? ">" : ">>", path.c_str()); in WriteToFile() 141 content.c_str(), truncated ? ">" : ">>", path.c_str()); in WriteToFile() 148 HILOGD("echo %{public}s %{public}s %{public}s", content.c_str(), truncated ? ">" : ">>", path.c_str()); in WriteToFile()
|
/foundation/resourceschedule/memmgr/services/memmgrservice/include/reclaim_strategy_manager/ |
H A D | memcg.h | 102 bool WriteToFile_(const std::string& path, const std::string& content, bool truncated = true);
|
/foundation/resourceschedule/memmgr/common/include/ |
H A D | kernel_interface.h | 53 bool WriteToFile(const std::string& path, const std::string& content, bool truncated = true);
|
Completed in 4 milliseconds