Lines Matching defs:cesLength
144 int32_t fetchCEs(const UnicodeString &str, int32_t start, int64_t ces[], int32_t cesLength);
184 int64_t ces[], int32_t cesLength) {
212 if(cesLength < Collation::MAX_EXPANSION_LENGTH) {
213 ces[cesLength] = ce;
215 ++cesLength;
219 return cesLength;
555 const int64_t ces[], int32_t cesLength,
557 uint32_t ce32 = encodeCEs(ces, cesLength, errorCode);
773 CollationDataBuilder::encodeCEs(const int64_t ces[], int32_t cesLength,
776 if(cesLength < 0 || cesLength > Collation::MAX_EXPANSION_LENGTH) {
784 if(cesLength == 0) {
788 } else if(cesLength == 1) {
790 } else if(cesLength == 2 && !icu4xMode) {
813 if(i == cesLength) {
814 return encodeExpansion32(newCE32s, cesLength, errorCode);
820 return encodeExpansion(ces, cesLength, errorCode);
1427 data.cesLength = ce64s.size();
1656 CollationDataBuilder::getCEs(const UnicodeString &s, int64_t ces[], int32_t cesLength) {
1657 return getCEs(s, 0, ces, cesLength);
1662 int64_t ces[], int32_t cesLength) {
1665 return getCEs(s, 0, ces, cesLength);
1667 return getCEs(prefix + s, prefixLength, ces, cesLength);
1673 int64_t ces[], int32_t cesLength) {
1678 return collIter->fetchCEs(s, start, ces, cesLength);