Home
last modified time | relevance | path

Searched refs:cesLength (Results 1 - 25 of 39) sorted by relevance

12

/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
H A DCollationBuilder.java49 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()
1504 private int cesLength; global() field in CollationBuilder
[all...]
H A DCollationDataBuilder.java119 void add(CharSequence prefix, CharSequence s, long ces[], int cesLength) { in add() argument
120 int ce32 = encodeCEs(ces, cesLength); in add()
128 * <p>add(p, s, ces, cesLength) = addCE32(p, s, encodeCEs(ces, cesLength))
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 in encodeCEs()
331 getCEs(CharSequence s, long ces[], int cesLength) getCEs() argument
335 getCEs(CharSequence prefix, CharSequence s, long ces[], int cesLength) getCEs() argument
1196 getCEs(CharSequence s, int start, long ces[], int cesLength) getCEs() argument
1248 fetchCEs(CharSequence str, int start, long ces[], int cesLength) fetchCEs() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
H A DCollationBuilder.java53 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()
1508 private int cesLength; global() field in CollationBuilder
[all...]
H A DCollationDataBuilder.java120 void add(CharSequence prefix, CharSequence s, long ces[], int cesLength) { in add() argument
121 int ce32 = encodeCEs(ces, cesLength); in add()
129 * <p>add(p, s, ces, cesLength) = addCE32(p, s, encodeCEs(ces, cesLength))
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 in encodeCEs()
332 getCEs(CharSequence s, long ces[], int cesLength) getCEs() argument
336 getCEs(CharSequence prefix, CharSequence s, long ces[], int cesLength) getCEs() argument
1166 getCEs(CharSequence s, int start, long ces[], int cesLength) getCEs() argument
1218 fetchCEs(CharSequence str, int start, long ces[], int cesLength) fetchCEs() argument
[all...]
/third_party/icu/icu4c/source/i18n/
H A Dcollationdatabuilder.h98 const int64_t ces[], int32_t cesLength,
105 * add(p, s, ces, cesLength) = addCE32(p, s, encodeCEs(ces, cesLength))
107 virtual uint32_t encodeCEs(const int64_t ces[], int32_t cesLength, UErrorCode &errorCode);
163 * @return incremented cesLength
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);
H A Dcollationbuilder.cpp205 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...]
H A Dcollationdatabuilder.cpp144 int32_t fetchCEs(const UnicodeString &str, int32_t start, int64_t ces[], int32_t cesLength);
184 int64_t ces[], int32_t cesLength) { in fetchCEs()
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()
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 < in encodeCEs()
183 fetchCEs(const UnicodeString &str, int32_t start, int64_t ces[], int32_t cesLength) fetchCEs() argument
554 add(const UnicodeString &prefix, const UnicodeString &s, const int64_t ces[], int32_t cesLength, UErrorCode &errorCode) add() argument
1656 getCEs(const UnicodeString &s, int64_t ces[], int32_t cesLength) getCEs() argument
1661 getCEs(const UnicodeString &prefix, const UnicodeString &s, int64_t ces[], int32_t cesLength) getCEs() argument
1672 getCEs(const UnicodeString &s, int32_t start, int64_t ces[], int32_t cesLength) getCEs() argument
[all...]
H A Dcollationdata.h57 ce32sLength(0), cesLength(0), contextsLength(0), in CollationData()
195 int32_t cesLength; member
H A Dcollationdatawriter.cpp190 if(hasMappings && data.cesLength != 0) { in write()
262 if(hasMappings && data.cesLength != 0) { in write()
264 totalSize += data.cesLength * 8; in write()
H A Dusrchimp.h154 int32_t cesLength; member
/third_party/node/deps/icu-small/source/i18n/
H A Dcollationdatabuilder.h98 const int64_t ces[], int32_t cesLength,
105 * add(p, s, ces, cesLength) = addCE32(p, s, encodeCEs(ces, cesLength))
107 virtual uint32_t encodeCEs(const int64_t ces[], int32_t cesLength, UErrorCode &errorCode);
163 * @return incremented cesLength
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);
H A Dcollationbuilder.cpp205 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...]
H A Dcollationdatabuilder.cpp144 int32_t fetchCEs(const UnicodeString &str, int32_t start, int64_t ces[], int32_t cesLength);
184 int64_t ces[], int32_t cesLength) { in fetchCEs()
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()
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 < in encodeCEs()
183 fetchCEs(const UnicodeString &str, int32_t start, int64_t ces[], int32_t cesLength) fetchCEs() argument
554 add(const UnicodeString &prefix, const UnicodeString &s, const int64_t ces[], int32_t cesLength, UErrorCode &errorCode) add() argument
1656 getCEs(const UnicodeString &s, int64_t ces[], int32_t cesLength) getCEs() argument
1661 getCEs(const UnicodeString &prefix, const UnicodeString &s, int64_t ces[], int32_t cesLength) getCEs() argument
1672 getCEs(const UnicodeString &s, int32_t start, int64_t ces[], int32_t cesLength) getCEs() argument
[all...]
H A Dcollationdata.h57 ce32sLength(0), cesLength(0), contextsLength(0), in CollationData()
195 int32_t cesLength; member
H A Dcollationdatawriter.cpp190 if(hasMappings && data.cesLength != 0) { in write()
262 if(hasMappings && data.cesLength != 0) { in write()
264 totalSize += data.cesLength * 8; in write()
H A Dusrchimp.h154 int32_t cesLength; member
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dcollationdatabuilder.h98 const int64_t ces[], int32_t cesLength,
105 * add(p, s, ces, cesLength) = addCE32(p, s, encodeCEs(ces, cesLength))
107 virtual uint32_t encodeCEs(const int64_t ces[], int32_t cesLength, UErrorCode &errorCode);
163 * @return incremented cesLength
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);
H A Dcollationbuilder.cpp211 cesLength(0), in CollationBuilder()
300 cesLength = 1; in addReset()
310 cesLength = dataBuilder->getCEs(nfdString, ces, 0); in addReset()
311 if(cesLength > Collation::MAX_EXPANSION_LENGTH) { in addReset()
429 strength = ceStrength(ces[cesLength - 1]); in addReset()
435 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, strength); in addReset()
699 U_ASSERT(cesLength > 0); in addRelation()
700 int64_t ce = ces[cesLength - 1]; in addRelation()
724 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, tempStrength); in addRelation()
730 int32_t cesLengthBeforeExtension = cesLength; in addRelation()
[all...]
H A Dcollationdatabuilder.cpp132 int32_t fetchCEs(const UnicodeString &str, int32_t start, int64_t ces[], int32_t cesLength);
172 int64_t ces[], int32_t cesLength) { in fetchCEs()
200 if(cesLength < Collation::MAX_EXPANSION_LENGTH) { in fetchCEs()
201 ces[cesLength] = ce; in fetchCEs()
203 ++cesLength; in fetchCEs()
207 return cesLength; in fetchCEs()
536 const int64_t ces[], int32_t cesLength, in add()
538 uint32_t ce32 = encodeCEs(ces, cesLength, errorCode); in add()
662 CollationDataBuilder::encodeCEs(const int64_t ces[], int32_t cesLength, in encodeCEs() argument
665 if(cesLength < in encodeCEs()
171 fetchCEs(const UnicodeString &str, int32_t start, int64_t ces[], int32_t cesLength) fetchCEs() argument
535 add(const UnicodeString &prefix, const UnicodeString &s, const int64_t ces[], int32_t cesLength, UErrorCode &errorCode) add() argument
1513 getCEs(const UnicodeString &s, int64_t ces[], int32_t cesLength) getCEs() argument
1518 getCEs(const UnicodeString &prefix, const UnicodeString &s, int64_t ces[], int32_t cesLength) getCEs() argument
1529 getCEs(const UnicodeString &s, int32_t start, int64_t ces[], int32_t cesLength) getCEs() argument
[all...]
H A Dcollationdata.h61 ce32sLength(0), cesLength(0), contextsLength(0), in CollationData()
199 int32_t cesLength; member
H A Dusearch.cpp346 pattern->cesLength = offset; in initializePatternCETable()
551 if (U_SUCCESS(*status) && strsrch->pattern.cesLength > 0) { in initialize()
553 int32_t cesize = pattern->cesLength; in initialize()
634 for (int32_t count = 0; count < strsrch->pattern.cesLength; in isBreakUnit()
742 int32_t adjust = pattern->cesLength - patternceindex; in shiftForward()
1022 while (count < strsrch->pattern.cesLength) { in hasAccentsAfterMatch()
1207 int32_t patterncelength = strsrch->pattern.cesLength; in checkNextExactContractionMatch()
1409 int patternceindex = strsrch->pattern.cesLength; in checkCollationMatch()
1610 int32_t celength = strsrch->pattern.cesLength; in doNextCanonicalSuffixMatch()
1850 int32_t patterncelength = strsrch->pattern.cesLength; in checkNextCanonicalContractionMatch()
[all...]
H A Dcollationdatawriter.cpp190 if(hasMappings && data.cesLength != 0) { in write()
262 if(hasMappings && data.cesLength != 0) { in write()
264 totalSize += data.cesLength * 8; in write()
/third_party/icu/tools/unicode/c/genuca/
H A Dcollationbasedatabuilder.h67 virtual uint32_t encodeCEs(const int64_t ces[], int32_t cesLength, UErrorCode &errorCode);
69 void addRootElements(const int64_t ces[], int32_t cesLength, UErrorCode &errorCode);
H A Dcollationbasedatabuilder.cpp266 CollationBaseDataBuilder::encodeCEs(const int64_t ces[], int32_t cesLength, UErrorCode &errorCode) { in encodeCEs() argument
267 addRootElements(ces, cesLength, errorCode); in encodeCEs()
268 return CollationDataBuilder::encodeCEs(ces, cesLength, errorCode); in encodeCEs()
272 CollationBaseDataBuilder::addRootElements(const int64_t ces[], int32_t cesLength, in addRootElements() argument
275 for(int32_t i = 0; i < cesLength; ++i) { in addRootElements()
H A Dgenuca.cpp681 int64_t ces[32], int32_t &cesLength, in readAnElement()
761 cesLength = 0; in readAnElement()
767 if(cesLength >= 31) { in readAnElement()
772 ces[cesLength++] = parseCE(builder, pointer, *status); in readAnElement()
788 for (int32_t i = 0; i < cesLength; ++i) { in readAnElement()
864 int32_t cesLength = 0; in parseFractionalUCA() local
865 if(readAnElement(line, builder, prefix, s, ces, cesLength, status)) { in parseFractionalUCA()
873 builder.addRootElements(ces, cesLength, *status); in parseFractionalUCA()
874 if(s.length() == 2 && cesLength == 1) { in parseFractionalUCA()
950 builder.add(prefix, s, ces, cesLength, *statu in parseFractionalUCA()
678 readAnElement(char *line, CollationBaseDataBuilder &builder, UnicodeString &prefix, UnicodeString &s, int64_t ces[32], int32_t &cesLength, UErrorCode *status) readAnElement() argument
[all...]

Completed in 28 milliseconds

12