Lines Matching refs:ruleLen
533 int32_t ruleLen = 0;
561 rules = ucol_getRules(coll, &ruleLen);
562 if(U_SUCCESS(*status) && ruleLen > 0) {
563 rulesCopy = (UChar *)uprv_malloc((ruleLen+UCOL_TOK_EXTRA_RULE_SPACE_SIZE)*sizeof(UChar));
564 uprv_memcpy(rulesCopy, rules, ruleLen*sizeof(UChar));
566 src.end = rulesCopy+ruleLen;
919 int32_t ruleLen = 0;
943 rules = ucol_getRules(coll, &ruleLen);
947 if(U_SUCCESS(*status) && ruleLen > 0) {
948 rulesCopy = (UChar *)uprv_malloc((ruleLen+UCOL_TOK_EXTRA_RULE_SPACE_SIZE)*sizeof(UChar));
949 uprv_memcpy(rulesCopy, rules, ruleLen*sizeof(UChar));
951 src.end = rulesCopy+ruleLen;
1084 int32_t ruleLen = 0;
1141 rules = ucol_getRules(coll, &ruleLen);
1181 if(U_SUCCESS(*status) && ruleLen > 0) {
1182 rulesCopy = (UChar *)uprv_malloc((ruleLen+UCOL_TOK_EXTRA_RULE_SPACE_SIZE)*sizeof(UChar));
1183 uprv_memcpy(rulesCopy, rules, ruleLen*sizeof(UChar));
1185 src.end = rulesCopy+ruleLen;
1381 uint32_t ruleLen;
1448 ruleLen = u_unescape(rulesToTest[i], rule, 2048);
1450 coll = ucol_openRules(rule, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status);
1469 uint32_t ruleLen, tailoredLen, notTailoredLen;
1474 ruleLen = u_strlen(rule);
1482 coll = ucol_openRules(rule, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status);
1594 uint32_t ruleLen = 0;
1597 ruleLen = u_unescape(rule, t1, 256);
1599 coll = ucol_openRules(t1, ruleLen, UCOL_OFF, UCOL_TERTIARY,NULL, &status);
1791 uint32_t ruleLen = 0;
1801 ruleLen = ucol_getRulesEx(coll, UCOL_FULL_RULES, rules, 256);
1804 if(ruleLen > 256) {
1805 rules = (UChar *)malloc((ruleLen+1)*sizeof(UChar));
1806 ruleLen = ucol_getRulesEx(coll, UCOL_FULL_RULES, rules, ruleLen);
1808 log_verbose("Rules length is %d\n", ruleLen);
1809 UCAfromRules = ucol_openRules(rules, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status);
4932 int32_t rLen, tLen, ruleLen, sLen, kLen;
5026 ruleLen = u_strlen(rule);
5027 coll = ucol_openRules(rule, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status);
5055 ruleLen = u_strlen(rule2);
5056 coll = ucol_openRules(rule2, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status);
5072 ruleLen = u_strlen(rule3);
5073 coll = ucol_openRules(rule3, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status);
5102 int32_t rLen, tLen, ruleLen;
5140 ruleLen = u_strlen(rule1);
5141 coll = ucol_openRules(rule1, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status);
5169 ruleLen = u_strlen(rule1);
5170 coll = ucol_openRules(rule2, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status);
5205 int32_t rLen, tLen, ruleLen;
5269 ruleLen = u_strlen(rule1);
5270 coll = ucol_openRules(rule1, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status);
5292 ruleLen
5293 coll = ucol_openRules(rule2, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status);