Home | History | Annotate | Download | only in cintltst

Lines Matching full:collator

49 typedef UCollationResult tst_strcoll(void *collator, const int object,
269 log_err_status(status, "ERROR: in creation of rule based collator: %s\n", myErrorName(status));
659 static UCollationResult ucaTest(void *collator, const int object, const UChar *source, const int sLen, const UChar *target, const int tLen) {
660 UCollator *UCA = (UCollator *)collator;
665 static UCollationResult winTest(void *collator, const int object, const UChar *source, const int sLen, const UChar *target, const int tLen) {
667 LCID lcid = (LCID)collator;
675 static UCollationResult swampEarlier(tst_strcoll* func, void *collator, int opts,
687 return func(collator, opts, source, sLen+1, target, tLen+1);
690 static UCollationResult swampLater(tst_strcoll* func, void *collator, int opts,
702 return func(collator, opts, source, sLen+1, target, tLen+1);
705 static uint32_t probeStrength(tst_strcoll* func, void *collator, int opts,
725 if(swampEarlier(func, collator, opts, sSecondary, fSecondary, s, sLen, t, tLen) == result) {
727 } else if((swampEarlier(func, collator, opts, sTertiary, 0x310f, s, sLen, t, tLen) == result) &&
728 (swampEarlier(func, collator, opts, 0x310f, sTertiary, s, sLen, t, tLen) == result)) {
730 } else if((swampLater(func, collator, opts, sTertiary, fTertiary, s, sLen, t, tLen) == result) &&
731 (swampLater(func, collator, opts, fTertiary, sTertiary, s, sLen, t, tLen) == result)) {
733 } else if((swampLater(func, collator, opts, sTertiary, 0x310f, s, sLen, t, tLen) == oposite) &&
734 (swampLater(func, collator, opts, fTertiary, sTertiary, s, sLen, t, tLen) == oposite)) {
894 static uint32_t testSwitch(tst_strcoll* func, void *collator, int opts, uint32_t strength, const UChar *first, const UChar *second, const char* msg, UBool error) {
902 realResult = func(collator, opts, first, sLen, second, tLen);
903 realStrength = probeStrength(func, collator, opts, first, sLen, second, tLen, realResult);
1114 log_err("Could not open root collator %s\n", u_errorName(*status));
1121 log_err("Could not get collator name: %s\n", u_errorName(*status));
1340 log_err_status(status, "Could not open UCA collator %s\n", u_errorName(status));
1364 log_err("Couldn't instantiate collator for locale %s, error: %s\n", locName, u_errorName(status));
1541 log_data_err("Can't open collator");
1603 log_err("Can't open collator");
1669 log_data_err("Error opening collator -> %s (Are you missing data?)\n", u_errorName(status));
1789 log_err("Error opening collator\n");
1804 log_verbose("Unable to create a collator from UCARules!\n");
2027 log_err("Error opening collator\n");
2090 log_err("Error opening collator\n");
2145 log_err_status(status, "ERROR: in creation of rule based collator: %s\n", myErrorName(status));
2165 log_err("ERROR: in creation of rule based collator: %s\n", myErrorName(status));
2272 log_err("Error opening collator\n");
2524 log_err("Error opening collator\n");
2533 log_err("Unable to open collator with rules %s\n", rules);
2559 log_err_status(status, "Collator can't be created -> %s\n", u_errorName(status));
2706 log_err_status(status, "Collator creation failed %s -> %s\n", testrules[i], u_errorName(status));
2770 log_err("Collator creation failed %s\n", testrules[i]);
2832 log_err_status(status, "Collator creation failed %s -> %s\n", testrules[i], u_errorName(status));
3184 log_data_err("Couldn't open UCA collator\n");
3220 log_err_status(status, "Unable to open collator\n");
3880 log_err("Error opening collator\n");
4059 log_err("Collator different from it's clone\n");
4088 log_err("Collator different from collator that was created from the same rules\n");
4139 log_err("Error opening collator\n");
4153 log_err("Same collator not equal\n");
4168 log_err("Error opening collator for locale %s %s\n", locName, u_errorName(status));
4208 log_err_status(status, "Empty rules should have produced a valid collator -> %s\n", u_errorName(status));
4307 /* Open our collator. */
4321 /* Setting up our collator to do digits. */
4670 log_err_status(status, "Opening a collator with rules %s returned error code %s, expected %s\n",
4803 log_err_status(status, "Could not open default collator! -> %s\n", u_errorName(status));
4964 log_err_status(status, "Couldn't open collator -> %s\n", u_errorName(status));
5441 /* This test ensures that codepoints such as 0x3099 are flagged correctly by the collator since
5467 log_err_status(status, "Error status: %s; Unable to open collator from short string.\n", u_errorName(status));
5550 log_err_status(status, "ERROR: in creation of rule based collator: %s\n", myErrorName(status));
5871 /* build collator */
5877 log_err_status(status, "ERROR: in creation of rule based collator: %s\n", myErrorName(status));
5938 /* build collator tertiary */
5942 log_err_status(status, "ERROR: in creation of collator: %s\n", myErrorName(status));
5967 /* build collator quaternary */
5971 log_err_status(status, "ERROR: in creation of collator: %s\n", myErrorName(status));
6016 /* build collator tertiary */
6020 log_err_status(status, "ERROR: in creation of collator: %s\n", myErrorName(status));
6122 /* build collator from rules */
6126 log_err_status(status, "ERROR: in creation of collator: %s\n", myErrorName(status));
6312 /* build collator tertiary */
6316 log_err_status(status, "ERROR: in creation of collator: %s\n", myErrorName(status));
6327 /* clone the collator */
6330 log_err_status(status, "ERROR: cloning collator: %s\n", myErrorName(status));
6371 log_err_status(status, "ERROR: in creation of collator: %s\n", myErrorName(status));
6567 /* build collator tertiary with numeric */
6574 log_err_status(status, "ERROR: in creation of collator: %s\n", myErrorName(status));
6578 /* build collator tertiary with numeric and reordering */
6586 log_err_status(status, "ERROR: in creation of collator: %s\n", myErrorName(status));
6811 log_err_status(status, "ERROR: in creation of rule based collator: %s\n", myErrorName(status));
6892 log_err_status(status, "ERROR: in creation of rule based collator: %s\n", myErrorName(status));
6899 log_err_status(status, "ERROR: in creation of rule based collator: %s\n", myErrorName(status));
6916 log_err_status(status, "ERROR: in creation of rule based collator: %s\n", myErrorName(status));