Lines Matching defs:rulesCopy

554   UChar *rulesCopy = NULL;
563 rulesCopy = (UChar *)uprv_malloc((ruleLen+UCOL_TOK_EXTRA_RULE_SPACE_SIZE)*sizeof(UChar));
564 uprv_memcpy(rulesCopy, rules, ruleLen*sizeof(UChar));
565 src.current = src.source = rulesCopy;
566 src.end = rulesCopy+ruleLen;
572 the rules copy in src.source to get reallocated, freeing the original pointer in rulesCopy */
935 UChar *rulesCopy = NULL;
955 rulesCopy = (UChar *)uprv_malloc((ruleLen+UCOL_TOK_EXTRA_RULE_SPACE_SIZE)*sizeof(UChar));
956 uprv_memcpy(rulesCopy, rules, ruleLen*sizeof(UChar));
957 src.current = src.source = rulesCopy;
958 src.end = rulesCopy+ruleLen;
964 the rules copy in src.source to get reallocated, freeing the original pointer in rulesCopy */
1114 UChar *rulesCopy = NULL;
1195 rulesCopy = (UChar *)uprv_malloc((ruleLen+UCOL_TOK_EXTRA_RULE_SPACE_SIZE)*sizeof(UChar));
1196 uprv_memcpy(rulesCopy, rules, ruleLen*sizeof(UChar));
1197 src.current = src.source = rulesCopy;
1198 src.end = rulesCopy+ruleLen;
1203 the rules copy in src.source to get reallocated, freeing the original pointer in rulesCopy */
3008 UChar *rulesCopy = NULL;
3034 rulesLen = ucol_getRulesEx(coll, UCOL_FULL_RULES, rulesCopy, 0);
3035 rulesCopy = (UChar *)uprv_malloc((rulesLen+UCOL_TOK_EXTRA_RULE_SPACE_SIZE)*sizeof(UChar));
3036 rulesLen = ucol_getRulesEx(coll, UCOL_FULL_RULES, rulesCopy, rulesLen+UCOL_TOK_EXTRA_RULE_SPACE_SIZE);
3040 src.current = src.source = rulesCopy;
3041 src.end = rulesCopy+rulesLen;
3046 the rules copy in src.source to get reallocated, freeing the original pointer in rulesCopy */