Searched refs:variants (Results 1 – 4 of 4) sorted by relevance
59 private List<String> variants = Collections.emptyList(); // variant subtags field in LanguageTag324 if (variants.isEmpty()) { in parseVariants()325 variants = new ArrayList<>(3); in parseVariants()327 variants.add(s); in parseVariants()457 List<String> variants = null; in parseLocale() local464 if (variants == null) { in parseLocale()465 variants = new ArrayList<>(); in parseLocale()467 variants.add(var); // Do not canonicalize! in parseLocale()470 if (variants != null) { in parseLocale()471 tag.variants = variants; in parseLocale()[all …]
576 private int checkVariants(String variants, String sep) { in checkVariants() argument577 StringTokenIterator itr = new StringTokenIterator(variants, sep); in checkVariants()
2443 List<String> variants = null; in getDefaultList() local2446 variants = new LinkedList<>(); in getDefaultList()2449 variants.add(variant.substring(0, idx)); in getDefaultList()2456 if (variants != null) { in getDefaultList()2457 for (String v : variants) { in getDefaultList()2469 if (variants != null) { in getDefaultList()2470 for (String v : variants) { in getDefaultList()
927 String[] variants) { in parse_whitespace_variants() argument938 for (String variant: variants) { in parse_whitespace_variants()