HomeSort by relevance Sort by last modified time
    Searched refs:ce32 (Results 1 - 17 of 17) sorted by null

  /external/icu/icu4c/source/i18n/
collation.h 96 // CE32 value for U+FFFD as well as illegal UTF-8 byte sequences (which behave like U+FFFD).
102 * A CE32 is special if its low byte is this or greater.
109 * Low byte of a long-primary special CE32.
150 * Special-CE32 tags, from bits 3..0 of a special 32-bit CE.
206 * The builder fetches the Jamo CE32 from the trie.
228 * Bits 31..13: Index into uint32_t table for non-numeric-collation CE32.
273 static UBool isAssignedCE32(uint32_t ce32) {
274 return ce32 != FALLBACK_CE32 && ce32 != UNASSIGNED_CE32;
290 * The default CE32 is used anyway if there is no suffix match
    [all...]
collationsets.cpp 33 enumTailoredRange(const void *context, UChar32 start, UChar32 end, uint32_t ce32) {
34 if(ce32 == Collation::FALLBACK_CE32) {
38 return ts->handleCE32(start, end, ce32);
55 TailoredSet::handleCE32(UChar32 start, UChar32 end, uint32_t ce32) {
56 U_ASSERT(ce32 != Collation::FALLBACK_CE32);
57 if(Collation::isSpecialCE32(ce32)) {
58 ce32 = data->getIndirectCE32(ce32);
59 if(ce32 == Collation::FALLBACK_CE32) {
65 // Do not just continue if ce32 == baseCE32 becaus
415 uint32_t ce32 = d->getCE32(c); local
    [all...]
collationdatabuilder.cpp 45 * Build-time context and CE32 for a code point.
56 ce32(ce), defaultCE32(Collation::NO_CE32), builtCE32(Collation::NO_CE32),
63 * "\0" for the first entry for any code point, with its default CE32.
70 * CE32 for the code point and its context.
73 uint32_t ce32; member in struct:ConditionalCE32
75 * Default CE32 for all contexts with this same prefix.
81 * CE32 for the built contexts.
115 * Some CE32 tags (for example, the DIGIT_TAG) do not occur in the builder data,
141 virtual uint32_t getCE32FromBuilderData(uint32_t ce32, UErrorCode &errorCode);
183 uint32_t ce32 = utrie2_get32(builder.trie, c) local
412 uint32_t ce32 = utrie2_get32(trie, c); local
424 uint32_t ce32 = utrie2_get32(trie, c); local
527 uint32_t ce32 = encodeCEs(ces, cesLength, errorCode); local
639 uint32_t ce32 = encodeOneCEAsCE32(ce); local
691 uint32_t ce32 = encodeOneCEAsCE32(ces[i]); local
1046 uint32_t ce32 = utrie2_get32(trie, c); local
1062 uint32_t ce32 = utrie2_get32(trie, c); local
1089 uint32_t ce32 = utrie2_get32(trie, jamo); local
1156 uint32_t ce32 = utrie2_get32(trie, c); local
1253 uint32_t ce32 = hangulCE32; local
1265 uint32_t ce32 = base->getCE32(c); local
1317 uint32_t ce32 = utrie2_get32(trie, iter.getCodepoint()); local
1333 uint32_t ce32 = utrie2_get32(trie, c); local
1366 uint32_t ce32; local
    [all...]
collationiterator.cpp 231 CollationIterator::getCE32FromBuilderData(uint32_t /*ce32*/, UErrorCode &errorCode) {
237 CollationIterator::nextCEFromCE32(const CollationData *d, UChar32 c, uint32_t ce32,
240 appendCEsFromCE32(d, c, ce32, TRUE, errorCode);
249 CollationIterator::appendCEsFromCE32(const CollationData *d, UChar32 c, uint32_t ce32,
251 while(Collation::isSpecialCE32(ce32)) {
252 switch(Collation::tagFromCE32(ce32)) {
258 ceBuffer.append(Collation::ceFromLongPrimaryCE32(ce32), errorCode);
261 ceBuffer.append(Collation::ceFromLongSecondaryCE32(ce32), errorCode);
265 ceBuffer.set(ceBuffer.length, Collation::latinCE0FromCE32(ce32));
266 ceBuffer.set(ceBuffer.length + 1, Collation::latinCE1FromCE32(ce32));
854 uint32_t ce32 = data->getCE32(c); local
    [all...]
collationiterator.h 122 uint32_t ce32 = handleNextCE32(c, errorCode); local
123 uint32_t t = ce32 & 0xff;
124 if(t < Collation::SPECIAL_CE32_LOW_BYTE) { // Forced-inline of isSpecialCE32(ce32).
126 // Forced-inline of ceFromSimpleCE32(ce32).
128 ((int64_t)(ce32 & 0xffff0000) << 32) | ((ce32 & 0xff00) << 16) | (t << 8));
138 ce32 = d->getCE32(c);
139 t = ce32 & 0xff;
143 ((int64_t)(ce32 & 0xffff0000) << 32) | ((ce32 & 0xff00) << 16) | (t << 8))
    [all...]
collationsets.h 55 UBool handleCE32(UChar32 start, UChar32 end, uint32_t ce32);
58 void compare(UChar32 c, uint32_t ce32, uint32_t baseCE32);
63 void addPrefix(const CollationData *d, const UnicodeString &pfx, UChar32 c, uint32_t ce32);
108 void handleCE32(UChar32 start, UChar32 end, uint32_t ce32);
110 void handlePrefixes(UChar32 start, UChar32 end, uint32_t ce32);
111 void handleContractions(UChar32 start, UChar32 end, uint32_t ce32);
collationdata.cpp 28 CollationData::getIndirectCE32(uint32_t ce32) const {
29 U_ASSERT(Collation::isSpecialCE32(ce32));
30 int32_t tag = Collation::tagFromCE32(ce32);
32 // Fetch the non-numeric-collation CE32.
33 ce32 = ce32s[Collation::indexFromCE32(ce32)];
35 ce32 = Collation::UNASSIGNED_CE32;
37 // Fetch the normal ce32 for U+0000.
38 ce32 = ce32s[0];
40 return ce32;
    [all...]
collationdatabuilder.h 50 * Called for every non-special CE32 and every expansion CE.
55 /** Returns a new CE to replace the non-special input CE32, or else Collation::NO_CE. */
56 virtual int64_t modifyCE32(uint32_t ce32) const = 0;
100 * Encodes the ces as either the returned ce32 by itself,
101 * or by storing an expansion, with the returned ce32 referring to that.
107 uint32_t ce32, UErrorCode &errorCode);
171 uint32_t getCE32FromOffsetCE32(UBool fromBase, UChar32 c, uint32_t ce32) const;
174 int32_t addCE32(uint32_t ce32, UErrorCode &errorCode);
175 int32_t addConditionalCE32(const UnicodeString &context, uint32_t ce32, UErrorCode &errorCode);
180 inline ConditionalCE32 *getConditionalCE32ForCE32(uint32_t ce32) const
    [all...]
collationdata.h 75 * Returns the CE32 from two contexts words.
83 * Returns the CE32 for an indirect special CE32 (e.g., with DIGIT_TAG).
84 * Requires that ce32 is special.
86 uint32_t getIndirectCE32(uint32_t ce32) const;
88 * Returns the CE32 for an indirect special CE32 (e.g., with DIGIT_TAG),
89 * if ce32 is special.
91 uint32_t getFinalCE32(uint32_t ce32) const;
94 * Computes a CE from c's ce32 which has the OFFSET_TAG
    [all...]
collationbuilder.h 119 * Takes ce32=dataBuilder->encodeCEs(...) so that the data builder
123 const int64_t newCEs[], int32_t newCEsLength, uint32_t ce32,
126 const int64_t newCEs[], int32_t newCEsLength, uint32_t ce32,
142 const int64_t newCEs[], int32_t newCEsLength, uint32_t ce32,
163 * Encodes "temporary CE" data into a CE that fits into the CE32 data structure,
210 static inline UBool isTempCE32(uint32_t ce32) {
212 (ce32 & 0xff) >= 2 && // not a long-primary/long-secondary CE32
213 6 <= ((ce32 >> 8) & 0xff) && ((ce32 >> 8) & 0xff) <= 0x45
    [all...]
collationfastlatinbuilder.cpp 231 uint32_t ce32 = data.getCE32(c); local
232 if(ce32 == Collation::FALLBACK_CE32) {
234 ce32 = d->getCE32(c);
238 if(getCEsFromCE32(*d, c, ce32, errorCode)) {
262 CollationFastLatinBuilder::getCEsFromCE32(const CollationData &data, UChar32 c, uint32_t ce32,
265 ce32 = data.getFinalCE32(ce32);
267 if(Collation::isSimpleOrLongCE32(ce32)) {
268 ce0 = Collation::ceFromCE32(ce32);
270 switch(Collation::tagFromCE32(ce32)) {
    [all...]
collationfastlatinbuilder.h 47 UBool getCEsFromCE32(const CollationData &data, UChar32 c, uint32_t ce32,
49 UBool getCEsFromContractionCE32(const CollationData &data, uint32_t ce32,
collationbuilder.cpp 554 uint32_t ce32 = baseData->getCE32(0x4e00); local
555 U_ASSERT(Collation::hasCE32Tag(ce32, Collation::OFFSET_TAG));
556 ce = baseData->getCEFromOffsetCE32(0x4e00, ce32);
739 uint32_t ce32 = Collation::UNASSIGNED_CE32; local
745 ce32 = addIfDifferent(prefix, str, ces, cesLength, ce32, errorCode);
747 addWithClosure(nfdPrefix, nfdString, ces, cesLength, ce32, errorCode);
1171 uint32_t ce32 = addIfDifferent(nfdPrefix, newString, local
    [all...]
collationbasedatabuilder.cpp 142 uint32_t ce32 = Collation::FFFD_CE32; local
143 utrie2_set32(trie, 0xfffd, ce32, &errorCode);
144 addRootElement(Collation::ceFromSimpleCE32(ce32), errorCode);
147 ce32 = Collation::MAX_REGULAR_CE32;
148 utrie2_set32(trie, 0xffff, ce32, &errorCode);
149 addRootElement(Collation::ceFromSimpleCE32(ce32), errorCode);
utf8collationiterator.cpp 57 uint32_t ce32 = trie->data32[trie->index[(UTRIE2_UTF8_2B_INDEX_2_OFFSET - 0xc0) + c] + t1]; local
60 return ce32;
166 uint32_t ce32 = trie->data32[trie->index[(UTRIE2_UTF8_2B_INDEX_2_OFFSET - 0xc0) + c] + t1]; local
172 return ce32;
187 break; // return CE32(BMP)
  /external/chromium_org/third_party/icu/source/i18n/
alphaindex.cpp 401 int32_t ce32 = cei.next(errorCode); local
402 if (ce32 == CollationElementIterator::NULLORDER) {
405 int32_t p = CollationElementIterator::primaryOrder(ce32);
406 if (p > variableTop && (ce32 & 0xc0) != 0xc0) {
    [all...]
  /prebuilts/misc/common/icu4j/
icu4j.jar 

Completed in 373 milliseconds