Home
last modified time | relevance | path

Searched defs:content (Results 1 – 8 of 8) sorted by relevance

/commonlibrary/c_utils/base/test/unittest/common/
Dutils_file_test.cpp59 bool CreateTestFile(const std::string& path, const std::string& content) in CreateTestFile()
118 string content = NULL_STR; variable
133 string content = CONTENT_STR; variable
148 string content(MAX_FILE_LENGTH, 't'); variable
163 string content(MAX_FILE_LENGTH + 1, 't'); variable
189 string content = NULL_STR; variable
206 string content = CONTENT_STR; variable
223 string content(MAX_FILE_LENGTH, 't'); variable
240 string content(MAX_FILE_LENGTH + 1, 't'); variable
257 string content = CONTENT_STR; variable
[all …]
Dutils_mapped_file_test.cpp71 bool CreateTestFile(const std::string& path, const std::string& content) in CreateTestFile()
88 bool SaveStringToFile(const std::string& filePath, const std::string& content, off_t offset, bool t… in SaveStringToFile()
122 std::string content = "Test for normal use."; variable
312 std::string content = "Test for private use."; variable
355 std::string content = "Test for readonly use."; variable
388 std::string content = "Test for remapping use."; variable
430 std::string content = "Test for default use."; variable
512 std::string content = "Test for default use."; variable
581 std::string content = "Test for remapping use."; variable
638 std::string content = "Test for remapping use."; variable
[all …]
/commonlibrary/c_utils/base/test/unittest/rust/
Drust_utils_file_test.rs78 let content = NULL_STR.to_string(); in test_load_string_from_file_003() localVariable
89 let content = CONTENT_STR.to_string(); in test_load_string_from_file_004() localVariable
100 let content: String = "t".repeat(MAX_FILE_LENGTH); in test_load_string_from_file_005() localVariable
111 let content: String = "t".repeat(MAX_FILE_LENGTH + 1); in test_load_string_from_file_006() localVariable
129 let content = NULL_STR.to_string(); in test_load_string_from_fd_002() localVariable
142 let content = CONTENT_STR.to_string(); in test_load_string_from_fd_003() localVariable
155 let content: String = "t".repeat(MAX_FILE_LENGTH); in test_load_string_from_fd_004() localVariable
168 let content: String = "t".repeat(MAX_FILE_LENGTH + 1); in test_load_string_from_fd_005() localVariable
181 let content = CONTENT_STR.to_string(); in test_load_string_from_fd_006() localVariable
196 let content = CONTENT_STR.to_string(); in test_save_string_to_file_001() localVariable
[all …]
/commonlibrary/c_utils/base/src/
Dfile_ex.cpp36 bool RustLoadStringFromFile(const rust::String& filePath, rust::String& content) in RustLoadStringFromFile()
47 bool RustLoadStringFromFd(int fd, rust::String& content) in RustLoadStringFromFd()
57 bool RustLoadBufferFromFile(const rust::String& filePath, rust::vec<char>& content) in RustLoadBufferFromFile()
68 bool RustSaveBufferToFile(const rust::String& filePath, const rust::vec<char>& content, bool trunca… in RustSaveBufferToFile()
75 bool RustSaveStringToFile(const rust::String& filePath, const rust::String& content, bool truncated) in RustSaveStringToFile()
82 bool RustSaveStringToFd(int fd, const rust::String& content) in RustSaveStringToFd()
110 bool LoadStringFromFile(const string& filePath, string& content) in LoadStringFromFile()
149 bool LoadStringFromFdToFile(int fd, string& content) in LoadStringFromFdToFile()
164 bool LoadStringFromFd(int fd, string& content) in LoadStringFromFd()
203 bool SaveStringToFile(const std::string& filePath, const std::string& content, bool truncated /*= t… in SaveStringToFile()
[all …]
/commonlibrary/ets_utils/js_sys_module/console/
Dconsole.cpp48 void Console::LogPrint(LogLevel level, const char* content) in LogPrint()
126 std::vector<std::string> content; in MakeLogContent() local
182 std::string content; in ConsoleLog() local
265 char* content = Helper::NapiHelper::GetString(env, transValue); in Dir() local
690 … std::string content = MakeLogContent(env, info, argc, 1, false); // startInx = 1, format = false; in TimeLog() local
720 std::string content; in Trace() local
754 std::string content = "Assertion failed"; in Assert() local
/commonlibrary/memory_utils/libmeminfo/src/
Dmeminfo.cpp83 std::string content; in GetPssByPid() local
/commonlibrary/rust/ylong_http/ylong_http/src/body/
Dchunk.rs1520 let content = data_message(); in ut_chunk_body_encode_trailer_0() localVariable
1540 let content = data_message(); in ut_chunk_body_encode_0() localVariable
1561 let content = data_message(); in ut_chunk_body_encode_1() localVariable
1583 let content = data_message(); in ut_asnyc_chunk_body_encode_0() localVariable
1607 let content = data_message(); in ut_asnyc_chunk_body_encode_1() localVariable
/commonlibrary/rust/ylong_http/ylong_http/src/
Dheaders.rs383 let mut content = Vec::new(); in to_str() localVariable
395 let mut content = Vec::new(); in to_vec() localVariable