Home
last modified time | relevance | path

Searched refs:SEP (Results 1 – 7 of 7) 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.java45 public static final String SEP = "-"; field in LanguageTag
194 itr = new StringTokenIterator(gfmap[1], SEP); in parse()
196 itr = new StringTokenIterator(languageTag, SEP); in parse()
353 sb.append(SEP).append(s); in parseExtensions()
397 sb.append(SEP).append(s); in parsePrivateuse()
458 StringTokenIterator varitr = new StringTokenIterator(variant, BaseLocale.SEP); in parseLocale()
484 buf.append(SEP); in parseLocale()
508 extensions.add(locextKey.toString() + SEP + ext.getValue()); in parseLocale()
521 privateuse = PRIVUSE_VARIANT_PREFIX + SEP + privuseVar; in parseLocale()
523 privateuse = privateuse + SEP + PRIVUSE_VARIANT_PREFIX in parseLocale()
[all …]
DUnicodeLocaleExtension.java75 sb.append(LanguageTag.SEP).append(attribute); in UnicodeLocaleExtension()
81 sb.append(LanguageTag.SEP).append(key); in UnicodeLocaleExtension()
83 sb.append(LanguageTag.SEP).append(value); in UnicodeLocaleExtension()
DExtension.java50 this.id = key + LanguageTag.SEP + value; in setValue()
DBaseLocale.java39 public static final String SEP = "_"; field in BaseLocale
/libcore/ojluni/src/main/java/java/util/
DLocale.java1535 buf.append(LanguageTag.SEP); in toLanguageTag()
1541 buf.append(LanguageTag.SEP); in toLanguageTag()
1547 buf.append(LanguageTag.SEP); in toLanguageTag()
1554 buf.append(LanguageTag.SEP); in toLanguageTag()
1561 buf.append(LanguageTag.SEP); in toLanguageTag()
1563 buf.append(LanguageTag.PRIVATEUSE).append(LanguageTag.SEP); in toLanguageTag()