Searched refs:codesLength (Results 1 – 7 of 7) sorted by relevance
/external/icu/icu4c/source/i18n/ |
D | collationsettings.cpp | 130 const int32_t *codes, int32_t codesLength, in setReordering() argument 133 if(codesLength == 0 || (codesLength == 1 && codes[0] == UCOL_REORDER_CODE_NONE)) { in setReordering() 138 data.makeReorderRanges(codes, codesLength, rangesList, errorCode); in setReordering() 187 setReorderArrays(codes, codesLength, ranges, rangesLength, table, errorCode); in setReordering() 191 CollationSettings::setReorderArrays(const int32_t *codes, int32_t codesLength, in setReorderArrays() argument 196 int32_t totalLength = codesLength + rangesLength; in setReorderArrays() 216 uprv_memcpy(ownedCodes, codes, codesLength * 4); in setReorderArrays() 217 uprv_memcpy(ownedCodes + codesLength, ranges, rangesLength * 4); in setReorderArrays() 219 reorderCodesLength = codesLength; in setReorderArrays() 220 reorderRanges = reinterpret_cast<uint32_t *>(ownedCodes) + codesLength; in setReorderArrays()
|
D | collationsettings.h | 130 void setReordering(const CollationData &data, const int32_t *codes, int32_t codesLength, 265 void setReorderArrays(const int32_t *codes, int32_t codesLength,
|
D | coll.cpp | 378 int32_t codesLength = 0; in setAttributesFromKeywords() local 381 if (codesLength == UPRV_LENGTHOF(codes)) { in setAttributesFromKeywords() 400 codes[codesLength++] = code; in setAttributesFromKeywords() 404 coll.setReorderCodes(codes, codesLength, errorCode); in setAttributesFromKeywords()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationSettings.java | 135 void aliasReordering(CollationData data, int[] codesAndRanges, int codesLength, byte[] table) { in aliasReordering() argument 137 if(codesLength == codesAndRanges.length) { in aliasReordering() 140 codes = Arrays.copyOf(codesAndRanges, codesLength); in aliasReordering() 142 int rangesStart = codesLength; in aliasReordering()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | CollationSettings.java | 137 void aliasReordering(CollationData data, int[] codesAndRanges, int codesLength, byte[] table) { in aliasReordering() argument 139 if(codesLength == codesAndRanges.length) { in aliasReordering() 142 codes = Arrays.copyOf(codesAndRanges, codesLength); in aliasReordering() 144 int rangesStart = codesLength; in aliasReordering()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | Collator.java | 738 int codesLength = 0; in setAttributesFromKeywords() local 741 if (codesLength == codes.length) { in setAttributesFromKeywords() 755 codes[codesLength++] = code; in setAttributesFromKeywords() 759 if (codesLength == 0) { in setAttributesFromKeywords() 762 int[] args = new int[codesLength]; in setAttributesFromKeywords() 763 System.arraycopy(codes, 0, args, 0, codesLength); in setAttributesFromKeywords()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
D | Collator.java | 768 int codesLength = 0; in setAttributesFromKeywords() local 771 if (codesLength == codes.length) { in setAttributesFromKeywords() 785 codes[codesLength++] = code; in setAttributesFromKeywords() 789 if (codesLength == 0) { in setAttributesFromKeywords() 792 int[] args = new int[codesLength]; in setAttributesFromKeywords() 793 System.arraycopy(codes, 0, args, 0, codesLength); in setAttributesFromKeywords()
|