Home
last modified time | relevance | path

Searched refs:toFile (Results 1 – 25 of 2375) sorted by relevance

12345678910>>...95

/dports/www/matomo/piwik/plugins/CustomJsTracker/
H A DTrackerUpdater.php37 private $toFile; variable in Piwik\\Plugins\\CustomJsTracker\\TrackerUpdater
51 if (!isset($toFile)) {
56 $this->setToFile($toFile);
73 public function setToFile($toFile) argument
75 if (is_string($toFile)) {
76 $toFile = new File($toFile);
78 $this->toFile = $toFile;
83 return $this->toFile;
100 $this->toFile->checkWritable();
105 return $this->toFile->getContent();
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/
H A DDeleteTest.java52 assertTrue("1.5", filePath.toFile().isFile()); in testDeleteOpenProject()
55 Workspace.clear(projectLocation.toFile()); in testDeleteOpenProject()
82 assertTrue("2.5", !folderPath.toFile().exists()); in testDeleteOpenProject()
83 assertTrue("2.6", !filePath.toFile().exists()); in testDeleteOpenProject()
112 assertTrue("3.5", !filePath.toFile().isFile()); in testDeleteOpenProject()
139 assertTrue("6.5", !filePath.toFile().exists()); in testDeleteOpenProject()
142 Workspace.clear(folderPath.toFile()); in testDeleteOpenProject()
171 assertTrue("7.5", !filePath.toFile().isFile()); in testDeleteOpenProject()
212 assertTrue("1.6", !filePath.toFile().exists()); in testDeleteClosedProject()
215 Workspace.clear(projectLocation.toFile()); in testDeleteClosedProject()
[all …]
/dports/sysutils/bareos19-client/bareos-Release-19.2.11/systemtests/tests/python-sd-plugin-test/python-modules/
H A Dbareos-sd-test.py64 toFile(outputfile)
71 toFile("bsdEventJobStart\n")
75 toFile("bsdEventVolumeUnload\n")
77 toFile("bsdEventVolumeLoad\n")
79 toFile("bsdEventDeviceOpen\n")
81 toFile("bsdEventDeviceMount\n")
83 toFile("bsdEventLabelRead\n")
87 toFile("bsdEventLabelWrite\n")
95 toFile("bsdEventDeviceClose\n")
97 toFile("bsdEventJobEnd\n")
[all …]
/dports/sysutils/bareos-traymonitor/bareos-Release-20.0.3/systemtests/tests/py2plug-sd/python-modules/
H A Dbareos-sd-test.py63 toFile(outputfile)
70 toFile("bsdEventJobStart\n")
74 toFile("bsdEventVolumeUnload\n")
76 toFile("bsdEventVolumeLoad\n")
78 toFile("bsdEventDeviceOpen\n")
80 toFile("bsdEventDeviceMount\n")
82 toFile("bsdEventLabelRead\n")
86 toFile("bsdEventLabelWrite\n")
94 toFile("bsdEventDeviceClose\n")
96 toFile("bsdEventJobEnd\n")
[all …]
/dports/sysutils/bareos-client/bareos-Release-20.0.3/systemtests/tests/py2plug-sd/python-modules/
H A Dbareos-sd-test.py63 toFile(outputfile)
70 toFile("bsdEventJobStart\n")
74 toFile("bsdEventVolumeUnload\n")
76 toFile("bsdEventVolumeLoad\n")
78 toFile("bsdEventDeviceOpen\n")
80 toFile("bsdEventDeviceMount\n")
82 toFile("bsdEventLabelRead\n")
86 toFile("bsdEventLabelWrite\n")
94 toFile("bsdEventDeviceClose\n")
96 toFile("bsdEventJobEnd\n")
[all …]
/dports/sysutils/bareos-server/bareos-Release-20.0.3/systemtests/tests/py2plug-sd/python-modules/
H A Dbareos-sd-test.py63 toFile(outputfile)
70 toFile("bsdEventJobStart\n")
74 toFile("bsdEventVolumeUnload\n")
76 toFile("bsdEventVolumeLoad\n")
78 toFile("bsdEventDeviceOpen\n")
80 toFile("bsdEventDeviceMount\n")
82 toFile("bsdEventLabelRead\n")
86 toFile("bsdEventLabelWrite\n")
94 toFile("bsdEventDeviceClose\n")
96 toFile("bsdEventJobEnd\n")
[all …]
/dports/sysutils/bareos19-server/bareos-Release-19.2.11/systemtests/tests/python-sd-plugin-test/python-modules/
H A Dbareos-sd-test.py64 toFile(outputfile)
71 toFile("bsdEventJobStart\n")
75 toFile("bsdEventVolumeUnload\n")
77 toFile("bsdEventVolumeLoad\n")
79 toFile("bsdEventDeviceOpen\n")
81 toFile("bsdEventDeviceMount\n")
83 toFile("bsdEventLabelRead\n")
87 toFile("bsdEventLabelWrite\n")
95 toFile("bsdEventDeviceClose\n")
97 toFile("bsdEventJobEnd\n")
[all …]
/dports/sysutils/bareos19-traymonitor/bareos-Release-19.2.11/systemtests/tests/python-sd-plugin-test/python-modules/
H A Dbareos-sd-test.py64 toFile(outputfile)
71 toFile("bsdEventJobStart\n")
75 toFile("bsdEventVolumeUnload\n")
77 toFile("bsdEventVolumeLoad\n")
79 toFile("bsdEventDeviceOpen\n")
81 toFile("bsdEventDeviceMount\n")
83 toFile("bsdEventLabelRead\n")
87 toFile("bsdEventLabelWrite\n")
95 toFile("bsdEventDeviceClose\n")
97 toFile("bsdEventJobEnd\n")
[all …]
/dports/www/bareos-webui/bareos-Release-20.0.3/systemtests/tests/py2plug-sd/python-modules/
H A Dbareos-sd-test.py63 toFile(outputfile)
70 toFile("bsdEventJobStart\n")
74 toFile("bsdEventVolumeUnload\n")
76 toFile("bsdEventVolumeLoad\n")
78 toFile("bsdEventDeviceOpen\n")
80 toFile("bsdEventDeviceMount\n")
82 toFile("bsdEventLabelRead\n")
86 toFile("bsdEventLabelWrite\n")
94 toFile("bsdEventDeviceClose\n")
96 toFile("bsdEventJobEnd\n")
[all …]
/dports/www/bareos19-webui/bareos-Release-19.2.11/systemtests/tests/python-sd-plugin-test/python-modules/
H A Dbareos-sd-test.py64 toFile(outputfile)
71 toFile("bsdEventJobStart\n")
75 toFile("bsdEventVolumeUnload\n")
77 toFile("bsdEventVolumeLoad\n")
79 toFile("bsdEventDeviceOpen\n")
81 toFile("bsdEventDeviceMount\n")
83 toFile("bsdEventLabelRead\n")
87 toFile("bsdEventLabelWrite\n")
95 toFile("bsdEventDeviceClose\n")
97 toFile("bsdEventJobEnd\n")
[all …]
/dports/devel/cmake-gui/cmake-3.22.1/Source/
H A DcmFileCopier.cxx82 cmFileTimes file_time_orig(toFile); in SetPermissions()
90 file_time_orig.Store(toFile); in SetPermissions()
422 toFile += "/"; in Run()
423 toFile += dir; in Run()
428 toFile += "/"; in Run()
429 toFile += toName; in Run()
469 std::string newToFile = toFile; in Install()
514 cmSystemTools::RemoveFile(toFile); in InstallSymlinkChain()
541 << "\" to duplicate at \"" << toFile in InstallSymlink()
564 cmSystemTools::RemoveFile(toFile); in InstallSymlink()
[all …]
H A DcmFileInstaller.cxx70 cmStrCat((copy ? "Installing: " : "Up-to-date: "), toFile); in ReportCopy()
75 this->ManifestAppend(toFile); in ReportCopy()
83 const std::string& toFile) in Install() argument
89 return this->cmFileCopier::Install(fromFile, toFile); in Install()
93 const std::string& toFile, in InstallFile() argument
121 return this->cmFileCopier::InstallFile(fromFile, toFile, in InstallFile()
141 if (cmSystemTools::ReadSymlink(toFile, oldSymlinkTarget)) { in InstallFile()
149 this->ReportCopy(toFile, TypeLink, copy); in InstallFile()
153 cmSystemTools::RemoveFile(toFile); in InstallFile()
159 if (!cmSystemTools::CreateSymlink(newFromFile, toFile)) { in InstallFile()
[all …]
/dports/devel/cmake/cmake-3.22.1/Source/
H A DcmFileCopier.cxx82 cmFileTimes file_time_orig(toFile); in SetPermissions()
90 file_time_orig.Store(toFile); in SetPermissions()
422 toFile += "/"; in Run()
423 toFile += dir; in Run()
428 toFile += "/"; in Run()
429 toFile += toName; in Run()
469 std::string newToFile = toFile; in Install()
514 cmSystemTools::RemoveFile(toFile); in InstallSymlinkChain()
541 << "\" to duplicate at \"" << toFile in InstallSymlink()
564 cmSystemTools::RemoveFile(toFile); in InstallSymlink()
[all …]
H A DcmFileInstaller.cxx70 cmStrCat((copy ? "Installing: " : "Up-to-date: "), toFile); in ReportCopy()
75 this->ManifestAppend(toFile); in ReportCopy()
83 const std::string& toFile) in Install() argument
89 return this->cmFileCopier::Install(fromFile, toFile); in Install()
93 const std::string& toFile, in InstallFile() argument
121 return this->cmFileCopier::InstallFile(fromFile, toFile, in InstallFile()
141 if (cmSystemTools::ReadSymlink(toFile, oldSymlinkTarget)) { in InstallFile()
149 this->ReportCopy(toFile, TypeLink, copy); in InstallFile()
153 cmSystemTools::RemoveFile(toFile); in InstallFile()
159 if (!cmSystemTools::CreateSymlink(newFromFile, toFile)) { in InstallFile()
[all …]
/dports/devel/cmake-doc/cmake-3.22.1/Source/
H A DcmFileCopier.cxx82 cmFileTimes file_time_orig(toFile); in SetPermissions()
90 file_time_orig.Store(toFile); in SetPermissions()
422 toFile += "/"; in Run()
423 toFile += dir; in Run()
428 toFile += "/"; in Run()
429 toFile += toName; in Run()
469 std::string newToFile = toFile; in Install()
514 cmSystemTools::RemoveFile(toFile); in InstallSymlinkChain()
541 << "\" to duplicate at \"" << toFile in InstallSymlink()
564 cmSystemTools::RemoveFile(toFile); in InstallSymlink()
[all …]
H A DcmFileInstaller.cxx70 cmStrCat((copy ? "Installing: " : "Up-to-date: "), toFile); in ReportCopy()
75 this->ManifestAppend(toFile); in ReportCopy()
83 const std::string& toFile) in Install() argument
89 return this->cmFileCopier::Install(fromFile, toFile); in Install()
93 const std::string& toFile, in InstallFile() argument
121 return this->cmFileCopier::InstallFile(fromFile, toFile, in InstallFile()
141 if (cmSystemTools::ReadSymlink(toFile, oldSymlinkTarget)) { in InstallFile()
149 this->ReportCopy(toFile, TypeLink, copy); in InstallFile()
153 cmSystemTools::RemoveFile(toFile); in InstallFile()
159 if (!cmSystemTools::CreateSymlink(newFromFile, toFile)) { in InstallFile()
[all …]
/dports/audio/libsidplay2/sidplay-libs-2.1.1/libsidplay/src/sidtune/
H A DInfoFile.cpp363 toFile in SID_fileSupportSave()
410 toFile in SID_fileSupportSave()
422 toFile << "PAL"; in SID_fileSupportSave()
425 toFile << "NTSC"; in SID_fileSupportSave()
428 toFile << "ANY"; in SID_fileSupportSave()
431 toFile << std::endl; in SID_fileSupportSave()
439 toFile << "6581"; in SID_fileSupportSave()
442 toFile << "8580"; in SID_fileSupportSave()
445 toFile << "ANY"; in SID_fileSupportSave()
448 toFile << std::endl; in SID_fileSupportSave()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.debug/org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/sourcelookup/
H A DDirectorySourceLookupTests.java41 File rootFile = root.getResource().getLocation().toFile(); in testDefTopLevelType()
46 LocalFileStorage expectedSource = new LocalFileStorage(cu.getResource().getLocation().toFile()); in testDefTopLevelType()
56 File rootFile = root.getResource().getLocation().toFile(); in testDefInnerType()
61 LocalFileStorage expectedSource = new LocalFileStorage(cu.getResource().getLocation().toFile()); in testDefInnerType()
72 File rootFile = root.getResource().getLocation().toFile(); in testTopLevelType()
77 LocalFileStorage expectedSource = new LocalFileStorage(cu.getResource().getLocation().toFile()); in testTopLevelType()
87 File rootFile = root.getResource().getLocation().toFile(); in testInnerType()
102 File rootFile = root.getResource().getLocation().toFile(); in testNestedType()
117 File rootFile = root.getResource().getLocation().toFile(); in testTopLevel$Type()
132 File rootFile = root.getResource().getLocation().toFile(); in testInner$Type()
[all …]
/dports/devel/py-opengrok-tools/opengrok-1.3.16/opengrok-indexer/src/test/java/org/opengrok/indexer/index/
H A DIndexDatabaseSymlinksTest.java89 assertTrue(target + "should exist", target.toFile().exists()); in setUpClass()
130 assertFalse(xref + " should not exist", xref.toFile().exists()); in testNoAddedSymlinks()
148 assertTrue(xref + " should exist", xref.toFile().exists()); in testSymlinksWithFullCanonicalRoot()
151 assertTrue(links + " should exist", links.toFile().exists()); in testSymlinksWithFullCanonicalRoot()
154 assertTrue(gitDir + " should exist", gitDir.toFile().exists()); in testSymlinksWithFullCanonicalRoot()
166 expectedCanonical = gitDir.toFile().getCanonicalFile(); in testSymlinksWithFullCanonicalRoot()
191 assertTrue(xref + " should exist", xref.toFile().exists()); in testSymlinksWithOneAddedSymlink()
194 assertTrue(links + " should exist", links.toFile().exists()); in testSymlinksWithOneAddedSymlink()
211 expectedCanonical = gitDir.toFile().getCanonicalFile(); in testSymlinksWithOneAddedSymlink()
234 File actualCanonical = symlink.toFile().getCanonicalFile(); in assertSymlinkAsExpected()
[all …]
/dports/sysutils/nix/nix-2.3.10/tests/
H A Dcheck-refs.nix11 src = builtins.toFile "aux-ref" "bla bla";
14 builder = builtins.toFile "builder.sh" "mkdir $out; ln -s $dep $out/link";
19 builder = builtins.toFile "builder.sh" "mkdir $out; ln -s ${src} $out/link";
24 builder = builtins.toFile "builder.sh" "mkdir $out; ln -s $dep $out/link";
30 builder = builtins.toFile "builder.sh" "mkdir $out; ln -s $dep $out/link";
36 builder = builtins.toFile "builder.sh" "mkdir $out";
42 builder = builtins.toFile "builder.sh" "mkdir $out; ln -s $out $out/link";
48 builder = builtins.toFile "builder.sh" "mkdir $out; ln -s $out $out/link";
54 builder = builtins.toFile "builder.sh" "mkdir $out; ln -s ${test1} $out/link";
59 builder = builtins.toFile "builder.sh" "mkdir $out; ln -s $dep $out/link";
[all …]
/dports/graphics/kphotoalbum/kphotoalbum-5.8.1/kpa-thumbnailtool/
H A DThumbnailCacheConverter.cpp24 QTemporaryFile toFile; in convertV5ToV4Cache() local
25 if (!toFile.open()) { in convertV5ToV4Cache()
31 if (!convertV5ToV4Cache(fromFile, toFile, err)) in convertV5ToV4Cache()
39 if (!toFile.copy(indexFilename)) { in convertV5ToV4Cache()
41 err << i18nc("@info:shell", "Error message was: %1\n", toFile.errorString()); in convertV5ToV4Cache()
47 bool KPAThumbnailTool::convertV5ToV4Cache(QIODevice &fromFile, QIODevice &toFile, QTextStream &err) in convertV5ToV4Cache() argument
50 Q_ASSERT(toFile.isWritable()); in convertV5ToV4Cache()
62 QDataStream toStream { &toFile }; in convertV5ToV4Cache()
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/sid/sidplay-libs/libsidplay/src/sidtune/
H A DInfoFile.cpp320 toFile
332 toFile
343 toFile << "PAL";
346 toFile << "NTSC";
349 toFile << "ANY";
352 toFile << std::endl;
360 toFile << "6581";
363 toFile << "8580";
366 toFile << "ANY";
369 toFile << std::endl;
[all …]
/dports/games/jchessboard/JChessBoard-1.5/jchessboard/
H A DVirtualBoard.java2377 || toFile < 0 in mightBePossibleMove()
2379 || toFile > 7) in mightBePossibleMove()
2423 return ((fromFile)) != (toFile) in BNmightMove()
2447 (toRank == fromRank - 1 && toFile == fromFile && getField(toRank, toFile) == EM) in BPmightMove()
2450 … && (isWhiteFigure(getField(toRank, toFile)) || ((toRank << 3) + toFile) == enPassantTarget)) in BPmightMove()
2453 && toFile == fromFile in BPmightMove()
2492 return ((fromFile)) != (toFile) in WNmightMove()
2542 (toRank == fromRank + 1 && toFile == fromFile && getField(toRank, toFile) == EM) in WPmightMove()
2545 … && (isBlackFigure(getField(toRank, toFile)) || ((toRank << 3) + toFile) == enPassantTarget)) in WPmightMove()
2584 … if (fromRank != toRank && fromFile != toFile && abs(toRank - fromRank) != abs(toFile - fromFile)) in checkLineOfSight()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/rt.equinox.p2/bundles/org.eclipse.equinox.frameworkadmin.test/src/org/eclipse/equinox/internal/frameworkadmin/equinox/
H A DEquinoxManipulatorImplTest.java31 assertEquals(new File(expectedUnixFolder), EquinoxManipulatorImpl.toFile(new URL(unixUrl))); in testToFile()
32 …assertEquals(new File(expectedUnixFile), EquinoxManipulatorImpl.toFile(new URL(unixUrl + filename)… in testToFile()
37 assertEquals(new File(expectedWindowsFolder), EquinoxManipulatorImpl.toFile(new URL(windowsUrl))); in testToFile()
38 …assertEquals(new File(expectedWindowsFile), EquinoxManipulatorImpl.toFile(new URL(windowsUrl + fil… in testToFile()
43 assertEquals(new File(expectedUncFolder), EquinoxManipulatorImpl.toFile(new URL(uncUrl))); in testToFile()
44 …assertEquals(new File(expectedUncFile), EquinoxManipulatorImpl.toFile(new URL(uncUrl + filename))); in testToFile()
49 assertEquals(new File(expectedOtherFolder), EquinoxManipulatorImpl.toFile(new URL(notFileUrl))); in testToFile()
50 …assertEquals(new File(expectedOtherFile), EquinoxManipulatorImpl.toFile(new URL(notFileUrl + filen… in testToFile()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/jdk/jfr/jcmd/
H A DTestJcmdDumpLimited.java199 …JcmdHelper.jcmd("JFR.dump", "filename=" + testBeginEndRelative.toFile().getAbsolutePath(), "begin=… in testDumpBeginEndRelative()
206 … JcmdHelper.jcmd("JFR.dump", "filename=" + testMaxAge.toFile().getAbsolutePath(), "maxage=2h"); in testDumpMaxAge()
213 …JcmdHelper.jcmd("JFR.dump", "filename=" + testBeginEnd.toFile().getAbsolutePath(), "begin=" + midd… in testDumpBeginEndSame()
220 …JcmdHelper.jcmd("JFR.dump", "filename=" + testBeginEnd.toFile().getAbsolutePath(), "begin=" + cent… in testDumpBeginEndInstant()
245 … JcmdHelper.jcmd("JFR.dump", "filename=" + testEnd.toFile().getAbsolutePath(), "end=" + middle); in testDumpEnd()
252 …JcmdHelper.jcmd("JFR.dump", "filename=" + testBegin.toFile().getAbsolutePath(), "begin=" + middle); in testDumpBegin()
259 …JcmdHelper.jcmd("JFR.dump", "filename=" + testMaxSize.toFile().getAbsolutePath(), "maxsize=" + las… in testDumpMaxSize()
266 …JcmdHelper.jcmd("JFR.dump", "filename=" + testMaxSizeSmall.toFile().getAbsolutePath(), "maxsize=1k… in testDumpMaxSizeSmall()
273 … OutputAnalyzer output = JcmdHelper.jcmd("JFR.dump", "filename=" + all.toFile().getAbsolutePath()); in testDump()
274 JcmdAsserts.assertRecordingDumpedToFile(output, all.toFile()); in testDump()
[all …]

12345678910>>...95