Searched refs:readFile (Results 1 – 5 of 5) sorted by relevance
| /base/update/updateservice/services/core/ability/adapter/src/ |
| D | config_parse.cpp | 50 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/ |
| D | file_utils.cpp | 206 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/ |
| D | dfx_test_util.cpp | 115 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/ |
| D | account_command.cpp | 691 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/ |
| D | hvigor-wrapper.js | 16 …readFile;e.readFile=function(e,n,r){"function"==typeof n&&(r=n,n=null);return function e(n,r,u,o){… property 17 …readFile:function(e,t,n){null==n&&(n=t,t={}),"string"==typeof t&&(t={encoding:t});var r=(t=t||{}).… method
|