/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | CollationBuilder.java | 53 cesLength = 0; in CollationBuilder() 116 cesLength = 1; in addReset() 121 cesLength = dataBuilder.getCEs(nfdString, ces, 0); in addReset() 122 if(cesLength > Collation.MAX_EXPANSION_LENGTH) { in addReset() 232 strength = ceStrength(ces[cesLength - 1]); in addReset() 234 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, strength); in addReset() 483 assert(cesLength > 0); in addRelation() 484 long ce = ces[cesLength - 1]; in addRelation() 502 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, tempStrength); in addRelation() 507 int cesLengthBeforeExtension = cesLength; in addRelation() [all …]
|
D | CollationDataBuilder.java | 120 void add(CharSequence prefix, CharSequence s, long ces[], int cesLength) { in add() argument 121 int ce32 = encodeCEs(ces, cesLength); in add() 131 int encodeCEs(long ces[], int cesLength) { in encodeCEs() argument 132 if(cesLength < 0 || cesLength > Collation.MAX_EXPANSION_LENGTH) { in encodeCEs() 138 if(cesLength == 0) { in encodeCEs() 142 } else if(cesLength == 1) { in encodeCEs() 144 } else if(cesLength == 2) { in encodeCEs() 164 if(i == cesLength) { in encodeCEs() 165 return encodeExpansion32(newCE32s, 0, cesLength); in encodeCEs() 171 return encodeExpansion(ces, 0, cesLength); in encodeCEs() [all …]
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationBuilder.java | 49 cesLength = 0; in CollationBuilder() 112 cesLength = 1; in addReset() 117 cesLength = dataBuilder.getCEs(nfdString, ces, 0); in addReset() 118 if(cesLength > Collation.MAX_EXPANSION_LENGTH) { in addReset() 228 strength = ceStrength(ces[cesLength - 1]); in addReset() 230 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, strength); in addReset() 479 assert(cesLength > 0); in addRelation() 480 long ce = ces[cesLength - 1]; in addRelation() 498 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, tempStrength); in addRelation() 503 int cesLengthBeforeExtension = cesLength; in addRelation() [all …]
|
D | CollationDataBuilder.java | 119 void add(CharSequence prefix, CharSequence s, long ces[], int cesLength) { in add() argument 120 int ce32 = encodeCEs(ces, cesLength); in add() 130 int encodeCEs(long ces[], int cesLength) { in encodeCEs() argument 131 if(cesLength < 0 || cesLength > Collation.MAX_EXPANSION_LENGTH) { in encodeCEs() 137 if(cesLength == 0) { in encodeCEs() 141 } else if(cesLength == 1) { in encodeCEs() 143 } else if(cesLength == 2) { in encodeCEs() 163 if(i == cesLength) { in encodeCEs() 164 return encodeExpansion32(newCE32s, 0, cesLength); in encodeCEs() 170 return encodeExpansion(ces, 0, cesLength); in encodeCEs() [all …]
|
/external/cronet/third_party/icu/source/i18n/ |
D | collationbuilder.cpp | 205 cesLength(0), in CollationBuilder() 302 cesLength = 1; in addReset() 312 cesLength = dataBuilder->getCEs(nfdString, ces, 0); in addReset() 313 if(cesLength > Collation::MAX_EXPANSION_LENGTH) { in addReset() 431 strength = ceStrength(ces[cesLength - 1]); in addReset() 437 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, strength); in addReset() 701 U_ASSERT(cesLength > 0); in addRelation() 702 int64_t ce = ces[cesLength - 1]; in addRelation() 726 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, tempStrength); in addRelation() 732 int32_t cesLengthBeforeExtension = cesLength; in addRelation() [all …]
|
D | collationdatabuilder.h | 98 const int64_t ces[], int32_t cesLength, 107 virtual uint32_t encodeCEs(const int64_t ces[], int32_t cesLength, UErrorCode &errorCode); 165 int32_t getCEs(const UnicodeString &s, int64_t ces[], int32_t cesLength); 167 int64_t ces[], int32_t cesLength); 221 int32_t getCEs(const UnicodeString &s, int32_t start, int64_t ces[], int32_t cesLength);
|
D | collationdatabuilder.cpp | 144 int32_t fetchCEs(const UnicodeString &str, int32_t start, int64_t ces[], int32_t cesLength); 184 int64_t ces[], int32_t cesLength) { in fetchCEs() argument 212 if(cesLength < Collation::MAX_EXPANSION_LENGTH) { in fetchCEs() 213 ces[cesLength] = ce; in fetchCEs() 215 ++cesLength; in fetchCEs() 219 return cesLength; in fetchCEs() 555 const int64_t ces[], int32_t cesLength, in add() argument 557 uint32_t ce32 = encodeCEs(ces, cesLength, errorCode); in add() 773 CollationDataBuilder::encodeCEs(const int64_t ces[], int32_t cesLength, in encodeCEs() argument 776 if(cesLength < 0 || cesLength > Collation::MAX_EXPANSION_LENGTH) { in encodeCEs() [all …]
|
D | collationdata.h | 57 ce32sLength(0), cesLength(0), contextsLength(0), in CollationData() 195 int32_t cesLength; member
|
D | collationdatawriter.cpp | 190 if(hasMappings && data.cesLength != 0) { in write() 262 if(hasMappings && data.cesLength != 0) { in write() 264 totalSize += data.cesLength * 8; in write()
|
D | stsearch.cpp | 312 if (m_strsrch_->pattern.cesLength == 0) { in handleNext() 410 if (m_strsrch_->pattern.cesLength == 0) { in handlePrev()
|
D | usrchimp.h | 154 int32_t cesLength; member
|
D | usearch.cpp | 319 pattern->cesLength = offset; in initializePatternCETable() 1174 if (strsrch->pattern.cesLength == 0) { in usearch_next() 1272 if (strsrch->pattern.cesLength == 0) { in usearch_previous() 1782 for (int ii=0; ii<strsrch->pattern.cesLength; ii++) { in usearch_search() 1792 if(strsrch->pattern.cesLength == 0 || in usearch_search() 2102 for (int ii=0; ii<strsrch->pattern.cesLength; ii++) { in usearch_searchBackwards() 2112 if(strsrch->pattern.cesLength == 0 || in usearch_searchBackwards()
|
/external/icu/icu4c/source/i18n/ |
D | collationbuilder.cpp | 205 cesLength(0), in CollationBuilder() 302 cesLength = 1; in addReset() 312 cesLength = dataBuilder->getCEs(nfdString, ces, 0); in addReset() 313 if(cesLength > Collation::MAX_EXPANSION_LENGTH) { in addReset() 431 strength = ceStrength(ces[cesLength - 1]); in addReset() 437 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, strength); in addReset() 701 U_ASSERT(cesLength > 0); in addRelation() 702 int64_t ce = ces[cesLength - 1]; in addRelation() 726 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, tempStrength); in addRelation() 732 int32_t cesLengthBeforeExtension = cesLength; in addRelation() [all …]
|
D | collationdatabuilder.h | 98 const int64_t ces[], int32_t cesLength, 107 virtual uint32_t encodeCEs(const int64_t ces[], int32_t cesLength, UErrorCode &errorCode); 165 int32_t getCEs(const UnicodeString &s, int64_t ces[], int32_t cesLength); 167 int64_t ces[], int32_t cesLength); 221 int32_t getCEs(const UnicodeString &s, int32_t start, int64_t ces[], int32_t cesLength);
|
D | collationdatabuilder.cpp | 144 int32_t fetchCEs(const UnicodeString &str, int32_t start, int64_t ces[], int32_t cesLength); 184 int64_t ces[], int32_t cesLength) { in fetchCEs() argument 212 if(cesLength < Collation::MAX_EXPANSION_LENGTH) { in fetchCEs() 213 ces[cesLength] = ce; in fetchCEs() 215 ++cesLength; in fetchCEs() 219 return cesLength; in fetchCEs() 555 const int64_t ces[], int32_t cesLength, in add() argument 557 uint32_t ce32 = encodeCEs(ces, cesLength, errorCode); in add() 773 CollationDataBuilder::encodeCEs(const int64_t ces[], int32_t cesLength, in encodeCEs() argument 776 if(cesLength < 0 || cesLength > Collation::MAX_EXPANSION_LENGTH) { in encodeCEs() [all …]
|
D | collationdata.h | 57 ce32sLength(0), cesLength(0), contextsLength(0), in CollationData() 195 int32_t cesLength; member
|
D | collationdatawriter.cpp | 190 if(hasMappings && data.cesLength != 0) { in write() 262 if(hasMappings && data.cesLength != 0) { in write() 264 totalSize += data.cesLength * 8; in write()
|
D | stsearch.cpp | 312 if (m_strsrch_->pattern.cesLength == 0) { in handleNext() 410 if (m_strsrch_->pattern.cesLength == 0) { in handlePrev()
|
D | usrchimp.h | 154 int32_t cesLength; member
|
D | usearch.cpp | 319 pattern->cesLength = offset; in initializePatternCETable() 1176 if (strsrch->pattern.cesLength == 0) { in usearch_next() 1274 if (strsrch->pattern.cesLength == 0) { in usearch_previous() 1784 for (int ii=0; ii<strsrch->pattern.cesLength; ii++) { in usearch_search() 1794 if(strsrch->pattern.cesLength == 0 || in usearch_search() 2104 for (int ii=0; ii<strsrch->pattern.cesLength; ii++) { in usearch_searchBackwards() 2114 if(strsrch->pattern.cesLength == 0 || in usearch_searchBackwards()
|
D | collationbuilder.h | 311 int32_t cesLength; variable
|
/external/icu/libicu/cts_headers/ |
D | collationdatabuilder.h | 98 const int64_t ces[], int32_t cesLength, 107 virtual uint32_t encodeCEs(const int64_t ces[], int32_t cesLength, UErrorCode &errorCode); 165 int32_t getCEs(const UnicodeString &s, int64_t ces[], int32_t cesLength); 167 int64_t ces[], int32_t cesLength); 221 int32_t getCEs(const UnicodeString &s, int32_t start, int64_t ces[], int32_t cesLength);
|
D | collationdata.h | 57 ce32sLength(0), cesLength(0), contextsLength(0), in CollationData() 195 int32_t cesLength; member
|
D | usrchimp.h | 154 int32_t cesLength; member
|
D | collationbuilder.h | 311 int32_t cesLength; variable
|