Lines Matching refs:pErrorCode
41 ucasemap_open(const char *locale, uint32_t options, UErrorCode *pErrorCode) { in ucasemap_open() argument
44 if(U_FAILURE(*pErrorCode)) { in ucasemap_open()
55 ucasemap_setLocale(csm, locale, pErrorCode); in ucasemap_open()
56 if(U_FAILURE(*pErrorCode)) { in ucasemap_open()
87 ucasemap_setLocale(UCaseMap *csm, const char *locale, UErrorCode *pErrorCode) { in ucasemap_setLocale() argument
90 if(U_FAILURE(*pErrorCode)) { in ucasemap_setLocale()
94 length=uloc_getName(locale, csm->locale, (int32_t)sizeof(csm->locale), pErrorCode); in ucasemap_setLocale()
95 if(*pErrorCode==U_BUFFER_OVERFLOW_ERROR || length==sizeof(csm->locale)) { in ucasemap_setLocale()
96 *pErrorCode=U_ZERO_ERROR; in ucasemap_setLocale()
98 length=uloc_getLanguage(locale, csm->locale, (int32_t)sizeof(csm->locale), pErrorCode); in ucasemap_setLocale()
101 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; in ucasemap_setLocale()
104 if(U_SUCCESS(*pErrorCode)) { in ucasemap_setLocale()
218 UErrorCode *pErrorCode) { in _caseMap() argument
250 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; in _caseMap()
261 UErrorCode *pErrorCode) { in ucasemap_internalUTF8ToTitle() argument
267 if(U_FAILURE(*pErrorCode)) { in ucasemap_internalUTF8ToTitle()
365 pErrorCode); in ucasemap_internalUTF8ToTitle()
382 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; in ucasemap_internalUTF8ToTitle()
393 UErrorCode *pErrorCode) { in ucasemap_internalUTF8ToLower() argument
401 pErrorCode); in ucasemap_internalUTF8ToLower()
408 UErrorCode *pErrorCode) { in ucasemap_internalUTF8ToUpper() argument
416 pErrorCode); in ucasemap_internalUTF8ToUpper()
424 UErrorCode *pErrorCode) { in utf8_foldCase() argument
452 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; in utf8_foldCase()
461 UErrorCode *pErrorCode) { in ucasemap_internalUTF8Fold() argument
462 return utf8_foldCase(csm->csp, dest, destCapacity, src, srcLength, csm->options, pErrorCode); in ucasemap_internalUTF8Fold()
470 UErrorCode *pErrorCode) { in ucasemap_mapUTF8() argument
474 if(U_FAILURE(*pErrorCode)) { in ucasemap_mapUTF8()
482 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in ucasemap_mapUTF8()
496 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in ucasemap_mapUTF8()
500 destLength=stringCaseMapper(csm, dest, destCapacity, src, srcLength, pErrorCode); in ucasemap_mapUTF8()
501 return u_terminateChars((char *)dest, destCapacity, destLength, pErrorCode); in ucasemap_mapUTF8()
510 UErrorCode *pErrorCode) { in ucasemap_utf8ToLower() argument
514 ucasemap_internalUTF8ToLower, pErrorCode); in ucasemap_utf8ToLower()
521 UErrorCode *pErrorCode) { in ucasemap_utf8ToUpper() argument
525 ucasemap_internalUTF8ToUpper, pErrorCode); in ucasemap_utf8ToUpper()
532 UErrorCode *pErrorCode) { in ucasemap_utf8FoldCase() argument
536 ucasemap_internalUTF8Fold, pErrorCode); in ucasemap_utf8FoldCase()