Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dcollationsettings.cpp128 const int32_t *codes, int32_t codesLength, in setReordering() argument
131 if(codesLength == 0 || (codesLength == 1 && codes[0] == UCOL_REORDER_CODE_NONE)) { in setReordering()
136 data.makeReorderRanges(codes, codesLength, rangesList, errorCode); in setReordering()
185 setReorderArrays(codes, codesLength, ranges, rangesLength, table, errorCode); in setReordering()
189 CollationSettings::setReorderArrays(const int32_t *codes, int32_t codesLength, in setReorderArrays() argument
194 int32_t totalLength = codesLength + rangesLength; in setReorderArrays()
214 uprv_memcpy(ownedCodes, codes, codesLength * 4); in setReorderArrays()
215 uprv_memcpy(ownedCodes + codesLength, ranges, rangesLength * 4); in setReorderArrays()
217 reorderCodesLength = codesLength; in setReorderArrays()
218 reorderRanges = reinterpret_cast<uint32_t *>(ownedCodes) + codesLength; in setReorderArrays()
Dcollationsettings.h128 void setReordering(const CollationData &data, const int32_t *codes, int32_t codesLength,
263 void setReorderArrays(const int32_t *codes, int32_t codesLength,
Dcoll.cpp374 int32_t codesLength = 0; in setAttributesFromKeywords() local
377 if (codesLength == UPRV_LENGTHOF(codes)) { in setAttributesFromKeywords()
396 codes[codesLength++] = code; in setAttributesFromKeywords()
400 coll.setReorderCodes(codes, codesLength, errorCode); in setAttributesFromKeywords()
/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()
139 codes = new int[codesLength]; in aliasReordering()
140 System.arraycopy(codesAndRanges, 0, codes, 0, codesLength); in aliasReordering()
142 int rangesStart = codesLength; in aliasReordering()
/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()
141 codes = new int[codesLength]; in aliasReordering()
142 System.arraycopy(codesAndRanges, 0, codes, 0, codesLength); in aliasReordering()
144 int rangesStart = codesLength; in aliasReordering()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCollator.java719 int codesLength = 0; in setAttributesFromKeywords() local
722 if (codesLength == codes.length) { in setAttributesFromKeywords()
736 codes[codesLength++] = code; in setAttributesFromKeywords()
740 if (codesLength == 0) { in setAttributesFromKeywords()
743 int[] args = new int[codesLength]; in setAttributesFromKeywords()
744 System.arraycopy(codes, 0, args, 0, codesLength); in setAttributesFromKeywords()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollator.java749 int codesLength = 0; in setAttributesFromKeywords() local
752 if (codesLength == codes.length) { in setAttributesFromKeywords()
766 codes[codesLength++] = code; in setAttributesFromKeywords()
770 if (codesLength == 0) { in setAttributesFromKeywords()
773 int[] args = new int[codesLength]; in setAttributesFromKeywords()
774 System.arraycopy(codes, 0, args, 0, codesLength); in setAttributesFromKeywords()