Searched refs:jsonPath (Results 1 - 9 of 9) sorted by relevance
/base/security/appverify/interfaces/innerkits/appverify/src/init/ |
H A D | json_parser_utils.cpp | 27 const std::string& jsonPath, std::string& error)
in ReadTrustedRootCAFromJson() 34 jsonFileStream.open(jsonPath.c_str(), std::ios::in);
in ReadTrustedRootCAFromJson() 26 ReadTrustedRootCAFromJson(cJSON** jsonObj, const std::string& jsonPath, std::string& error) ReadTrustedRootCAFromJson() argument
|
/base/global/resource_management/frameworks/resmgr/src/ |
H A D | theme_pack_resource.cpp | 59 std::string GetResKey(const std::string &jsonPath) in GetResKey() argument 61 auto lastIndex = jsonPath.rfind('/'); in GetResKey() 65 auto secondLastIndex = jsonPath.rfind('/', lastIndex - 1); in GetResKey() 69 auto thirdLastIndex = jsonPath.rfind('/', secondLastIndex - 1); in GetResKey() 77 std::string res = jsonPath.substr(thirdLastIndex + 1, secondLastIndex - thirdLastIndex - 1); in GetResKey() 143 const std::string &jsonPath) in ParseJson() 146 FILE* pf = std::fopen(jsonPath.c_str(), "r"); in ParseJson() 165 auto themeConfig = GetThemeConfig(jsonPath); in ParseJson() 142 ParseJson(const std::string &bundleName, const std::string &moduleName, const std::string &jsonPath) ParseJson() argument
|
/base/security/appverify/interfaces/innerkits/appverify/include/init/ |
H A D | json_parser_utils.h | 33 static bool ReadTrustedRootCAFromJson(cJSON** jsonObj, const std::string& jsonPath, std::string& error);
|
/base/startup/appspawn/util/include/ |
H A D | json_utils.h | 32 cJSON *GetJsonObjFromFile(const char *jsonPath);
|
/base/startup/appspawn/util/src/ |
H A D | appspawn_utils.c | 273 cJSON *GetJsonObjFromFile(const char *jsonPath) in GetJsonObjFromFile() argument 275 APPSPAWN_CHECK_ONLY_EXPER(jsonPath != NULL && *jsonPath != '\0', NULL); in GetJsonObjFromFile() 276 char *buffer = ReadFile(jsonPath); in GetJsonObjFromFile()
|
/base/global/resource_management/frameworks/resmgr/include/ |
H A D | theme_pack_resource.h | 168 void ParseJson(const std::string &bundleName, const std::string &moduleName, const std::string &jsonPath);
|
/base/startup/appspawn/modules/sandbox/ |
H A D | sandbox_utils.h | 131 static bool GetJsonObjFromJson(nlohmann::json &jsonObj, const std::string &jsonPath);
|
H A D | sandbox_utils.cpp | 159 bool JsonUtils::GetJsonObjFromJson(nlohmann::json &jsonObj, const std::string &jsonPath) in GetJsonObjFromJson() argument 161 APPSPAWN_CHECK(jsonPath.length() <= PATH_MAX, return false, "jsonPath is too long"); in GetJsonObjFromJson() 163 jsonFileStream.open(jsonPath.c_str(), std::ios::in); in GetJsonObjFromJson()
|
/base/update/updater/services/ |
H A D | updater_main.cpp | 250 static constexpr auto jsonPath = "/etc/product_cfg.json"; in IsBatteryCapacitySufficient() local 258 JsonNode node { Fs::path { jsonPath }}; in IsBatteryCapacitySufficient()
|
Completed in 9 milliseconds