Searched refs:separatorChar (Results 1 – 16 of 16) sorted by relevance
/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/ |
D | SerializationTest.java | 114 String path = name.substring(0, dot).replace('.', File.separatorChar); in getDataFile() 131 String goldenPath = outputPath + File.separatorChar in produceGoldenFiles() 132 + getClass().getName().replace('.', File.separatorChar) in produceGoldenFiles() 425 path.append(File.separatorChar); in getObject() 426 path.append(test.getClass().getName().replace('.', File.separatorChar)); in getObject() 449 String goldenPath = (test.getClass().getName().replace('.', File.separatorChar) in createGoldenFile() 452 goldenPath = root + File.separatorChar + goldenPath; in createGoldenFile()
|
/libcore/ojluni/src/main/java/java/io/ |
D | File.java | 221 public static final char separatorChar = fs.getSeparator(); field in File 228 public static final String separator = "" + separatorChar; 437 if (File.separatorChar != '/') in File() 438 p = p.replace('/', File.separatorChar); in File() 457 int index = path.lastIndexOf(separatorChar); in getName() 476 int index = path.lastIndexOf(separatorChar); in getParent() 642 if (File.separatorChar != '/') in slashify() 643 p = p.replace(File.separatorChar, '/'); in slashify() 2139 s.writeChar(separatorChar); // Add the separator character in writeObject() 2154 if (sep != separatorChar) in readObject() [all …]
|
D | UnixFileSystem.java | 210 char sep = File.separatorChar; in parentOrNull()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileTest.java | 57 if (File.separatorChar == path.charAt(path.length() - 1)) { in addTrailingSlash() 121 if (File.separatorChar == '\\') { in test_ConstructorLjava_io_FileLjava_lang_String4() 223 if (File.separatorChar == '\\') { in test_Constructor_String_String_112270() 247 if (File.separatorChar == '\\') { in test_Constructor_File_String_112270() 759 boolean onWindows = File.separatorChar == '\\'; in test_getCanonicalFile() 837 boolean onWindows = (File.separatorChar == '\\'); in test_getCanonicalPath() 922 if (File.separatorChar == '\\' && new File("d:/").isAbsolute()) { in test_getParent() 1042 if (File.separatorChar == '\\') { in test_isAbsolute() 1113 boolean onUnix = File.separatorChar == '/'; in test_isHidden() 1317 boolean onUnix = File.separatorChar == '/'; in test_listFiles() [all …]
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/ |
D | FileURLConnection.java | 224 if (File.separatorChar == '/') { in getPermission() 228 decodedPath.replace('/',File.separatorChar), "read"); in getPermission()
|
D | Handler.java | 67 super.parseURL(u, spec.replace(File.separatorChar, '/'), start, limit); in parseURL()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | File.java | 343 public static final char separatorChar; field in File 346 separatorChar = 0;
|
/libcore/ojluni/annotations/sdk/nullability/java/io/ |
D | File.annotated.java | 157 public static final char separatorChar; field in File 158 static { separatorChar = 0; }
|
/libcore/luni/src/main/java/javax/xml/transform/stream/ |
D | FilePathToURI.java | 60 char separator = java.io.File.separatorChar; in filepath2URI()
|
/libcore/luni/src/main/java/javax/xml/parsers/ |
D | FilePathToURI.java | 60 char separator = java.io.File.separatorChar; in filepath2URI()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | PropertyExpander.java | 106 sb.append(java.io.File.separatorChar); in expand()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | JarIndex.java | 237 ('/', File.separatorChar)); in parseJars()
|
D | URLClassPath.java | 1260 String path = url.getFile().replace('/', File.separatorChar); 1292 file = (new File(dir, name.replace('/', File.separatorChar))) 1299 file = new File(dir, name.replace('/', File.separatorChar));
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Runtime.java | 1052 if (libname.indexOf((int)File.separatorChar) != -1) { in loadLibrary0()
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLClassLoader.java | 681 String path = url.getFile().replace('/', File.separatorChar); in getPermissions()
|
/libcore/ojluni/src/main/java/sun/net/www/ |
D | ParseUtil.java | 112 if ((!flag && c == '/') || (flag && c == File.separatorChar)) in encodePath()
|