Home
last modified time | relevance | path

Searched refs:joinPath (Results 1 – 25 of 473) sorted by relevance

12345678910>>...19

/dports/textproc/hs-pandoc/pandoc-2.14.2/test/Tests/
H A DShared.hs36 [ collapseFilePath (joinPath [ ""]) @?= joinPath [ ""]
37 , collapseFilePath (joinPath [ ".","foo"]) @?= joinPath [ "foo"]
38 , collapseFilePath (joinPath [ ".",".","..","foo"]) @?= joinPath [ joinPath ["..", "foo"]]
39 , collapseFilePath (joinPath [ "..","foo"]) @?= joinPath [ "..","foo"]
41 , collapseFilePath (joinPath [ "","..","baz"]) @?= joinPath [ "","..","baz"]
43 , collapseFilePath (joinPath [ ".",""]) @?= joinPath [ ""]
44 , collapseFilePath (joinPath [ ".",".",""]) @?= joinPath [ ""]
45 , collapseFilePath (joinPath [ "..",""]) @?= joinPath [ ".."]
46 , collapseFilePath (joinPath [ "..",".",""]) @?= joinPath [ ".."]
47 , collapseFilePath (joinPath [ ".","..",""]) @?= joinPath [ ".."]
[all …]
/dports/textproc/hs-pandoc-crossref/pandoc-crossref-0.3.12.0/_cabal_deps/pandoc-2.11.4/test/Tests/
H A DShared.hs38 [ collapseFilePath (joinPath [ ""]) @?= joinPath [ ""]
39 , collapseFilePath (joinPath [ ".","foo"]) @?= joinPath [ "foo"]
40 , collapseFilePath (joinPath [ ".",".","..","foo"]) @?= joinPath [ joinPath ["..", "foo"]]
41 , collapseFilePath (joinPath [ "..","foo"]) @?= joinPath [ "..","foo"]
43 , collapseFilePath (joinPath [ "","..","baz"]) @?= joinPath [ "","..","baz"]
45 , collapseFilePath (joinPath [ ".",""]) @?= joinPath [ ""]
46 , collapseFilePath (joinPath [ ".",".",""]) @?= joinPath [ ""]
47 , collapseFilePath (joinPath [ "..",""]) @?= joinPath [ ".."]
48 , collapseFilePath (joinPath [ "..",".",""]) @?= joinPath [ ".."]
49 , collapseFilePath (joinPath [ ".","..",""]) @?= joinPath [ ".."]
[all …]
/dports/textproc/luceneplusplus/LucenePlusPlus-rel_3.0.8/src/test/util/
H A DFileUtilsTest.cpp18 …String fileDir(FileUtils::joinPath(FileUtils::joinPath(getTestDir(), L"testdirectory"), L"testfile… in TEST_F()
23 …String fileDir(FileUtils::joinPath(FileUtils::joinPath(getTestDir(), L"testdirectory"), L"testfile… in TEST_F()
33 …String fileDir(FileUtils::joinPath(FileUtils::joinPath(getTestDir(), L"testdirectory"), L"invalid"… in TEST_F()
38 …String fileDir(FileUtils::joinPath(FileUtils::joinPath(getTestDir(), L"testdirectory"), L"testfile… in TEST_F()
57 …String fileDir(FileUtils::joinPath(FileUtils::joinPath(getTestDir(), L"testdirectory"), L"invalid"… in TEST_F()
62 …String fileDir(FileUtils::joinPath(FileUtils::joinPath(getTestDir(), L"testdirectory"), L"testfile… in TEST_F()
68 …String fileDir(FileUtils::joinPath(FileUtils::joinPath(getTestDir(), L"testdirectory"), L"invalid"… in TEST_F()
87 …String fileDir(FileUtils::joinPath(FileUtils::joinPath(getTestDir(), L"testdirectory"), L"invalid"… in TEST_F()
92 …String fileDir(FileUtils::joinPath(FileUtils::joinPath(getTestDir(), L"testdirectory"), L"testdele… in TEST_F()
103 …String fileDir(FileUtils::joinPath(FileUtils::joinPath(getTestDir(), L"testdirectory"), L"invalid"… in TEST_F()
[all …]
H A DBufferedReaderTest.cpp20 …BufferedReaderPtr reader = newLucene<BufferedReader>(newLucene<FileReader>(FileUtils::joinPath(get… in TEST_F()
33 …BufferedReaderPtr reader = newLucene<BufferedReader>(newLucene<FileReader>(FileUtils::joinPath(get… in TEST_F()
46 …BufferedReaderPtr reader = newLucene<BufferedReader>(newLucene<FileReader>(FileUtils::joinPath(get… in TEST_F()
66 …BufferedReaderPtr reader = newLucene<BufferedReader>(newLucene<FileReader>(FileUtils::joinPath(get… in TEST_F()
79 …BufferedReaderPtr reader = newLucene<BufferedReader>(newLucene<FileReader>(FileUtils::joinPath(get… in TEST_F()
95 …BufferedReaderPtr reader = newLucene<BufferedReader>(newLucene<FileReader>(FileUtils::joinPath(get… in TEST_F()
110 …BufferedReaderPtr reader = newLucene<BufferedReader>(newLucene<FileReader>(FileUtils::joinPath(get… in TEST_F()
123 …BufferedReaderPtr reader = newLucene<BufferedReader>(newLucene<FileReader>(FileUtils::joinPath(get… in TEST_F()
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/atomic-write-0.2.0.7/spec/System/AtomicWrite/Writer/String/
H A DBinarySpec.hs8 import System.FilePath (joinPath)
24 let path = joinPath [ tmpDir, "writeTest.tmp" ]
35 let filePath = joinPath [tmpDir, "testFile"]
48 writeFile (joinPath [tmpDir, "sanityCheck"]) "with sanity check mask"
49 sanityCheckStat <- getFileStatus $ joinPath [tmpDir, "sanityCheck"]
67 filePath = joinPath [tmpDir, "testFile"]
68 sampleFilePath = joinPath [tmpDir, "sampleFile"]
95 let path = joinPath [ tmpDir, "writeTest.tmp" ]
106 let filePath = joinPath [tmpDir, "testFile"]
120 sanityCheckStat <- getFileStatus $ joinPath [tmpDir, "sanityCheck"]
[all …]
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/atomic-write-0.2.0.7/spec/System/AtomicWrite/Writer/
H A DStringSpec.hs8 import System.FilePath (joinPath)
23 let path = joinPath [ tmpDir, "writeTest.tmp" ]
34 let filePath = joinPath [tmpDir, "testFile"]
47 writeFile (joinPath [tmpDir, "sanityCheck"]) "with sanity check mask"
48 sanityCheckStat <- getFileStatus $ joinPath [tmpDir, "sanityCheck"]
66 filePath = joinPath [tmpDir, "testFile"]
67 sampleFilePath = joinPath [tmpDir, "sampleFile"]
94 let path = joinPath [ tmpDir, "writeTest.tmp" ]
105 let filePath = joinPath [tmpDir, "testFile"]
119 sanityCheckStat <- getFileStatus $ joinPath [tmpDir, "sanityCheck"]
[all …]
H A DLazyTextSpec.hs8 import System.FilePath.Posix (joinPath)
20 let path = joinPath [ tmpDir, "writeTest.tmp" ]
28 let filePath = joinPath [tmpDir, "testFile"]
41 writeFile (joinPath [tmpDir, "sanityCheck"]) "with sanity check mask"
42 sanityCheckStat <- getFileStatus $ joinPath [tmpDir, "sanityCheck"]
60 filePath = joinPath [tmpDir, "testFile"]
61 sampleFilePath = joinPath [tmpDir, "sampleFile"]
88 let path = joinPath [ tmpDir, "writeTest.tmp" ]
99 let filePath = joinPath [tmpDir, "testFile"]
113 sanityCheckStat <- getFileStatus $ joinPath [tmpDir, "sanityCheck"]
[all …]
H A DByteStringSpec.hs9 import System.FilePath.Posix (joinPath)
23 let path = joinPath [ tmpDir, "writeTest.tmp" ]
31 let filePath = joinPath [tmpDir, "testFile"]
44 writeFile (joinPath [tmpDir, "sanityCheck"]) "with sanity check mask"
45 sanityCheckStat <- getFileStatus $ joinPath [tmpDir, "sanityCheck"]
63 filePath = joinPath [tmpDir, "testFile"]
64 sampleFilePath = joinPath [tmpDir, "sampleFile"]
91 let path = joinPath [ tmpDir, "writeTest.tmp" ]
102 let filePath = joinPath [tmpDir, "testFile"]
116 sanityCheckStat <- getFileStatus $ joinPath [tmpDir, "sanityCheck"]
[all …]
H A DLazyByteStringSpec.hs8 import System.FilePath.Posix (joinPath)
20 let path = joinPath [ tmpDir, "writeTest.tmp" ]
28 let filePath = joinPath [tmpDir, "testFile"]
41 writeFile (joinPath [tmpDir, "sanityCheck"]) "with sanity check mask"
42 sanityCheckStat <- getFileStatus $ joinPath [tmpDir, "sanityCheck"]
60 filePath = joinPath [tmpDir, "testFile"]
61 sampleFilePath = joinPath [tmpDir, "sampleFile"]
88 let path = joinPath [ tmpDir, "writeTest.tmp" ]
99 let filePath = joinPath [tmpDir, "testFile"]
113 sanityCheckStat <- getFileStatus $ joinPath [tmpDir, "sanityCheck"]
[all …]
H A DByteStringBuilderSpec.hs8 import System.FilePath.Posix (joinPath)
22 let path = joinPath [ tmpDir, "writeTest.tmp" ]
30 let filePath = joinPath [tmpDir, "testFile"]
43 writeFile (joinPath [tmpDir, "sanityCheck"]) "with sanity check mask"
44 sanityCheckStat <- getFileStatus $ joinPath [tmpDir, "sanityCheck"]
62 filePath = joinPath [tmpDir, "testFile"]
63 sampleFilePath = joinPath [tmpDir, "sampleFile"]
90 let path = joinPath [ tmpDir, "writeTest.tmp" ]
101 let filePath = joinPath [tmpDir, "testFile"]
115 sanityCheckStat <- getFileStatus $ joinPath [tmpDir, "sanityCheck"]
[all …]
H A DTextSpec.hs8 import System.FilePath.Posix (joinPath)
20 let path = joinPath [ tmpDir, "writeTest.tmp" ]
28 let filePath = joinPath [tmpDir, "testFile"]
41 writeFile (joinPath [tmpDir, "sanityCheck"]) "with sanity check mask"
42 sanityCheckStat <- getFileStatus $ joinPath [tmpDir, "sanityCheck"]
60 filePath = joinPath [tmpDir, "testFile"]
61 sampleFilePath = joinPath [tmpDir, "sampleFile"]
88 let path = joinPath [ tmpDir, "writeTest.tmp" ]
99 let filePath = joinPath [tmpDir, "testFile"]
113 sanityCheckStat <- getFileStatus $ joinPath [tmpDir, "sanityCheck"]
[all …]
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/atomic-write-0.2.0.7/spec/System/AtomicWrite/Writer/LazyText/
H A DBinarySpec.hs8 import System.FilePath.Posix (joinPath)
23 let path = joinPath [ tmpDir, "writeTest.tmp" ]
31 let filePath = joinPath [tmpDir, "testFile"]
44 writeFile (joinPath [tmpDir, "sanityCheck"]) "with sanity check mask"
45 sanityCheckStat <- getFileStatus $ joinPath [tmpDir, "sanityCheck"]
63 filePath = joinPath [tmpDir, "testFile"]
64 sampleFilePath = joinPath [tmpDir, "sampleFile"]
91 let path = joinPath [ tmpDir, "writeTest.tmp" ]
102 let filePath = joinPath [tmpDir, "testFile"]
116 sanityCheckStat <- getFileStatus $ joinPath [tmpDir, "sanityCheck"]
[all …]
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/atomic-write-0.2.0.7/spec/System/AtomicWrite/Writer/Text/
H A DBinarySpec.hs9 import System.FilePath.Posix (joinPath)
23 let path = joinPath [ tmpDir, "writeTest.tmp" ]
31 let filePath = joinPath [tmpDir, "testFile"]
44 writeFile (joinPath [tmpDir, "sanityCheck"]) "with sanity check mask"
45 sanityCheckStat <- getFileStatus $ joinPath [tmpDir, "sanityCheck"]
63 filePath = joinPath [tmpDir, "testFile"]
64 sampleFilePath = joinPath [tmpDir, "sampleFile"]
91 let path = joinPath [ tmpDir, "writeTest.tmp" ]
102 let filePath = joinPath [tmpDir, "testFile"]
116 sanityCheckStat <- getFileStatus $ joinPath [tmpDir, "sanityCheck"]
[all …]
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/atomic-write-0.2.0.7/spec/System/AtomicWrite/Writer/ByteString/
H A DBinarySpec.hs9 import System.FilePath.Posix (joinPath)
25 let path = joinPath [ tmpDir, "writeTest.tmp" ]
33 let filePath = joinPath [tmpDir, "testFile"]
46 writeFile (joinPath [tmpDir, "sanityCheck"]) "with sanity check mask"
47 sanityCheckStat <- getFileStatus $ joinPath [tmpDir, "sanityCheck"]
65 filePath = joinPath [tmpDir, "testFile"]
66 sampleFilePath = joinPath [tmpDir, "sampleFile"]
93 let path = joinPath [ tmpDir, "writeTest.tmp" ]
104 let filePath = joinPath [tmpDir, "testFile"]
118 sanityCheckStat <- getFileStatus $ joinPath [tmpDir, "sanityCheck"]
[all …]
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/atomic-write-0.2.0.7/spec/System/AtomicWrite/Writer/LazyByteString/
H A DBinarySpec.hs10 import System.FilePath.Posix (joinPath)
25 let path = joinPath [ tmpDir, "writeTest.tmp" ]
33 let filePath = joinPath [tmpDir, "testFile"]
46 writeFile (joinPath [tmpDir, "sanityCheck"]) "with sanity check mask"
47 sanityCheckStat <- getFileStatus $ joinPath [tmpDir, "sanityCheck"]
65 filePath = joinPath [tmpDir, "testFile"]
66 sampleFilePath = joinPath [tmpDir, "sampleFile"]
93 let path = joinPath [ tmpDir, "writeTest.tmp" ]
104 let filePath = joinPath [tmpDir, "testFile"]
118 sanityCheckStat <- getFileStatus $ joinPath [tmpDir, "sanityCheck"]
[all …]
/dports/science/axom/axom-0.6.1/src/axom/core/tests/
H A Dutils_fileUtilities.hpp28 TEST(utils_fileUtilities, joinPath) in TEST() argument
38 EXPECT_EQ(fullfile, fs::joinPath(fdir, fname)); in TEST()
40 EXPECT_EQ(fullfile, fs::joinPath(fdirWithSlash, fname)); in TEST()
43 EXPECT_EQ("abc/def/ghi", fs::joinPath(fdir, fnameWithSubdir)); in TEST()
60 EXPECT_FALSE(fs::pathExists(fs::joinPath(cwd, missing))); in TEST()
67 std::string dataDir = fs::joinPath(AXOM_SRC_DIR, "axom"); in TEST()
70 std::string fileName = fs::joinPath(dataDir, "config.hpp.in"); in TEST()
/dports/devel/py-zope.traversing/zope.traversing-3.14.0/src/zope/traversing/tests/
H A Dtest_conveniencefunctions.py308 from zope.traversing.api import joinPath
311 self.assertRaises(ValueError, joinPath, path, *args)
314 self.assertRaises(ValueError, joinPath, path, *args)
317 from zope.traversing.api import joinPath
324 self.assertEqual(joinPath(path, *args), u'bla/foo/bar/baz/bone')
328 self.assertEqual(joinPath(path, *args), u'bla/foo/bar/baz/bone')
332 self.assertRaises(ValueError, joinPath, path, *args)
335 from zope.traversing.api import joinPath
338 self.assertEqual(joinPath(path, *args), u'/bla/foo/baz/bone')
342 self.assertEqual(joinPath(path, *args), u'bla/foo/bar/baz/bone')
[all …]
/dports/textproc/hs-lhs2tex/lhs2tex-1.24/src/
H A DVersion.lhs.in33 > [ deep (joinPath (env "HOME" : [p ++ x]))
37 > [deep (joinPath [env "LHS2TEX"])] ++
42 > [\x -> absPath (joinPath $ ["usr","local","share"] +…
43 > ,\x -> absPath (joinPath $ ["usr","local","lib"] ++ …
44 > ,\x -> absPath (joinPath $ ["usr","share"] ++ x)
45 > ,\x -> absPath (joinPath $ ["usr","lib"] ++ x)
/dports/www/mediawiki137/mediawiki-1.37.1/vendor/wikimedia/relpath/
H A DCHANGELOG.md8 * Add strict type hints to `RelPath::joinPath()` and other RelPath methods.
20 * The `RelPath\joinPath` function was calling an undefined
29 For example, change `RelPath\joinPath` to `Wikimedia\RelPath::joinPath`.
52 * Collapse redundant path segments in `RelPath\joinPath()`.
60 * New `RelPath\joinPath()` method. This is analogous to Python's `os.path.join()`.
/dports/textproc/luceneplusplus/LucenePlusPlus-rel_3.0.8/src/core/store/
H A DSimpleFSLockFactory.cpp32 …String lockPath(FileUtils::joinPath(lockDir, lockPrefix.empty() ? lockName : lockPrefix + L"-" + l… in clearLock()
58 f.open(FileUtils::joinPath(lockDir, lockFile), std::ios::binary | std::ios::out); in obtain()
65 String path(FileUtils::joinPath(lockDir, lockFile)); in release()
72 return FileUtils::fileExists(FileUtils::joinPath(lockDir, lockFile)); in isLocked()
76 return getClassName() + L"@" + FileUtils::joinPath(lockDir, lockFile); in toString()
H A DFSDirectory.cpp94 String path(FileUtils::joinPath(directory, name)); in initOutput()
124 return FileUtils::fileExists(FileUtils::joinPath(directory, name)); in fileExists()
129 return FileUtils::fileModified(FileUtils::joinPath(directory, name)); in fileModified()
133 return FileUtils::fileModified(FileUtils::joinPath(directory, name)); in fileModified()
138 FileUtils::touchFile(FileUtils::joinPath(directory, name)); in touchFile()
143 if (!FileUtils::removeFile(FileUtils::joinPath(directory, name))) { in deleteFile()
150 return FileUtils::fileLength(FileUtils::joinPath(directory, name)); in fileLength()
155 String path(FileUtils::joinPath(directory, name)); in sync()
/dports/textproc/fcitx5/fcitx5-5.0.11/test/
H A Dteststringutils.cpp91 FCITX_ASSERT(stringutils::joinPath("/", 1, p) == "/1/def"); in main()
92 FCITX_ASSERT(stringutils::joinPath("/abc", 1, p) == "/abc/1/def"); in main()
93 FCITX_ASSERT(stringutils::joinPath("///abc", 1, p) == "///abc/1/def"); in main()
94 FCITX_ASSERT(stringutils::joinPath("///abc") == "///abc"); in main()
95 FCITX_ASSERT(stringutils::joinPath("///") == "///"); in main()
96 FCITX_ASSERT(stringutils::joinPath("abc") == "abc"); in main()
/dports/lang/nim/nim-1.6.2/tests/stdlib/
H A Dtos.nim546 doAssert joinPath("usr", "") == unixToNativePath"usr"
547 doAssert joinPath("", "lib") == "lib"
551 doAssert joinPath("", "/") == unixToNativePath"/"
552 doAssert joinPath("/", "/") == unixToNativePath"/"
553 doAssert joinPath("/", "") == unixToNativePath"/"
560 doAssert joinPath("", "abc") == unixToNativePath"abc"
571 doAssert joinPath("foo", "", "") == "foo"
572 doAssert joinPath("foo", "") == "foo"
574 doAssert joinPath("foo/", ".") == "foo"
588 doAssert joinPath("C:\\foo", "..\\a") == r"C:\a"
[all …]
/dports/textproc/luceneplusplus/LucenePlusPlus-rel_3.0.8/src/test/contrib/analyzers/common/analysis/ru/
H A DRussianStemTest.cpp24 …String wordsFile(FileUtils::joinPath(FileUtils::joinPath(getTestDir(), L"russian"), L"wordsUTF8.tx… in RussianStemmerTest()
25 …String stemsFile(FileUtils::joinPath(FileUtils::joinPath(getTestDir(), L"russian"), L"stemsUTF8.tx… in RussianStemmerTest()
/dports/emulators/mgba/mgba-0.9.2/tools/
H A Ddeploy-mac.py26 def joinPath(path): function
38 return joinPath(parent[:-2])
46 newPath = joinPath(accum)
70 if split[0] == '/' and not os.access(joinPath(split), os.F_OK):
72 oldPath = os.path.realpath(joinPath(split))
84 newPath = joinPath(newPath)
85 newExecPath = joinPath(newExecPath)
86 return joinPath(split), newPath, path, newExecPath

12345678910>>...19