Home
last modified time | relevance | path

Searched refs:sep (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/test/java/libcore/java/text/
DDateFormatTest.java35 char sep = ' '; in testIs24Hour_notCached() local
41 checkTimePattern(DateFormat.SHORT, "h:mm" + sep + "a"); in testIs24Hour_notCached()
42 checkTimePattern(DateFormat.MEDIUM, "h:mm:ss" + sep + "a"); in testIs24Hour_notCached()
49 checkTimePattern(DateFormat.SHORT, "h:mm" + sep + "a"); in testIs24Hour_notCached()
50 checkTimePattern(DateFormat.MEDIUM, "h:mm:ss" + sep + "a"); in testIs24Hour_notCached()
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DHandler.java104 int sep = file.indexOf(separator); in hashCode() local
106 if (sep == -1) in hashCode()
110 String fileWithoutEntry = file.substring(0, sep); in hashCode()
118 String entry = file.substring(sep + 2); in hashCode()
/libcore/luni/src/test/java/libcore/libcore/icu/
DSimpleDateFormatDataTest.java38 char sep = ' '; in testTimeFormat12And24() local
44 assertEquals("h:mm" + sep + "a", en_US.getTimeFormat(DateFormat.SHORT)); in testTimeFormat12And24()
/libcore/ojluni/src/main/java/java/util/
DFormatter.java4237 char sep = ':';
4238 print(sb, t, DateTime.HOUR_OF_DAY_0, l).append(sep);
4241 sb.append(sep);
4247 char sep = ':';
4248 print(sb, t, DateTime.HOUR_0, l).append(sep);
4249 print(sb, t, DateTime.MINUTE, l).append(sep);
4259 char sep = ' ';
4260 print(sb, t, DateTime.NAME_OF_DAY_ABBREV, l).append(sep);
4261 print(sb, t, DateTime.NAME_OF_MONTH_ABBREV, l).append(sep);
4262 print(sb, t, DateTime.DAY_OF_MONTH_0, l).append(sep);
[all …]
DHexFormat.java464 char sep = delimiter.charAt(0); in formatOptDelimiter() local
469 rep[i * 3 - 1] = (byte) sep; in formatOptDelimiter()
/libcore/ojluni/src/main/java/java/io/
DUnixFileSystem.java242 char sep = File.separatorChar; in parentOrNull() local
254 } else if (c == sep) { in parentOrNull()
261 path.charAt(idx - 1) == sep) { in parentOrNull()
DFile.java2153 char sep = s.readChar(); // read the previous separator char in readObject() local
2154 if (sep != separatorChar) in readObject()
2155 pathField = pathField.replace(sep, separatorChar); in readObject()
/libcore/ojluni/annotations/hiddenapi/java/text/
DDecimalFormatSymbols.java184 public void setMonetaryDecimalSeparator(char sep) { in setMonetaryDecimalSeparator() argument
/libcore/luni/src/test/java/libcore/java/util/
DBase64Test.java716 byte[] sep = new byte[] { '\r', '\n' }; in testRoundTrip_empty()
717 checkRoundTrip_empty(Base64.getMimeEncoder(-1, sep), Base64.getMimeDecoder()); in testRoundTrip_empty()
719 checkRoundTrip_empty(Base64.getMimeEncoder(23, sep), Base64.getMimeDecoder()); in testRoundTrip_empty()
720 checkRoundTrip_empty(Base64.getMimeEncoder(76, sep), Base64.getMimeDecoder()); in testRoundTrip_empty()
/libcore/ojluni/src/main/java/sun/security/x509/
DAlgorithmId.java622 final int sep = alias.indexOf('.', "ALG.ALIAS.".length()); in reinitializeMappingTableLocked() local
623 String suffix = alias.substring(sep + 1); in reinitializeMappingTableLocked()
/libcore/ojluni/src/main/java/sun/util/locale/
DInternalLocaleBuilder.java576 private int checkVariants(String variants, String sep) { in checkVariants() argument
577 StringTokenIterator itr = new StringTokenIterator(variants, sep); in checkVariants()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java412 String sep = File.separator; in test_createNewFile() local
413 f1 = new File(sep + "a" + sep + ".." + sep + ".." + sep); in test_createNewFile()
425 f1 = new File(sep + ".."); in test_createNewFile()
/libcore/ojluni/src/main/java/java/text/
DDecimalFormatSymbols.java536 public void setMonetaryDecimalSeparator(char sep) in setMonetaryDecimalSeparator() argument
539 monetarySeparator = sep; in setMonetaryDecimalSeparator()
/libcore/ojluni/src/test/java/util/HexFormat/
DHexFormatTest.java251 static void testToBytesThrowing(String value, String sep, String prefix, String suffix) { in testToBytesThrowing() argument
252 HexFormat hex = HexFormat.ofDelimiter(sep).withPrefix(prefix).withSuffix(suffix); in testToBytesThrowing()