Searched refs:codesLength (Results 1 - 5 of 5) sorted by relevance

/external/icu/icu4c/source/i18n/
H A Dcollationsettings.cpp128 const int32_t *codes, int32_t codesLength,
131 if(codesLength == 0 || (codesLength == 1 && codes[0] == UCOL_REORDER_CODE_NONE)) {
136 data.makeReorderRanges(codes, codesLength, rangesList, errorCode);
185 setReorderArrays(codes, codesLength, ranges, rangesLength, table, errorCode);
189 CollationSettings::setReorderArrays(const int32_t *codes, int32_t codesLength, argument
194 int32_t totalLength = codesLength + rangesLength;
214 uprv_memcpy(ownedCodes, codes, codesLength * 4);
215 uprv_memcpy(ownedCodes + codesLength, ranges, rangesLength * 4);
217 reorderCodesLength = codesLength;
127 setReordering(const CollationData &data, const int32_t *codes, int32_t codesLength, UErrorCode &errorCode) argument
[all...]
H A Dcollationsettings.h128 void setReordering(const CollationData &data, const int32_t *codes, int32_t codesLength,
263 void setReorderArrays(const int32_t *codes, int32_t codesLength,
H A Dcoll.cpp374 int32_t codesLength = 0; local
377 if (codesLength == UPRV_LENGTHOF(codes)) {
396 codes[codesLength++] = code;
400 coll.setReorderCodes(codes, codesLength, errorCode);
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
H A DCollationSettings.java133 void aliasReordering(CollationData data, int[] codesAndRanges, int codesLength, byte[] table) { argument
135 if(codesLength == codesAndRanges.length) {
138 // TODO: Java 6: Arrays.copyOf(codes, codesLength);
139 codes = new int[codesLength];
140 System.arraycopy(codesAndRanges, 0, codes, 0, codesLength);
142 int rangesStart = codesLength;
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
H A DCollator.java751 int codesLength = 0;
754 if (codesLength == codes.length) {
768 codes[codesLength++] = code;
772 if (codesLength == 0) {
775 int[] args = new int[codesLength];
776 System.arraycopy(codes, 0, args, 0, codesLength);

Completed in 348 milliseconds