Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dnptrans.cpp65 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()
Drbbitst.cpp4977 for (int32_t ruleLen=startLength; ruleLen <= endLength; ruleLen += increment) { in TestTable_8_16_Bits() local
4982 ruleString.findAndReplace(UnicodeString(u"#"), UnicodeString(testStr, 0, ruleLen)); in TestTable_8_16_Bits()
4993 assertEquals(WHERE, ruleLen, bi.next()); in TestTable_8_16_Bits()
4998 int32_t result = bi.preceding(ruleLen); in TestTable_8_16_Bits()
5006 if (ruleLen == startLength) { in TestTable_8_16_Bits()
5010 if (ruleLen == endLength) { in TestTable_8_16_Bits()
Ditrbnf.cpp199 int32_t ruleLen = 0; in TestAPI() local
206 ruleLen += len; in TestAPI()
212 if(U_FAILURE(status) || ruleLen == 0 || spelloutRules == NULL) { in TestAPI()
/external/cronet/third_party/icu/source/test/intltest/
Dnptrans.cpp65 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()
Drbbitst.cpp4957 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()
Ditrbnf.cpp199 int32_t ruleLen = 0; in TestAPI() local
206 ruleLen += len; in TestAPI()
212 if(U_FAILURE(status) || ruleLen == 0 || spelloutRules == NULL) { in TestAPI()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBITest.java828 for (int ruleLen=startLength; ruleLen <= endLength; ruleLen += increment) {
830 .replace("#", testStr.substring(0, ruleLen));
837 ruleLen, bi.next());
842 int result = bi.preceding(ruleLen);
852 if (ruleLen == startLength) {
856 if (ruleLen == endLength) {
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITest.java825 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) {
/external/icu/icu4c/source/test/cintltst/
Dcmsccoll.c706 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 …]
/external/cronet/third_party/icu/source/test/cintltst/
Dcmsccoll.c706 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 …]
/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()