Home
last modified time | relevance | path

Searched refs:codesLength (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4c/source/i18n/
Dcollationsettings.cpp130 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()
Dcollationsettings.h130 void setReordering(const CollationData &data, const int32_t *codes, int32_t codesLength,
265 void setReorderArrays(const int32_t *codes, int32_t codesLength,
Dcoll.cpp378 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/
DCollationSettings.java135 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/
DCollationSettings.java137 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/
DCollator.java738 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/
DCollator.java768 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()