/dports/deskutils/phpicalendar/phpicalendar-2.4/ |
H A D | caldav.php | 40 while (isset($absolutePath)) { 41 if (is_dir($absolutePath)) { 54 $dirs[] = $absolutePath; 56 unlink($absolutePath); 63 while (isset($absolutePath)) { 64 rmdir($absolutePath); 89 if (is_file($absolutePath)) { 92 $stat = stat($absolutePath); 163 $stat = stat($absolutePath); 168 if (is_dir($absolutePath)) { [all …]
|
/dports/www/ilias/ILIAS-5.4.25/Services/WebServices/RPC/lib/src/de/ilias/services/object/ |
H A D | ObjectDefinitionReader.java | 53 File absolutePath; field in ObjectDefinitionReader 59 private ObjectDefinitionReader(File absolutePath) throws ConfigurationException { in ObjectDefinitionReader() argument 60 this.absolutePath = absolutePath; in ObjectDefinitionReader() 72 if(instances.containsKey(absolutePath)) { in getInstance() 74 return instances.get(absolutePath); in getInstance() 76 instances.put(absolutePath, new ObjectDefinitionReader(absolutePath)); in getInstance() 77 return instances.get(absolutePath); in getInstance() 84 return absolutePath; in getAbsolutePath() 91 public void setAbsolutePath(File absolutePath) { in setAbsolutePath() argument 92 this.absolutePath = absolutePath; in setAbsolutePath() [all …]
|
H A D | ObjectDefinitions.java | 42 private File absolutePath; field in ObjectDefinitions 49 public ObjectDefinitions(File absolutePath) { in ObjectDefinitions() argument 51 this.setAbsolutePath(absolutePath); in ObjectDefinitions() 59 public static synchronized ObjectDefinitions getInstance(File absolutePath) { in getInstance() argument 61 if(instances.containsKey(absolutePath)) { in getInstance() 62 return instances.get(absolutePath); in getInstance() 64 instances.put(absolutePath, new ObjectDefinitions(absolutePath)); in getInstance() 65 return instances.get(absolutePath); in getInstance() 79 public void setAbsolutePath(File absolutePath) { in setAbsolutePath() argument 80 this.absolutePath = absolutePath; in setAbsolutePath() [all …]
|
/dports/www/ilias6/ILIAS-6.14/Services/WebServices/RPC/lib/src/de/ilias/services/object/ |
H A D | ObjectDefinitionReader.java | 54 File absolutePath; field in ObjectDefinitionReader 60 private ObjectDefinitionReader(File absolutePath) throws ConfigurationException { in ObjectDefinitionReader() argument 61 this.absolutePath = absolutePath; in ObjectDefinitionReader() 73 if(instances.containsKey(absolutePath)) { in getInstance() 75 return instances.get(absolutePath); in getInstance() 77 instances.put(absolutePath, new ObjectDefinitionReader(absolutePath)); in getInstance() 78 return instances.get(absolutePath); in getInstance() 85 return absolutePath; in getAbsolutePath() 92 public void setAbsolutePath(File absolutePath) { in setAbsolutePath() argument 93 this.absolutePath = absolutePath; in setAbsolutePath() [all …]
|
H A D | ObjectDefinitions.java | 43 private File absolutePath; field in ObjectDefinitions 50 public ObjectDefinitions(File absolutePath) { in ObjectDefinitions() argument 52 this.setAbsolutePath(absolutePath); in ObjectDefinitions() 60 public static synchronized ObjectDefinitions getInstance(File absolutePath) { in getInstance() argument 62 if(instances.containsKey(absolutePath)) { in getInstance() 63 return instances.get(absolutePath); in getInstance() 65 instances.put(absolutePath, new ObjectDefinitions(absolutePath)); in getInstance() 66 return instances.get(absolutePath); in getInstance() 80 public void setAbsolutePath(File absolutePath) { in setAbsolutePath() argument 81 this.absolutePath = absolutePath; in setAbsolutePath() [all …]
|
/dports/x11-fm/dolphin/dolphin-21.12.3/src/tests/ |
H A D | testdir.cpp | 47 QString absolutePath = path; in createFile() local 50 QFile f(absolutePath); in createFile() 56 setTimeStamp(absolutePath, time); in createFile() 59 Q_ASSERT(QFile::exists(absolutePath)); in createFile() 71 QString absolutePath = path; in createDir() local 76 setTimeStamp(absolutePath, time); in createDir() 79 Q_ASSERT(QFile::exists(absolutePath)); in createDir() 91 QString absolutePath = path; in removeFile() local 92 QFileInfo fileInfo(absolutePath); in removeFile() 96 QFile::remove(absolutePath); in removeFile() [all …]
|
/dports/net/kea/kea-2.0.1/src/lib/util/tests/ |
H A D | pid_file_unittest.cc | 35 static std::string absolutePath(const std::string& filename); 74 PIDFileTest::absolutePath(const std::string& filename) { in absolutePath() function in __anond6c287770111::PIDFileTest 88 PIDFile pid_file(absolutePath(TESTNAME)); in TEST_F() 96 fs.open(absolutePath(TESTNAME).c_str(), std::ifstream::in); in TEST_F() 125 PIDFile pid_file(absolutePath(TESTNAME)); in TEST_F() 142 PIDFile pid_file(absolutePath(TESTNAME)); in TEST_F() 171 PIDFile pid_file(absolutePath(TESTNAME)); in TEST_F() 185 PIDFile pid_file(absolutePath(TESTNAME)); in TEST_F() 190 chmod(absolutePath(TESTNAME).c_str(), S_IRUSR); in TEST_F() 196 chmod(absolutePath(TESTNAME).c_str(), S_IRUSR | S_IWUSR); in TEST_F() [all …]
|
/dports/net/nitroshare/nitroshare-desktop-0.3.4-642-g2046ccb/deps/qhttpengine/src/src/ |
H A D | filesystemhandler.cpp | 59 bool FilesystemHandlerPrivate::absolutePath(const QString &path, QString &absolutePath) in absolutePath() function in FilesystemHandlerPrivate 62 absolutePath = documentRoot.absoluteFilePath(path); in absolutePath() 70 QByteArray FilesystemHandlerPrivate::mimeType(const QString &absolutePath) in mimeType() argument 73 return database.mimeTypeForFile(absolutePath).name().toUtf8(); in mimeType() 79 QFile *file = new QFile(absolutePath); in processFile() 126 socket->setHeader("Content-Type", mimeType(absolutePath)); in processFile() 187 QString absolutePath; in process() local 188 if (!d->absolutePath(decodedPath, absolutePath)) { in process() 193 if (QFileInfo(absolutePath).isDir()) { in process() 194 d->processDirectory(socket, decodedPath, absolutePath); in process() [all …]
|
/dports/www/qhttpengine/qhttpengine-1.0.1-5-g43f55df/src/src/ |
H A D | filesystemhandler.cpp | 59 bool FilesystemHandlerPrivate::absolutePath(const QString &path, QString &absolutePath) in absolutePath() argument 62 absolutePath = documentRoot.absoluteFilePath(path); in absolutePath() 70 QByteArray FilesystemHandlerPrivate::mimeType(const QString &absolutePath) in mimeType() argument 73 return database.mimeTypeForFile(absolutePath).name().toUtf8(); in mimeType() 79 QFile *file = new QFile(absolutePath); in processFile() 126 socket->setHeader("Content-Type", mimeType(absolutePath)); in processFile() 187 QString absolutePath; in process() local 188 if (!d->absolutePath(decodedPath, absolutePath)) { in process() 193 if (QFileInfo(absolutePath).isDir()) { in process() 194 d->processDirectory(socket, decodedPath, absolutePath); in process() [all …]
|
/dports/devel/py-opengrok-tools/opengrok-1.3.16/opengrok-indexer/src/main/java/org/opengrok/indexer/index/ |
H A D | PendingFileDeletion.java | 30 private final String absolutePath; field in PendingFileDeletion 32 public PendingFileDeletion(String absolutePath) { in PendingFileDeletion() argument 33 this.absolutePath = absolutePath; in PendingFileDeletion() 40 return absolutePath; in getAbsolutePath() 55 return this.absolutePath.equals(other.absolutePath); in equals() 60 return this.absolutePath.hashCode(); in hashCode()
|
H A D | PendingFileRenaming.java | 30 private final String absolutePath; field in PendingFileRenaming 33 public PendingFileRenaming(String absolutePath, String transientPath) { in PendingFileRenaming() argument 34 this.absolutePath = absolutePath; in PendingFileRenaming() 42 return absolutePath; in getAbsolutePath() 64 return this.absolutePath.equals(other.absolutePath); in equals() 69 return this.absolutePath.hashCode(); in hashCode()
|
/dports/science/massxpert/massxpert-c229f4a1abde3c20b83a90e50f9c5d79104dfa5f/lib/ |
H A D | configSettings.cpp | 193 m_systemDataDir = dir.absolutePath(); in initializeSystemConfig() 199 dir.setPath(dir.absolutePath() + in initializeSystemConfig() 211 QString filePath = dir.absolutePath() + in initializeSystemConfig() 241 filePath = QString(dir.absolutePath() + in initializeSystemConfig() 248 m_systemLocalizationDir = dir.absolutePath(); in initializeSystemConfig() 300 if(!dir.mkpath(dir.absolutePath())) in initializeUserConfig() 303 << "Directory" << dir.absolutePath() in initializeUserConfig() 317 m_userDataDir = dir.absolutePath(); in initializeUserConfig() 323 if(!dir.mkpath(dir.absolutePath())) in initializeUserConfig() 326 << "Directory" << dir.absolutePath() in initializeUserConfig() [all …]
|
/dports/net/x2goclient/x2goclient-4.1.2.2/src/ |
H A D | pulsemanager.cpp | 236 QString clean_pulse_dir = pulse_dir_.absolutePath (); in start_generic() 619 QString clean_pulse_dir = pulse_dir_.absolutePath (); in generate_server_config() 720 QDir machine_dir (pulse_dir_.absolutePath () + "/.pulse/" in cleanup_client_dir() 723 if (QFile::exists (machine_dir.absolutePath () + "/pid")) in cleanup_client_dir() 724 QFile::remove (machine_dir.absolutePath () + "/pid"); in cleanup_client_dir() 727 machine_dir.remove (machine_dir.absolutePath ()); in cleanup_client_dir() 735 machine_dir.mkpath (machine_dir.absolutePath ()); in create_client_dir() 738 QFile::remove (machine_dir.absolutePath () + "/pid"); in create_client_dir() 797 work_dir.remove (pulse_dir_.absolutePath () in slot_on_pulse_finished() 799 work_dir.rmdir (pulse_dir_.absolutePath () in slot_on_pulse_finished() [all …]
|
/dports/devel/libzookeeper/apache-zookeeper-3.7.0/zookeeper-server/src/test/java/org/apache/zookeeper/ |
H A D | ZKUtilTest.java | 44 String absolutePath = file.getAbsolutePath(); in testValidateFileInput() local 45 String error = ZKUtil.validateFileInput(absolutePath); in testValidateFileInput() 53 String absolutePath = file.getAbsolutePath(); in testValidateFileInputNotExist() local 54 String error = ZKUtil.validateFileInput(absolutePath); in testValidateFileInputNotExist() 56 String expectedMessage = "File '" + absolutePath + "' does not exist."; in testValidateFileInputNotExist() 67 String absolutePath = file.getAbsolutePath(); in testValidateFileInputDirectory() local 68 String error = ZKUtil.validateFileInput(absolutePath); in testValidateFileInputDirectory() 70 String expectedMessage = "'" + absolutePath + "' is a direcory. it must be a file."; in testValidateFileInputDirectory() 81 String absolutePath = file.getAbsolutePath(); in testUnreadableFileInput() local 82 String error = ZKUtil.validateFileInput(absolutePath); in testUnreadableFileInput() [all …]
|
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/testunits/module_BASE/ |
H A D | DirTestSuite.h | 83 TS_ASSERT_EQUALS(gum::Directory("./").absolutePath(), in testAbsolutePath() 84 gum::Directory("../dir/").absolutePath()); in testAbsolutePath() 85 TS_ASSERT(gum::Directory("/usr/").absolutePath() in testAbsolutePath() 86 == gum::Directory("/usr/../usr/").absolutePath()); in testAbsolutePath() 87 TS_ASSERT(gum::Directory("./dir1/").absolutePath() in testAbsolutePath() 89 TS_ASSERT(gum::Directory("./dir1/").absolutePath() in testAbsolutePath() 90 != gum::Directory("./dir2/").absolutePath()); in testAbsolutePath() 91 TS_ASSERT(gum::Directory("./dir1/").absolutePath() in testAbsolutePath() 156 TS_ASSERT(gum::Directory("./").parent().absolutePath() in testParent() 158 TS_ASSERT(gum::Directory("./").parent().absolutePath() in testParent() [all …]
|
/dports/lang/gcc6-aux/gcc-6-20180516/libjava/classpath/gnu/java/util/prefs/ |
H A D | GConfBasedPreferences.java | 131 String absolutePath = this.absolutePath(); in GConfBasedPreferences() local 132 if (absolutePath != null && absolutePath.endsWith("/")) in GConfBasedPreferences() 134 absolutePath = absolutePath.substring(0, absolutePath.length() - 1); in GConfBasedPreferences() 139 int index = absolutePath.lastIndexOf('/'); in GConfBasedPreferences() 142 absolutePath = absolutePath.substring(0, index + 1); in GConfBasedPreferences() 143 absolutePath = absolutePath + GConfNativePeer.escapeString(name); in GConfBasedPreferences() 146 this.node = this.getRealRoot(isUser) + absolutePath; in GConfBasedPreferences()
|
/dports/lang/gcc48/gcc-4.8.5/libjava/classpath/gnu/java/util/prefs/ |
H A D | GConfBasedPreferences.java | 131 String absolutePath = this.absolutePath(); in GConfBasedPreferences() local 132 if (absolutePath != null && absolutePath.endsWith("/")) in GConfBasedPreferences() 134 absolutePath = absolutePath.substring(0, absolutePath.length() - 1); in GConfBasedPreferences() 139 int index = absolutePath.lastIndexOf('/'); in GConfBasedPreferences() 142 absolutePath = absolutePath.substring(0, index + 1); in GConfBasedPreferences() 143 absolutePath = absolutePath + GConfNativePeer.escapeString(name); in GConfBasedPreferences() 146 this.node = this.getRealRoot(isUser) + absolutePath; in GConfBasedPreferences()
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libjava/classpath/gnu/java/util/prefs/ |
H A D | GConfBasedPreferences.java | 131 String absolutePath = this.absolutePath(); in GConfBasedPreferences() local 132 if (absolutePath != null && absolutePath.endsWith("/")) in GConfBasedPreferences() 134 absolutePath = absolutePath.substring(0, absolutePath.length() - 1); in GConfBasedPreferences() 139 int index = absolutePath.lastIndexOf('/'); in GConfBasedPreferences() 142 absolutePath = absolutePath.substring(0, index + 1); in GConfBasedPreferences() 143 absolutePath = absolutePath + GConfNativePeer.escapeString(name); in GConfBasedPreferences() 146 this.node = this.getRealRoot(isUser) + absolutePath; in GConfBasedPreferences()
|
/dports/lang/gnat_util/gcc-6-20180516/libjava/classpath/gnu/java/util/prefs/ |
H A D | GConfBasedPreferences.java | 131 String absolutePath = this.absolutePath(); in GConfBasedPreferences() local 132 if (absolutePath != null && absolutePath.endsWith("/")) in GConfBasedPreferences() 134 absolutePath = absolutePath.substring(0, absolutePath.length() - 1); in GConfBasedPreferences() 139 int index = absolutePath.lastIndexOf('/'); in GConfBasedPreferences() 142 absolutePath = absolutePath.substring(0, index + 1); in GConfBasedPreferences() 143 absolutePath = absolutePath + GConfNativePeer.escapeString(name); in GConfBasedPreferences() 146 this.node = this.getRealRoot(isUser) + absolutePath; in GConfBasedPreferences()
|
/dports/devel/mingw32-gcc/gcc-4.8.1/libjava/classpath/gnu/java/util/prefs/ |
H A D | GConfBasedPreferences.java | 131 String absolutePath = this.absolutePath(); in GConfBasedPreferences() local 132 if (absolutePath != null && absolutePath.endsWith("/")) in GConfBasedPreferences() 134 absolutePath = absolutePath.substring(0, absolutePath.length() - 1); in GConfBasedPreferences() 139 int index = absolutePath.lastIndexOf('/'); in GConfBasedPreferences() 142 absolutePath = absolutePath.substring(0, index + 1); in GConfBasedPreferences() 143 absolutePath = absolutePath + GConfNativePeer.escapeString(name); in GConfBasedPreferences() 146 this.node = this.getRealRoot(isUser) + absolutePath; in GConfBasedPreferences()
|
/dports/misc/py-molequeue/molequeue-0.9.0/molequeue/app/ |
H A D | pluginmanager.cpp | 50 if (!QFileInfo(baseDir.absolutePath() + "/Resources/qt.conf").exists()) { in PluginManager() 54 qDebug() << " using buildDir:" << buildDir.absolutePath(); in PluginManager() 66 m_pluginDirs.append(condir.absolutePath()); in PluginManager() 73 qDebug() << " baseDir:" << baseDir.absolutePath(); in PluginManager() 74 QDir pluginsDir(baseDir.absolutePath() + "/" + libDir + "/molequeue/plugins"); in PluginManager() 75 m_pluginDirs.append(pluginsDir.absolutePath()); in PluginManager() 77 qDebug() << " pluginsDir:" << pluginsDir.absolutePath(); in PluginManager() 81 qDebug() << " " << pluginsDir.absolutePath() + "/" + pluginPath; in PluginManager() 85 qDebug() << " " << count << "files found in" << pluginsDir.absolutePath(); in PluginManager() 87 qDebug() << " no plugin files found in" << pluginsDir.absolutePath(); in PluginManager() [all …]
|
/dports/misc/molequeue/molequeue-0.9.0/molequeue/app/ |
H A D | pluginmanager.cpp | 50 if (!QFileInfo(baseDir.absolutePath() + "/Resources/qt.conf").exists()) { in PluginManager() 54 qDebug() << " using buildDir:" << buildDir.absolutePath(); in PluginManager() 66 m_pluginDirs.append(condir.absolutePath()); in PluginManager() 73 qDebug() << " baseDir:" << baseDir.absolutePath(); in PluginManager() 74 QDir pluginsDir(baseDir.absolutePath() + "/" + libDir + "/molequeue/plugins"); in PluginManager() 75 m_pluginDirs.append(pluginsDir.absolutePath()); in PluginManager() 77 qDebug() << " pluginsDir:" << pluginsDir.absolutePath(); in PluginManager() 81 qDebug() << " " << pluginsDir.absolutePath() + "/" + pluginPath; in PluginManager() 85 qDebug() << " " << count << "files found in" << pluginsDir.absolutePath(); in PluginManager() 87 qDebug() << " no plugin files found in" << pluginsDir.absolutePath(); in PluginManager() [all …]
|
/dports/games/hedgewars-server/hedgewars-src-1.0.0/QTfrontend/ |
H A D | main.cpp | 349 if (checkForDir(cfgdir->absolutePath())) in main() 352 checkForDir(cfgdir->absolutePath() + "/Data"); in main() 355 checkForDir(cfgdir->absolutePath() + "/Demos"); in main() 357 checkForDir(cfgdir->absolutePath() + "/Saves"); in main() 359 checkForDir(cfgdir->absolutePath() + "/Teams"); in main() 360 checkForDir(cfgdir->absolutePath() + "/Logs"); in main() 366 datadir->cd(bindir->absolutePath()); in main() 378 engine->mount(datadir->absolutePath()); in main() 379 engine->mount(cfgdir->absolutePath() + "/Data"); in main() 380 engine->mount(cfgdir->absolutePath()); in main() [all …]
|
/dports/games/hedgewars/hedgewars-src-1.0.0/QTfrontend/ |
H A D | main.cpp | 349 if (checkForDir(cfgdir->absolutePath())) in main() 352 checkForDir(cfgdir->absolutePath() + "/Data"); in main() 355 checkForDir(cfgdir->absolutePath() + "/Demos"); in main() 357 checkForDir(cfgdir->absolutePath() + "/Saves"); in main() 359 checkForDir(cfgdir->absolutePath() + "/Teams"); in main() 360 checkForDir(cfgdir->absolutePath() + "/Logs"); in main() 366 datadir->cd(bindir->absolutePath()); in main() 378 engine->mount(datadir->absolutePath()); in main() 379 engine->mount(cfgdir->absolutePath() + "/Data"); in main() 380 engine->mount(cfgdir->absolutePath()); in main() [all …]
|
/dports/science/py-avogadrolibs/avogadrolibs-1.94.0/avogadro/qtplugins/ |
H A D | pluginmanager.cpp | 50 if (!QFileInfo(baseDir.absolutePath() + "/Resources/qt.conf").exists()) { in PluginManager() 54 qDebug() << " using buildDir:" << buildDir.absolutePath(); in PluginManager() 63 qDebug() << " baseDir:" << baseDir.absolutePath(); in PluginManager() 65 QDir pluginsDir(baseDir.absolutePath() + "/" + libDir + "/avogadro2/plugins"); in PluginManager() 66 m_pluginDirs.append(pluginsDir.absolutePath()); in PluginManager() 69 qDebug() << " pluginsDir:" << pluginsDir.absolutePath(); in PluginManager() 73 qDebug() << " " << pluginsDir.absolutePath() + "/" + pluginPath; in PluginManager() 77 qDebug() << " " << count << "files found in" << pluginsDir.absolutePath(); in PluginManager() 79 qDebug() << " no plugin files found in" << pluginsDir.absolutePath(); in PluginManager() 118 QPluginLoader pluginLoader(dir.absolutePath() + "/" + pluginPath); in load()
|