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.java182 public static LanguageTag parse(String languageTag, ParseStatus sts) { in parse() argument
183 if (sts == null) { in parse()
184 sts = new ParseStatus(); in parse()
186 sts.reset(); in parse()
203 if (tag.parseLanguage(itr, sts)) { in parse()
204 tag.parseExtlangs(itr, sts); in parse()
205 tag.parseScript(itr, sts); in parse()
206 tag.parseRegion(itr, sts); in parse()
207 tag.parseVariants(itr, sts); in parse()
208 tag.parseExtensions(itr, sts); in parse()
[all …]
/libcore/ojluni/src/main/java/java/util/
DLocale.java3089 ParseStatus sts = new ParseStatus(); in setLanguageTag() local
3090 LanguageTag tag = LanguageTag.parse(languageTag, sts); in setLanguageTag()
3091 if (sts.isError()) { in setLanguageTag()
3092 throw new IllformedLocaleException(sts.getErrorMessage(), sts.getErrorIndex()); in setLanguageTag()