Searched refs:compareCollator (Results 1 – 2 of 2) sorted by relevance
/external/icu4c/samples/legacy/ |
D | oldcol.cpp | 41 static UCollator *compareCollator = NULL; variable 44 if(compareCollator != NULL) { in compare_legacy() 45 …UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_legacy() 60 compareCollator = ucol_open(locale, &status); in initCollator_legacy() 72 if(compareCollator != NULL) in closeCollator_legacy() 74 ucol_close(compareCollator); in closeCollator_legacy() 80 compareCollator = NULL; in closeCollator_legacy()
|
D | newcol.cpp | 40 static UCollator *compareCollator = NULL; variable 43 if(compareCollator != NULL) { in compare_current() 44 …UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_current() 59 compareCollator = ucol_open(locale, &status); in initCollator_current() 63 ucol_close(compareCollator); in closeCollator_current() 64 compareCollator = NULL; in closeCollator_current()
|