Searched refs:compareCollator (Results 1 – 4 of 4) sorted by relevance
/external/cronet/third_party/icu/source/samples/legacy/ |
D | oldcol.cpp | 47 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()
|
D | newcol.cpp | 46 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()
|
/external/icu/icu4c/source/samples/legacy/ |
D | oldcol.cpp | 47 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()
|
D | newcol.cpp | 46 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()
|