Searched refs:ruleLen (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/third_party/icu/source/test/cintltst/ |
D | cmsccoll.c | 532 int32_t ruleLen = 0; in testCollator() local 560 rules = ucol_getRules(coll, &ruleLen); in testCollator() 561 if(U_SUCCESS(*status) && ruleLen > 0) { in testCollator() 562 rulesCopy = (UChar *)uprv_malloc((ruleLen+UCOL_TOK_EXTRA_RULE_SPACE_SIZE)*sizeof(UChar)); in testCollator() 563 uprv_memcpy(rulesCopy, rules, ruleLen*sizeof(UChar)); in testCollator() 565 src.end = rulesCopy+ruleLen; in testCollator() 917 int32_t ruleLen = 0; in testAgainstUCA() local 941 rules = ucol_getRules(coll, &ruleLen); in testAgainstUCA() 945 if(U_SUCCESS(*status) && ruleLen > 0) { in testAgainstUCA() 946 rulesCopy = (UChar *)uprv_malloc((ruleLen+UCOL_TOK_EXTRA_RULE_SPACE_SIZE)*sizeof(UChar)); in testAgainstUCA() [all …]
|
D | citertst.c | 1755 int32_t ruleLen = 0; in TestCEValidity() local 1790 rules = ucol_getRules(coll, &ruleLen); in TestCEValidity() 1792 if (ruleLen > 0) { in TestCEValidity() 1793 rulesCopy = (UChar *)uprv_malloc((ruleLen + in TestCEValidity() 1795 uprv_memcpy(rulesCopy, rules, ruleLen * sizeof(UChar)); in TestCEValidity() 1797 src.end = rulesCopy + ruleLen; in TestCEValidity() 1956 int32_t ruleLen = 0; in TestSortKeyValidity() local 1980 rules = ucol_getRules(coll, &ruleLen); in TestSortKeyValidity() 1982 if (ruleLen > 0) { in TestSortKeyValidity() 1983 rulesCopy = (UChar *)uprv_malloc((ruleLen + in TestSortKeyValidity() [all …]
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | nptrans.cpp | 64 int32_t ruleLen = 0; in NamePrepTransform() local 65 const UChar* ruleUChar = ures_getStringByKey(bundle, "MapNFKC",&ruleLen, &status); in NamePrepTransform() 69 rule.append(ruleUChar, ruleLen); in NamePrepTransform()
|
D | itrbnf.cpp | 186 int32_t ruleLen = 0; in TestAPI() local 193 ruleLen += len; in TestAPI() 199 if(U_FAILURE(status) || ruleLen == 0 || spelloutRules == NULL) { in TestAPI()
|
/external/icu4c/test/intltest/ |
D | nptrans.cpp | 64 int32_t ruleLen = 0; in NamePrepTransform() local 65 const UChar* ruleUChar = ures_getStringByKey(bundle, "MapNFKC",&ruleLen, &status); in NamePrepTransform() 69 rule.append(ruleUChar, ruleLen); in NamePrepTransform()
|
D | itrbnf.cpp | 187 int32_t ruleLen = 0; in TestAPI() local 194 ruleLen += len; in TestAPI() 200 if(U_FAILURE(status) || ruleLen == 0 || spelloutRules == NULL) { in TestAPI()
|
/external/icu4c/test/cintltst/ |
D | cmsccoll.c | 533 int32_t ruleLen = 0; in testCollator() local 561 rules = ucol_getRules(coll, &ruleLen); in testCollator() 562 if(U_SUCCESS(*status) && ruleLen > 0) { in testCollator() 563 rulesCopy = (UChar *)uprv_malloc((ruleLen+UCOL_TOK_EXTRA_RULE_SPACE_SIZE)*sizeof(UChar)); in testCollator() 564 uprv_memcpy(rulesCopy, rules, ruleLen*sizeof(UChar)); in testCollator() 566 src.end = rulesCopy+ruleLen; in testCollator() 919 int32_t ruleLen = 0; in testAgainstUCA() local 943 rules = ucol_getRules(coll, &ruleLen); in testAgainstUCA() 947 if(U_SUCCESS(*status) && ruleLen > 0) { in testAgainstUCA() 948 rulesCopy = (UChar *)uprv_malloc((ruleLen+UCOL_TOK_EXTRA_RULE_SPACE_SIZE)*sizeof(UChar)); in testAgainstUCA() [all …]
|
D | citertst.c | 1757 int32_t ruleLen = 0; in TestCEValidity() local 1793 rules = ucol_getRules(coll, &ruleLen); in TestCEValidity() 1802 if (ruleLen > 0 && u_strstr(rules, IMPORT) == NULL) { in TestCEValidity() 1803 rulesCopy = (UChar *)uprv_malloc((ruleLen + in TestCEValidity() 1805 uprv_memcpy(rulesCopy, rules, ruleLen * sizeof(UChar)); in TestCEValidity() 1807 src.end = rulesCopy + ruleLen; in TestCEValidity() 1970 int32_t ruleLen = 0; in TestSortKeyValidity() local 1995 rules = ucol_getRules(coll, &ruleLen); in TestSortKeyValidity() 2004 if (ruleLen > 0 && u_strstr(rules, IMPORT) == NULL) { in TestSortKeyValidity() 2005 rulesCopy = (UChar *)uprv_malloc((ruleLen + in TestSortKeyValidity() [all …]
|