Home
last modified time | relevance | path

Searched refs:separator (Results 1 – 25 of 25) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java60 return path + File.separator; in addTrailingSlash()
72 …em.getProperty("java.io.tmpdir")) + "harmony-test-" + getClass().getSimpleName() + File.separator); in setUp()
295 … File.separator + "pa th" + File.separator + "another\u20ac" + File.separator + "pa%th")); in test_ConstructorLjava_net_URI()
399 if (!dirName.endsWith(File.separator)) { in test_createNewFile()
400 dirName += File.separator; in test_createNewFile()
403 dir.getPath() + File.separator, dirName); in test_createNewFile()
412 String sep = File.separator; in test_createNewFile()
711 f = new File(base + "Temp" + File.separator + File.separator + "temp.tst"); in test_getAbsoluteFile()
715 f = new File(base + File.separator + ".." + File.separator + "temp.tst"); in test_getAbsoluteFile()
732 …f = new File(base + "Temp" + File.separator + File.separator + File.separator + "Testing" + File.s… in test_getAbsolutePath()
[all …]
DBufferedWriterTest.java133 String separator = System.getProperty("line.separator"); in test_newLine() local
139 .equals("Hello" + separator + "World")); in test_newLine()
DRandomAccessFileTest.java1013 if (File.separator != "/") { in testRandomAccessFile_seekMoreThan2gb()
/libcore/ojluni/src/main/java/java/net/
DJarURLConnection.java167 int separator = spec.indexOf("!/"); in parseSpecs() local
171 if (separator == -1) { in parseSpecs()
175 jarFileURL = new URL(spec.substring(0, separator++)); in parseSpecs()
179 if (++separator != spec.length()) { in parseSpecs()
180 entryName = spec.substring(separator, spec.length()); in parseSpecs()
DURLClassLoader.java676 if (path.endsWith(File.separator)) { in getPermissions()
683 if (path.endsWith(File.separator)) in getPermissions()
/libcore/luni/src/test/java/libcore/java/io/
DOldFileTest.java69 if (!tmpDirName.endsWith(File.separator)) { in test_ConstructorLjava_io_FileLjava_lang_String()
70 tmpDirName += File.separator; in test_ConstructorLjava_io_FileLjava_lang_String()
95 if (!tmpDir.endsWith(File.separator)) { in test_ConstructorLjava_lang_StringLjava_lang_String()
96 tmpDir += File.separator; in test_ConstructorLjava_lang_StringLjava_lang_String()
152 assertTrue("Test 1: URL does not end with slash.", newDirURL.endsWith(File.separator)); in test_toURL3()
DOldBufferedWriterTest.java106 String separator = System.getProperty("line.separator"); in test_newLine() local
112 sw.toString().equals("Hello" + separator + "World")); in test_newLine()
DFileTest.java233 if (!userDir.endsWith(File.separator)) { in test_getAbsolutePath()
234 userDir = userDir + File.separator; in test_getAbsolutePath()
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DHandler.java37 private static final String separator = "!/"; field in Handler
67 int sep1 = file1.indexOf(separator); in sameFile()
68 int sep2 = file2.indexOf(separator); in sameFile()
104 int sep = file.indexOf(separator); in hashCode()
/libcore/luni/src/test/java/libcore/java/util/
DBase64Test.java751 byte[] separator = new byte[] { '*' }; in testRoundTrip_allBytes_mime_singleLine()
752 checkRoundTrip_allBytes_singleLine(Base64.getMimeEncoder(Integer.MIN_VALUE, separator), in testRoundTrip_allBytes_mime_singleLine()
754 checkRoundTrip_allBytes_singleLine(Base64.getMimeEncoder(-1, separator), decoder); in testRoundTrip_allBytes_mime_singleLine()
755 checkRoundTrip_allBytes_singleLine(Base64.getMimeEncoder(0, separator), decoder); in testRoundTrip_allBytes_mime_singleLine()
756 checkRoundTrip_allBytes_singleLine(Base64.getMimeEncoder(1, separator), decoder); in testRoundTrip_allBytes_mime_singleLine()
757 checkRoundTrip_allBytes_singleLine(Base64.getMimeEncoder(2, separator), decoder); in testRoundTrip_allBytes_mime_singleLine()
758 checkRoundTrip_allBytes_singleLine(Base64.getMimeEncoder(3, separator), decoder); in testRoundTrip_allBytes_mime_singleLine()
762 ALL_BYTE_VALUES_ENCODED.length(), separator), decoder); in testRoundTrip_allBytes_mime_singleLine() local
763 checkRoundTrip_allBytes_singleLine(Base64.getMimeEncoder(Integer.MAX_VALUE, separator), in testRoundTrip_allBytes_mime_singleLine()
792 byte[] separator = new byte[] { '*' }; in testRoundTrip_allBytes_mime_lineLength()
[all …]
/libcore/luni/src/main/java/javax/xml/parsers/
DFilePathToURI.java60 char separator = java.io.File.separatorChar; in filepath2URI() local
61 path = path.replace(separator, '/'); in filepath2URI()
/libcore/luni/src/main/java/javax/xml/transform/stream/
DFilePathToURI.java60 char separator = java.io.File.separatorChar; in filepath2URI() local
61 path = path.replace(separator, '/'); in filepath2URI()
/libcore/json/src/main/java/org/json/
DJSONTokener.java386 int separator = nextCleanInternal(); in readObject() local
387 if (separator != ':' && separator != '=') { in readObject()
DJSONArray.java567 public String join(String separator) throws JSONException { in join() argument
572 stringer.out.append(separator); in join()
/libcore/luni/src/main/java/javax/xml/datatype/
DFactoryFinder.java60 String configFile = javah + File.separator + "lib" + File.separator + "jaxp.properties";
/libcore/ojluni/annotations/hiddenapi/java/io/
DFile.java337 public static final java.lang.String separator; field in File
340 separator = null;
/libcore/luni/src/main/java/javax/xml/xpath/
DXPathFactoryFinder.java68 String configFile = javah + File.separator + "lib" + File.separator + "jaxp.properties";
/libcore/luni/src/main/java/javax/xml/validation/
DSchemaFactoryFinder.java61 String configFile = javah + File.separator + "lib" + File.separator + "jaxp.properties";
/libcore/ojluni/annotations/sdk/nullability/java/io/
DFile.annotated.java154 @libcore.util.NonNull public static final java.lang.String separator; field in File
155 static { separator = null; }
/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/
DSerializationTest.java116 path = outputPath + File.separator + path; in getDataFile()
/libcore/luni/src/test/java/libcore/java/util/logging/
DOldFileHandlerTest.java44 final static String SEP = File.separator;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DControlTest.java382 String copyName = targetDir + File.separator + "hyts_resource_copy" + tail; in copyFile()
/libcore/ojluni/src/main/java/java/io/
DFile.java228 public static final String separator = "" + separatorChar; field in File
/libcore/expectations/
Dknownfailures.txt860 "libcore.xml.XsltXPathConformanceTestSuite$XsltTest#Mixed.XSLTFunctions__Pattern-separator",
/libcore/api/
Dcurrent.txt1522 field @NonNull public static final String separator;