Home
last modified time | relevance | path

Searched refs:weight16 (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationBuilder.java179 int weight16 = weight16FromNode(node); in addReset() local
180 if(weight16 == 0) { in addReset()
186 assert(weight16 > Collation.BEFORE_WEIGHT16); in addReset()
190 weight16 = getWeight16Before(index, node, strength); in addReset()
198 assert(weight16 >= Collation.COMMON_WEIGHT16 || i == previousIndex); in addReset()
211 if(previousWeight16 == weight16) { in addReset()
218 node = nodeFromWeight16(weight16) | nodeFromStrength(strength); in addReset()
223 int weight16 = getWeight16Before(index, node, strength); in addReset() local
224 index = findOrInsertWeakNode(index, weight16, strength); in addReset()
269 int weight16; in getWeight16Before() local
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationBuilder.java183 int weight16 = weight16FromNode(node); in addReset() local
184 if(weight16 == 0) { in addReset()
190 assert(weight16 > Collation.BEFORE_WEIGHT16); in addReset()
194 weight16 = getWeight16Before(index, node, strength); in addReset()
202 assert(weight16 >= Collation.COMMON_WEIGHT16 || i == previousIndex); in addReset()
215 if(previousWeight16 == weight16) { in addReset()
222 node = nodeFromWeight16(weight16) | nodeFromStrength(strength); in addReset()
227 int weight16 = getWeight16Before(index, node, strength); in addReset() local
228 index = findOrInsertWeakNode(index, weight16, strength); in addReset()
273 int weight16; in getWeight16Before() local
[all …]
/external/icu/icu4c/source/i18n/
Dcollationbuilder.cpp377 uint32_t weight16 = weight16FromNode(node); in addReset() local
378 if(weight16 == 0) { in addReset()
387 U_ASSERT(weight16 > Collation::BEFORE_WEIGHT16); in addReset()
391 weight16 = getWeight16Before(index, node, strength); in addReset()
399 U_ASSERT(weight16 >= Collation::COMMON_WEIGHT16 || i == previousIndex); in addReset()
412 if(previousWeight16 == weight16) { in addReset()
419 node = nodeFromWeight16(weight16) | nodeFromStrength(strength); in addReset()
424 uint32_t weight16 = getWeight16Before(index, node, strength); in addReset() local
425 index = findOrInsertWeakNode(index, weight16, strength, errorCode); in addReset()
471 uint32_t weight16; in getWeight16Before() local
[all …]
Dcollationbuilder.h85 int32_t findOrInsertWeakNode(int32_t index, uint32_t weight16, int32_t level,
246 static inline int64_t nodeFromWeight16(uint32_t weight16) { in nodeFromWeight16() argument
247 return (int64_t)weight16 << 48; in nodeFromWeight16()