Home
last modified time | relevance | path

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

12

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DCollationElementIterator.java180 private static final int getFirstHalf(long p, int lower32) { in getFirstHalf() argument
181 return ((int)p & 0xffff0000) | ((lower32 >> 16) & 0xff00) | ((lower32 >> 8) & 0xff); in getFirstHalf()
184 private static final int getSecondHalf(long p, int lower32) { in getSecondHalf() argument
185 return ((int)p << 16) | ((lower32 >> 8) & 0xff00) | (lower32 & 0x3f); in getSecondHalf()
338 int lower32 = (int) ce; local
339 int firstHalf = getFirstHalf(p, lower32);
340 int secondHalf = getSecondHalf(p, lower32);
397 int lower32 = (int) ce; in previous() local
398 int firstHalf = getFirstHalf(p, lower32); in previous()
399 int secondHalf = getSecondHalf(p, lower32); in previous()
[all …]
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollationElementIterator.java185 private static final int getFirstHalf(long p, int lower32) { in getFirstHalf() argument
186 return ((int)p & 0xffff0000) | ((lower32 >> 16) & 0xff00) | ((lower32 >> 8) & 0xff); in getFirstHalf()
189 private static final int getSecondHalf(long p, int lower32) { in getSecondHalf() argument
190 return ((int)p << 16) | ((lower32 >> 8) & 0xff00) | (lower32 & 0x3f); in getSecondHalf()
348 int lower32 = (int) ce; local
349 int firstHalf = getFirstHalf(p, lower32);
350 int secondHalf = getSecondHalf(p, lower32);
408 int lower32 = (int) ce; in previous() local
409 int firstHalf = getFirstHalf(p, lower32); in previous()
410 int secondHalf = getSecondHalf(p, lower32); in previous()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dcoleitr.cpp71 uint32_t getFirstHalf(uint32_t p, uint32_t lower32) { in getFirstHalf() argument
72 return (p & 0xffff0000) | ((lower32 >> 16) & 0xff00) | ((lower32 >> 8) & 0xff); in getFirstHalf()
74 uint32_t getSecondHalf(uint32_t p, uint32_t lower32) { in getSecondHalf() argument
75 return (p << 16) | ((lower32 >> 8) & 0xff00) | (lower32 & 0x3f); in getSecondHalf()
131 uint32_t lower32 = (uint32_t)ce; in next() local
132 uint32_t firstHalf = getFirstHalf(p, lower32); in next()
133 uint32_t secondHalf = getSecondHalf(p, lower32); in next()
203 uint32_t lower32 = (uint32_t)ce; in previous() local
204 uint32_t firstHalf = getFirstHalf(p, lower32); in previous()
205 uint32_t secondHalf = getSecondHalf(p, lower32); in previous()
[all …]
Dcollation.cpp126 …int32_t lower32 = (int32_t)dataCE; // base code point b & step s: bbbbbbss (bit 7: isCompressible) in getThreeBytePrimaryForOffsetData() local
127 int32_t offset = (c - (lower32 >> 8)) * (lower32 & 0x7f); // delta * increment in getThreeBytePrimaryForOffsetData()
128 UBool isCompressible = (lower32 & 0x80) != 0; in getThreeBytePrimaryForOffsetData()
Dcollationkeys.cpp350 uint32_t lower32 = (uint32_t)ce; in writeSortKeyUpToQuaternary() local
351 … if(lower32 == 0) { continue; } // completely ignorable, no secondary/case/tertiary/quaternary in writeSortKeyUpToQuaternary()
354 uint32_t s = lower32 >> 16; in writeSortKeyUpToQuaternary()
427 p == 0 : lower32 <= 0xffff) { in writeSortKeyUpToQuaternary()
432 uint32_t c = (lower32 >> 8) & 0xff; // case bits & tertiary lead byte in writeSortKeyUpToQuaternary()
486 uint32_t t = lower32 & tertiaryMask; in writeSortKeyUpToQuaternary()
487 U_ASSERT((lower32 & 0xc000) != 0xc000); in writeSortKeyUpToQuaternary()
546 } else if(lower32 > 0xffff) { in writeSortKeyUpToQuaternary()
577 uint32_t q = lower32 & 0xffff; in writeSortKeyUpToQuaternary()
616 if((lower32 >> 24) == Collation::LEVEL_SEPARATOR_BYTE) { break; } // ce == NO_CE in writeSortKeyUpToQuaternary()
Dcollation.h320 static uint32_t makeLongSecondaryCE32(uint32_t lower32) { in makeLongSecondaryCE32() argument
321 return lower32 | SPECIAL_CE32_LOW_BYTE | LONG_SECONDARY_TAG; in makeLongSecondaryCE32()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcoleitr.cpp71 uint32_t getFirstHalf(uint32_t p, uint32_t lower32) { in getFirstHalf() argument
72 return (p & 0xffff0000) | ((lower32 >> 16) & 0xff00) | ((lower32 >> 8) & 0xff); in getFirstHalf()
74 uint32_t getSecondHalf(uint32_t p, uint32_t lower32) { in getSecondHalf() argument
75 return (p << 16) | ((lower32 >> 8) & 0xff00) | (lower32 & 0x3f); in getSecondHalf()
131 uint32_t lower32 = (uint32_t)ce; in next() local
132 uint32_t firstHalf = getFirstHalf(p, lower32); in next()
133 uint32_t secondHalf = getSecondHalf(p, lower32); in next()
203 uint32_t lower32 = (uint32_t)ce; in previous() local
204 uint32_t firstHalf = getFirstHalf(p, lower32); in previous()
205 uint32_t secondHalf = getSecondHalf(p, lower32); in previous()
[all …]
Dcollation.cpp126 …int32_t lower32 = (int32_t)dataCE; // base code point b & step s: bbbbbbss (bit 7: isCompressible) in getThreeBytePrimaryForOffsetData() local
127 int32_t offset = (c - (lower32 >> 8)) * (lower32 & 0x7f); // delta * increment in getThreeBytePrimaryForOffsetData()
128 UBool isCompressible = (lower32 & 0x80) != 0; in getThreeBytePrimaryForOffsetData()
Dcollationkeys.cpp350 uint32_t lower32 = (uint32_t)ce; in writeSortKeyUpToQuaternary() local
351 … if(lower32 == 0) { continue; } // completely ignorable, no secondary/case/tertiary/quaternary in writeSortKeyUpToQuaternary()
354 uint32_t s = lower32 >> 16; in writeSortKeyUpToQuaternary()
427 p == 0 : lower32 <= 0xffff) { in writeSortKeyUpToQuaternary()
432 uint32_t c = (lower32 >> 8) & 0xff; // case bits & tertiary lead byte in writeSortKeyUpToQuaternary()
486 uint32_t t = lower32 & tertiaryMask; in writeSortKeyUpToQuaternary()
487 U_ASSERT((lower32 & 0xc000) != 0xc000); in writeSortKeyUpToQuaternary()
546 } else if(lower32 > 0xffff) { in writeSortKeyUpToQuaternary()
577 uint32_t q = lower32 & 0xffff; in writeSortKeyUpToQuaternary()
616 if((lower32 >> 24) == Collation::LEVEL_SEPARATOR_BYTE) { break; } // ce == NO_CE in writeSortKeyUpToQuaternary()
Dcollation.h320 static uint32_t makeLongSecondaryCE32(uint32_t lower32) { in makeLongSecondaryCE32() argument
321 return lower32 | SPECIAL_CE32_LOW_BYTE | LONG_SECONDARY_TAG; in makeLongSecondaryCE32()
/third_party/icu/icu4c/source/i18n/
Dcoleitr.cpp71 uint32_t getFirstHalf(uint32_t p, uint32_t lower32) { in getFirstHalf() argument
72 return (p & 0xffff0000) | ((lower32 >> 16) & 0xff00) | ((lower32 >> 8) & 0xff); in getFirstHalf()
74 uint32_t getSecondHalf(uint32_t p, uint32_t lower32) { in getSecondHalf() argument
75 return (p << 16) | ((lower32 >> 8) & 0xff00) | (lower32 & 0x3f); in getSecondHalf()
131 uint32_t lower32 = (uint32_t)ce; in next() local
132 uint32_t firstHalf = getFirstHalf(p, lower32); in next()
133 uint32_t secondHalf = getSecondHalf(p, lower32); in next()
203 uint32_t lower32 = (uint32_t)ce; in previous() local
204 uint32_t firstHalf = getFirstHalf(p, lower32); in previous()
205 uint32_t secondHalf = getSecondHalf(p, lower32); in previous()
[all …]
Dcollation.cpp126 …int32_t lower32 = (int32_t)dataCE; // base code point b & step s: bbbbbbss (bit 7: isCompressible) in getThreeBytePrimaryForOffsetData() local
127 int32_t offset = (c - (lower32 >> 8)) * (lower32 & 0x7f); // delta * increment in getThreeBytePrimaryForOffsetData()
128 UBool isCompressible = (lower32 & 0x80) != 0; in getThreeBytePrimaryForOffsetData()
Dcollationkeys.cpp350 uint32_t lower32 = (uint32_t)ce; in writeSortKeyUpToQuaternary() local
351 … if(lower32 == 0) { continue; } // completely ignorable, no secondary/case/tertiary/quaternary in writeSortKeyUpToQuaternary()
354 uint32_t s = lower32 >> 16; in writeSortKeyUpToQuaternary()
427 p == 0 : lower32 <= 0xffff) { in writeSortKeyUpToQuaternary()
432 uint32_t c = (lower32 >> 8) & 0xff; // case bits & tertiary lead byte in writeSortKeyUpToQuaternary()
486 uint32_t t = lower32 & tertiaryMask; in writeSortKeyUpToQuaternary()
487 U_ASSERT((lower32 & 0xc000) != 0xc000); in writeSortKeyUpToQuaternary()
546 } else if(lower32 > 0xffff) { in writeSortKeyUpToQuaternary()
577 uint32_t q = lower32 & 0xffff; in writeSortKeyUpToQuaternary()
616 if((lower32 >> 24) == Collation::LEVEL_SEPARATOR_BYTE) { break; } // ce == NO_CE in writeSortKeyUpToQuaternary()
Dcollation.h320 static uint32_t makeLongSecondaryCE32(uint32_t lower32) { in makeLongSecondaryCE32() argument
321 return lower32 | SPECIAL_CE32_LOW_BYTE | LONG_SECONDARY_TAG; in makeLongSecondaryCE32()
/third_party/node/deps/icu-small/source/i18n/
Dcoleitr.cpp71 uint32_t getFirstHalf(uint32_t p, uint32_t lower32) { in getFirstHalf() argument
72 return (p & 0xffff0000) | ((lower32 >> 16) & 0xff00) | ((lower32 >> 8) & 0xff); in getFirstHalf()
74 uint32_t getSecondHalf(uint32_t p, uint32_t lower32) { in getSecondHalf() argument
75 return (p << 16) | ((lower32 >> 8) & 0xff00) | (lower32 & 0x3f); in getSecondHalf()
131 uint32_t lower32 = (uint32_t)ce; in next() local
132 uint32_t firstHalf = getFirstHalf(p, lower32); in next()
133 uint32_t secondHalf = getSecondHalf(p, lower32); in next()
203 uint32_t lower32 = (uint32_t)ce; in previous() local
204 uint32_t firstHalf = getFirstHalf(p, lower32); in previous()
205 uint32_t secondHalf = getSecondHalf(p, lower32); in previous()
[all …]
Dcollation.cpp126 …int32_t lower32 = (int32_t)dataCE; // base code point b & step s: bbbbbbss (bit 7: isCompressible) in getThreeBytePrimaryForOffsetData() local
127 int32_t offset = (c - (lower32 >> 8)) * (lower32 & 0x7f); // delta * increment in getThreeBytePrimaryForOffsetData()
128 UBool isCompressible = (lower32 & 0x80) != 0; in getThreeBytePrimaryForOffsetData()
Dcollationkeys.cpp350 uint32_t lower32 = (uint32_t)ce; in writeSortKeyUpToQuaternary() local
351 … if(lower32 == 0) { continue; } // completely ignorable, no secondary/case/tertiary/quaternary in writeSortKeyUpToQuaternary()
354 uint32_t s = lower32 >> 16; in writeSortKeyUpToQuaternary()
427 p == 0 : lower32 <= 0xffff) { in writeSortKeyUpToQuaternary()
432 uint32_t c = (lower32 >> 8) & 0xff; // case bits & tertiary lead byte in writeSortKeyUpToQuaternary()
486 uint32_t t = lower32 & tertiaryMask; in writeSortKeyUpToQuaternary()
487 U_ASSERT((lower32 & 0xc000) != 0xc000); in writeSortKeyUpToQuaternary()
546 } else if(lower32 > 0xffff) { in writeSortKeyUpToQuaternary()
577 uint32_t q = lower32 & 0xffff; in writeSortKeyUpToQuaternary()
616 if((lower32 >> 24) == Collation::LEVEL_SEPARATOR_BYTE) { break; } // ce == NO_CE in writeSortKeyUpToQuaternary()
Dcollation.h320 static uint32_t makeLongSecondaryCE32(uint32_t lower32) { in makeLongSecondaryCE32() argument
321 return lower32 | SPECIAL_CE32_LOW_BYTE | LONG_SECONDARY_TAG; in makeLongSecondaryCE32()
Dcollationfastlatinbuilder.cpp497 uint32_t lower32 = (uint32_t)ce; in encodeUniqueCEs() local
498 uint32_t s = lower32 >> 16; in encodeUniqueCEs()
535 U_ASSERT((lower32 & Collation::CASE_MASK) == 0); // blanked out in uniqueCEs in encodeUniqueCEs()
536 uint32_t t = lower32 & Collation::ONLY_TERTIARY_MASK; in encodeUniqueCEs()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DCollation.java323 static int makeLongSecondaryCE32(int lower32) { in makeLongSecondaryCE32() argument
324 return lower32 | SPECIAL_CE32_LOW_BYTE | LONG_SECONDARY_TAG; in makeLongSecondaryCE32()
566 int lower32 = (int)dataCE; // base code point b & step s: bbbbbbss (bit 7: isCompressible)
567 int offset = (c - (lower32 >> 8)) * (lower32 & 0x7f); // delta * increment
568 boolean isCompressible = (lower32 & 0x80) != 0;
DCollationKeys.java466 int lower32 = (int) ce; in writeSortKeyUpToQuaternary() local
467 if (lower32 == 0) { in writeSortKeyUpToQuaternary()
472 int s = lower32 >>> 16; // 16 bits in writeSortKeyUpToQuaternary()
541 : (lower32 >>> 16) == 0) { in writeSortKeyUpToQuaternary()
546 int c = (lower32 >>> 8) & 0xff; // case bits & tertiary lead byte in writeSortKeyUpToQuaternary()
602 int t = lower32 & tertiaryMask; in writeSortKeyUpToQuaternary()
603 assert ((lower32 & 0xc000) != 0xc000); in writeSortKeyUpToQuaternary()
666 } else if ((lower32 >>> 16) != 0) { in writeSortKeyUpToQuaternary()
697 int q = lower32 & 0xffff; in writeSortKeyUpToQuaternary()
738 if ((lower32 >>> 24) == Collation.LEVEL_SEPARATOR_BYTE) { in writeSortKeyUpToQuaternary()
DCollationFastLatinBuilder.java467 int lower32 = (int)ce; in encodeUniqueCEs() local
468 int s = lower32 >>> 16; in encodeUniqueCEs()
505 assert((lower32 & Collation.CASE_MASK) == 0); // blanked out in uniqueCEs in encodeUniqueCEs()
506 int t = lower32 & Collation.ONLY_TERTIARY_MASK; in encodeUniqueCEs()
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/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.java456 int lower32 = (int) ce; in writeSortKeyUpToQuaternary() local
457 if (lower32 == 0) { in writeSortKeyUpToQuaternary()
462 int s = lower32 >>> 16; // 16 bits in writeSortKeyUpToQuaternary()
531 : (lower32 >>> 16) == 0) { in writeSortKeyUpToQuaternary()
536 int c = (lower32 >>> 8) & 0xff; // case bits & tertiary lead byte in writeSortKeyUpToQuaternary()
592 int t = lower32 & tertiaryMask; in writeSortKeyUpToQuaternary()
593 assert ((lower32 & 0xc000) != 0xc000); in writeSortKeyUpToQuaternary()
656 } else if ((lower32 >>> 16) != 0) { in writeSortKeyUpToQuaternary()
687 int q = lower32 & 0xffff; in writeSortKeyUpToQuaternary()
728 if ((lower32 >>> 24) == Collation.LEVEL_SEPARATOR_BYTE) { in writeSortKeyUpToQuaternary()
DCollationFastLatinBuilder.java466 int lower32 = (int)ce; in encodeUniqueCEs() local
467 int s = lower32 >>> 16; in encodeUniqueCEs()
504 assert((lower32 & Collation.CASE_MASK) == 0); // blanked out in uniqueCEs in encodeUniqueCEs()
505 int t = lower32 & Collation.ONLY_TERTIARY_MASK; in encodeUniqueCEs()

12