Home
last modified time | relevance | path

Searched refs:separatorChar (Results 1 – 16 of 16) sorted by relevance

/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/
DSerializationTest.java114 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/
DFile.java221 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 …]
DUnixFileSystem.java210 char sep = File.separatorChar; in parentOrNull()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java57 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/
DFileURLConnection.java224 if (File.separatorChar == '/') { in getPermission()
228 decodedPath.replace('/',File.separatorChar), "read"); in getPermission()
DHandler.java67 super.parseURL(u, spec.replace(File.separatorChar, '/'), start, limit); in parseURL()
/libcore/ojluni/annotations/hiddenapi/java/io/
DFile.java343 public static final char separatorChar; field in File
346 separatorChar = 0;
/libcore/ojluni/annotations/sdk/nullability/java/io/
DFile.annotated.java157 public static final char separatorChar; field in File
158 static { separatorChar = 0; }
/libcore/luni/src/main/java/javax/xml/transform/stream/
DFilePathToURI.java60 char separator = java.io.File.separatorChar; in filepath2URI()
/libcore/luni/src/main/java/javax/xml/parsers/
DFilePathToURI.java60 char separator = java.io.File.separatorChar; in filepath2URI()
/libcore/ojluni/src/main/java/sun/security/util/
DPropertyExpander.java106 sb.append(java.io.File.separatorChar); in expand()
/libcore/ojluni/src/main/java/sun/misc/
DJarIndex.java237 ('/', File.separatorChar)); in parseJars()
DURLClassPath.java1260 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/
DRuntime.java1052 if (libname.indexOf((int)File.separatorChar) != -1) { in loadLibrary0()
/libcore/ojluni/src/main/java/java/net/
DURLClassLoader.java681 String path = url.getFile().replace('/', File.separatorChar); in getPermissions()
/libcore/ojluni/src/main/java/sun/net/www/
DParseUtil.java112 if ((!flag && c == '/') || (flag && c == File.separatorChar)) in encodePath()