Searched refs:slash (Results 1 - 21 of 21) sorted by relevance

/openjdk7/jdk/test/java/io/StreamTokenizer/
H A Dinput.txt10 / Error4: not recognizing slash comments
/openjdk7/jdk/src/solaris/instrument/
H A DFileSystemSupport_md.c35 #define slash '/' macro
47 char* last = strrchr(path, slash);
62 return (path[0] == slash) ? 1 : 0;
68 with a slash. It may be the empty string. */
79 while ((n > 0) && (pathname[n - 1] == slash)) n--;
93 if ((prevChar == slash) && (c == slash)) continue;
109 if ((prevChar == slash) && (c == slash))
113 if (prevChar == slash) retur
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/toolkit/url/
H A DUri.java102 * if were a <tt>path</tt> without a leading slash.
168 * slash following the authority part (or the scheme if there is
207 int slash = uri.indexOf('/', i);
208 if (slash < 0) {
209 slash = uri.length();
213 if (brac < 0 || brac > slash) {
220 int hostEnd = (colon < 0 || colon > slash)
221 ? slash
229 if ((i + 1 < slash) &&
232 port = Integer.parseInt(uri.substring(i, slash));
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/url/rmi/
H A DrmiURLContext.java78 int slash = url.indexOf('/', i);
79 if (slash < 0) {
80 slash = url.length();
84 if (brac < 0 || brac > slash) {
92 int hostEnd = (colon < 0 || colon > slash)
93 ? slash
100 if ((i + 1 < slash)) {
103 port = Integer.parseInt(url.substring(i, slash));
109 i = slash;
/openjdk7/jdk/src/windows/instrument/
H A DFileSystemSupport_md.c36 #define slash '\\' macro
57 char* pos = strchr(path, slash);
62 pos = strchr(pos, slash);
83 * for a UNC prefix, and does not end with a slash. It may be the empty
113 /* UNC pathname: Retain first slash; leave src pointed at
114 second slash so that further slashes will be collapsed
115 into the second slash. The result will be a pathname
119 sb[(*sbLen)++] = slash;
151 slashes into the preferred slash */
160 sb[sbLen++] = slash;
[all...]
/openjdk7/jdk/src/windows/classes/java/io/
H A DWin32FileSystem.java35 private final char slash; field in class:Win32FileSystem
40 slash = AccessController.doPrivileged(
44 altSlash = (this.slash == '\\') ? '/' : '\\';
56 if ((p.length() > 0) && (p.charAt(0) != slash)) return slash + p;
64 return slash;
72 for a UNC prefix, and does not end with a slash. It may be the empty
103 /* UNC pathname: Retain first slash; leave src pointed at
104 second slash so that further slashes will be collapsed
105 into the second slash
[all...]
/openjdk7/jdk/src/share/classes/sun/nio/fs/
H A DAbstractFileTypeDetector.java67 int slash = s.indexOf('/');
69 if (slash < 0)
71 String type = s.substring(0, slash).trim().toLowerCase(Locale.ENGLISH);
74 String subtype = (semicolon < 0) ? s.substring(slash + 1) :
75 s.substring(slash + 1, semicolon);
/openjdk7/jdk/src/share/classes/com/sun/jndi/cosnaming/
H A DIiopUrl.java107 int slash = hostPortVers.indexOf('/', start);
108 if (slash < 0) {
109 slash = hostPortVers.length();
113 if (brac < 0 || brac > slash) {
123 int hostEnd = (colon < 0 || colon > slash)
124 ? slash
131 if ((start + 1 < slash)) {
135 substring(start, slash));
141 start = slash;
/openjdk7/jdk/test/sun/misc/JarIndex/metaInfFilenames/
H A DBasic.java86 static final String slash = File.separator; field in class:Basic
88 "jarA" + slash + "a" + slash + "A.java",
89 "jarA" + slash + "com" + slash + "message" + slash + "spi" + slash + "MessageService.java",
90 "jarB" + slash + "b" + slash + "B.java",
91 "jarC" + slash
[all...]
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Dutils.cpp71 char* slash = strrchr(dir, '/'); local
72 if (slash == 0) return;
73 *slash = 0;
H A Dmain.cpp140 const char* slash = strrchr(progname, '/'); local
141 if (slash != null) progname = ++slash;
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsUriSupport.java50 int slash = path.indexOf('\\', 2);
51 uriHost = path.substring(2, slash);
52 uriPath = path.substring(slash).replace('\\', '/');
69 // append slash if known to be directory
102 // trailing slash will be added if file is a directory. Skip check if
/openjdk7/jdk/src/solaris/classes/java/io/
H A DUnixFileSystem.java34 private final char slash; field in class:UnixFileSystem
39 slash = AccessController.doPrivileged(
51 return slash;
59 with a slash. It may be the empty string. */
166 res = resDir + slash + filename;
167 cache.put(dir + slash + filename, res);
/openjdk7/jdk/test/sun/text/resources/
H A DLocaleDataTest.java319 int slash = qualifier.indexOf("/");
320 if (slash == -1) {
327 int row = Integer.valueOf(qualifier.substring(0, slash)).intValue();
328 int column = Integer.valueOf(qualifier.substring(slash + 1)).intValue();
/openjdk7/jdk/test/java/io/pathNames/
H A DGeneral.java176 /** Tell whether the given character is a "slash" on this platform */
273 /** Check a single slash case, plus its children */
275 String ans, String ask, String slash)
278 check(ans, ask + slash);
281 ask + slash);
285 /** Check slash cases for the given ask string */
274 checkSlash(int depth, boolean create, String ans, String ask, String slash) argument
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DNames.java50 public final Name slash; field in class:Names
159 slash = fromString("/");
/openjdk7/jdk/src/share/classes/javax/management/modelmbean/
H A DDescriptorSupport.java1242 final int slash = s.indexOf('/');
1243 if (slash < 0) {
1247 final String className = s.substring(1, slash);
1261 final String arg = s.substring(slash + 1, s.length() - 1);
/openjdk7/hotspot/make/windows/
H A Dbuild.bat112 echo workspace is source directory without trailing slash,
/openjdk7/hotspot/src/share/vm/prims/
H A DmethodHandles.cpp494 int start = i+1, slash = start; local
496 if (ch == '/' || ch == '.' || ch == '$') slash = i+1;
498 if (slash < i) start = slash;
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/parser/
H A DScanner.java901 name = names.slash;
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/tree/
H A DTreeInfo.java91 opname[JCTree.DIV - JCTree.POS] = names.slash;

Completed in 62 milliseconds