Lines Matching refs:csm
68 UCaseMap *csm = new UCaseMap(locale, options, pErrorCode); in ucasemap_open() local
69 if(csm==nullptr) { in ucasemap_open()
73 delete csm; in ucasemap_open()
76 return csm; in ucasemap_open()
80 ucasemap_close(UCaseMap *csm) { in ucasemap_close() argument
81 delete csm; in ucasemap_close()
85 ucasemap_getLocale(const UCaseMap *csm) { in ucasemap_getLocale() argument
86 return csm->locale; in ucasemap_getLocale()
90 ucasemap_getOptions(const UCaseMap *csm) { in ucasemap_getOptions() argument
91 return csm->options; in ucasemap_getOptions()
95 ucasemap_setLocale(UCaseMap *csm, const char *locale, UErrorCode *pErrorCode) { in ucasemap_setLocale() argument
100 csm->locale[0] = 0; in ucasemap_setLocale()
101 csm->caseLocale = UCASE_LOC_ROOT; in ucasemap_setLocale()
105 int32_t length=uloc_getName(locale, csm->locale, (int32_t)sizeof(csm->locale), pErrorCode); in ucasemap_setLocale()
106 if(*pErrorCode==U_BUFFER_OVERFLOW_ERROR || length==sizeof(csm->locale)) { in ucasemap_setLocale()
109 length=uloc_getLanguage(locale, csm->locale, (int32_t)sizeof(csm->locale), pErrorCode); in ucasemap_setLocale()
111 if(length==sizeof(csm->locale)) { in ucasemap_setLocale()
115 csm->caseLocale = ucase_getCaseLocale(csm->locale); in ucasemap_setLocale()
117 csm->locale[0]=0; in ucasemap_setLocale()
118 csm->caseLocale = UCASE_LOC_ROOT; in ucasemap_setLocale()
123 ucasemap_setOptions(UCaseMap *csm, uint32_t options, UErrorCode *pErrorCode) { in ucasemap_setOptions() argument
127 csm->options=options; in ucasemap_setOptions()
938 ucasemap_utf8ToLower(const UCaseMap *csm, in ucasemap_utf8ToLower() argument
943 csm->caseLocale, csm->options, UCASEMAP_BREAK_ITERATOR_NULL in ucasemap_utf8ToLower()
950 ucasemap_utf8ToUpper(const UCaseMap *csm, in ucasemap_utf8ToUpper() argument
955 csm->caseLocale, csm->options, UCASEMAP_BREAK_ITERATOR_NULL in ucasemap_utf8ToUpper()
962 ucasemap_utf8FoldCase(const UCaseMap *csm, in ucasemap_utf8FoldCase() argument
967 UCASE_LOC_ROOT, csm->options, UCASEMAP_BREAK_ITERATOR_NULL in ucasemap_utf8FoldCase()