Searched refs:rulesCopy (Results 1 – 6 of 6) sorted by relevance
/external/icu4c/test/cintltst/ |
D | citertst.c | 1756 UChar *rulesCopy = NULL; in TestCEValidity() local 1803 rulesCopy = (UChar *)uprv_malloc((ruleLen + in TestCEValidity() 1805 uprv_memcpy(rulesCopy, rules, ruleLen * sizeof(UChar)); in TestCEValidity() 1806 src.current = src.source = rulesCopy; in TestCEValidity() 1807 src.end = rulesCopy + ruleLen; in TestCEValidity() 1969 UChar *rulesCopy = NULL; in TestSortKeyValidity() local 2005 rulesCopy = (UChar *)uprv_malloc((ruleLen + in TestSortKeyValidity() 2007 uprv_memcpy(rulesCopy, rules, ruleLen * sizeof(UChar)); in TestSortKeyValidity() 2008 src.current = src.source = rulesCopy; in TestSortKeyValidity() 2009 src.end = rulesCopy + ruleLen; in TestSortKeyValidity()
|
D | cmsccoll.c | 554 UChar *rulesCopy = NULL; in testCollator() local 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() 565 src.current = src.source = rulesCopy; in testCollator() 566 src.end = rulesCopy+ruleLen; in testCollator() 934 UChar *rulesCopy = NULL; in testAgainstUCA() local 948 rulesCopy = (UChar *)uprv_malloc((ruleLen+UCOL_TOK_EXTRA_RULE_SPACE_SIZE)*sizeof(UChar)); in testAgainstUCA() 949 uprv_memcpy(rulesCopy, rules, ruleLen*sizeof(UChar)); in testAgainstUCA() 950 src.current = src.source = rulesCopy; in testAgainstUCA() 951 src.end = rulesCopy+ruleLen; in testAgainstUCA() [all …]
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
D | citertst.c | 1754 UChar *rulesCopy = NULL; in TestCEValidity() local 1793 rulesCopy = (UChar *)uprv_malloc((ruleLen + in TestCEValidity() 1795 uprv_memcpy(rulesCopy, rules, ruleLen * sizeof(UChar)); in TestCEValidity() 1796 src.current = src.source = rulesCopy; in TestCEValidity() 1797 src.end = rulesCopy + ruleLen; in TestCEValidity() 1955 UChar *rulesCopy = NULL; in TestSortKeyValidity() local 1983 rulesCopy = (UChar *)uprv_malloc((ruleLen + in TestSortKeyValidity() 1985 uprv_memcpy(rulesCopy, rules, ruleLen * sizeof(UChar)); in TestSortKeyValidity() 1986 src.current = src.source = rulesCopy; in TestSortKeyValidity() 1987 src.end = rulesCopy + ruleLen; in TestSortKeyValidity()
|
D | cmsccoll.c | 553 UChar *rulesCopy = NULL; in testCollator() local 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() 564 src.current = src.source = rulesCopy; in testCollator() 565 src.end = rulesCopy+ruleLen; in testCollator() 932 UChar *rulesCopy = NULL; in testAgainstUCA() local 946 rulesCopy = (UChar *)uprv_malloc((ruleLen+UCOL_TOK_EXTRA_RULE_SPACE_SIZE)*sizeof(UChar)); in testAgainstUCA() 947 uprv_memcpy(rulesCopy, rules, ruleLen*sizeof(UChar)); in testAgainstUCA() 948 src.current = src.source = rulesCopy; in testAgainstUCA() 949 src.end = rulesCopy+ruleLen; in testAgainstUCA() [all …]
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | rbbiapts.cpp | 1075 RBBIDataHeader * rulesCopy = (RBBIDataHeader *) uprv_malloc(length); in TestCreateFromRBBIData() local 1076 if ( rulesCopy ) { in TestCreateFromRBBIData() 1077 uprv_memcpy( rulesCopy, builtRules, length ); in TestCreateFromRBBIData() 1079 brkItr = new RBBIWithProtectedFunctions(rulesCopy, status); in TestCreateFromRBBIData() 1085 uprv_free( rulesCopy ); in TestCreateFromRBBIData()
|
/external/icu4c/test/intltest/ |
D | rbbiapts.cpp | 1074 RBBIDataHeader * rulesCopy = (RBBIDataHeader *) uprv_malloc(length); in TestCreateFromRBBIData() local 1075 if ( rulesCopy ) { in TestCreateFromRBBIData() 1076 uprv_memcpy( rulesCopy, builtRules, length ); in TestCreateFromRBBIData() 1078 brkItr = new RBBIWithProtectedFunctions(rulesCopy, status); in TestCreateFromRBBIData() 1084 uprv_free( rulesCopy ); in TestCreateFromRBBIData()
|