/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
D | FilePermissionTest.java | 129 File.separatorChar), "read,write"); in test_impliesLjava_security_Permission() 131 File.separatorChar), "write"); in test_impliesLjava_security_Permission() 135 File.separatorChar), "write"); in test_impliesLjava_security_Permission() 140 File.separatorChar), "read,write"); in test_impliesLjava_security_Permission() 142 File.separatorChar), "write"); in test_impliesLjava_security_Permission() 148 File.separatorChar), "read,write"); in test_impliesLjava_security_Permission() 150 File.separatorChar), "write"); in test_impliesLjava_security_Permission() 154 File.separatorChar), "read,write"); in test_impliesLjava_security_Permission() 156 File.separatorChar), "write"); in test_impliesLjava_security_Permission() 160 File.separatorChar), "read,write"); in test_impliesLjava_security_Permission() [all …]
|
D | FileTest.java | 62 if (File.separatorChar == path.charAt(path.length() - 1)) { in addTrailingSlash() 124 if (File.separatorChar == '\\') { in test_ConstructorLjava_io_FileLjava_lang_String4() 226 if (File.separatorChar == '\\') { in test_Constructor_String_String_112270() 250 if (File.separatorChar == '\\') { in test_Constructor_File_String_112270() 681 boolean onWindows = File.separatorChar == '\\'; in test_equalsLjava_lang_Object() 682 boolean onUnix = File.separatorChar == '/'; in test_equalsLjava_lang_Object() 787 boolean onWindows = File.separatorChar == '\\'; in test_getCanonicalFile() 865 boolean onWindows = (File.separatorChar == '\\'); in test_getCanonicalPath() 951 if (File.separatorChar == '\\' && new File("d:/").isAbsolute()) { in test_getParent() 1069 if (File.separatorChar == '\\') { in test_isAbsolute() [all …]
|
/libcore/luni/src/test/java/tests/api/java/io/ |
D | FilePermissionTest.java | 154 File.separatorChar), "read,write"); in test_impliesLjava_security_Permission() 156 File.separatorChar), "write"); in test_impliesLjava_security_Permission() 160 File.separatorChar), "write"); in test_impliesLjava_security_Permission() 165 File.separatorChar), "read,write"); in test_impliesLjava_security_Permission() 167 File.separatorChar), "write"); in test_impliesLjava_security_Permission() 173 File.separatorChar), "read,write"); in test_impliesLjava_security_Permission() 175 File.separatorChar), "write"); in test_impliesLjava_security_Permission() 179 File.separatorChar), "read,write"); in test_impliesLjava_security_Permission() 181 File.separatorChar), "write"); in test_impliesLjava_security_Permission() 185 File.separatorChar), "read,write"); in test_impliesLjava_security_Permission() [all …]
|
D | FileTest.java | 729 boolean onWindows = File.separatorChar == '\\'; in test_equalsLjava_lang_Object() 730 boolean onUnix = File.separatorChar == '/'; in test_equalsLjava_lang_Object() 872 boolean onWindows = File.separatorChar == '\\'; in test_getCanonicalFile() 1034 if (File.separatorChar == '\\' && new File("d:/").isAbsolute()) { in test_getParent() 1124 if (File.separatorChar == '\\') { in test_isAbsolute() 1203 boolean onUnix = File.separatorChar == '/'; in test_isHidden() 1474 boolean onUnix = File.separatorChar == '/'; in test_listFiles() 1475 boolean onWindows = File.separatorChar == '\\'; in test_listFiles() 1912 boolean onUnix = File.separatorChar == '/'; in test_listRoots() 1913 boolean onWindows = File.separatorChar == '\\'; in test_listRoots() [all …]
|
/libcore/luni/src/main/java/java/io/ |
D | File.java | 73 public static final char separatorChar; field in File 112 separatorChar = System.getProperty("file.separator", "/").charAt(0); 114 separator = String.valueOf(separatorChar); 190 boolean isAbsolute = cleanPath.length() > 0 && cleanPath.charAt(0) == separatorChar; in init() 212 newPath[newLength++] = separatorChar; in fixSlashes() 231 boolean haveSlash = (prefixLength > 0 && prefix.charAt(prefixLength - 1) == separatorChar); in join() 233 haveSlash = (suffix.length() > 0 && suffix.charAt(0) == separatorChar); in join() 235 return haveSlash ? (prefix + suffix) : (prefix + separatorChar + suffix); in join() 487 if (separatorChar == '/') { in getCanonicalPath() 495 if (result.charAt(i) == separatorChar) { in getCanonicalPath() [all …]
|
D | FilePermission.java | 325 if (pChar == File.separatorChar) { in impliesMask()
|
/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/ |
D | SerializationTest.java | 160 String path = name.substring(0, dot).replace('.', File.separatorChar); in getDataFile() 177 String goldenPath = outputPath + File.separatorChar in produceGoldenFiles() 178 + getClass().getName().replace('.', File.separatorChar) in produceGoldenFiles() 521 path.append(File.separatorChar); in getObject() 522 path.append(test.getClass().getName().replace('.', File.separatorChar)); in getObject() 553 File.separatorChar) in createGoldenFile() 557 goldenPath = root + File.separatorChar + goldenPath; in createGoldenFile()
|
/libcore/junit/src/test/java/junit/runner/ |
D | ClassPathTestCollector.java | 52 gatherFiles(classRoot, classFileName+File.separatorChar+contents[i], result); in gatherFiles() 75 String s2= s.replace(File.separatorChar, '.'); in classNameFromFile()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | Permissions2Test.java | 72 char s = File.separatorChar; in test_addLjava_security_Permission() 121 char s = File.separatorChar; in test_elements() 160 char s = File.separatorChar; in test_impliesLjava_security_Permission()
|
D | PolicyTest.java | 222 char s = File.separatorChar; in test_implies()
|
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/file/ |
D | FileURLConnection.java | 199 if (File.separatorChar != '/') { in getPermission() 200 path = path.replace('/', File.separatorChar); in getPermission()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | TouchDex.java | 115 outPath.append(File.separatorChar); in expandDirectories()
|
/libcore/luni/src/main/java/javax/xml/parsers/ |
D | FilePathToURI.java | 60 char separator = java.io.File.separatorChar; in filepath2URI()
|
/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/org/apache/harmony/security/fortress/ |
D | PolicyUtils.java | 283 return expand(str, properties).replace(File.separatorChar, '/'); in expandURL() 326 path = path.replace(File.separatorChar, '/'); in filePathToURI()
|
/libcore/luni/src/main/java/java/net/ |
D | URLClassLoader.java | 186 parentFile = parentFile.replace(File.separatorChar, '/'); in getParentURL() 755 if (File.separatorChar != '/') { in getPermissions() 756 path = path.replace('/', File.separatorChar); in getPermissions()
|
/libcore/luni/src/test/java/tests/api/java/security/ |
D | AccessControlContextTest.java | 155 char s = File.separatorChar; in test_checkPermission()
|
/libcore/luni/src/main/java/java/util/logging/ |
D | FileHandler.java | 285 pattern = pattern.replace('/', File.separatorChar);
|
/libcore/luni/src/main/java/org/apache/xalan/transformer/ |
D | TransformerImpl.java | 569 base = base + java.io.File.separatorChar in transform()
|