Home
last modified time | relevance | path

Searched refs:ReadFileToString (Results 1 – 9 of 9) sorted by relevance

/base/web/webview/test/ohos_nweb/
Dnweb_handler_impl_test_for_intercept.cpp36 bool ReadFileToString(const char* path, std::string& data) in ReadFileToString() function
86 return ReadFileToString(path.c_str(), resource_data); in LoadBinaryResource()
/base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/
Dzip_helper.h48 bool ReadFileToString(const std::string& path, std::string& out);
Dzip_helper.cpp102 bool ReadFileToString(const std::string& path, std::string& out) in ReadFileToString() function
Dasan_collector.cpp264 if (!OHOS::HiviewDFX::ReadFileToString(fullFile, record)) { in ReadRecordToString()
/base/update/updater/utils/include/
Dutils.h60 bool ReadFileToString(int fd, std::string &content);
/base/update/updater/test/unittest/utils/
Dutils_unittest.cpp130 HWTEST_F(UtilsUnitTest, ReadFileToString, TestSize.Level0)
139 EXPECT_EQ(Utils::ReadFileToString(fd, content), true);
144 EXPECT_EQ(Utils::ReadFileToString(writeFd, content), false);
/base/update/updater/services/applypatch/
Dtransfer_manager.cpp143 if (!Utils::ReadFileToString(fd, cmd)) { in ReloadForRetry()
/base/update/updater/test/unittest/applypatch_test/
Dall_cmd_unittest.cpp72 bool rc = Updater::Utils::ReadFileToString(fd, contents); in GetTransferContents()
/base/update/updater/utils/
Dutils.cpp285 bool ReadFileToString(int fd, std::string &content) in ReadFileToString() function