Lines Matching refs:rule
352 UChar rule[50];
353 int rulelen = u_unescape(str, rule, 50);
367 coll = ucol_openRules(rule, rulelen, UCOL_ON, UCOL_TERTIARY, NULL, &status);
420 UChar rule[50];
446 u_uastrcpy(rule, "&a,A < b,B < c,C, d,D < z,Z < ch,cH,Ch,CH");
447 c1 = ucol_openRules(rule, u_strlen(rule), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status);
449 log_verbose("Contraction rule testing back and forth with no normalization\n");
470 u_uastrcpy(rule, "&a < b < c/abd < d");
471 c2 = ucol_openRules(rule, u_strlen(rule), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status);
472 log_verbose("Expansion rule testing back and forth with no normalization\n");
490 u_uastrcpy(rule, "&a < b < c/aba < d < z < ch");
491 c3 = ucol_openRules(rule, u_strlen(rule), UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH,NULL, &status);
492 log_verbose("Expansion/contraction rule testing back and forth with no normalization\n");
788 UChar rule[256];
789 u_uastrcpy(rule, "&a < ab < c/aba < d < z < ch");
790 coll = ucol_openRules(rule, u_strlen(rule), UCOL_DEFAULT,
878 rule[0] = 0x26;
879 rule[1] = 0x71;
880 rule[2] = 0x3c;
881 rule[3] = 0x1165;
882 rule[4] = 0x2f;
883 rule[5] = 0x71;
884 rule[6] = 0x71;
885 rule[7] = 0x71;
886 rule[8] = 0x71;
887 rule[9] = 0;
889 coll = ucol_openRules(rule, u_strlen(rule), UCOL_DEFAULT,
1009 UChar rule[50];
1010 int rulelen = u_unescape(rulestr, rule, 50);
1049 coll = ucol_openRules(rule, rulelen, UCOL_OFF, UCOL_DEFAULT_STRENGTH,NULL, &status);
1050 iter = ucol_openElements(coll, rule, 1, &status);
1051 resultiter = ucol_openElements(coll, rule, 1, &status);