Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dregion.cpp124 int32_t rangeMarkerLocation = regionName.indexOf(RANGE_MARKER_STRING); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() local
127 if ( rangeMarkerLocation > 0 ) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
128 UChar endRange = regionName.charAt(rangeMarkerLocation+1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
129 buf[rangeMarkerLocation] = 0; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
130 while ( buf[rangeMarkerLocation-1] <= endRange ) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
133 buf[rangeMarkerLocation-1]++; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
143 int32_t rangeMarkerLocation = regionName.indexOf(RANGE_MARKER_STRING); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() local
146 if ( rangeMarkerLocation > 0 ) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
147 UChar endRange = regionName.charAt(rangeMarkerLocation+1); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
148 buf[rangeMarkerLocation] = 0; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DRegion.java188 int rangeMarkerLocation = r.indexOf("~"); in loadRegionData() local
189 if ( rangeMarkerLocation > 0 ) { in loadRegionData()
191 char endRange = regionName.charAt(rangeMarkerLocation+1); in loadRegionData()
192 regionName.setLength(rangeMarkerLocation); in loadRegionData()
193 char lastChar = regionName.charAt(rangeMarkerLocation-1); in loadRegionData()
198 regionName.setCharAt(rangeMarkerLocation-1,lastChar); in loadRegionData()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DRegion.java196 int rangeMarkerLocation = r.indexOf("~"); in loadRegionData() local
197 if ( rangeMarkerLocation > 0 ) { in loadRegionData()
199 char endRange = regionName.charAt(rangeMarkerLocation+1); in loadRegionData()
200 regionName.setLength(rangeMarkerLocation); in loadRegionData()
201 char lastChar = regionName.charAt(rangeMarkerLocation-1); in loadRegionData()
206 regionName.setCharAt(rangeMarkerLocation-1,lastChar); in loadRegionData()