Home
last modified time | relevance | path

Searched refs:sts (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/sun/util/locale/
DLanguageTag.java181 public static LanguageTag parse(String languageTag, ParseStatus sts) { in parse() argument
182 if (sts == null) { in parse()
183 sts = new ParseStatus(); in parse()
185 sts.reset(); in parse()
202 if (tag.parseLanguage(itr, sts)) { in parse()
203 tag.parseExtlangs(itr, sts); in parse()
204 tag.parseScript(itr, sts); in parse()
205 tag.parseRegion(itr, sts); in parse()
206 tag.parseVariants(itr, sts); in parse()
207 tag.parseExtensions(itr, sts); in parse()
[all …]
/libcore/ojluni/src/main/java/java/util/
DLocale.java2887 ParseStatus sts = new ParseStatus(); in setLanguageTag() local
2888 LanguageTag tag = LanguageTag.parse(languageTag, sts); in setLanguageTag()
2889 if (sts.isError()) { in setLanguageTag()
2890 throw new IllformedLocaleException(sts.getErrorMessage(), sts.getErrorIndex()); in setLanguageTag()