Searched refs:baseRealPath (Results 1 – 3 of 3) sorted by relevance
28 bool CheckFilePathValid(const std::string &path, const std::string &baseRealPath) in CheckFilePathValid() argument35 return (realPath.size() > baseRealPath.size()) && in CheckFilePathValid()36 (baseRealPath.compare(realPath.substr(0, baseRealPath.size())) == 0); in CheckFilePathValid()
346 std::string baseRealPath; in GetConfigFileList() local349 if (JsonUtils::GetRealPath(configDir + relativeConfigPath, baseRealPath) in GetConfigFileList()350 && access(baseRealPath.c_str(), F_OK) == ERR_OK) { in GetConfigFileList()351 STANDBYSERVICE_LOGD("Get valid base config file: %{public}s", baseRealPath.c_str()); in GetConfigFileList()352 configFilesList.emplace_back(baseRealPath); in GetConfigFileList()
221 std::string baseRealPath; in GetAllRealConfigPath() local226 if (!CheckRealPath(std::string(cfgDir) + "/" + configName, baseRealPath)) { in GetAllRealConfigPath()229 configFilePaths.emplace_back(baseRealPath); in GetAllRealConfigPath()