/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationBuilder.java | 46 cesLength = 0; in CollationBuilder() 109 cesLength = 1; in addReset() 114 cesLength = dataBuilder.getCEs(nfdString, ces, 0); in addReset() 115 if(cesLength > Collation.MAX_EXPANSION_LENGTH) { in addReset() 225 strength = ceStrength(ces[cesLength - 1]); in addReset() 227 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, strength); in addReset() 476 assert(cesLength > 0); in addRelation() 477 long ce = ces[cesLength - 1]; in addRelation() 495 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, tempStrength); in addRelation() 500 int cesLengthBeforeExtension = cesLength; in addRelation() [all …]
|
D | CollationDataBuilder.java | 117 void add(CharSequence prefix, CharSequence s, long ces[], int cesLength) { in add() argument 118 int ce32 = encodeCEs(ces, cesLength); in add() 128 int encodeCEs(long ces[], int cesLength) { in encodeCEs() argument 129 if(cesLength < 0 || cesLength > Collation.MAX_EXPANSION_LENGTH) { in encodeCEs() 135 if(cesLength == 0) { in encodeCEs() 139 } else if(cesLength == 1) { in encodeCEs() 141 } else if(cesLength == 2) { in encodeCEs() 161 if(i == cesLength) { in encodeCEs() 162 return encodeExpansion32(newCE32s, 0, cesLength); in encodeCEs() 168 return encodeExpansion(ces, 0, cesLength); in encodeCEs() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | CollationBuilder.java | 50 cesLength = 0; in CollationBuilder() 113 cesLength = 1; in addReset() 118 cesLength = dataBuilder.getCEs(nfdString, ces, 0); in addReset() 119 if(cesLength > Collation.MAX_EXPANSION_LENGTH) { in addReset() 229 strength = ceStrength(ces[cesLength - 1]); in addReset() 231 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, strength); in addReset() 480 assert(cesLength > 0); in addRelation() 481 long ce = ces[cesLength - 1]; in addRelation() 499 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, tempStrength); in addRelation() 504 int cesLengthBeforeExtension = cesLength; in addRelation() [all …]
|
D | CollationDataBuilder.java | 118 void add(CharSequence prefix, CharSequence s, long ces[], int cesLength) { in add() argument 119 int ce32 = encodeCEs(ces, cesLength); in add() 129 int encodeCEs(long ces[], int cesLength) { in encodeCEs() argument 130 if(cesLength < 0 || cesLength > Collation.MAX_EXPANSION_LENGTH) { in encodeCEs() 136 if(cesLength == 0) { in encodeCEs() 140 } else if(cesLength == 1) { in encodeCEs() 142 } else if(cesLength == 2) { in encodeCEs() 162 if(i == cesLength) { in encodeCEs() 163 return encodeExpansion32(newCE32s, 0, cesLength); in encodeCEs() 169 return encodeExpansion(ces, 0, cesLength); in encodeCEs() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | collationbuilder.cpp | 209 cesLength(0), in CollationBuilder() 298 cesLength = 1; in addReset() 308 cesLength = dataBuilder->getCEs(nfdString, ces, 0); in addReset() 309 if(cesLength > Collation::MAX_EXPANSION_LENGTH) { in addReset() 427 strength = ceStrength(ces[cesLength - 1]); in addReset() 433 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, strength); in addReset() 698 U_ASSERT(cesLength > 0); in addRelation() 699 int64_t ce = ces[cesLength - 1]; in addRelation() 723 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, tempStrength); in addRelation() 729 int32_t cesLengthBeforeExtension = cesLength; in addRelation() [all …]
|
D | collationdatabuilder.h | 96 const int64_t ces[], int32_t cesLength, 105 virtual uint32_t encodeCEs(const int64_t ces[], int32_t cesLength, UErrorCode &errorCode); 163 int32_t getCEs(const UnicodeString &s, int64_t ces[], int32_t cesLength); 165 int64_t ces[], int32_t cesLength); 219 int32_t getCEs(const UnicodeString &s, int32_t start, int64_t ces[], int32_t cesLength);
|
D | collationdatabuilder.cpp | 130 int32_t fetchCEs(const UnicodeString &str, int32_t start, int64_t ces[], int32_t cesLength); 170 int64_t ces[], int32_t cesLength) { in fetchCEs() argument 198 if(cesLength < Collation::MAX_EXPANSION_LENGTH) { in fetchCEs() 199 ces[cesLength] = ce; in fetchCEs() 201 ++cesLength; in fetchCEs() 205 return cesLength; in fetchCEs() 528 const int64_t ces[], int32_t cesLength, in add() argument 530 uint32_t ce32 = encodeCEs(ces, cesLength, errorCode); in add() 654 CollationDataBuilder::encodeCEs(const int64_t ces[], int32_t cesLength, in encodeCEs() argument 657 if(cesLength < 0 || cesLength > Collation::MAX_EXPANSION_LENGTH) { in encodeCEs() [all …]
|
D | collationdata.h | 59 ce32sLength(0), cesLength(0), contextsLength(0), in CollationData() 197 int32_t cesLength; member
|
D | usearch.cpp | 344 pattern->cesLength = offset; in initializePatternCETable() 549 if (U_SUCCESS(*status) && strsrch->pattern.cesLength > 0) { in initialize() 551 int32_t cesize = pattern->cesLength; in initialize() 632 for (int32_t count = 0; count < strsrch->pattern.cesLength; in isBreakUnit() 740 int32_t adjust = pattern->cesLength - patternceindex; in shiftForward() 1020 while (count < strsrch->pattern.cesLength) { in hasAccentsAfterMatch() 1205 int32_t patterncelength = strsrch->pattern.cesLength; in checkNextExactContractionMatch() 1407 int patternceindex = strsrch->pattern.cesLength; in checkCollationMatch() 1608 int32_t celength = strsrch->pattern.cesLength; in doNextCanonicalSuffixMatch() 1848 int32_t patterncelength = strsrch->pattern.cesLength; in checkNextCanonicalContractionMatch() [all …]
|
D | collationdatawriter.cpp | 188 if(hasMappings && data.cesLength != 0) { in write() 260 if(hasMappings && data.cesLength != 0) { in write() 262 totalSize += data.cesLength * 8; in write()
|
D | stsearch.cpp | 310 if (m_strsrch_->pattern.cesLength == 0) { in handleNext() 408 if (m_strsrch_->pattern.cesLength == 0) { in handlePrev()
|
D | usrchimp.h | 153 int32_t cesLength; member
|
D | collationbuilder.h | 307 int32_t cesLength; variable
|
D | collationdatareader.cpp | 189 data->cesLength = length / 8; in read()
|