• Home
  • Raw
  • Download

Lines Matching refs:csm

69     UCaseMap *csm = new UCaseMap(locale, options, pErrorCode);  in ucasemap_open()  local
70 if(csm==NULL) { in ucasemap_open()
74 delete csm; in ucasemap_open()
77 return csm; in ucasemap_open()
81 ucasemap_close(UCaseMap *csm) { in ucasemap_close() argument
82 delete csm; in ucasemap_close()
86 ucasemap_getLocale(const UCaseMap *csm) { in ucasemap_getLocale() argument
87 return csm->locale; in ucasemap_getLocale()
91 ucasemap_getOptions(const UCaseMap *csm) { in ucasemap_getOptions() argument
92 return csm->options; in ucasemap_getOptions()
96 ucasemap_setLocale(UCaseMap *csm, const char *locale, UErrorCode *pErrorCode) { in ucasemap_setLocale() argument
101 csm->locale[0] = 0; in ucasemap_setLocale()
102 csm->caseLocale = UCASE_LOC_ROOT; in ucasemap_setLocale()
106 int32_t length=uloc_getName(locale, csm->locale, (int32_t)sizeof(csm->locale), pErrorCode); in ucasemap_setLocale()
107 if(*pErrorCode==U_BUFFER_OVERFLOW_ERROR || length==sizeof(csm->locale)) { in ucasemap_setLocale()
110 length=uloc_getLanguage(locale, csm->locale, (int32_t)sizeof(csm->locale), pErrorCode); in ucasemap_setLocale()
112 if(length==sizeof(csm->locale)) { in ucasemap_setLocale()
116 csm->caseLocale = ucase_getCaseLocale(csm->locale); in ucasemap_setLocale()
118 csm->locale[0]=0; in ucasemap_setLocale()
119 csm->caseLocale = UCASE_LOC_ROOT; in ucasemap_setLocale()
124 ucasemap_setOptions(UCaseMap *csm, uint32_t options, UErrorCode *pErrorCode) { in ucasemap_setOptions() argument
128 csm->options=options; in ucasemap_setOptions()
935 ucasemap_utf8ToLower(const UCaseMap *csm, in ucasemap_utf8ToLower() argument
940 csm->caseLocale, csm->options, UCASEMAP_BREAK_ITERATOR_NULL in ucasemap_utf8ToLower()
947 ucasemap_utf8ToUpper(const UCaseMap *csm, in ucasemap_utf8ToUpper() argument
952 csm->caseLocale, csm->options, UCASEMAP_BREAK_ITERATOR_NULL in ucasemap_utf8ToUpper()
959 ucasemap_utf8FoldCase(const UCaseMap *csm, in ucasemap_utf8FoldCase() argument
964 UCASE_LOC_ROOT, csm->options, UCASEMAP_BREAK_ITERATOR_NULL in ucasemap_utf8FoldCase()