Lines Matching refs:pErrorCode
77 UErrorCode *pErrorCode) { in upname_swap() argument
79 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in upname_swap()
80 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in upname_swap()
99 *pErrorCode=U_UNSUPPORTED_ERROR; in upname_swap()
112 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in upname_swap()
124 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in upname_swap()
132 ds->swapArray32(ds, inBytes, numBytesIndexesAndValueMaps, outBytes, pErrorCode); in upname_swap()
162 UErrorCode *pErrorCode) { in uprops_swap() argument
170 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in uprops_swap()
171 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in uprops_swap()
191 *pErrorCode=U_UNSUPPORTED_ERROR; in uprops_swap()
199 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in uprops_swap()
227 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in uprops_swap()
239 ds->swapArray32(ds, inData32, 4*UPROPS_INDEX_COUNT, outData32, pErrorCode); in uprops_swap()
249 pErrorCode); in uprops_swap()
260 pErrorCode); in uprops_swap()
270 pErrorCode); in uprops_swap()
280 pErrorCode); in uprops_swap()
290 pErrorCode); in uprops_swap()
298 pErrorCode); in uprops_swap()
310 UErrorCode *pErrorCode) { in ucase_swap() argument
323 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucase_swap()
324 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in ucase_swap()
344 *pErrorCode=U_UNSUPPORTED_ERROR; in ucase_swap()
358 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in ucase_swap()
375 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in ucase_swap()
388 ds->swapArray32(ds, inBytes, count, outBytes, pErrorCode); in ucase_swap()
393 utrie2_swapAnyVersion(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in ucase_swap()
398 ds->swapArray16(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in ucase_swap()
412 UErrorCode *pErrorCode) { in ubidi_swap() argument
425 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ubidi_swap()
426 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in ubidi_swap()
446 *pErrorCode=U_UNSUPPORTED_ERROR; in ubidi_swap()
460 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in ubidi_swap()
477 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in ubidi_swap()
490 ds->swapArray32(ds, inBytes, count, outBytes, pErrorCode); in ubidi_swap()
495 utrie2_swapAnyVersion(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in ubidi_swap()
500 ds->swapArray32(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in ubidi_swap()
520 UErrorCode *pErrorCode) { in unorm_swap() argument
533 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in unorm_swap()
534 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in unorm_swap()
551 *pErrorCode=U_UNSUPPORTED_ERROR; in unorm_swap()
565 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in unorm_swap()
589 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in unorm_swap()
602 ds->swapArray32(ds, inBytes, count, outBytes, pErrorCode); in unorm_swap()
607 utrie_swap(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in unorm_swap()
612 ds->swapArray16(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in unorm_swap()
618 utrie_swap(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in unorm_swap()
625 utrie_swap(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in unorm_swap()
631 ds->swapArray16(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in unorm_swap()
644 UErrorCode *pErrorCode) { in test_swap() argument
654 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in test_swap()
655 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in test_swap()
656 …rror(ds, "test_swap(): data header swap failed %s\n", pErrorCode != NULL ? u_errorName(*pErrorCode… in test_swap()
673 *pErrorCode=U_UNSUPPORTED_ERROR; in test_swap()
688 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in test_swap()
694 ds->swapArray16(ds, inBytes+offset, size16, outBytes+offset, pErrorCode); in test_swap()
696 ds->swapInvChars(ds, inBytes+offset, sizeStr, outBytes+offset, pErrorCode); in test_swap()
750 UErrorCode *pErrorCode) { in udata_swap() argument
755 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in udata_swap()
766 udata_swapDataHeader(ds, inData, -1, NULL, pErrorCode); in udata_swap()
772 if(U_FAILURE(*pErrorCode)) { in udata_swap()
795 swappedLength=swapFns[i].swapFn(ds, inData, length, outData, pErrorCode); in udata_swap()
797 if(U_FAILURE(*pErrorCode)) { in udata_swap()
803 u_errorName(*pErrorCode)); in udata_swap()
812 u_errorName(*pErrorCode)); in udata_swap()
826 *pErrorCode=U_UNSUPPORTED_ERROR; in udata_swap()