Home
last modified time | relevance | path

Searched refs:pathString (Results 1 – 25 of 991) sorted by relevance

12345678910>>...40

/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/
H A DPathData.java81 this(FileSystem.get(stringToUri(pathString), conf), pathString); in PathData()
104 this(fs, pathString, lookupStat(fs, pathString, true)); in PathData()
151 this.uri = stringToUri(pathString); in PathData()
491 return pathString; in normalizeWindowsPath()
495 ((pathString.length() >= 1) && (pathString.charAt(0) == '/')); in normalizeWindowsPath()
504 pathString = pathString.replace('\\', '/'); in normalizeWindowsPath()
515 if ((pathString.indexOf(':') == -1) && (pathString.indexOf('\\') != -1)) { in normalizeWindowsPath()
516 pathString = pathString.replace('\\', '/'); in normalizeWindowsPath()
519 return pathString; in normalizeWindowsPath()
539 pathString = normalizeWindowsPath(pathString); in stringToUri()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/
H A DURIUtilTest.java74 assertEquals("1.0", new Path(pathString), URIUtil.toPath(URIUtil.toURI(pathString, false))); in testToPath()
77 pathString = "c:/test/path with/spaces to_file.txt"; in testToPath()
79 pathString = "/test/path with/spaces to_file.txt"; in testToPath()
81 assertEquals("2.0", new Path(pathString), URIUtil.toPath(URIUtil.toURI(pathString))); in testToPath()
83 …assertEquals("3.0", new Path(pathString), URIUtil.toPath(WrapperFileSystem.getWrappedURI(URIUtil.t… in testToPath()
91 String pathString = null; in testToURIAbsolute() local
95 pathString = "/test/path with/spaces to_file.txt"; in testToURIAbsolute()
97 IPath path = new Path(pathString); in testToURIAbsolute()
99 URI uri02 = URIUtil.toURI(pathString); in testToURIAbsolute()
109 IPath path = new Path(pathString); in testToURIRelative()
[all …]
/dports/lang/squeak/Squeak-4.10.2.2614-src/unix/plugins/SecurityPlugin/
H A DsqUnixSecurity.c73 sqInt ioCanCreatePathOfSize(char* pathString, sqInt pathStringLength) in ioCanCreatePathOfSize() argument
76 return isAccessiblePathName(fromSqueak(pathString, pathStringLength), 1); in ioCanCreatePathOfSize()
80 sqInt ioCanListPathOfSize(char* pathString, sqInt pathStringLength) in ioCanListPathOfSize() argument
83 return isAccessiblePathName(fromSqueak(pathString, pathStringLength), 0); in ioCanListPathOfSize()
87 sqInt ioCanDeletePathOfSize(char* pathString, sqInt pathStringLength) in ioCanDeletePathOfSize() argument
90 return isAccessiblePathName(fromSqueak(pathString, pathStringLength), 1); in ioCanDeletePathOfSize()
110 sqInt ioCanDeleteFileOfSize(char* pathString, sqInt pathStringLength) in ioCanDeleteFileOfSize() argument
113 return isAccessibleFileName(fromSqueak(pathString, pathStringLength), 1); in ioCanDeleteFileOfSize()
116 sqInt ioCanRenameFileOfSize(char* pathString, sqInt pathStringLength) in ioCanRenameFileOfSize() argument
123 sqInt ioCanGetFileTypeOfSize(char* pathString, sqInt pathStringLength) in ioCanGetFileTypeOfSize() argument
[all …]
/dports/graphics/opencollada/OpenCOLLADA-1.6.68/COLLADABaseUtils/src/
H A DCOLLADABUUtils.cpp221 const wchar_t* testPath = pathString.c_str(); in createDirectoryIfNeeded()
247 const char* testPath = pathString.c_str(); in createDirectoryIfNeeded()
264 const char* testPath = pathString.c_str(); in createDirectoryIfNeeded()
279 if (pathString.length() == 0) in createDirectoryRecursive()
282 WideString path = pathString; in createDirectoryRecursive()
325 if (pathString.length() == 0) in createDirectoryRecursive()
328 String path = pathString; in createDirectoryRecursive()
411 const wchar_t* testPath = pathString.c_str(); in directoryExists()
431 const char* testPath = pathString.c_str(); in directoryExists()
442 if(stat(pathString.c_str(),&st) == 0) in directoryExists()
[all …]
/dports/lang/squeak/Squeak-4.10.2.2614-src/Cross/plugins/SecurityPlugin/
H A DSecurityPlugin.h20 sqInt ioCanCreatePathOfSize(char* pathString, sqInt pathStringLength);
21 sqInt ioCanDeleteFileOfSize(char* pathString, sqInt pathStringLength);
22 sqInt ioCanDeletePathOfSize(char* pathString, sqInt pathStringLength);
23 sqInt ioCanGetFileTypeOfSize(char* pathString, sqInt pathStringLength);
24 sqInt ioCanListPathOfSize(char* pathString, sqInt pathStringLength);
25 sqInt ioCanOpenAsyncFileOfSizeWritable(char* pathString, sqInt pathStringLength, sqInt writeFlag);
26 sqInt ioCanOpenFileOfSizeWritable(char* pathString, sqInt pathStringLength, sqInt writeFlag);
27 sqInt ioCanRenameFileOfSize(char* pathString, sqInt pathStringLength);
29 sqInt ioCanSetFileTypeOfSize(char* pathString, sqInt pathStringLength);
/dports/astro/marble/marble-21.12.3/tools/pnt2svg/
H A Dpnt2svg.cpp62 QString pathString; in main() local
97 if (!pathString.isEmpty() && !clipped) { in main()
98 pathString += closePolygon; in main()
99 pathString += styleString; in main()
100 pathString += QString(" id=\"path%1_%2\" />").arg(pathIndex).arg(origHeader); in main()
101 pathList.append(pathString); in main()
110pathString += QString(" L %1, %2").arg((qreal)(iLon) * INT2SVG + 216 ).arg(-(qreal)(iLat) * INT2SV… in main()
121 if (!pathString.isEmpty() && !clipped) { in main()
122 pathString += closePolygon; in main()
123 pathString += QString(" id=\"path%1_%2\" />").arg(count).arg(origHeader); in main()
[all …]
/dports/science/InsightToolkit/ITK-5.0.1/Modules/IO/ImageBase/test/
H A DitkIOCommonTest.cxx60 std::string pathString = itksys::SystemTools::GetFilenamePath(fileName); in CheckFileNameParsing() local
62 for (size_t i = 0; i < pathString.size(); i++) in CheckFileNameParsing()
64 if (pathString[i] == '/') in CheckFileNameParsing()
66 pathString[i] = '\\'; in CheckFileNameParsing()
72 if (pathString.size() > 1) in CheckFileNameParsing()
75 pathString = pathString + "\\"; in CheckFileNameParsing()
77 pathString = pathString + "/"; in CheckFileNameParsing()
80 path = new char[pathString.size() + 1]; in CheckFileNameParsing()
81 std::strncpy(path, pathString.c_str(),pathString.size() + 1); in CheckFileNameParsing()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/rt.equinox.p2/bundles/org.eclipse.equinox.p2.core/src/org/eclipse/equinox/internal/p2/core/helpers/
H A DURLUtil.java40 String pathString = externalForm.substring(5); in toFile() local
43 if (pathString.indexOf('/') == 0) { in toFile()
44 if (pathString.indexOf("//") == 0) //$NON-NLS-1$ in toFile()
45 externalForm = "file:" + ensureUNCPath(pathString); //$NON-NLS-1$ in toFile()
48 if (pathString.indexOf(':') == 1) in toFile()
49 return new File(new URI("file:/" + pathString)); //$NON-NLS-1$ in toFile()
51 return new File(new URI(pathString).getSchemeSpecificPart()); in toFile()
54 return new File(pathString); in toFile()
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/tools/PsfPlayer/Source/
H A DPsfStreamProvider.cpp67 auto pathString = pathToken.GetWidePath(); in GetSiblingPath() local
68 auto slashPos = pathString.find_last_of(L"/"); in GetSiblingPath()
71 slashPos = pathString.find_last_of(L"\\"); in GetSiblingPath()
78 auto stem = std::wstring(std::begin(pathString), std::begin(pathString) + slashPos); in GetSiblingPath()
85 auto pathString = GetFilePathFromPathToken(pathToken); in GetStreamForPath() local
86 std::replace(pathString.begin(), pathString.end(), '\\', '/'); in GetStreamForPath()
87 const auto& fileInfo(m_archive->GetFileInfo(pathString.c_str())); in GetStreamForPath()
95 m_archive->ReadFileContents(pathString.c_str(), result->GetBuffer(), fileInfo->length); in GetStreamForPath()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.resources/bundles/org.eclipse.core.filesystem/src/org/eclipse/core/filesystem/
H A DURIUtil.java110 public static URI toURI(String pathString) { in toURI() argument
111 IPath path = new Path(pathString); in toURI()
132 public static URI toURI(String pathString, boolean forceAbsolute) { in toURI() argument
134 pathString = pathString.replace(File.separatorChar, '/'); in toURI()
135 final int length = pathString.length(); in toURI()
138 if (length > 0 && (pathString.charAt(0) != '/') && forceAbsolute) { in toURI()
142 if (pathString.startsWith("//")) //$NON-NLS-1$ in toURI()
144 pathBuf.append(pathString); in toURI()
153 return new File(pathString).toURI(); in toURI()
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/
H A DPath.java134 checkPathArg( pathString ); in Path()
140 if (hasWindowsDrive(pathString) && pathString.charAt(0) != '/') { in Path()
141 pathString = "/" + pathString; in Path()
151 int colon = pathString.indexOf(':'); in Path()
152 int slash = pathString.indexOf('/'); in Path()
155 scheme = pathString.substring(0, colon); in Path()
160 if (pathString.startsWith("//", start) && in Path()
162 int nextSlash = pathString.indexOf('/', start+2); in Path()
169 String path = pathString.substring(start, pathString.length()); in Path()
285 && pathString.length() > start in isWindowsAbsolutePath()
[all …]
/dports/misc/usd/USD-21.11/pxr/usdImaging/usdAppUtils/testenv/
H A DtestUsdAppUtilsCamera.py54 self.assertEqual(usdCamera.GetPath().pathString, '/Cameras/MainCamera')
59 self.assertEqual(usdCamera.GetPath().pathString,
65 self.assertEqual(usdCamera.GetPath().pathString,
75 self.assertEqual(usdCamera.GetPath().pathString, '/Cameras/MainCamera')
79 self.assertEqual(usdCamera.GetPath().pathString,
84 self.assertEqual(usdCamera.GetPath().pathString,
95 self.assertEqual(usdCamera.GetPath().pathString, '/Cameras/MainCamera')
100 self.assertEqual(usdCamera.GetPath().pathString,
106 self.assertEqual(usdCamera.GetPath().pathString,
/dports/graphics/opencollada/OpenCOLLADA-1.6.68/COLLADABaseUtils/include/
H A DCOLLADABUUtils.h172 static bool createDirectoryIfNeeded( const WideString &pathString );
173 static bool createDirectoryIfNeeded( const String &pathString );
174 static bool createDirectoryRecursive( const WideString &pathString );
175 static bool createDirectoryRecursive( const String &pathString );
176 static bool directoryExists( const WideString &pathString );
177 static bool directoryExists( const String &pathString );
180 static bool deleteFile(const String &pathString);
181 static bool fileExistsAndIsReadable( const String &pathString );
/dports/security/vuls/vuls-0.13.7/vendor/github.com/pelletier/go-toml/query/
H A Dmatch_test.go10 func pathString(root pathFn) string { func
17 result += pathString(fn.next)
20 result += pathString(fn.next)
24 result += pathString(fn.next)
27 result += pathString(fn.next)
31 result += pathString(v) + ", "
36 result += pathString(fn.next)
39 result += pathString(fn.next)
45 pathStr := pathString(path.root)
46 refStr := pathString(ref.root)
/dports/net/gscloud/gscloud-0.11.0/vendor/github.com/pelletier/go-toml/query/
H A Dmatch_test.go10 func pathString(root pathFn) string { func
17 result += pathString(fn.next)
20 result += pathString(fn.next)
24 result += pathString(fn.next)
27 result += pathString(fn.next)
31 result += pathString(v) + ", "
36 result += pathString(fn.next)
39 result += pathString(fn.next)
45 pathStr := pathString(path.root)
46 refStr := pathString(ref.root)
/dports/databases/pg_tileserv/pg_tileserv-1.0.8/vendor/github.com/pelletier/go-toml/query/
H A Dmatch_test.go10 func pathString(root pathFn) string { func
17 result += pathString(fn.next)
20 result += pathString(fn.next)
24 result += pathString(fn.next)
27 result += pathString(fn.next)
31 result += pathString(v) + ", "
36 result += pathString(fn.next)
39 result += pathString(fn.next)
45 pathStr := pathString(path.root)
46 refStr := pathString(ref.root)
/dports/security/vault/vault-1.8.2/vendor/github.com/joyent/triton-go/vendor/github.com/pelletier/go-toml/query/
H A Dmatch_test.go10 func pathString(root pathFn) string { func
17 result += pathString(fn.next)
20 result += pathString(fn.next)
24 result += pathString(fn.next)
27 result += pathString(fn.next)
31 result += pathString(v) + ", "
36 result += pathString(fn.next)
39 result += pathString(fn.next)
45 pathStr := pathString(path.root)
46 refStr := pathString(ref.root)
/dports/deskutils/ultralist/ultralist-1.7.0/vendor/github.com/pelletier/go-toml/go-toml-1.2.0/query/
H A Dmatch_test.go10 func pathString(root pathFn) string { func
17 result += pathString(fn.next)
20 result += pathString(fn.next)
24 result += pathString(fn.next)
27 result += pathString(fn.next)
31 result += pathString(v) + ", "
36 result += pathString(fn.next)
39 result += pathString(fn.next)
45 pathStr := pathString(path.root)
46 refStr := pathString(ref.root)
/dports/security/certmgr/certmgr-3.0.3/vendor/github.com/pelletier/go-toml/go-toml-1.4.0/query/
H A Dmatch_test.go10 func pathString(root pathFn) string { func
17 result += pathString(fn.next)
20 result += pathString(fn.next)
24 result += pathString(fn.next)
27 result += pathString(fn.next)
31 result += pathString(v) + ", "
36 result += pathString(fn.next)
39 result += pathString(fn.next)
45 pathStr := pathString(path.root)
46 refStr := pathString(ref.root)
/dports/devel/lab/lab-0.17.2/vendor/github.com/pelletier/go-toml/query/
H A Dmatch_test.go10 func pathString(root pathFn) string { func
17 result += pathString(fn.next)
20 result += pathString(fn.next)
24 result += pathString(fn.next)
27 result += pathString(fn.next)
31 result += pathString(v) + ", "
36 result += pathString(fn.next)
39 result += pathString(fn.next)
45 pathStr := pathString(path.root)
46 refStr := pathString(ref.root)
/dports/multimedia/livego/livego-0.0.15/vendor/github.com/pelletier/go-toml/query/
H A Dmatch_test.go10 func pathString(root pathFn) string { func
17 result += pathString(fn.next)
20 result += pathString(fn.next)
24 result += pathString(fn.next)
27 result += pathString(fn.next)
31 result += pathString(v) + ", "
36 result += pathString(fn.next)
39 result += pathString(fn.next)
45 pathStr := pathString(path.root)
46 refStr := pathString(ref.root)
/dports/security/aws-iam-authenticator/aws-iam-authenticator-0.5.2/vendor/github.com/pelletier/go-toml/go-toml-1.2.0/query/
H A Dmatch_test.go10 func pathString(root pathFn) string { func
17 result += pathString(fn.next)
20 result += pathString(fn.next)
24 result += pathString(fn.next)
27 result += pathString(fn.next)
31 result += pathString(v) + ", "
36 result += pathString(fn.next)
39 result += pathString(fn.next)
45 pathStr := pathString(path.root)
46 refStr := pathString(ref.root)
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/pelletier/go-toml/
H A Dmatch_test.go9 func pathString(root pathFn) string { func
16 result += pathString(fn.next)
19 result += pathString(fn.next)
23 result += pathString(fn.next)
26 result += pathString(fn.next)
30 result += pathString(v) + ", "
35 result += pathString(fn.next)
38 result += pathString(fn.next)
44 pathStr := pathString(path.root)
45 refStr := pathString(ref.root)
/dports/net-mgmt/php-fpm_exporter/php-fpm_exporter-2.0.4/vendor/github.com/pelletier/go-toml/query/
H A Dmatch_test.go10 func pathString(root pathFn) string { func
17 result += pathString(fn.next)
20 result += pathString(fn.next)
24 result += pathString(fn.next)
27 result += pathString(fn.next)
31 result += pathString(v) + ", "
36 result += pathString(fn.next)
39 result += pathString(fn.next)
45 pathStr := pathString(path.root)
46 refStr := pathString(ref.root)
/dports/www/oauth2-proxy/oauth2-proxy-7.2.0/vendor/github.com/pelletier/go-toml/query/
H A Dmatch_test.go10 func pathString(root pathFn) string { func
17 result += pathString(fn.next)
20 result += pathString(fn.next)
24 result += pathString(fn.next)
27 result += pathString(fn.next)
31 result += pathString(v) + ", "
36 result += pathString(fn.next)
39 result += pathString(fn.next)
45 pathStr := pathString(path.root)
46 refStr := pathString(ref.root)

12345678910>>...40