Lines Matching refs:realPath
141 std::string realPath = GetRealPath(options.filePath, errCode);
142 if (realPath == "" || errCode != E_OK) {
147 auto it = prefsCache_.find(realPath);
158 const_cast<Options &>(options).filePath = realPath;
159 std::string::size_type pos = realPath.find_last_of('/');
160 std::string filePath = realPath.substr(0, pos);
162 LOG_ERROR("The path is invalid, prefName is %{public}s.", ExtractFileName(realPath).c_str());
185 prefsCache_.insert({realPath, {pref, isEnhancePreferences}});
192 std::string realPath = GetRealPath(path, errCode);
193 if (realPath == "" || errCode != E_OK) {
200 std::map<std::string, std::pair<std::shared_ptr<Preferences>, bool>>::iterator it = prefsCache_.find(realPath);
220 std::string filePath = realPath.c_str();
246 std::string realPath = GetRealPath(path, errCode);
247 if (realPath == "" || errCode != E_OK) {
252 std::map<std::string, std::pair<std::shared_ptr<Preferences>, bool>>::iterator it = prefsCache_.find(realPath);