Home | History | Annotate | Download | only in i18n

Lines Matching defs:rules

34  *                          Modified getRules() to load rules dynamically.  Changed
88 RuleBasedCollator::RuleBasedCollator(const UnicodeString& rules,
92 construct(rules,
98 RuleBasedCollator::RuleBasedCollator(const UnicodeString& rules,
102 construct(rules,
108 RuleBasedCollator::RuleBasedCollator(const UnicodeString& rules,
113 construct(rules,
119 RuleBasedCollator::RuleBasedCollator(const UnicodeString& rules,
124 construct(rules,
145 // alias the rules string
155 RuleBasedCollator::construct(const UnicodeString& rules,
160 ucollator = ucol_openRules(rules.getBuffer(), rules.length(),
266 * elements in a string, using the collation rules defined in this
285 * Return a string representation of this collator's rules. The string can
301 UChar *rules = (UChar*) uprv_malloc( sizeof(UChar) * (rulesize) );
302 if(rules != NULL) {
303 ucol_getRulesEx(ucollator, delta, rules, rulesize);
304 buffer.setTo(rules, rulesize);
305 uprv_free(rules);
595 const UChar *rules = ucol_getRules(ucollator, &length);
596 return uhash_hashUCharsN(rules, length);
651 5. The default collation rules, which contains en_US collation rules.
665 data exists, step 5 is repeated with hardcoded default rules.