Lines Matching refs:pErrorCode
92 UErrorCode *pErrorCode) { in swapFormatVersion3() argument
103 if(U_FAILURE(*pErrorCode)) { in swapFormatVersion3()
107 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in swapFormatVersion3()
129 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in swapFormatVersion3()
142 *pErrorCode=U_UNSUPPORTED_ERROR; in swapFormatVersion3()
149 *pErrorCode=U_INVALID_FORMAT_ERROR; in swapFormatVersion3()
179 outHeader, pErrorCode); in swapFormatVersion3()
181 &(outHeader->scriptToLeadByte), pErrorCode); in swapFormatVersion3()
189 outBytes+header.options, pErrorCode); in swapFormatVersion3()
202 outBytes+header.expansion, pErrorCode); in swapFormatVersion3()
209 outBytes+header.contractionIndex, pErrorCode); in swapFormatVersion3()
213 outBytes+header.contractionCEs, pErrorCode); in swapFormatVersion3()
220 outBytes+header.mappingPosition, pErrorCode); in swapFormatVersion3()
226 outBytes+header.endExpansionCE, pErrorCode); in swapFormatVersion3()
238 outBytes+header.UCAConsts, pErrorCode); in swapFormatVersion3()
245 outBytes+header.contractionUCACombos, pErrorCode); in swapFormatVersion3()
254 outBytes+header.scriptToLeadByte, pErrorCode); in swapFormatVersion3()
263 outBytes+header.leadByteToScript, pErrorCode); in swapFormatVersion3()
478 UErrorCode *pErrorCode) { in ucol_swap() argument
479 if(U_FAILURE(*pErrorCode)) { return 0; } in ucol_swap()
482 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucol_swap()
483 if(U_FAILURE(*pErrorCode)) { in ucol_swap()
485 *pErrorCode=U_ZERO_ERROR; in ucol_swap()
486 return swapFormatVersion3(ds, inData, length, outData, pErrorCode); in ucol_swap()
503 *pErrorCode=U_UNSUPPORTED_ERROR; in ucol_swap()
512 collationSize=swapFormatVersion4(ds, inData, length, outData, *pErrorCode); in ucol_swap()
514 collationSize=swapFormatVersion3(ds, inData, length, outData, pErrorCode); in ucol_swap()
516 if(U_SUCCESS(*pErrorCode)) { in ucol_swap()
527 UErrorCode *pErrorCode) { in ucol_swapInverseUCA() argument
539 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucol_swapInverseUCA()
540 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in ucol_swapInverseUCA()
558 *pErrorCode=U_UNSUPPORTED_ERROR; in ucol_swapInverseUCA()
582 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in ucol_swapInverseUCA()
601 ds->swapArray32(ds, inHeader, 5*4, outHeader, pErrorCode); in ucol_swapInverseUCA()
605 outBytes+header.table, pErrorCode); in ucol_swapInverseUCA()
609 outBytes+header.conts, pErrorCode); in ucol_swapInverseUCA()