• Home
  • Raw
  • Download

Lines Matching refs:coll

78         UCollator          *coll = ucol_open(LOCALES[i], &status);  in TestBug672()  local
79 UCollationElements *pitr = ucol_openElements(coll, pattern, -1, in TestBug672()
81 UCollationElements *titer = ucol_openElements(coll, text, -1, in TestBug672()
127 ucol_close(coll); in TestBug672()
151 UCollator *coll = ucol_open(LOCALES[i], &status); in TestBug672Normalize() local
155 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestBug672Normalize()
157 pitr = ucol_openElements(coll, pattern, -1, &status); in TestBug672Normalize()
158 titer = ucol_openElements(coll, text, -1, &status); in TestBug672Normalize()
203 ucol_close(coll); in TestBug672Normalize()
354 UCollator *coll; in TestNormalization() local
370 coll = ucol_openRules(rule, rulelen, UCOL_ON, UCOL_TERTIARY, NULL, &status); in TestNormalization()
371 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestNormalization()
379 iter = ucol_openElements(coll, source, srclen, &status); in TestNormalization()
384 iter = ucol_openElements(coll, source, srclen, &status); in TestNormalization()
390 iter = ucol_openElements(coll, source, srclen, &status); in TestNormalization()
400 iter = ucol_openElements(coll, source, -1, &status); in TestNormalization()
411 ucol_close(coll); in TestNormalization()
422 UCollator *coll=NULL; in TestPrevious() local
433 coll = ucol_open("en_US", &status); in TestPrevious()
435 iter=ucol_openElements(coll, test1, u_strlen(test1), &status); in TestPrevious()
440 ucol_close(coll); in TestPrevious()
446 ucol_close(coll); in TestPrevious()
523 coll = ucol_open("th_TH", &status); in TestPrevious()
525 iter=ucol_openElements(coll, source, u_strlen(source), &status); in TestPrevious()
533 ucol_close(coll); in TestPrevious()
542 coll = ucol_open("ja_JP", &status); in TestPrevious()
544 iter=ucol_openElements(coll, source, u_strlen(source), &status); in TestPrevious()
552 ucol_close(coll); in TestPrevious()
781 UCollator *coll ;/*= ucol_open("en_US", &status);*/ in TestMaxExpansion() local
793 coll = ucol_openRules(rule, u_strlen(rule), UCOL_DEFAULT, in TestMaxExpansion()
795 if(U_SUCCESS(status) && coll) { in TestMaxExpansion()
796 iter = ucol_openElements(coll, &ch, 1, &status); in TestMaxExpansion()
878 ucol_close(coll); in TestMaxExpansion()
892 coll = ucol_openRules(rule, u_strlen(rule), UCOL_DEFAULT, in TestMaxExpansion()
894 iter = ucol_openElements(coll, &ch, 1, &status); in TestMaxExpansion()
903 ucol_close(coll); in TestMaxExpansion()
939 UCollator *coll; in TestSmallBuffer() local
961 coll = ucol_open("th_TH", &status); in TestSmallBuffer()
962 if(U_SUCCESS(status) && coll) { in TestSmallBuffer()
963 testiter = ucol_openElements(coll, teststr, 500, &status); in TestSmallBuffer()
964 iter = ucol_openElements(coll, str, 2, &status); in TestSmallBuffer()
1000 ucol_close(coll); in TestSmallBuffer()
1046 UCollator *coll; in TestDiscontiguos() local
1052 coll = ucol_openRules(rule, rulelen, UCOL_OFF, UCOL_DEFAULT_STRENGTH,NULL, &status); in TestDiscontiguos()
1053 iter = ucol_openElements(coll, rule, 1, &status); in TestDiscontiguos()
1054 resultiter = ucol_openElements(coll, rule, 1, &status); in TestDiscontiguos()
1113 ucol_close(coll); in TestDiscontiguos()