Searched refs:ruleLen (Results 1 – 8 of 8) sorted by relevance
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
D | RBBITest.java | 821 for (int ruleLen=startLength; ruleLen <= endLength; ruleLen += increment) { 823 .replace("#", testStr.substring(0, ruleLen)); 830 ruleLen, bi.next()); 835 int result = bi.preceding(ruleLen); 845 if (ruleLen == startLength) { 849 if (ruleLen == endLength) {
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
D | RBBITest.java | 824 for (int ruleLen=startLength; ruleLen <= endLength; ruleLen += increment) { 826 .replace("#", testStr.substring(0, ruleLen)); 833 ruleLen, bi.next()); 838 int result = bi.preceding(ruleLen); 848 if (ruleLen == startLength) { 852 if (ruleLen == endLength) {
|
/external/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 | 5050 for (int32_t ruleLen=startLength; ruleLen <= endLength; ruleLen += increment) { in TestTable_8_16_Bits() local 5055 ruleString.findAndReplace(UnicodeString(u"#"), UnicodeString(testStr, 0, ruleLen)); in TestTable_8_16_Bits() 5066 assertEquals(WHERE, ruleLen, bi.next()); in TestTable_8_16_Bits() 5071 int32_t result = bi.preceding(ruleLen); in TestTable_8_16_Bits() 5079 if (ruleLen == startLength) { in TestTable_8_16_Bits() 5083 if (ruleLen == endLength) { in TestTable_8_16_Bits()
|
D | itrbnf.cpp | 197 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/ |
D | cmsccoll.c | 705 uint32_t ruleLen = 0; in TestUCARules() local 715 ruleLen = ucol_getRulesEx(coll, UCOL_FULL_RULES, rules, 256); in TestUCARules() 718 if(ruleLen > 256) { in TestUCARules() 719 rules = (UChar *)malloc((ruleLen+1)*sizeof(UChar)); in TestUCARules() 720 ruleLen = ucol_getRulesEx(coll, UCOL_FULL_RULES, rules, ruleLen); in TestUCARules() 722 log_verbose("Rules length is %d\n", ruleLen); in TestUCARules() 723 UCAfromRules = ucol_openRules(rules, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status); in TestUCARules() 3585 int32_t rLen, tLen, ruleLen, sLen, kLen; in TestVI5913() local 3690 ruleLen = u_strlen(rule); in TestVI5913() 3691 coll = ucol_openRules(rule, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status); in TestVI5913() [all …]
|
/external/cldr/tools/c/genldml/ |
D | genldml.h | 258 UnicodeString parseRules(UChar* rules, int32_t ruleLen, UnicodeString& ruleXML);
|
D | genldml.cpp | 2679 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()
|