Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/libcore/icu/
DICU.java90 final String secondString = string.substring(first + 1); in parseLangScriptRegionAndVariants() local
92 if (secondString.length() == 4) { in parseLangScriptRegionAndVariants()
94 outputArray[IDX_SCRIPT] = secondString; in parseLangScriptRegionAndVariants()
95 } else if (secondString.length() == 2 || secondString.length() == 3) { in parseLangScriptRegionAndVariants()
97 outputArray[IDX_REGION] = secondString; in parseLangScriptRegionAndVariants()
102 outputArray[IDX_VARIANT] = secondString; in parseLangScriptRegionAndVariants()
111 final String secondString = string.substring(first + 1, second); in parseLangScriptRegionAndVariants() local
114 if (secondString.length() == 4) { in parseLangScriptRegionAndVariants()
116 outputArray[IDX_SCRIPT] = secondString; in parseLangScriptRegionAndVariants()
126 } else if (secondString.isEmpty() || in parseLangScriptRegionAndVariants()
[all …]