Home
last modified time | relevance | path

Searched refs:filePath (Results 1 - 6 of 6) sorted by relevance

/commonlibrary/c_utils/base/include/
H A Dfile_ex.h41 bool RustLoadStringFromFile(const rust::String& filePath, rust::String& content);
43 bool RustLoadBufferFromFile(const rust::String& filePath, rust::vec<char>& content);
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);
55 * @param filePath Indicates the path of the target file.
62 bool LoadStringFromFile(const std::string& filePath, std::string& content);
68 * @param filePath Indicates the path of the target file.
74 bool SaveStringToFile(const std::string& filePath, const std::string& content, bool truncated = true);
103 * @param filePath Indicates the path of the target file.
109 bool LoadBufferFromFile(const std::string& filePath, st
[all...]
/commonlibrary/c_utils/base/src/
H A Dfile_ex.cpp36 bool RustLoadStringFromFile(const rust::String& filePath, rust::String& content) in RustLoadStringFromFile() argument
38 std::string tmpPath(filePath); in RustLoadStringFromFile()
57 bool RustLoadBufferFromFile(const rust::String& filePath, rust::vec<char>& content) in RustLoadBufferFromFile() argument
59 std::string tmpPath(filePath); in RustLoadBufferFromFile()
68 bool RustSaveBufferToFile(const rust::String& filePath, const rust::vec<char>& content, bool truncated) in RustSaveBufferToFile() argument
70 std::string tmpPath(filePath); in RustSaveBufferToFile()
75 bool RustSaveStringToFile(const rust::String& filePath, const rust::String& content, bool truncated) in RustSaveStringToFile() argument
77 std::string tmpPath(filePath); in RustSaveStringToFile()
110 bool LoadStringFromFile(const string& filePath, string& content) in LoadStringFromFile() argument
112 ifstream file(filePath in LoadStringFromFile()
203 SaveStringToFile(const std::string& filePath, const std::string& content, bool truncated ) SaveStringToFile() argument
258 LoadBufferFromNodeFile(const string& filePath, vector<char>& content) LoadBufferFromNodeFile() argument
294 LoadBufferFromFile(const string& filePath, vector<char>& content) LoadBufferFromFile() argument
331 SaveBufferToFile(const string& filePath, const vector<char>& content, bool truncated ) SaveBufferToFile() argument
[all...]
/commonlibrary/c_utils/base/src/rust/
H A Dfile_ex.rs24 pub fn RustLoadStringFromFile(filePath: &String, content: &mut String) -> bool; in RustLoadStringFromFile()
27 pub fn RustSaveStringToFile(filePath: &String, content: &String, truncated: bool) -> bool; in RustSaveStringToFile()
36 pub fn RustLoadBufferFromFile(filePath: &String, content: &mut Vec<c_char>) -> bool; in RustLoadBufferFromFile()
40 filePath: &String, in RustSaveBufferToFile()
/commonlibrary/ets_utils/js_sys_module/dfx/
H A Dnative_module_dfx.cpp113 std::string filePath = tempStr; in StopHeapTracking() local
115 auto stopResult = engine->StopHeapTracking(filePath); in StopHeapTracking()
/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() argument
109 file.open(filePath.c_str(), std::ios::out | std::ios::trunc); in SaveStringToFile()
111 file.open(filePath.c_str(), std::ios::out | std::ios::app); 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() argument
96 file.open(filePath.c_str(), std::ios::out | std::ios::trunc); in SaveStringToFile()
98 file.open(filePath.c_str(), std::ios::out | std::ios::app); in SaveStringToFile()

Completed in 7 milliseconds