HomeSort by relevance Sort by last modified time
    Searched full:ce32 (Results 1 - 25 of 36) sorted by null

1 2

  /external/icu/icu4c/source/i18n/
collation.h 100 // CE32 value for U+FFFD as well as illegal UTF-8 byte sequences (which behave like U+FFFD).
106 * A CE32 is special if its low byte is this or greater.
113 * Low byte of a long-primary special CE32.
154 * Special-CE32 tags, from bits 3..0 of a special 32-bit CE.
210 * The builder fetches the Jamo CE32 from the trie.
232 * Bits 31..13: Index into uint32_t table for non-numeric-collation CE32.
277 static UBool isAssignedCE32(uint32_t ce32) {
278 return ce32 != FALLBACK_CE32 && ce32 != UNASSIGNED_CE32;
294 * The default CE32 is used anyway if there is no suffix match
    [all...]
collationdatabuilder.cpp 45 * Build-time context and CE32 for a code point.
56 ce32(0), defaultCE32(Collation::NO_CE32), builtCE32(Collation::NO_CE32),
60 ce32(ce), defaultCE32(Collation::NO_CE32), builtCE32(Collation::NO_CE32),
67 * "\0" for the first entry for any code point, with its default CE32.
74 * CE32 for the code point and its context.
77 uint32_t ce32; member in struct:ConditionalCE32
79 * Default CE32 for all contexts with this same prefix.
85 * CE32 for the built contexts.
119 * Some CE32 tags (for example, the DIGIT_TAG) do not occur in the builder data,
145 virtual uint32_t getCE32FromBuilderData(uint32_t ce32, UErrorCode &errorCode)
187 uint32_t ce32 = utrie2_get32(builder.trie, c); local
416 uint32_t ce32 = utrie2_get32(trie, c); local
429 uint32_t ce32 = utrie2_get32(trie, c); local
532 uint32_t ce32 = encodeCEs(ces, cesLength, errorCode); local
644 uint32_t ce32 = encodeOneCEAsCE32(ce); local
696 uint32_t ce32 = encodeOneCEAsCE32(ces[i]); local
1051 uint32_t ce32 = utrie2_get32(trie, c); local
1067 uint32_t ce32 = utrie2_get32(trie, c); local
1094 uint32_t ce32 = utrie2_get32(trie, jamo); local
1161 uint32_t ce32 = utrie2_get32(trie, c); local
1260 uint32_t ce32 = hangulCE32; local
1272 uint32_t ce32 = base->getCE32(c); local
1324 uint32_t ce32 = utrie2_get32(trie, iter.getCodepoint()); local
1340 uint32_t ce32 = utrie2_get32(trie, c); local
1373 uint32_t ce32; local
    [all...]
collationdata.cpp 31 CollationData::getIndirectCE32(uint32_t ce32) const {
32 U_ASSERT(Collation::isSpecialCE32(ce32));
33 int32_t tag = Collation::tagFromCE32(ce32);
35 // Fetch the non-numeric-collation CE32.
36 ce32 = ce32s[Collation::indexFromCE32(ce32)];
38 ce32 = Collation::UNASSIGNED_CE32;
40 // Fetch the normal ce32 for U+0000.
41 ce32 = ce32s[0];
43 return ce32;
59 uint32_t ce32 = getCE32(c); local
    [all...]
collationsets.cpp 35 enumTailoredRange(const void *context, UChar32 start, UChar32 end, uint32_t ce32) {
36 if(ce32 == Collation::FALLBACK_CE32) {
40 return ts->handleCE32(start, end, ce32);
57 TailoredSet::handleCE32(UChar32 start, UChar32 end, uint32_t ce32) {
58 U_ASSERT(ce32 != Collation::FALLBACK_CE32);
59 if(Collation::isSpecialCE32(ce32)) {
60 ce32 = data->getIndirectCE32(ce32);
61 if(ce32 == Collation::FALLBACK_CE32) {
67 // Do not just continue if ce32 == baseCE32 becaus
417 uint32_t ce32 = d->getCE32(c); local
    [all...]
collationiterator.cpp 233 CollationIterator::getCE32FromBuilderData(uint32_t /*ce32*/, UErrorCode &errorCode) {
239 CollationIterator::nextCEFromCE32(const CollationData *d, UChar32 c, uint32_t ce32,
242 appendCEsFromCE32(d, c, ce32, TRUE, errorCode);
251 CollationIterator::appendCEsFromCE32(const CollationData *d, UChar32 c, uint32_t ce32,
253 while(Collation::isSpecialCE32(ce32)) {
254 switch(Collation::tagFromCE32(ce32)) {
260 ceBuffer.append(Collation::ceFromLongPrimaryCE32(ce32), errorCode);
263 ceBuffer.append(Collation::ceFromLongSecondaryCE32(ce32), errorCode);
267 ceBuffer.set(ceBuffer.length, Collation::latinCE0FromCE32(ce32));
268 ceBuffer.set(ceBuffer.length + 1, Collation::latinCE1FromCE32(ce32));
856 uint32_t ce32 = data->getCE32(c); local
    [all...]
collationiterator.h 139 uint32_t ce32 = handleNextCE32(c, errorCode); local
140 uint32_t t = ce32 & 0xff;
141 if(t < Collation::SPECIAL_CE32_LOW_BYTE) { // Forced-inline of isSpecialCE32(ce32).
143 // Forced-inline of ceFromSimpleCE32(ce32).
145 ((int64_t)(ce32 & 0xffff0000) << 32) | ((ce32 & 0xff00) << 16) | (t << 8));
155 ce32 = d->getCE32(c);
156 t = ce32 & 0xff;
160 ((int64_t)(ce32 & 0xffff0000) << 32) | ((ce32 & 0xff00) << 16) | (t << 8))
    [all...]
collationdatabuilder.h 52 * Called for every non-special CE32 and every expansion CE.
57 /** Returns a new CE to replace the non-special input CE32, or else Collation::NO_CE. */
58 virtual int64_t modifyCE32(uint32_t ce32) const = 0;
102 * Encodes the ces as either the returned ce32 by itself,
103 * or by storing an expansion, with the returned ce32 referring to that.
109 uint32_t ce32, UErrorCode &errorCode);
173 uint32_t getCE32FromOffsetCE32(UBool fromBase, UChar32 c, uint32_t ce32) const;
176 int32_t addCE32(uint32_t ce32, UErrorCode &errorCode);
177 int32_t addConditionalCE32(const UnicodeString &context, uint32_t ce32, UErrorCode &errorCode);
182 inline ConditionalCE32 *getConditionalCE32ForCE32(uint32_t ce32) const
    [all...]
collationdata.h 94 * Returns the CE32 from two contexts words.
102 * Returns the CE32 for an indirect special CE32 (e.g., with DIGIT_TAG).
103 * Requires that ce32 is special.
105 uint32_t getIndirectCE32(uint32_t ce32) const;
107 * Returns the CE32 for an indirect special CE32 (e.g., with DIGIT_TAG),
108 * if ce32 is special.
110 uint32_t getFinalCE32(uint32_t ce32) const;
113 * Computes a CE from c's ce32 which has the OFFSET_TAG
    [all...]
collationsets.h 57 UBool handleCE32(UChar32 start, UChar32 end, uint32_t ce32);
60 void compare(UChar32 c, uint32_t ce32, uint32_t baseCE32);
65 void addPrefix(const CollationData *d, const UnicodeString &pfx, UChar32 c, uint32_t ce32);
110 void handleCE32(UChar32 start, UChar32 end, uint32_t ce32);
112 void handlePrefixes(UChar32 start, UChar32 end, uint32_t ce32);
113 void handleContractions(UChar32 start, UChar32 end, uint32_t ce32);
collationfastlatinbuilder.cpp 215 uint32_t ce32 = data.getCE32(c); local
216 if(ce32 == Collation::FALLBACK_CE32) {
218 ce32 = d->getCE32(c);
222 if(getCEsFromCE32(*d, c, ce32, errorCode)) {
246 CollationFastLatinBuilder::getCEsFromCE32(const CollationData &data, UChar32 c, uint32_t ce32,
249 ce32 = data.getFinalCE32(ce32);
251 if(Collation::isSimpleOrLongCE32(ce32)) {
252 ce0 = Collation::ceFromCE32(ce32);
254 switch(Collation::tagFromCE32(ce32)) {
    [all...]
collationfastlatinbuilder.h 53 UBool getCEsFromCE32(const CollationData &data, UChar32 c, uint32_t ce32,
55 UBool getCEsFromContractionCE32(const CollationData &data, uint32_t ce32,
  /external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
CollationDataBuilder.java 42 * Called for every non-special CE32 and every expansion CE.
45 /** Returns a new CE to replace the non-special input CE32, or else Collation.NO_CE. */
46 long modifyCE32(int ce32);
63 // Reserve the first CE32 for U+0000.
121 int ce32 = encodeCEs(ces, cesLength); local
122 addCE32(prefix, s, ce32);
126 * Encodes the ces as either the returned ce32 by itself,
127 * or by storing an expansion, with the returned ce32 referring to that.
145 // Try to encode two CEs as one CE32.
167 int ce32 = encodeOneCEAsCE32(ces[i]) local
276 int ce32 = trie.get(c); local
291 int ce32 = trie.get(c); local
377 int ce32; field in class:CollationDataBuilder.ConditionalCE32
470 int ce32 = encodeOneCEAsCE32(ce); local
800 int ce32 = trie.get(jamo); local
864 int ce32 = trie.get(c); local
939 int ce32 = hangulCE32; local
951 int ce32 = base.getCE32(c); local
996 int ce32 = trie.get(iter.codepoint); local
1010 int ce32 = trie.get(c); local
1040 int ce32; local
1232 int ce32 = builder.trie.get(c); local
    [all...]
ContractionsAndExpansions.java 77 private void enumCnERange(int start, int end, int ce32, ContractionsAndExpansions cne) {
83 if (ce32 == Collation.FALLBACK_CE32) {
100 cne.handleCE32(cne.ranges.getRangeStart(i), cne.ranges.getRangeEnd(i), ce32); local
103 cne.handleCE32(start, end, ce32);
107 int ce32 = d.getCE32(c); local
108 if (ce32 == Collation.FALLBACK_CE32) {
110 ce32 = d.getCE32(c);
113 handleCE32(c, c, ce32);
116 private void handleCE32(int start, int end, int ce32) {
118 if ((ce32 & 0xff) < Collation.SPECIAL_CE32_LOW_BYTE)
    [all...]
Collation.java 105 // CE32 value for U+FFFD as well as illegal UTF-8 byte sequences (which behave like U+FFFD).
111 * A CE32 is special if its low byte is this or greater.
118 * Low byte of a long-primary special CE32.
158 * Special-CE32 tags, from bits 3..0 of a special 32-bit CE.
214 * The builder fetches the Jamo CE32 from the trie.
236 * Bits 31..13: Index into int table for non-numeric-collation CE32.
280 static boolean isAssignedCE32(int ce32) {
281 return ce32 != FALLBACK_CE32 && ce32 != UNASSIGNED_CE32;
297 * The default CE32 is used anyway if there is no suffix match
    [all...]
CollationIterator.java 251 int ce32 = (int)cAndCE32; local
252 int t = ce32 & 0xff;
253 if(t < Collation.SPECIAL_CE32_LOW_BYTE) { // Forced-inline of isSpecialCE32(ce32).
255 // Forced-inline of ceFromSimpleCE32(ce32).
257 ((long)(ce32 & 0xffff0000) << 32) | ((long)(ce32 & 0xff00) << 16) | (t << 8));
267 ce32 = d.getCE32(c);
268 t = ce32 & 0xff;
272 ((long)(ce32 & 0xffff0000) << 32) | ((long)(ce32 & 0xff00) << 16) | (t << 8))
322 int ce32 = data.getCE32(c); local
    [all...]
TailoredSet.java 66 private void enumTailoredRange(int start, int end, int ce32, TailoredSet ts) {
67 if (ce32 == Collation.FALLBACK_CE32) {
70 ts.handleCE32(start, end, ce32);
76 private void handleCE32(int start, int end, int ce32) {
77 assert (ce32 != Collation.FALLBACK_CE32);
78 if (Collation.isSpecialCE32(ce32)) {
79 ce32 = data.getIndirectCE32(ce32);
80 if (ce32 == Collation.FALLBACK_CE32) {
86 // Do not just continue if ce32 == baseCE32 becaus
    [all...]
CollationData.java 71 * Returns the CE32 from two contexts words.
79 * Returns the CE32 for an indirect special CE32 (e.g., with DIGIT_TAG).
80 * Requires that ce32 is special.
82 int getIndirectCE32(int ce32) {
83 assert(Collation.isSpecialCE32(ce32));
84 int tag = Collation.tagFromCE32(ce32);
86 // Fetch the non-numeric-collation CE32.
87 ce32 = ce32s[Collation.indexFromCE32(ce32)];
122 int ce32 = getCE32(c); local
    [all...]
CollationFastLatinBuilder.java 203 int ce32 = data.getCE32(c); local
204 if(ce32 == Collation.FALLBACK_CE32) {
206 ce32 = d.getCE32(c);
210 if(getCEsFromCE32(d, c, ce32)) {
233 private boolean getCEsFromCE32(CollationData data, int c, int ce32) {
234 ce32 = data.getFinalCE32(ce32);
236 if(Collation.isSimpleOrLongCE32(ce32)) {
237 ce0 = Collation.ceFromCE32(ce32);
239 switch(Collation.tagFromCE32(ce32)) {
    [all...]
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
CollationDataBuilder.java 41 * Called for every non-special CE32 and every expansion CE.
44 /** Returns a new CE to replace the non-special input CE32, or else Collation.NO_CE. */
45 long modifyCE32(int ce32);
62 // Reserve the first CE32 for U+0000.
120 int ce32 = encodeCEs(ces, cesLength); local
121 addCE32(prefix, s, ce32);
125 * Encodes the ces as either the returned ce32 by itself,
126 * or by storing an expansion, with the returned ce32 referring to that.
144 // Try to encode two CEs as one CE32.
166 int ce32 = encodeOneCEAsCE32(ces[i]) local
275 int ce32 = trie.get(c); local
290 int ce32 = trie.get(c); local
376 int ce32; field in class:CollationDataBuilder.ConditionalCE32
469 int ce32 = encodeOneCEAsCE32(ce); local
799 int ce32 = trie.get(jamo); local
863 int ce32 = trie.get(c); local
938 int ce32 = hangulCE32; local
950 int ce32 = base.getCE32(c); local
995 int ce32 = trie.get(iter.codepoint); local
1009 int ce32 = trie.get(c); local
1039 int ce32; local
1231 int ce32 = builder.trie.get(c); local
    [all...]
ContractionsAndExpansions.java 73 private void enumCnERange(int start, int end, int ce32, ContractionsAndExpansions cne) {
79 if (ce32 == Collation.FALLBACK_CE32) {
96 cne.handleCE32(cne.ranges.getRangeStart(i), cne.ranges.getRangeEnd(i), ce32); local
99 cne.handleCE32(start, end, ce32);
103 int ce32 = d.getCE32(c); local
104 if (ce32 == Collation.FALLBACK_CE32) {
106 ce32 = d.getCE32(c);
109 handleCE32(c, c, ce32);
112 private void handleCE32(int start, int end, int ce32) {
114 if ((ce32 & 0xff) < Collation.SPECIAL_CE32_LOW_BYTE)
    [all...]
Collation.java 103 // CE32 value for U+FFFD as well as illegal UTF-8 byte sequences (which behave like U+FFFD).
109 * A CE32 is special if its low byte is this or greater.
116 * Low byte of a long-primary special CE32.
156 * Special-CE32 tags, from bits 3..0 of a special 32-bit CE.
212 * The builder fetches the Jamo CE32 from the trie.
234 * Bits 31..13: Index into int table for non-numeric-collation CE32.
278 static boolean isAssignedCE32(int ce32) {
279 return ce32 != FALLBACK_CE32 && ce32 != UNASSIGNED_CE32;
295 * The default CE32 is used anyway if there is no suffix match
    [all...]
CollationIterator.java 249 int ce32 = (int)cAndCE32; local
250 int t = ce32 & 0xff;
251 if(t < Collation.SPECIAL_CE32_LOW_BYTE) { // Forced-inline of isSpecialCE32(ce32).
253 // Forced-inline of ceFromSimpleCE32(ce32).
255 ((long)(ce32 & 0xffff0000) << 32) | ((long)(ce32 & 0xff00) << 16) | (t << 8));
265 ce32 = d.getCE32(c);
266 t = ce32 & 0xff;
270 ((long)(ce32 & 0xffff0000) << 32) | ((long)(ce32 & 0xff00) << 16) | (t << 8))
320 int ce32 = data.getCE32(c); local
    [all...]
TailoredSet.java 64 private void enumTailoredRange(int start, int end, int ce32, TailoredSet ts) {
65 if (ce32 == Collation.FALLBACK_CE32) {
68 ts.handleCE32(start, end, ce32);
74 private void handleCE32(int start, int end, int ce32) {
75 assert (ce32 != Collation.FALLBACK_CE32);
76 if (Collation.isSpecialCE32(ce32)) {
77 ce32 = data.getIndirectCE32(ce32);
78 if (ce32 == Collation.FALLBACK_CE32) {
84 // Do not just continue if ce32 == baseCE32 becaus
    [all...]
CollationData.java 69 * Returns the CE32 from two contexts words.
77 * Returns the CE32 for an indirect special CE32 (e.g., with DIGIT_TAG).
78 * Requires that ce32 is special.
80 int getIndirectCE32(int ce32) {
81 assert(Collation.isSpecialCE32(ce32));
82 int tag = Collation.tagFromCE32(ce32);
84 // Fetch the non-numeric-collation CE32.
85 ce32 = ce32s[Collation.indexFromCE32(ce32)];
120 int ce32 = getCE32(c); local
    [all...]
CollationFastLatinBuilder.java 202 int ce32 = data.getCE32(c); local
203 if(ce32 == Collation.FALLBACK_CE32) {
205 ce32 = d.getCE32(c);
209 if(getCEsFromCE32(d, c, ce32)) {
232 private boolean getCEsFromCE32(CollationData data, int c, int ce32) {
233 ce32 = data.getFinalCE32(ce32);
235 if(Collation.isSimpleOrLongCE32(ce32)) {
236 ce0 = Collation.ceFromCE32(ce32);
238 switch(Collation.tagFromCE32(ce32)) {
    [all...]

Completed in 404 milliseconds

1 2