Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationSettings.java135 void aliasReordering(CollationData data, int[] codesAndRanges, int codesLength, byte[] table) { in aliasReordering() argument
137 if(codesLength == codesAndRanges.length) { in aliasReordering()
138 codes = codesAndRanges; in aliasReordering()
140 codes = Arrays.copyOf(codesAndRanges, codesLength); in aliasReordering()
143 int rangesLimit = codesAndRanges.length; in aliasReordering()
150 (codesAndRanges[rangesStart] & 0xffff) == 0 && in aliasReordering()
151 (codesAndRanges[rangesLimit - 1] & 0xffff) != 0)) { in aliasReordering()
158 (codesAndRanges[firstSplitByteRangeIndex] & 0xff0000) == 0) { in aliasReordering()
167 assert(table[codesAndRanges[firstSplitByteRangeIndex] >>> 24] == 0); in aliasReordering()
168 minHighNoReorder = codesAndRanges[rangesLimit - 1] & 0xffff0000L; in aliasReordering()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationSettings.java137 void aliasReordering(CollationData data, int[] codesAndRanges, int codesLength, byte[] table) { in aliasReordering() argument
139 if(codesLength == codesAndRanges.length) { in aliasReordering()
140 codes = codesAndRanges; in aliasReordering()
142 codes = Arrays.copyOf(codesAndRanges, codesLength); in aliasReordering()
145 int rangesLimit = codesAndRanges.length; in aliasReordering()
152 (codesAndRanges[rangesStart] & 0xffff) == 0 && in aliasReordering()
153 (codesAndRanges[rangesLimit - 1] & 0xffff) != 0)) { in aliasReordering()
160 (codesAndRanges[firstSplitByteRangeIndex] & 0xff0000) == 0) { in aliasReordering()
169 assert(table[codesAndRanges[firstSplitByteRangeIndex] >>> 24] == 0); in aliasReordering()
170 minHighNoReorder = codesAndRanges[rangesLimit - 1] & 0xffff0000L; in aliasReordering()
[all …]
/external/icu/icu4c/source/i18n/
Dcollationdatawriter.cpp162 UVector32 codesAndRanges(errorCode); in write() local
169 data.makeReorderRanges(reorderCodes, reorderCodesLength, codesAndRanges, errorCode); in write()
172 codesAndRanges.insertElementAt(reorderCodes[i], i, errorCode); in write()
175 reorderCodes = codesAndRanges.getBuffer(); in write()
176 reorderCodesLength = codesAndRanges.size(); in write()