Home
last modified time | relevance | path

Searched refs:secTer (Results 1 – 10 of 10) sorted by relevance

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DCollationRootElements.java155 long secTer; in lastCEWithPrimaryBefore() local
160 secTer = elements[index - 1]; in lastCEWithPrimaryBefore()
161 if((secTer & SEC_TER_DELTA_FLAG) == 0) { in lastCEWithPrimaryBefore()
163 p = secTer & 0xffffff00L; in lastCEWithPrimaryBefore()
164 secTer = Collation.COMMON_SEC_AND_TER_CE; in lastCEWithPrimaryBefore()
181 secTer = Collation.COMMON_SEC_AND_TER_CE; in lastCEWithPrimaryBefore()
189 secTer = q; in lastCEWithPrimaryBefore()
192 return (p << 32) | (secTer & ~SEC_TER_DELTA_FLAG); in lastCEWithPrimaryBefore()
278 long secTer; in getTertiaryBefore() local
288 secTer = elements[index] & ~SEC_TER_DELTA_FLAG; in getTertiaryBefore()
[all …]
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationRootElements.java153 long secTer; in lastCEWithPrimaryBefore() local
158 secTer = elements[index - 1]; in lastCEWithPrimaryBefore()
159 if((secTer & SEC_TER_DELTA_FLAG) == 0) { in lastCEWithPrimaryBefore()
161 p = secTer & 0xffffff00L; in lastCEWithPrimaryBefore()
162 secTer = Collation.COMMON_SEC_AND_TER_CE; in lastCEWithPrimaryBefore()
179 secTer = Collation.COMMON_SEC_AND_TER_CE; in lastCEWithPrimaryBefore()
187 secTer = q; in lastCEWithPrimaryBefore()
190 return (p << 32) | (secTer & ~SEC_TER_DELTA_FLAG); in lastCEWithPrimaryBefore()
276 long secTer; in getTertiaryBefore() local
286 secTer = elements[index] & ~SEC_TER_DELTA_FLAG; in getTertiaryBefore()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dcollationrootelements.cpp30 uint32_t secTer; in lastCEWithPrimaryBefore() local
35 secTer = elements[index - 1]; in lastCEWithPrimaryBefore()
36 if((secTer & SEC_TER_DELTA_FLAG) == 0) { in lastCEWithPrimaryBefore()
38 p = secTer & 0xffffff00; in lastCEWithPrimaryBefore()
39 secTer = Collation::COMMON_SEC_AND_TER_CE; in lastCEWithPrimaryBefore()
56 secTer = Collation::COMMON_SEC_AND_TER_CE; in lastCEWithPrimaryBefore()
64 secTer = q; in lastCEWithPrimaryBefore()
67 return ((int64_t)p << 32) | (secTer & ~SEC_TER_DELTA_FLAG); in lastCEWithPrimaryBefore()
146 uint32_t previousTer, secTer; in getTertiaryBefore() local
156 secTer = elements[index] & ~SEC_TER_DELTA_FLAG; in getTertiaryBefore()
[all …]
/third_party/icu/icu4c/source/i18n/
Dcollationrootelements.cpp30 uint32_t secTer; in lastCEWithPrimaryBefore() local
35 secTer = elements[index - 1]; in lastCEWithPrimaryBefore()
36 if((secTer & SEC_TER_DELTA_FLAG) == 0) { in lastCEWithPrimaryBefore()
38 p = secTer & 0xffffff00; in lastCEWithPrimaryBefore()
39 secTer = Collation::COMMON_SEC_AND_TER_CE; in lastCEWithPrimaryBefore()
56 secTer = Collation::COMMON_SEC_AND_TER_CE; in lastCEWithPrimaryBefore()
64 secTer = q; in lastCEWithPrimaryBefore()
67 return ((int64_t)p << 32) | (secTer & ~SEC_TER_DELTA_FLAG); in lastCEWithPrimaryBefore()
146 uint32_t previousTer, secTer; in getTertiaryBefore() local
156 secTer = elements[index] & ~SEC_TER_DELTA_FLAG; in getTertiaryBefore()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcollationrootelements.cpp30 uint32_t secTer; in lastCEWithPrimaryBefore() local
35 secTer = elements[index - 1]; in lastCEWithPrimaryBefore()
36 if((secTer & SEC_TER_DELTA_FLAG) == 0) { in lastCEWithPrimaryBefore()
38 p = secTer & 0xffffff00; in lastCEWithPrimaryBefore()
39 secTer = Collation::COMMON_SEC_AND_TER_CE; in lastCEWithPrimaryBefore()
56 secTer = Collation::COMMON_SEC_AND_TER_CE; in lastCEWithPrimaryBefore()
64 secTer = q; in lastCEWithPrimaryBefore()
67 return ((int64_t)p << 32) | (secTer & ~SEC_TER_DELTA_FLAG); in lastCEWithPrimaryBefore()
146 uint32_t previousTer, secTer; in getTertiaryBefore() local
156 secTer = elements[index] & ~SEC_TER_DELTA_FLAG; in getTertiaryBefore()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dcollationrootelements.cpp30 uint32_t secTer; in lastCEWithPrimaryBefore() local
35 secTer = elements[index - 1]; in lastCEWithPrimaryBefore()
36 if((secTer & SEC_TER_DELTA_FLAG) == 0) { in lastCEWithPrimaryBefore()
38 p = secTer & 0xffffff00; in lastCEWithPrimaryBefore()
39 secTer = Collation::COMMON_SEC_AND_TER_CE; in lastCEWithPrimaryBefore()
56 secTer = Collation::COMMON_SEC_AND_TER_CE; in lastCEWithPrimaryBefore()
64 secTer = q; in lastCEWithPrimaryBefore()
67 return ((int64_t)p << 32) | (secTer & ~SEC_TER_DELTA_FLAG); in lastCEWithPrimaryBefore()
146 uint32_t previousTer, secTer; in getTertiaryBefore() local
156 secTer = elements[index] & ~SEC_TER_DELTA_FLAG; in getTertiaryBefore()
[all …]
/third_party/icu/tools/unicode/c/genuca/
Dcollationbasedatabuilder.cpp284 uint32_t secTer = (uint32_t)ce; in addRootElement() local
286 if(secTer < Collation::COMMON_SEC_AND_TER_CE) { in addRootElement()
291 if(secTer == Collation::COMMON_SEC_AND_TER_CE) { in addRootElement()
295 if(secTer != Collation::COMMON_SEC_AND_TER_CE) { // minor optimization in addRootElement()
297 uint32_t s = secTer >> 16; in addRootElement()
298 uint32_t t = secTer & Collation::ONLY_TERTIARY_MASK; in addRootElement()
389 uint32_t secTer = (uint32_t)ce & Collation::ONLY_SEC_TER_MASK; in buildRootElementsTable() local
390 … if((p != prevPrimary || secTer > Collation::COMMON_SEC_AND_TER_CE) && needCommonSecTerUnit) { in buildRootElementsTable()
405 U_ASSERT(p > lastHanPrimary || secTer > Collation::COMMON_SEC_AND_TER_CE); in buildRootElementsTable()
449 secTer == Collation::COMMON_SEC_AND_TER_CE && in buildRootElementsTable()
[all …]
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java741 long secTer = ce & 0xffffffffL; in isValidCE() local
742 return isValidCE(re, data, p, secTer >>> 16, secTer & 0xffff); in isValidCE()
751 long secTer; field in CollationTest.RootElementsIterator
759 secTer = 0; in RootElementsIterator()
773 secTer = p & ~CollationRootElements.SEC_TER_DELTA_FLAG; in next()
801 secTer = Collation.COMMON_SEC_AND_TER_CE; in next()
803 secTer = elements[index]; in next()
804 if((secTer & CollationRootElements.SEC_TER_DELTA_FLAG) == 0) { in next()
806 secTer = Collation.COMMON_SEC_AND_TER_CE; in next()
808 secTer &= ~CollationRootElements.SEC_TER_DELTA_FLAG; in next()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
DCollationTest.java744 long secTer = ce & 0xffffffffL; in isValidCE() local
745 return isValidCE(re, data, p, secTer >>> 16, secTer & 0xffff); in isValidCE()
754 long secTer; field in CollationTest.RootElementsIterator
762 secTer = 0; in RootElementsIterator()
776 secTer = p & ~CollationRootElements.SEC_TER_DELTA_FLAG; in next()
804 secTer = Collation.COMMON_SEC_AND_TER_CE; in next()
806 secTer = elements[index]; in next()
807 if((secTer & CollationRootElements.SEC_TER_DELTA_FLAG) == 0) { in next()
809 secTer = Collation.COMMON_SEC_AND_TER_CE; in next()
811 secTer &= ~CollationRootElements.SEC_TER_DELTA_FLAG; in next()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dcollationtest.cpp681 uint32_t secTer = (uint32_t)ce; in isValidCE() local
682 return isValidCE(re, data, p, secTer >> 16, secTer & 0xffff); in isValidCE()
690 pri(0), secTer(0), in RootElementsIterator()
699 secTer = p & ~CollationRootElements::SEC_TER_DELTA_FLAG; in next()
727 secTer = Collation::COMMON_SEC_AND_TER_CE; in next()
729 secTer = elements[index]; in next()
730 if((secTer & CollationRootElements::SEC_TER_DELTA_FLAG) == 0) { in next()
732 secTer = Collation::COMMON_SEC_AND_TER_CE; in next()
734 secTer &= ~CollationRootElements::SEC_TER_DELTA_FLAG; in next()
735 if(secTer > Collation::COMMON_SEC_AND_TER_CE) { in next()
[all …]