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 * CollationElementIterator::next returns the collation order of the next
93 * CollationElementIterator::previous returns the collation order of the
103 * CollationElementIterator::next(), the first or last collation order will be
111 * Character based on the comparison level of the collator. A collation order
112 * consists of primary order, secondary order and tertiary order. The data
113 * type of the collation order is <strong>t_int32</strong>.
194 * Gets the primary order of a collation order.
195 * @param order the collation order
196 * @return the primary order of a collation order.
199 static inline int32_t primaryOrder(int32_t order);
202 * Gets the secondary order of a collation order.
203 * @param order the collation order
204 * @return the secondary order of a collation order.
207 static inline int32_t secondaryOrder(int32_t order);
210 * Gets the tertiary order of a collation order.
211 * @param order the collation order
212 * @return the tertiary order of a collation order.
215 static inline int32_t tertiaryOrder(int32_t order);
219 * specified comparison order.
220 * @param order a collation order returned by previous or next.
226 int32_t getMaxExpansion(int32_t order) const;
229 * Gets the comparison order in the desired strength. Ignore the other
231 * @param order The order value
234 int32_t strengthOrder(int32_t order) const;
253 * Checks if a comparison order is ignorable.
254 * @param order the collation order.
258 static inline UBool isIgnorable(int32_t order);
304 * @param order the collation object.
309 const RuleBasedCollator* order, UErrorCode& status);
317 * @param order the collation object.
322 const RuleBasedCollator* order, UErrorCode& status);
355 * Get the primary order of a collation order.
356 * @param order the collation order
357 * @return the primary order of a collation order.
359 inline int32_t CollationElementIterator::primaryOrder(int32_t order)
361 order &= RuleBasedCollator::PRIMARYORDERMASK;
362 return (order >> RuleBasedCollator::PRIMARYORDERSHIFT);
366 * Get the secondary order of a collation order.
367 * @param order the collation order
368 * @return the secondary order of a collation order.
370 inline int32_t CollationElementIterator::secondaryOrder(int32_t order)
372 order = order & RuleBasedCollator::SECONDARYORDERMASK;
373 return (order >> RuleBasedCollator::SECONDARYORDERSHIFT);
377 * Get the tertiary order of a collation order.
378 * @param order the collation order
379 * @return the tertiary order of a collation order.
381 inline int32_t CollationElementIterator::tertiaryOrder(int32_t order)
383 return (order &= RuleBasedCollator::TERTIARYORDERMASK);
386 inline int32_t CollationElementIterator::getMaxExpansion(int32_t order) const
388 return ucol_getMaxExpansion(m_data_, (uint32_t)order);
391 inline UBool CollationElementIterator::isIgnorable(int32_t order)
393 return (primaryOrder(order) == RuleBasedCollator::PRIMIGNORABLE);