Home
last modified time | relevance | path

Searched refs:cfgFilePath (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/udmf/framework/common/
H A Dcustom_utd_store.cpp69 std::string cfgFilePath = path; in GetTypeCfgs() local
71 cfgFilePath = old_path; in GetTypeCfgs()
73 cfgFilePath.append(UTD_CFG_FILE); in GetTypeCfgs()
74 LOG_DEBUG(UDMF_CLIENT, "get utdcustom from cfg, Path:%{public}s.", cfgFilePath.c_str()); in GetTypeCfgs()
76 std::ifstream fin(cfgFilePath); in GetTypeCfgs()
99 int32_t CustomUtdStore::SavaCfgFile(const std::string &jsonData, const std::string &cfgFilePath) in SavaCfgFile() argument
102 LOG_DEBUG(UDMF_CLIENT, "set cfg start, path:%{public}s ", cfgFilePath.c_str()); in SavaCfgFile()
103 ofs.open(cfgFilePath, 0x02); in SavaCfgFile()
105 LOG_ERROR(UDMF_CLIENT, "open cfg failed, path:%{public}s", cfgFilePath.c_str()); in SavaCfgFile()
H A Dcustom_utd_store.h41 int32_t SavaCfgFile(const std::string &jsonData, const std::string &cfgFilePath);
/ohos5.0/base/web/webview/ohos_nweb/src/
H A Dnweb_config_helper.cpp218 auto cfgFilePath = cfgFiles->paths[i]; in ParseConfig() local
219 if (!cfgFilePath || *(cfgFilePath) == '\0') { in ParseConfig()
222 WVLOG_D("web config file path:%{public}s", cfgFilePath); in ParseConfig()
223 if (!cfgFilePath || strlen(cfgFilePath) == 0 || strlen(cfgFilePath) > PATH_MAX) { in ParseConfig()