Home
last modified time | relevance | path

Searched refs:LATIN_LIMIT (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationFastLatin.java29 public static final int LATIN_LIMIT = LATIN_MAX + 1; field in CollationFastLatin
37 static final int NUM_FAST_CHARS = LATIN_LIMIT + (PUNCT_LIMIT - PUNCT_START);
185 return c - (PUNCT_START - LATIN_LIMIT); in getCharIndex()
205 assert(primaries.length == LATIN_LIMIT); in getOptions()
206 if(primaries.length != LATIN_LIMIT) { return -1; } in getOptions()
262 for(int c = 0; c < LATIN_LIMIT; ++c) { in getOptions()
315 leftPair = table[c - PUNCT_START + LATIN_LIMIT]; in compareUTF16()
351 rightPair = table[c - PUNCT_START + LATIN_LIMIT]; in compareUTF16()
407 leftPair = table[c - PUNCT_START + LATIN_LIMIT]; in compareUTF16()
436 rightPair = table[c - PUNCT_START + LATIN_LIMIT]; in compareUTF16()
[all …]
DCollationDataReader.java482 char[] fastLatinPrimaries = new char[CollationFastLatin.LATIN_LIMIT]; in read()
DCollationFastLatinBuilder.java194 if(c == CollationFastLatin.LATIN_LIMIT) { in getCEs()
/external/icu/icu4c/source/i18n/
Dcollationfastlatin.cpp30 U_ASSERT(capacity == LATIN_LIMIT); in getOptions()
31 if(capacity != LATIN_LIMIT) { return -1; } in getOptions()
87 for(UChar32 c = 0; c < LATIN_LIMIT; ++c) { in getOptions()
146 leftPair = table[c - PUNCT_START + LATIN_LIMIT]; in compareUTF16()
177 rightPair = table[c - PUNCT_START + LATIN_LIMIT]; in compareUTF16()
228 leftPair = table[c - PUNCT_START + LATIN_LIMIT]; in compareUTF16()
253 rightPair = table[c - PUNCT_START + LATIN_LIMIT]; in compareUTF16()
803 return table[c - PUNCT_START + LATIN_LIMIT]; in lookup()
824 return table[(LATIN_LIMIT - 0x80) + t2]; // 2000..203F -> 0180..01BF in lookupUTF8()
848 return table[(LATIN_LIMIT - 0x80) + t2]; // 2000..203F -> 0180..01BF in lookupUTF8Unsafe()
[all …]
Dcollationfastlatin.h37 static const int32_t LATIN_LIMIT = LATIN_MAX + 1; variable
45 static const int32_t NUM_FAST_CHARS = LATIN_LIMIT + (PUNCT_LIMIT - PUNCT_START);
193 return c - (PUNCT_START - LATIN_LIMIT); in getCharIndex()
Dcollationfastlatinbuilder.cpp207 if(c == CollationFastLatin::LATIN_LIMIT) { in getCEs()
649 if(c >= CollationFastLatin::LATIN_LIMIT) { in encodeContractions()
650 c = CollationFastLatin::PUNCT_START + c - CollationFastLatin::LATIN_LIMIT; in encodeContractions()
Dcollationdatareader.cpp404 uint16_t fastLatinPrimaries[CollationFastLatin::LATIN_LIMIT]; in read()