Home
last modified time | relevance | path

Searched refs:ruleLen (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dnptrans.cpp66 int32_t ruleLen = 0; in NamePrepTransform() local
67 const UChar* ruleUChar = ures_getStringByKey(bundle, "MapNFKC",&ruleLen, &status); in NamePrepTransform()
71 rule.append(ruleUChar, ruleLen); in NamePrepTransform()
Ditrbnf.cpp197 int32_t ruleLen = 0; in TestAPI() local
204 ruleLen += len; in TestAPI()
210 if(U_FAILURE(status) || ruleLen == 0 || spelloutRules == NULL) { in TestAPI()
/external/icu/icu4c/source/test/cintltst/
Dcmsccoll.c703 uint32_t ruleLen = 0; in TestUCARules() local
713 ruleLen = ucol_getRulesEx(coll, UCOL_FULL_RULES, rules, 256); in TestUCARules()
716 if(ruleLen > 256) { in TestUCARules()
717 rules = (UChar *)malloc((ruleLen+1)*sizeof(UChar)); in TestUCARules()
718 ruleLen = ucol_getRulesEx(coll, UCOL_FULL_RULES, rules, ruleLen); in TestUCARules()
720 log_verbose("Rules length is %d\n", ruleLen); in TestUCARules()
721 UCAfromRules = ucol_openRules(rules, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status); in TestUCARules()
3583 int32_t rLen, tLen, ruleLen, sLen, kLen; in TestVI5913() local
3688 ruleLen = u_strlen(rule); in TestVI5913()
3689 coll = ucol_openRules(rule, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status); in TestVI5913()
[all …]
/external/cldr/tools/c/genldml/
Dgenldml.h258 UnicodeString parseRules(UChar* rules, int32_t ruleLen, UnicodeString& ruleXML);
Dgenldml.cpp2679 UnicodeString GenerateXML::parseRules(UChar* rules, int32_t ruleLen, UnicodeString& xmlString){ in parseRules() argument
2684 src.end = rules+ruleLen; in parseRules()
2685 src.chars=(UChar*) malloc((ruleLen + 10)* U_SIZEOF_UCHAR); in parseRules()
2686 src.charsCapacity = ruleLen+10; in parseRules()