/dports/graphics/krita/krita-4.4.8/libs/store/ |
H A D | KoQuaZipStore.cpp | 179 QString fixedPath = name; in openWrite() local 180 fixedPath.replace("//", "/"); in openWrite() 205 QString fixedPath = name; in openRead() local 206 fixedPath.replace("//", "/"); in openRead() 214 fixedPath = currentPath() + '/' + fixedPath; in openRead() 218 fixedPath = fixedPath.replace(d->substituteThis, d->substituteWith); in openRead() 265 QString fixedPath = path; in enterAbsoluteDirectory() local 268 if (fixedPath.isEmpty()) { in enterAbsoluteDirectory() 269 fixedPath = "/"; in enterAbsoluteDirectory() 281 QString fixedPath = absPath; in fileExists() local [all …]
|
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/Source/iop/ioman/ |
H A D | OpticalMediaDevice.cpp | 22 auto fixedPath = path; in RemoveExtraVersionSpecifiers() local 23 auto semiColonPos = fixedPath.find(';'); in RemoveExtraVersionSpecifiers() 26 auto nextSemiColonPos = fixedPath.find(';', semiColonPos + 1); in RemoveExtraVersionSpecifiers() 29 fixedPath = std::string(std::begin(fixedPath), std::begin(fixedPath) + nextSemiColonPos); in RemoveExtraVersionSpecifiers() 32 return fixedPath; in RemoveExtraVersionSpecifiers()
|
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/share/qtcreator/qml/qmlpuppet/qmlprivategate/ |
H A D | qmlprivategate_56.cpp | 223 QString fixedPath = path; in fixResourcePaths() local 225 if (QFileInfo::exists(fixedPath)) { in fixResourcePaths() 228 return QUrl::fromLocalFile(fixedPath); in fixResourcePaths() 243 QString fixedPath = str; in fixResourcePaths() local 245 if (QFileInfo::exists(fixedPath)) { in fixResourcePaths() 566 QString fixedPath = fileName; in create() local 569 if (fileName == fixedPath) in create() 572 if (QFileInfo::exists(fixedPath)) { in create() 573 fixedPath.replace("//", "/"); in create() 574 fixedPath.replace('\\', '/'); in create() [all …]
|
H A D | qmlprivategate.cpp | 396 QString fixedPath = path; in fixResourcePaths() local 397 …fixedPath.replace(QLatin1String("qrc:") + qrcDefintion.first(), qrcDefintion.last() + QLatin1Char(… in fixResourcePaths() 398 if (QFileInfo::exists(fixedPath)) { in fixResourcePaths() 399 fixedPath.replace(QLatin1String("//"), QLatin1String("/")); in fixResourcePaths() 400 fixedPath.replace(QLatin1Char('\\'), QLatin1Char('/')); in fixResourcePaths() 401 return QUrl::fromLocalFile(fixedPath); in fixResourcePaths() 416 QString fixedPath = str; in fixResourcePaths() local 418 if (QFileInfo::exists(fixedPath)) { in fixResourcePaths() 419 fixedPath.replace(QLatin1String("//"), QLatin1String("/")); in fixResourcePaths() 420 fixedPath.replace(QLatin1Char('\\'), QLatin1Char('/')); in fixResourcePaths() [all …]
|
/dports/editors/calligra/calligra-3.2.1/filters/libmsooxml/ |
H A D | MsooXmlRelationshipsReader.cpp | 158 QString fixedPath(m_context->path); in read_Relationship() 162 fixedPath.truncate(fixedPath.lastIndexOf('/')); in read_Relationship() 169 m_context->rels->insert(d->pathAndFile + Id, fixedPath + '/' + Target); in read_Relationship() 171 …rTypes->insert(targetKey(m_context->path + '/' + m_context->file, Type), fixedPath + '/' + Target); in read_Relationship()
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Urho3D/Resource/ |
H A D | ResourceCache.cpp | 120 resourceDirs_.Insert(priority, fixedPath); in AddResourceDir() 122 resourceDirs_.Push(fixedPath); in AddResourceDir() 128 watcher->StartWatching(fixedPath, true); in AddResourceDir() 807 String fixedPath = AddTrailingSlash(path); in GetPreferredResourceDir() local 835 fixedPath = parentPath; in GetPreferredResourceDir() 838 return fixedPath; in GetPreferredResourceDir() 874 String fixedPath = AddTrailingSlash(nameIn); in SanitateResourceDirName() local 875 if (!IsAbsolutePath(fixedPath)) in SanitateResourceDirName() 876 fixedPath = GetSubsystem<FileSystem>()->GetCurrentDir() + fixedPath; in SanitateResourceDirName() 879 fixedPath.Replace("/./", "/"); in SanitateResourceDirName() [all …]
|
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/plugins/coreplugin/editormanager/ |
H A D | documentmodel.cpp | 134 if (!fixedPath.isEmpty()) in addEntry() 135 m_entryByFixedPath[fixedPath] = entry; in addEntry() 233 const int index = m_entries.indexOf(m_entryByFixedPath.value(fixedPath)); in indexOfFilePath() 249 const FilePath fixedPath = DocumentManager::filePathKey(entry->fileName(), in removeDocument() local 251 if (!fixedPath.isEmpty()) in removeDocument() 252 m_entryByFixedPath.remove(fixedPath); in removeDocument() 357 if (it.key() != fixedPath) { in itemChanged() 359 if (!fixedPath.isEmpty()) in itemChanged() 360 m_entryByFixedPath[fixedPath] = entry; in itemChanged() 365 if (!found && !fixedPath.isEmpty()) in itemChanged() [all …]
|
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/Source/iop/ |
H A D | Iop_Cdvdfsv.cpp | 542 std::string fixedPath(path); in SearchFile() local 544 auto slashPos = fixedPath.find('\\'); in SearchFile() 547 fixedPath[slashPos] = '/'; in SearchFile() 548 slashPos = fixedPath.find('\\', slashPos + 1); in SearchFile() 556 auto semColCount = std::count(fixedPath.begin(), fixedPath.end(), ';'); in SearchFile() 558 auto semColPos = fixedPath.rfind(';'); in SearchFile() 560 fixedPath = std::string(fixedPath.begin(), fixedPath.begin() + semColPos); in SearchFile() 565 if(!fileSystem->GetFileRecord(&record, fixedPath.c_str())) in SearchFile()
|
/dports/devel/kf5-kio/kio-5.89.0/src/core/ |
H A D | knfsshare.cpp | 180 QString fixedPath = path; in isDirectoryShared() local 181 if (!fixedPath.endsWith(QLatin1Char('/'))) { in isDirectoryShared() 182 fixedPath += QLatin1Char('/'); in isDirectoryShared() 185 return d->sharedPaths.contains(fixedPath); in isDirectoryShared()
|
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Common/ |
H A D | LoadOpenSimLibrary.cpp | 155 const auto fixedPath = IO::FixSlashesInFilePath(exactPath); in LoadOpenSimLibraryExact() local 156 OPENSIM_PORTABLE_HINSTANCE library = LoadLibrary(fixedPath.c_str()); in LoadOpenSimLibraryExact() 159 cout << "Loaded library " << fixedPath << endl; in LoadOpenSimLibraryExact() 164 cout << "Failed to load library " << fixedPath << endl; in LoadOpenSimLibraryExact()
|
H A D | IO.cpp | 108 std::string fixedPath = path; in FixSlashesInFilePath() local 109 for(unsigned int i=0;i<fixedPath.length();i++) { in FixSlashesInFilePath() 111 if(fixedPath[i] == '/') fixedPath[i] = '\\'; in FixSlashesInFilePath() 113 if(fixedPath[i] == '\\') fixedPath[i] = '/'; in FixSlashesInFilePath() 116 return fixedPath; in FixSlashesInFilePath()
|
/dports/games/reminiscence/REminiscence-0.4.9/ |
H A D | file.cpp | 145 char fixedPath[MAXPATHLEN]; in prefixedOpen() local 149 fixedPath[i] = path[i]; in prefixedOpen() 153 if (fixedPath[i] >= 'a' && fixedPath[i] <= 'z') { in prefixedOpen() 154 fixedPath[i] += 'A' - 'a'; in prefixedOpen() 157 fixedPath[i] = 0; in prefixedOpen() 159 _rw = SDL_RWFromFile(fixedPath, "rb"); in prefixedOpen()
|
/dports/audio/cantata/cantata-2.4.2/devices/ |
H A D | umsdevice.cpp | 252 QString fixedPath(audioFolder); in saveOptions() local 254 if (fixedPath.startsWith(path)) { in saveOptions() 255 fixedPath=QLatin1String("./")+fixedPath.mid(path.length()); in saveOptions() 261 if (!fixedPath.isEmpty()) { in saveOptions() 262 out << constMusicFolderKey << '=' << fixedPath << '\n'; in saveOptions()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/onlineupdate/source/service/ |
H A D | serviceinstall.cxx | 253 WCHAR fixedPath[MAX_PATH + 1] = { L'\0' }; in FixServicePath() local 254 wcsncpy(fixedPath, currentServicePath, MAX_PATH); in FixServicePath() 255 PathUnquoteSpacesW(fixedPath); in FixServicePath() 256 if (!PathRemoveFileSpecW(fixedPath)) in FixServicePath() 261 if (!PathAppendSafe(fixedPath, L"maintenanceservice.exe")) in FixServicePath() 266 PathQuoteSpacesW(fixedPath); in FixServicePath() 270 SERVICE_NO_CHANGE, fixedPath, nullptr, nullptr, in FixServicePath() 277 LOG(("Fixed service path to: %ls.", fixedPath)); in FixServicePath()
|
/dports/lang/spidermonkey78/firefox-78.9.0/toolkit/components/maintenanceservice/ |
H A D | serviceinstall.cpp | 216 WCHAR fixedPath[MAX_PATH + 1] = {L'\0'}; in FixServicePath() local 217 wcsncpy(fixedPath, currentServicePath, MAX_PATH); in FixServicePath() 218 PathUnquoteSpacesW(fixedPath); in FixServicePath() 219 if (!PathRemoveFileSpecW(fixedPath)) { in FixServicePath() 223 if (!PathAppendSafe(fixedPath, L"maintenanceservice.exe")) { in FixServicePath() 227 PathQuoteSpacesW(fixedPath); in FixServicePath() 230 SERVICE_NO_CHANGE, fixedPath, nullptr, nullptr, in FixServicePath() 236 LOG(("Fixed service path to: %ls.", fixedPath)); in FixServicePath()
|
/dports/lang/spidermonkey60/firefox-60.9.0/toolkit/components/maintenanceservice/ |
H A D | serviceinstall.cpp | 215 WCHAR fixedPath[MAX_PATH + 1] = {L'\0'}; in FixServicePath() local 216 wcsncpy(fixedPath, currentServicePath, MAX_PATH); in FixServicePath() 217 PathUnquoteSpacesW(fixedPath); in FixServicePath() 218 if (!PathRemoveFileSpecW(fixedPath)) { in FixServicePath() 222 if (!PathAppendSafe(fixedPath, L"maintenanceservice.exe")) { in FixServicePath() 226 PathQuoteSpacesW(fixedPath); in FixServicePath() 229 SERVICE_NO_CHANGE, fixedPath, nullptr, nullptr, in FixServicePath() 235 LOG(("Fixed service path to: %ls.", fixedPath)); in FixServicePath()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/toolkit/components/maintenanceservice/ |
H A D | serviceinstall.cpp | 222 WCHAR fixedPath[MAX_PATH + 1] = { L'\0' }; in FixServicePath() local 223 wcsncpy(fixedPath, currentServicePath, MAX_PATH); in FixServicePath() 224 PathUnquoteSpacesW(fixedPath); in FixServicePath() 225 if (!PathRemoveFileSpecW(fixedPath)) { in FixServicePath() 229 if (!PathAppendSafe(fixedPath, L"maintenanceservice.exe")) { in FixServicePath() 233 PathQuoteSpacesW(fixedPath); in FixServicePath() 237 SERVICE_NO_CHANGE, fixedPath, nullptr, nullptr, in FixServicePath() 243 LOG(("Fixed service path to: %ls.", fixedPath)); in FixServicePath()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/onlineupdate/source/service/ |
H A D | serviceinstall.cxx | 253 WCHAR fixedPath[MAX_PATH + 1] = { L'\0' }; in FixServicePath() local 254 wcsncpy(fixedPath, currentServicePath, MAX_PATH); in FixServicePath() 255 PathUnquoteSpacesW(fixedPath); in FixServicePath() 256 if (!PathRemoveFileSpecW(fixedPath)) in FixServicePath() 261 if (!PathAppendSafe(fixedPath, L"maintenanceservice.exe")) in FixServicePath() 266 PathQuoteSpacesW(fixedPath); in FixServicePath() 270 SERVICE_NO_CHANGE, fixedPath, nullptr, nullptr, in FixServicePath() 277 LOG(("Fixed service path to: %ls.", fixedPath)); in FixServicePath()
|
/dports/www/firefox/firefox-99.0/toolkit/components/maintenanceservice/ |
H A D | serviceinstall.cpp | 218 WCHAR fixedPath[MAX_PATH + 1] = {L'\0'}; in FixServicePath() local 219 wcsncpy(fixedPath, currentServicePath, MAX_PATH); in FixServicePath() 220 PathUnquoteSpacesW(fixedPath); in FixServicePath() 221 if (!PathRemoveFileSpecW(fixedPath)) { in FixServicePath() 225 if (!PathAppendSafe(fixedPath, L"maintenanceservice.exe")) { in FixServicePath() 229 PathQuoteSpacesW(fixedPath); in FixServicePath() 232 SERVICE_NO_CHANGE, fixedPath, nullptr, nullptr, in FixServicePath() 238 LOG(("Fixed service path to: %ls.", fixedPath)); in FixServicePath()
|
/dports/mail/thunderbird/thunderbird-91.8.0/toolkit/components/maintenanceservice/ |
H A D | serviceinstall.cpp | 218 WCHAR fixedPath[MAX_PATH + 1] = {L'\0'}; in FixServicePath() local 219 wcsncpy(fixedPath, currentServicePath, MAX_PATH); in FixServicePath() 220 PathUnquoteSpacesW(fixedPath); in FixServicePath() 221 if (!PathRemoveFileSpecW(fixedPath)) { in FixServicePath() 225 if (!PathAppendSafe(fixedPath, L"maintenanceservice.exe")) { in FixServicePath() 229 PathQuoteSpacesW(fixedPath); in FixServicePath() 232 SERVICE_NO_CHANGE, fixedPath, nullptr, nullptr, in FixServicePath() 238 LOG(("Fixed service path to: %ls.", fixedPath)); in FixServicePath()
|
/dports/www/firefox-esr/firefox-91.8.0/toolkit/components/maintenanceservice/ |
H A D | serviceinstall.cpp | 218 WCHAR fixedPath[MAX_PATH + 1] = {L'\0'}; in FixServicePath() local 219 wcsncpy(fixedPath, currentServicePath, MAX_PATH); in FixServicePath() 220 PathUnquoteSpacesW(fixedPath); in FixServicePath() 221 if (!PathRemoveFileSpecW(fixedPath)) { in FixServicePath() 225 if (!PathAppendSafe(fixedPath, L"maintenanceservice.exe")) { in FixServicePath() 229 PathQuoteSpacesW(fixedPath); in FixServicePath() 232 SERVICE_NO_CHANGE, fixedPath, nullptr, nullptr, in FixServicePath() 238 LOG(("Fixed service path to: %ls.", fixedPath)); in FixServicePath()
|
/dports/games/py-fife/fifengine-0.4.2/engine/core/vfs/zip/ |
H A D | zipsource.cpp | 193 bfs::path fixedPath(path); in listFiles() local 195 ZipNode* node = m_zipTree.getNode(fixedPath.string()); in listFiles() 212 bfs::path fixedPath(path); in listDirectories() local 214 ZipNode* node = m_zipTree.getNode(fixedPath.string()); in listDirectories()
|
/dports/games/widelands/widelands-build21/src/io/filesystem/ |
H A D | filesystem.cc | 170 std::string fixedPath(path); local 176 fixedPath.at(i) = '-'; 181 fixedPath.at(i) = file_separator(); 189 fixedPath.at(i) = '_'; 195 fixedPath.at(i) = '_'; 199 return fixedPath;
|
/dports/games/scummvm-tools/scummvm-tools-2.5.0/common/ |
H A D | file.cpp | 128 std::string fixedPath = fixPathCase(_path); in exists() local 257 std::string fixedPath = fixPathCase(filepath.getFullPath()); in open() local 258 _file = fopen(fixedPath.c_str(), mode); in open() 548 std::string fixedPath = fixPathCase(path); in isDirectory() local 549 return stat(fixedPath.c_str(), &st) == 0 && S_ISDIR(st.st_mode); in isDirectory()
|
/dports/devel/RStudio/rstudio-2021.09.1-372/src/cpp/r/ |
H A D | RUtil.cpp | 83 std::string fixedPath(path); in fixPath() local 84 boost::algorithm::replace_all(fixedPath, "//", "/"); in fixPath() 85 return fixedPath; in fixPath()
|