Home | History | Annotate | Download | only in i18n

Lines Matching refs:strength

57     virtual void addReset(int32_t strength, const UnicodeString &str,
64 virtual void addRelation(int32_t strength, const UnicodeString &prefix,
70 * for the CE + strength.
72 int32_t findOrInsertNodeForCEs(int32_t strength, const char *&parserErrorReason,
74 int32_t findOrInsertNodeForRootCE(int64_t ce, int32_t strength, UErrorCode &errorCode);
83 * Skips over nodes of weaker strength to maintain collation order
87 int32_t insertTailoredNodeAfter(int32_t index, int32_t strength, UErrorCode &errorCode);
98 * Finds the node which implies or contains a common=05 weight of the given strength
102 * Always returns the input index if that node is no stronger than the given strength.
104 int32_t findCommonNode(int32_t index, int32_t strength) const;
154 * Counts the tailored nodes of the given strength up to the next node
155 * which is either stronger or has an explicit weight of this strength.
157 static int32_t countTailoredNodes(const int64_t *nodesArray, int32_t i, int32_t strength);
168 * The strength must fit into 2 bits (UCOL_PRIMARY..UCOL_QUATERNARY).
175 static inline int64_t tempCEFromIndexAndStrength(int32_t index, int32_t strength) {
185 // strength bits 1..0 -> tertiary byte 1 = CE bits 13..8 (byte values 20..23)
186 (strength << 8);
253 static inline int64_t nodeFromStrength(int32_t strength) {
254 return strength;
334 * create a difference of a certain strength from the preceding node.
337 * - a root/default node of the same strength, or
338 * - a root/default node of the next-weaker strength, or
339 * - a tailored node of the same strength.
341 * A node of a given strength normally implies "common" weights on weaker levels.
394 * - the difference strength (primary/secondary/tertiary/quaternary): 2 bits 1..0