Home
last modified time | relevance | path

Searched refs:jsonFileStream (Results 1 - 3 of 3) sorted by relevance

/foundation/filemanagement/app_file_service/interfaces/common/src/
H A Djson_utils.cpp27 std::ifstream jsonFileStream; in GetJsonObjFromPath() local
28 jsonFileStream.open(jsonPath.c_str(), std::ios::in); in GetJsonObjFromPath()
29 if (!jsonFileStream.is_open()) { in GetJsonObjFromPath()
36 while (buf && jsonFileStream.get(ch)) { in GetJsonObjFromPath()
39 jsonFileStream.close(); in GetJsonObjFromPath()
/foundation/barrierfree/accessibility/services/test/mock/
H A Dmock_bundle_manager.cpp235 std::ifstream jsonFileStream; in GetResConfigFile() local
236 jsonFileStream.open(ACCESSIBLE_ABILITY_JSON_FILE_PAT, std::ios::in); in GetResConfigFile()
237 if (!jsonFileStream.is_open()) { in GetResConfigFile()
244 while (buf && jsonFileStream.get(ch)) { in GetResConfigFile()
247 jsonFileStream.close(); in GetResConfigFile()
/foundation/systemabilitymgr/samgr/services/common/src/
H A Dparse_util.cpp643 std::ifstream jsonFileStream; in ParseJsonObj() local
644 jsonFileStream.open(jsonPath.c_str(), std::ios::in); in ParseJsonObj()
645 if (!jsonFileStream.is_open()) { in ParseJsonObj()
652 while (buffer && jsonFileStream.get(ch)) { in ParseJsonObj()
657 jsonFileStream.close(); in ParseJsonObj()
662 jsonFileStream.close(); in ParseJsonObj()

Completed in 3 milliseconds