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.java133 void aliasReordering(CollationData data, int[] codesAndRanges, int codesLength, byte[] table) { in aliasReordering() argument
135 if(codesLength == codesAndRanges.length) { in aliasReordering()
136 codes = codesAndRanges; in aliasReordering()
140 System.arraycopy(codesAndRanges, 0, codes, 0, 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.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()
142 System.arraycopy(codesAndRanges, 0, codes, 0, 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.cpp160 UVector32 codesAndRanges(errorCode); in write() local
167 data.makeReorderRanges(reorderCodes, reorderCodesLength, codesAndRanges, errorCode); in write()
170 codesAndRanges.insertElementAt(reorderCodes[i], i, errorCode); in write()
173 reorderCodes = codesAndRanges.getBuffer(); in write()
174 reorderCodesLength = codesAndRanges.size(); in write()