Home
last modified time | relevance | path

Searched refs:SEP (Results 1 – 10 of 10) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/logging/
DOldFileHandlerTest.java44 final static String SEP = File.separator; field in OldFileHandlerTest
74 File file = new File(TEMPPATH + SEP + "log"); in setUp()
85 reset(TEMPPATH + SEP + "log", ""); in tearDown()
113 assertFileContent(TEMPPATH + SEP + "log", "java0.test.0", in testFileHandler()
137 assertFileContent(TEMPPATH + SEP + "log", "/string", new LogRecord[] { in testFileHandler_1params()
154 assertFileContent(TEMPPATH + SEP + "log", "string", h.getFormatter()); in testFileHandler_1params()
155 assertFileContent(TEMPPATH + SEP + "log", "string.1", h.getFormatter()); in testFileHandler_1params()
156 assertFileContent(TEMPPATH + SEP + "log", "string.2", h.getFormatter()); in testFileHandler_1params()
157 assertFileContent(TEMPPATH + SEP + "log", "string.3", h.getFormatter()); in testFileHandler_1params()
168 assertFileContent(TEMPPATH + SEP + "log", "string0.log", h.getFormatter()); in testFileHandler_1params()
[all …]
/libcore/ojluni/src/main/java/sun/util/locale/
DInternalLocaleBuilder.java100 String var = variant.replaceAll(LanguageTag.SEP, BaseLocale.SEP); in setVariant()
101 int errIdx = checkVariants(var, BaseLocale.SEP); in setVariant()
146 String tp = type.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setUnicodeLocaleKeyword()
148 StringTokenIterator itr = new StringTokenIterator(tp, LanguageTag.SEP); in setUnicodeLocaleKeyword()
193 String val = value.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setExtension()
194 StringTokenIterator itr = new StringTokenIterator(val, LanguageTag.SEP); in setExtension()
230 subtags = subtags.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setExtensions()
231 StringTokenIterator itr = new StringTokenIterator(subtags, LanguageTag.SEP); in setExtensions()
251 sb.append(LanguageTag.SEP).append(s); in setExtensions()
284 sb.append(LanguageTag.SEP).append(s); in setExtensions()
[all …]
DLanguageTag.java46 public static final String SEP = "-"; field in LanguageTag
195 itr = new StringTokenIterator(gfmap[1], SEP); in parse()
197 itr = new StringTokenIterator(languageTag, SEP); in parse()
354 sb.append(SEP).append(s); in parseExtensions()
398 sb.append(SEP).append(s); in parsePrivateuse()
459 StringTokenIterator varitr = new StringTokenIterator(variant, BaseLocale.SEP); in parseLocale()
477 StringJoiner sj = new StringJoiner(SEP); in parseLocale()
506 extensions.add(locextKey.toString() + SEP + ext.getValue()); in parseLocale()
519 privateuse = PRIVUSE_VARIANT_PREFIX + SEP + privuseVar; in parseLocale()
521 privateuse = privateuse + SEP + PRIVUSE_VARIANT_PREFIX in parseLocale()
[all …]
DExtension.java50 this.id = key + LanguageTag.SEP + value; in setValue()
DLocaleExtensions.java204 buf.append(LanguageTag.SEP); in toID()
211 buf.append(LanguageTag.SEP); in toID()
DUnicodeLocaleExtension.java74 StringJoiner sj = new StringJoiner(LanguageTag.SEP); in UnicodeLocaleExtension()
DBaseLocale.java40 public static final String SEP = "_"; field in BaseLocale
/libcore/ojluni/src/test/java/lang/StringBuffer/
DComparison.java39 static char SEP = ':'; field in Comparison
113 sSet.add(book[0] + SEP + book[1]); in constructStringSet()
121 sbSet.add(new StringBuffer(book[0]).append(SEP).append(book[1])); in constructSBSet()
/libcore/ojluni/src/test/java/lang/StringBuilder/
DComparison.java39 static char SEP = ':'; field in Comparison
113 sSet.add(book[0] + SEP + book[1]); in constructStringSet()
121 sbSet.add(new StringBuilder(book[0]).append(SEP).append(book[1])); in constructSBSet()
/libcore/ojluni/src/main/java/java/util/
DLocale.java1672 buf.append(LanguageTag.SEP); in toLanguageTag()
1678 buf.append(LanguageTag.SEP); in toLanguageTag()
1684 buf.append(LanguageTag.SEP); in toLanguageTag()
1691 buf.append(LanguageTag.SEP); in toLanguageTag()
1698 buf.append(LanguageTag.SEP); in toLanguageTag()
1700 buf.append(LanguageTag.PRIVATEUSE).append(LanguageTag.SEP); in toLanguageTag()