Searched refs:ruleLen (Results 1 – 5 of 5) sorted by relevance
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
D | RBBITest.java | 825 for (int ruleLen=startLength; ruleLen <= endLength; ruleLen += increment) { 827 .replace("#", testStr.substring(0, ruleLen)); 834 ruleLen, bi.next()); 839 int result = bi.preceding(ruleLen); 849 if (ruleLen == startLength) { 853 if (ruleLen == endLength) {
|
/third_party/icu/icu4c/source/test/intltest/ |
D | nptrans.cpp | 65 int32_t ruleLen = 0; in NamePrepTransform() local 66 … const UChar* ruleUChar = ures_getStringByKey(lbundle.getAlias(), "MapNFKC",&ruleLen, &status); in NamePrepTransform() 70 rule.append(ruleUChar, ruleLen); in NamePrepTransform()
|
D | rbbitst.cpp | 4957 for (int32_t ruleLen=startLength; ruleLen <= endLength; ruleLen += increment) { in TestTable_8_16_Bits() local 4962 ruleString.findAndReplace(UnicodeString(u"#"), UnicodeString(testStr, 0, ruleLen)); in TestTable_8_16_Bits() 4973 assertEquals(WHERE, ruleLen, bi.next()); in TestTable_8_16_Bits() 4978 int32_t result = bi.preceding(ruleLen); in TestTable_8_16_Bits() 4986 if (ruleLen == startLength) { in TestTable_8_16_Bits() 4990 if (ruleLen == endLength) { in TestTable_8_16_Bits()
|
D | itrbnf.cpp | 199 int32_t ruleLen = 0; in TestAPI() local 206 ruleLen += len; in TestAPI() 212 if(U_FAILURE(status) || ruleLen == 0 || spelloutRules == NULL) { in TestAPI()
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | cmsccoll.c | 706 uint32_t ruleLen = 0; in TestUCARules() local 716 ruleLen = ucol_getRulesEx(coll, UCOL_FULL_RULES, rules, 256); in TestUCARules() 719 if(ruleLen > 256) { in TestUCARules() 720 rules = (UChar *)malloc((ruleLen+1)*sizeof(UChar)); in TestUCARules() 721 ruleLen = ucol_getRulesEx(coll, UCOL_FULL_RULES, rules, ruleLen); in TestUCARules() 723 log_verbose("Rules length is %d\n", ruleLen); in TestUCARules() 724 UCAfromRules = ucol_openRules(rules, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status); in TestUCARules() 3586 int32_t rLen, tLen, ruleLen, sLen, kLen; in TestVI5913() local 3691 ruleLen = u_strlen(rule); in TestVI5913() 3692 coll = ucol_openRules(rule, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status); in TestVI5913() [all …]
|