Searched refs:sts (Results 1 – 2 of 2) sorted by relevance
182 public static LanguageTag parse(String languageTag, ParseStatus sts) { in parse() argument183 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 …]
3089 ParseStatus sts = new ParseStatus(); in setLanguageTag() local3090 LanguageTag tag = LanguageTag.parse(languageTag, sts); in setLanguageTag()3091 if (sts.isError()) { in setLanguageTag()3092 throw new IllformedLocaleException(sts.getErrorMessage(), sts.getErrorIndex()); in setLanguageTag()