Lines Matching defs:rules
83 To save space, Android does not include the collation tailoring rules.
91 To save space, Android does not build full collation tables and tailing rules.
218 /* We don't have default rules, at least not in the previous sense */
382 To save space, Android does not include the collation tailoring rules.
876 const UChar *rules;
891 rules = preRules;
893 log_verbose("Rules: %s\n", aescstrdup(rules, rulesLength));
895 c2 = ucol_openRules(rules, rulesLength, UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL, &status);
897 log_data_err("ERROR: Creating collator from rules failed with locale: %s : %s\n", curLoc, myErrorName(status));
947 const UChar* rules;
987 /* grab the rules */
988 rules = ucol_getRules(c1, &rulesLength);
990 /* use those rules to create a collator from rules */
991 c2 = ucol_openRules(rules, rulesLength, UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL, &err);
993 log_err("ERROR: Creating collator from rules failed with locale: %s : %s\n", curLoc, myErrorName(err));
1402 const char *rules = "&a<x<y<z";
1404 uint32_t rlzLen = u_unescape(rules, rlz, 256);
1474 /* collator instantiated from rules should have all three locales NULL */
1478 log_err("For collator instantiated from rules, requested locale returned %s instead of NULL\n", locale);
1482 log_err("For collator instantiated from rules, valid locale returned %s instead of NULL\n", locale);
1486 log_err("For collator instantiated from rules, actual locale returned %s instead of NULL\n", locale);
1838 const char *rules;
1856 buffLen = u_unescape(setTest[i].rules, buff, 1024);
1871 log_err_status(status, "Couldn't open collator with rules %s\n", setTest[i].rules);