Lines Matching refs:strength
59 virtual void addReset(int32_t strength, const UnicodeString &str,
71 virtual void addRelation(int32_t strength, const UnicodeString &prefix,
77 * for the CE + strength.
79 int32_t findOrInsertNodeForCEs(int32_t strength, const char *&parserErrorReason,
81 int32_t findOrInsertNodeForRootCE(int64_t ce, int32_t strength, UErrorCode &errorCode);
90 * Skips over nodes of weaker strength to maintain collation order
94 int32_t insertTailoredNodeAfter(int32_t index, int32_t strength, UErrorCode &errorCode);
105 * Finds the node which implies or contains a common=05 weight of the given strength
109 * Always returns the input index if that node is no stronger than the given strength.
111 int32_t findCommonNode(int32_t index, int32_t strength) const;
161 * Counts the tailored nodes of the given strength up to the next node
162 * which is either stronger or has an explicit weight of this strength.
164 static int32_t countTailoredNodes(const int64_t *nodesArray, int32_t i, int32_t strength);
175 * The strength must fit into 2 bits (UCOL_PRIMARY..UCOL_QUATERNARY).
182 static inline int64_t tempCEFromIndexAndStrength(int32_t index, int32_t strength) {
192 // strength bits 1..0 -> tertiary byte 1 = CE bits 13..8 (byte values 20..23)
193 (strength << 8);
255 static inline int64_t nodeFromStrength(int32_t strength) {
256 return strength;
336 * create a difference of a certain strength from the preceding node.
339 * - a root/default node of the same strength, or
340 * - a root/default node of the next-weaker strength, or
341 * - a tailored node of the same strength.
343 * A node of a given strength normally implies "common" weights on weaker levels.
397 * - the difference strength (primary/secondary/tertiary/quaternary): 2 bits 1..0