Searched defs:slash (Results 1 - 10 of 10) sorted by relevance
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/ |
H A D | utils.cpp | 71 char* slash = strrchr(dir, '/'); local 72 if (slash == 0) return; 73 *slash = 0;
|
H A D | main.cpp | 140 const char* slash = strrchr(progname, '/'); local 141 if (slash != null) progname = ++slash;
|
/openjdk7/jdk/src/solaris/instrument/ |
H A D | FileSystemSupport_md.c | 35 #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/test/java/io/pathNames/ |
H A D | General.java | 176 /** 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/jdk/src/windows/instrument/ |
H A D | FileSystemSupport_md.c | 36 #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/test/sun/misc/JarIndex/metaInfFilenames/ |
H A D | Basic.java | 86 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/solaris/classes/java/io/ |
H A D | UnixFileSystem.java | 34 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/src/windows/classes/java/io/ |
H A D | Win32FileSystem.java | 35 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/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | Names.java | 50 public final Name slash; field in class:Names 159 slash = fromString("/");
|
/openjdk7/hotspot/src/share/vm/prims/ |
H A D | methodHandles.cpp | 494 int start = i+1, slash = start; local 496 if (ch == '/' || ch == '.' || ch == '$') slash = i+1; 498 if (slash < i) start = slash;
|
Completed in 45 milliseconds