Home
last modified time | relevance | path

Searched refs:compareCollator (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/samples/legacy/
Doldcol.cpp47 static UCollator *compareCollator = NULL; variable
50 if(compareCollator != NULL) { in compare_legacy()
51 …UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_legacy()
66 compareCollator = ucol_open(locale, &status); in initCollator_legacy()
78 if(compareCollator != NULL) in closeCollator_legacy()
80 ucol_close(compareCollator); in closeCollator_legacy()
86 compareCollator = NULL; in closeCollator_legacy()
Dnewcol.cpp46 static UCollator *compareCollator = NULL; variable
49 if(compareCollator != NULL) { in compare_current()
50 …UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_current()
65 compareCollator = ucol_open(locale, &status); in initCollator_current()
69 ucol_close(compareCollator); in closeCollator_current()
70 compareCollator = NULL; in closeCollator_current()