Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollationElementIterator.java183 private static final int getFirstHalf(long p, int lower32) { in getFirstHalf() argument
184 return ((int)p & 0xffff0000) | ((lower32 >> 16) & 0xff00) | ((lower32 >> 8) & 0xff); in getFirstHalf()
187 private static final int getSecondHalf(long p, int lower32) { in getSecondHalf() argument
188 return ((int)p << 16) | ((lower32 >> 8) & 0xff00) | (lower32 & 0x3f); in getSecondHalf()
346 int lower32 = (int) ce; local
347 int firstHalf = getFirstHalf(p, lower32);
348 int secondHalf = getSecondHalf(p, lower32);
406 int lower32 = (int) ce; in previous() local
407 int firstHalf = getFirstHalf(p, lower32); in previous()
408 int secondHalf = getSecondHalf(p, lower32); in previous()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCollationElementIterator.java178 private static final int getFirstHalf(long p, int lower32) { in getFirstHalf() argument
179 return ((int)p & 0xffff0000) | ((lower32 >> 16) & 0xff00) | ((lower32 >> 8) & 0xff); in getFirstHalf()
182 private static final int getSecondHalf(long p, int lower32) { in getSecondHalf() argument
183 return ((int)p << 16) | ((lower32 >> 8) & 0xff00) | (lower32 & 0x3f); in getSecondHalf()
336 int lower32 = (int) ce; local
337 int firstHalf = getFirstHalf(p, lower32);
338 int secondHalf = getSecondHalf(p, lower32);
395 int lower32 = (int) ce; in previous() local
396 int firstHalf = getFirstHalf(p, lower32); in previous()
397 int secondHalf = getSecondHalf(p, lower32); in previous()
[all …]
/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.cpp124 …int32_t lower32 = (int32_t)dataCE; // base code point b & step s: bbbbbbss (bit 7: isCompressible) in getThreeBytePrimaryForOffsetData() local
125 int32_t offset = (c - (lower32 >> 8)) * (lower32 & 0x7f); // delta * increment in getThreeBytePrimaryForOffsetData()
126 UBool isCompressible = (lower32 & 0x80) != 0; in getThreeBytePrimaryForOffsetData()
Dcollationkeys.cpp348 uint32_t lower32 = (uint32_t)ce; in writeSortKeyUpToQuaternary() local
349 … if(lower32 == 0) { continue; } // completely ignorable, no secondary/case/tertiary/quaternary in writeSortKeyUpToQuaternary()
352 uint32_t s = lower32 >> 16; in writeSortKeyUpToQuaternary()
425 p == 0 : lower32 <= 0xffff) { in writeSortKeyUpToQuaternary()
430 uint32_t c = (lower32 >> 8) & 0xff; // case bits & tertiary lead byte in writeSortKeyUpToQuaternary()
484 uint32_t t = lower32 & tertiaryMask; in writeSortKeyUpToQuaternary()
485 U_ASSERT((lower32 & 0xc000) != 0xc000); in writeSortKeyUpToQuaternary()
544 } else if(lower32 > 0xffff) { in writeSortKeyUpToQuaternary()
575 uint32_t q = lower32 & 0xffff; in writeSortKeyUpToQuaternary()
614 if((lower32 >> 24) == Collation::LEVEL_SEPARATOR_BYTE) { break; } // ce == NO_CE in writeSortKeyUpToQuaternary()
Dcollation.h318 static uint32_t makeLongSecondaryCE32(uint32_t lower32) { in makeLongSecondaryCE32() argument
319 return lower32 | SPECIAL_CE32_LOW_BYTE | LONG_SECONDARY_TAG; in makeLongSecondaryCE32()
Dcollationfastlatinbuilder.cpp495 uint32_t lower32 = (uint32_t)ce; in encodeUniqueCEs() local
496 uint32_t s = lower32 >> 16; in encodeUniqueCEs()
533 U_ASSERT((lower32 & Collation::CASE_MASK) == 0); // blanked out in uniqueCEs in encodeUniqueCEs()
534 uint32_t t = lower32 & Collation::ONLY_TERTIARY_MASK; in encodeUniqueCEs()
Dcollationbuilder.cpp806 uint32_t lower32 = (uint32_t)ce; in findOrInsertNodeForRootCE() local
807 index = findOrInsertWeakNode(index, lower32 >> 16, UCOL_SECONDARY, errorCode); in findOrInsertNodeForRootCE()
809 index = findOrInsertWeakNode(index, lower32 & Collation::ONLY_TERTIARY_MASK, in findOrInsertNodeForRootCE()
Dcollationdatabuilder.cpp623 uint32_t lower32 = (uint32_t)ce; in encodeOneCEAsCE32() local
628 return p | (lower32 >> 16) | (t >> 8); in encodeOneCEAsCE32()
634 return Collation::makeLongSecondaryCE32(lower32); in encodeOneCEAsCE32()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollation.java321 static int makeLongSecondaryCE32(int lower32) { in makeLongSecondaryCE32() argument
322 return lower32 | SPECIAL_CE32_LOW_BYTE | LONG_SECONDARY_TAG; in makeLongSecondaryCE32()
564 int lower32 = (int)dataCE; // base code point b & step s: bbbbbbss (bit 7: isCompressible)
565 int offset = (c - (lower32 >> 8)) * (lower32 & 0x7f); // delta * increment
566 boolean isCompressible = (lower32 & 0x80) != 0;
DCollationKeys.java458 int lower32 = (int) ce; in writeSortKeyUpToQuaternary() local
459 if (lower32 == 0) { in writeSortKeyUpToQuaternary()
464 int s = lower32 >>> 16; // 16 bits in writeSortKeyUpToQuaternary()
533 : (lower32 >>> 16) == 0) { in writeSortKeyUpToQuaternary()
538 int c = (lower32 >>> 8) & 0xff; // case bits & tertiary lead byte in writeSortKeyUpToQuaternary()
594 int t = lower32 & tertiaryMask; in writeSortKeyUpToQuaternary()
595 assert ((lower32 & 0xc000) != 0xc000); in writeSortKeyUpToQuaternary()
658 } else if ((lower32 >>> 16) != 0) { in writeSortKeyUpToQuaternary()
689 int q = lower32 & 0xffff; in writeSortKeyUpToQuaternary()
730 if ((lower32 >>> 24) == Collation.LEVEL_SEPARATOR_BYTE) { in writeSortKeyUpToQuaternary()
DCollationFastLatinBuilder.java465 int lower32 = (int)ce; in encodeUniqueCEs() local
466 int s = lower32 >>> 16; in encodeUniqueCEs()
503 assert((lower32 & Collation.CASE_MASK) == 0); // blanked out in uniqueCEs in encodeUniqueCEs()
504 int t = lower32 & Collation.ONLY_TERTIARY_MASK; in encodeUniqueCEs()
DCollationDataBuilder.java450 int lower32 = (int)ce; in encodeOneCEAsCE32() local
451 int t = lower32 & 0xffff; in encodeOneCEAsCE32()
455 return (int)p | (lower32 >>> 16) | (t >> 8); in encodeOneCEAsCE32()
461 return Collation.makeLongSecondaryCE32(lower32); in encodeOneCEAsCE32()
DCollationBuilder.java569 int lower32 = (int)ce; in findOrInsertNodeForRootCE() local
570 index = findOrInsertWeakNode(index, lower32 >>> 16, Collator.SECONDARY); in findOrInsertNodeForRootCE()
572 index = findOrInsertWeakNode(index, lower32 & Collation.ONLY_TERTIARY_MASK, in findOrInsertNodeForRootCE()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollation.java319 static int makeLongSecondaryCE32(int lower32) { in makeLongSecondaryCE32() argument
320 return lower32 | SPECIAL_CE32_LOW_BYTE | LONG_SECONDARY_TAG; in makeLongSecondaryCE32()
562 int lower32 = (int)dataCE; // base code point b & step s: bbbbbbss (bit 7: isCompressible)
563 int offset = (c - (lower32 >> 8)) * (lower32 & 0x7f); // delta * increment
564 boolean isCompressible = (lower32 & 0x80) != 0;
DCollationKeys.java454 int lower32 = (int) ce; in writeSortKeyUpToQuaternary() local
455 if (lower32 == 0) { in writeSortKeyUpToQuaternary()
460 int s = lower32 >>> 16; // 16 bits in writeSortKeyUpToQuaternary()
529 : (lower32 >>> 16) == 0) { in writeSortKeyUpToQuaternary()
534 int c = (lower32 >>> 8) & 0xff; // case bits & tertiary lead byte in writeSortKeyUpToQuaternary()
590 int t = lower32 & tertiaryMask; in writeSortKeyUpToQuaternary()
591 assert ((lower32 & 0xc000) != 0xc000); in writeSortKeyUpToQuaternary()
654 } else if ((lower32 >>> 16) != 0) { in writeSortKeyUpToQuaternary()
685 int q = lower32 & 0xffff; in writeSortKeyUpToQuaternary()
726 if ((lower32 >>> 24) == Collation.LEVEL_SEPARATOR_BYTE) { in writeSortKeyUpToQuaternary()
DCollationFastLatinBuilder.java464 int lower32 = (int)ce; in encodeUniqueCEs() local
465 int s = lower32 >>> 16; in encodeUniqueCEs()
502 assert((lower32 & Collation.CASE_MASK) == 0); // blanked out in uniqueCEs in encodeUniqueCEs()
503 int t = lower32 & Collation.ONLY_TERTIARY_MASK; in encodeUniqueCEs()
DCollationDataBuilder.java449 int lower32 = (int)ce; in encodeOneCEAsCE32() local
450 int t = lower32 & 0xffff; in encodeOneCEAsCE32()
454 return (int)p | (lower32 >>> 16) | (t >> 8); in encodeOneCEAsCE32()
460 return Collation.makeLongSecondaryCE32(lower32); in encodeOneCEAsCE32()
DCollationBuilder.java565 int lower32 = (int)ce; in findOrInsertNodeForRootCE() local
566 index = findOrInsertWeakNode(index, lower32 >>> 16, Collator.SECONDARY); in findOrInsertNodeForRootCE()
568 index = findOrInsertWeakNode(index, lower32 & Collation.ONLY_TERTIARY_MASK, in findOrInsertNodeForRootCE()