• Home
  • Raw
  • Download

Lines Matching refs:coll

150 static char* U_EXPORT2 sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *buffer,…  in sortKeyToString()  argument
161 while(strength <= UCOL_QUATERNARY && strength <= ucol_getStrength(coll)) { in sortKeyToString()
169 …if(ucol_getAttribute(coll, UCOL_CASE_LEVEL, &errorCode) == UCOL_ON && strength == UCOL_SECONDARY &… in sortKeyToString()
171 …} else if(ucol_getAttribute(coll, UCOL_CASE_LEVEL, &errorCode) == UCOL_OFF || doneCase == TRUE || … in sortKeyToString()
177 …if(strength == UCOL_QUATERNARY && ucol_getAttribute(coll, UCOL_ALTERNATE_HANDLING, &errorCode) == … in sortKeyToString()
182 if(ucol_getStrength(coll) == UCOL_IDENTICAL) { in sortKeyToString()
235 static UCollationResult compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, c… in compareUsingPartials() argument
253 sSize = ucol_nextSortKeyPart(coll, &sIter, sState, sBuf, pieceSize, status); in compareUsingPartials()
254 tSize = ucol_nextSortKeyPart(coll, &tIter, tState, tBuf, pieceSize, status); in compareUsingPartials()
599 void genericOrderingTestWithResult(UCollator *coll, const char * const s[], uint32_t size, UCollati… in genericOrderingTestWithResult() argument
611 iter = ucol_openElements(coll, t1, u_strlen(t1), &status); in genericOrderingTestWithResult()
619 doTest(coll, t1, t2, result); in genericOrderingTestWithResult()
630 void genericOrderingTest(UCollator *coll, const char * const s[], uint32_t size) { in genericOrderingTest() argument
631 genericOrderingTestWithResult(coll, s, size, UCOL_LESS); in genericOrderingTest()
636 UCollator *coll = ucol_open(locale, &status); in genericLocaleStarter() local
641 genericOrderingTest(coll, s, size); in genericLocaleStarter()
648 ucol_close(coll); in genericLocaleStarter()
653 UCollator *coll = ucol_open(locale, &status); in genericLocaleStarterWithResult() local
658 genericOrderingTestWithResult(coll, s, size, result); in genericLocaleStarterWithResult()
665 ucol_close(coll); in genericLocaleStarterWithResult()
675 UCollator *coll = ucol_openRules(rlz, rlen, UCOL_DEFAULT, UCOL_DEFAULT,NULL, &status); in genericRulesStarterWithOptionsAndResult() local
682 ucol_setAttribute(coll, attrs[i], values[i], &status); in genericRulesStarterWithOptionsAndResult()
685 genericOrderingTestWithResult(coll, s, size, result); in genericRulesStarterWithOptionsAndResult()
689 ucol_close(coll); in genericRulesStarterWithOptionsAndResult()
696 UCollator *coll = ucol_open(locale, &status); in genericLocaleStarterWithOptionsAndResult() local
704 ucol_setAttribute(coll, attrs[i], values[i], &status); in genericLocaleStarterWithOptionsAndResult()
707 genericOrderingTestWithResult(coll, s, size, result); in genericLocaleStarterWithOptionsAndResult()
711 ucol_close(coll); in genericLocaleStarterWithOptionsAndResult()
723 UCollator *coll = NULL; in genericRulesStarterWithResult() local
724 coll = ucol_openRules(rlz, rlen, UCOL_DEFAULT, UCOL_DEFAULT,NULL, &status); in genericRulesStarterWithResult()
728 genericOrderingTestWithResult(coll, s, size, result); in genericRulesStarterWithResult()
729 ucol_close(coll); in genericRulesStarterWithResult()
1199 UCollator* coll=0; in TestInvalidRules() local
1207coll = ucol_openRules(rules, u_strlen(rules), UCOL_OFF, UCOL_DEFAULT_STRENGTH, &parseError, &statu… in TestInvalidRules()
1208 (void)coll; /* Suppress set but not used warning. */ in TestInvalidRules()
1282 UCollator *coll = ucol_open("es", &status); in TestFCDCrash() local
1287 ucol_close(coll); in TestFCDCrash()
1288 coll = NULL; in TestFCDCrash()
1290 coll = ucol_open("de_DE", &status); in TestFCDCrash()
1295 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestFCDCrash()
1296 genericOrderingTest(coll, test, 2); in TestFCDCrash()
1297 ucol_close(coll); in TestFCDCrash()