• Home
  • Raw
  • Download

Lines Matching refs:rules

663 void genericRulesStarterWithOptionsAndResult(const char *rules, const char * const s[], uint32_t si…  in genericRulesStarterWithOptionsAndResult()  argument
666 uint32_t rlen = u_unescape(rules, rlz, RULE_BUFFER_LEN); in genericRulesStarterWithOptionsAndResult()
671 log_verbose("Rules starter for %s\n", rules); in genericRulesStarterWithOptionsAndResult()
681 log_err_status(status, "Unable to open collator with rules %s\n", rules); in genericRulesStarterWithOptionsAndResult()
712 void genericRulesStarterWithResult(const char *rules, const char * const s[], uint32_t size, UColla… in genericRulesStarterWithResult() argument
715 uint32_t rlen = u_unescape(rules, rlz, RULE_BUFFER_LEN); in genericRulesStarterWithResult()
719 log_verbose("Rules starter for %s\n", rules); in genericRulesStarterWithResult()
727 log_err("Unable to open collator with rules %s\n", rules); in genericRulesStarterWithResult()
731 void genericRulesStarter(const char *rules, const char * const s[], uint32_t size) { in genericRulesStarter() argument
732 genericRulesStarterWithResult(rules, s, size, UCOL_LESS); in genericRulesStarter()
741 UChar rules[sizeof(str)]; in TestTertiary() local
743 u_uastrcpy(rules, str); in TestTertiary()
745 myCollation=ucol_openRules(rules, len, UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status); in TestTertiary()
766 UChar rules[sizeof(str)]; in TestPrimary() local
768 u_uastrcpy(rules, str); in TestPrimary()
770 myCollation=ucol_openRules(rules, len, UCOL_OFF, UCOL_DEFAULT_STRENGTH,NULL, &status); in TestPrimary()
793 UChar rules[sizeof(str)]; in TestSecondary() local
795 u_uastrcpy(rules, str); in TestSecondary()
797 myCollation=ucol_openRules(rules, len, UCOL_OFF, UCOL_DEFAULT_STRENGTH,NULL, &status); in TestSecondary()
818 UChar rules[sizeof(str)]; in TestIdentical() local
820 u_uastrcpy(rules, str); in TestIdentical()
822 myCollation=ucol_openRules(rules, len, UCOL_OFF, UCOL_IDENTICAL, NULL,&status); in TestIdentical()
842 UChar rules[sizeof(str)]; in TestExtra() local
844 u_uastrcpy(rules, str); in TestExtra()
846 myCollation=ucol_openRules(rules, len, UCOL_OFF, UCOL_DEFAULT_STRENGTH,NULL, &status); in TestExtra()
1015 UChar rules[sizeof(str)]; in TestVariableTop() local
1024 u_uastrcpy(rules, str); in TestVariableTop()
1032 myCollation = ucol_openRules(rules, len, UCOL_OFF, in TestVariableTop()
1092 UChar rules[sizeof(str)]; in TestSurrogates() local
1105 rlen = u_unescape(str, rules, len); in TestSurrogates()
1113 myCollation = ucol_openRules(rules, rlen, UCOL_OFF, in TestSurrogates()
1179 UChar rules[1000] = { '\0' }; in TestInvalidRules() local
1185 u_charsToUChars(rulesArr[i],rules,uprv_strlen(rulesArr[i])+1); in TestInvalidRules()
1192 … coll = ucol_openRules(rules,u_strlen(rules),UCOL_OFF,UCOL_DEFAULT_STRENGTH,&parseError,&status); in TestInvalidRules()
1211 const char* rules[] = { in TestJitterbug1098() local
1235 for(;rules[i]!=0;i++){ in TestJitterbug1098()
1236 u_uastrcpy(rule, rules[i]); in TestJitterbug1098()