Home | History | Annotate | Download | only in common

Lines Matching refs:pErrorCode

1428 #define __TERMINATE_STRING(dest, destCapacity, length, pErrorCode)      \
1429 if(pErrorCode!=NULL && U_SUCCESS(*pErrorCode)) { \
1438 if(*pErrorCode==U_STRING_NOT_TERMINATED_WARNING) { \
1439 *pErrorCode=U_ZERO_ERROR; \
1443 *pErrorCode=U_STRING_NOT_TERMINATED_WARNING; \
1446 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; \
1451 u_terminateUChars(UChar *dest, int32_t destCapacity, int32_t length, UErrorCode *pErrorCode) {
1452 __TERMINATE_STRING(dest, destCapacity, length, pErrorCode);
1457 u_terminateChars(char *dest, int32_t destCapacity, int32_t length, UErrorCode *pErrorCode) {
1458 __TERMINATE_STRING(dest, destCapacity, length, pErrorCode);
1463 u_terminateUChar32s(UChar32 *dest, int32_t destCapacity, int32_t length, UErrorCode *pErrorCode) {
1464 __TERMINATE_STRING(dest, destCapacity, length, pErrorCode);
1469 u_terminateWChars(wchar_t *dest, int32_t destCapacity, int32_t length, UErrorCode *pErrorCode) {
1470 __TERMINATE_STRING(dest, destCapacity, length, pErrorCode);