Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dcoleitr.cpp68 uint32_t getFirstHalf(uint32_t p, uint32_t lower32) { in getFirstHalf() argument
69 return (p & 0xffff0000) | ((lower32 >> 16) & 0xff00) | ((lower32 >> 8) & 0xff); in getFirstHalf()
71 uint32_t getSecondHalf(uint32_t p, uint32_t lower32) { in getSecondHalf() argument
72 return (p << 16) | ((lower32 >> 8) & 0xff00) | (lower32 & 0x3f); in getSecondHalf()
128 uint32_t lower32 = (uint32_t)ce; in next() local
129 uint32_t firstHalf = getFirstHalf(p, lower32); in next()
130 uint32_t secondHalf = getSecondHalf(p, lower32); in next()
200 uint32_t lower32 = (uint32_t)ce; in previous() local
201 uint32_t firstHalf = getFirstHalf(p, lower32); in previous()
202 uint32_t secondHalf = getSecondHalf(p, lower32); in previous()
[all …]
Dcollation.cpp122 …int32_t lower32 = (int32_t)dataCE; // base code point b & step s: bbbbbbss (bit 7: isCompressible) in getThreeBytePrimaryForOffsetData() local
123 int32_t offset = (c - (lower32 >> 8)) * (lower32 & 0x7f); // delta * increment in getThreeBytePrimaryForOffsetData()
124 UBool isCompressible = (lower32 & 0x80) != 0; in getThreeBytePrimaryForOffsetData()
Dcollationkeys.cpp346 uint32_t lower32 = (uint32_t)ce; in writeSortKeyUpToQuaternary() local
347 … if(lower32 == 0) { continue; } // completely ignorable, no secondary/case/tertiary/quaternary in writeSortKeyUpToQuaternary()
350 uint32_t s = lower32 >> 16; in writeSortKeyUpToQuaternary()
407 p == 0 : lower32 <= 0xffff) { in writeSortKeyUpToQuaternary()
412 uint32_t c = (lower32 >> 8) & 0xff; // case bits & tertiary lead byte in writeSortKeyUpToQuaternary()
462 uint32_t t = lower32 & tertiaryMask; in writeSortKeyUpToQuaternary()
463 U_ASSERT((lower32 & 0xc000) != 0xc000); in writeSortKeyUpToQuaternary()
522 } else if(lower32 > 0xffff) { in writeSortKeyUpToQuaternary()
553 uint32_t q = lower32 & 0xffff; in writeSortKeyUpToQuaternary()
594 if((lower32 >> 24) == Collation::LEVEL_SEPARATOR_BYTE) { break; } // ce == NO_CE in writeSortKeyUpToQuaternary()
Dcollation.h316 static uint32_t makeLongSecondaryCE32(uint32_t lower32) { in makeLongSecondaryCE32() argument
317 return lower32 | SPECIAL_CE32_LOW_BYTE | LONG_SECONDARY_TAG; in makeLongSecondaryCE32()
Dcollationfastlatinbuilder.cpp514 uint32_t lower32 = (uint32_t)ce; in encodeUniqueCEs() local
515 uint32_t s = lower32 >> 16; in encodeUniqueCEs()
552 U_ASSERT((lower32 & Collation::CASE_MASK) == 0); // blanked out in uniqueCEs in encodeUniqueCEs()
553 uint32_t t = lower32 & Collation::ONLY_TERTIARY_MASK; in encodeUniqueCEs()
Dcollationbuilder.cpp801 uint32_t lower32 = (uint32_t)ce; in findOrInsertNodeForRootCE() local
802 index = findOrInsertWeakNode(index, lower32 >> 16, UCOL_SECONDARY, errorCode); in findOrInsertNodeForRootCE()
804 index = findOrInsertWeakNode(index, lower32 & Collation::ONLY_TERTIARY_MASK, in findOrInsertNodeForRootCE()
Dcollationdatabuilder.cpp620 uint32_t lower32 = (uint32_t)ce; in encodeOneCEAsCE32() local
625 return p | (lower32 >> 16) | (t >> 8); in encodeOneCEAsCE32()
631 return Collation::makeLongSecondaryCE32(lower32); in encodeOneCEAsCE32()