Lines Matching refs:order

66 * The key of a character, is an integer composed of primary order(short),
67 * secondary order(char), and tertiary order(char). Java strictly defines the
82 * int32_t order = c->next(success);
84 * order = c->previous(success);
91 * The method next() returns the collation order of the next character based on
93 * collation order of the previous character based on the comparison level of
100 * Hence at the next call of next() or previous(), the first or last collation order,
101 * or collation order at the spefcifieid position will be returned. If a change of
107 * Character based on the comparison level of the collator. A collation order
108 * consists of primary order, secondary order and tertiary order. The data
109 * type of the collation order is <strong>t_int32</strong>.
190 * Gets the primary order of a collation order.
191 * @param order the collation order
192 * @return the primary order of a collation order.
195 static inline int32_t primaryOrder(int32_t order);
198 * Gets the secondary order of a collation order.
199 * @param order the collation order
200 * @return the secondary order of a collation order.
203 static inline int32_t secondaryOrder(int32_t order);
206 * Gets the tertiary order of a collation order.
207 * @param order the collation order
208 * @return the tertiary order of a collation order.
211 static inline int32_t tertiaryOrder(int32_t order);
215 * specified comparison order.
216 * @param order a collation order returned by previous or next.
222 int32_t getMaxExpansion(int32_t order) const;
225 * Gets the comparison order in the desired strength. Ignore the other
227 * @param order The order value
230 int32_t strengthOrder(int32_t order) const;
249 * Checks if a comparison order is ignorable.
250 * @param order the collation order.
254 static inline UBool isIgnorable(int32_t order);
295 * @param order the collation object.
299 const RuleBasedCollator* order, UErrorCode& status);
307 * @param order the collation object.
311 const RuleBasedCollator* order, UErrorCode& status);
339 * Get the primary order of a collation order.
340 * @param order the collation order
341 * @return the primary order of a collation order.
343 inline int32_t CollationElementIterator::primaryOrder(int32_t order)
345 order &= RuleBasedCollator::PRIMARYORDERMASK;
346 return (order >> RuleBasedCollator::PRIMARYORDERSHIFT);
350 * Get the secondary order of a collation order.
351 * @param order the collation order
352 * @return the secondary order of a collation order.
354 inline int32_t CollationElementIterator::secondaryOrder(int32_t order)
356 order = order & RuleBasedCollator::SECONDARYORDERMASK;
357 return (order >> RuleBasedCollator::SECONDARYORDERSHIFT);
361 * Get the tertiary order of a collation order.
362 * @param order the collation order
363 * @return the tertiary order of a collation order.
365 inline int32_t CollationElementIterator::tertiaryOrder(int32_t order)
367 return (order &= RuleBasedCollator::TERTIARYORDERMASK);
370 inline int32_t CollationElementIterator::getMaxExpansion(int32_t order) const
372 return ucol_getMaxExpansion(m_data_, (uint32_t)order);
375 inline UBool CollationElementIterator::isIgnorable(int32_t order)
377 return (primaryOrder(order) == RuleBasedCollator::PRIMIGNORABLE);