Home
last modified time | relevance | path

Searched refs:readFile (Results 1 – 5 of 5) sorted by relevance

/base/update/updateservice/services/core/ability/adapter/src/
Dconfig_parse.cpp50 std::ifstream readFile; in LoadConfigInfo() local
51 readFile.open(Constant::DUPDATE_ENGINE_CONFIG_PATH); in LoadConfigInfo()
52 if (readFile.fail()) { in LoadConfigInfo()
57 streambuffer << readFile.rdbuf(); in LoadConfigInfo()
59 readFile.close(); in LoadConfigInfo()
/base/update/updateservice/services/core/ability/utils/src/
Dfile_utils.cpp206 std::ifstream readFile; in ReadDataFromFile() local
207 readFile.open(filePath); in ReadDataFromFile()
208 if (readFile.fail()) { in ReadDataFromFile()
213 streamBuffer << readFile.rdbuf(); in ReadDataFromFile()
215 readFile.close(); in ReadDataFromFile()
/base/hiviewdfx/faultloggerd/test/utils/
Ddfx_test_util.cpp115 std::ifstream readFile; in CountLines() local
116 readFile.open(fileName.c_str(), std::ios::in); in CountLines()
117 if (readFile.fail()) { in CountLines()
122 while (getline(readFile, tmpuseValue, '\n')) { in CountLines()
125 readFile.close(); in CountLines()
/base/account/os_account/tools/acm/src/
Daccount_command.cpp691 std::ifstream readFile; in GetDisallowedListByPath() local
692 readFile.open(path.c_str(), std::ios::in); in GetDisallowedListByPath()
693 if (!readFile.is_open()) { in GetDisallowedListByPath()
698 while (getline(readFile, str)) { in GetDisallowedListByPath()
702 readFile.close(); in GetDisallowedListByPath()
/base/useriam/face_auth/ui/Settings_FaceAuth/hvigor/
Dhvigor-wrapper.js16readFile;e.readFile=function(e,n,r){"function"==typeof n&&(r=n,n=null);return function e(n,r,u,o){… property
17readFile:function(e,t,n){null==n&&(n=t,t={}),"string"==typeof t&&(t={encoding:t});var r=(t=t||{}).… method