/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
D | CollationElementIterator.java | 183 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/ |
D | CollationElementIterator.java | 178 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/ |
D | coleitr.cpp | 68 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 …]
|
D | collation.cpp | 124 …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()
|
D | collationkeys.cpp | 348 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()
|
D | collation.h | 318 static uint32_t makeLongSecondaryCE32(uint32_t lower32) { in makeLongSecondaryCE32() argument 319 return lower32 | SPECIAL_CE32_LOW_BYTE | LONG_SECONDARY_TAG; in makeLongSecondaryCE32()
|
D | collationfastlatinbuilder.cpp | 495 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()
|
D | collationbuilder.cpp | 806 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()
|
D | collationdatabuilder.cpp | 623 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/ |
D | Collation.java | 321 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;
|
D | CollationKeys.java | 458 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()
|
D | CollationFastLatinBuilder.java | 465 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()
|
D | CollationDataBuilder.java | 450 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()
|
D | CollationBuilder.java | 569 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/ |
D | Collation.java | 319 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;
|
D | CollationKeys.java | 454 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()
|
D | CollationFastLatinBuilder.java | 464 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()
|
D | CollationDataBuilder.java | 449 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()
|
D | CollationBuilder.java | 565 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()
|