Lines Matching refs:pErrorCode
78 UErrorCode *pErrorCode) { in upname_swap() argument
80 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in upname_swap()
81 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in upname_swap()
100 *pErrorCode=U_UNSUPPORTED_ERROR; in upname_swap()
113 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in upname_swap()
125 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in upname_swap()
133 ds->swapArray32(ds, inBytes, numBytesIndexesAndValueMaps, outBytes, pErrorCode); in upname_swap()
163 UErrorCode *pErrorCode) { in uprops_swap() argument
171 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in uprops_swap()
172 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in uprops_swap()
192 *pErrorCode=U_UNSUPPORTED_ERROR; in uprops_swap()
200 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in uprops_swap()
228 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in uprops_swap()
240 ds->swapArray32(ds, inData32, 4*UPROPS_INDEX_COUNT, outData32, pErrorCode); in uprops_swap()
250 pErrorCode); in uprops_swap()
261 pErrorCode); in uprops_swap()
271 pErrorCode); in uprops_swap()
281 pErrorCode); in uprops_swap()
291 pErrorCode); in uprops_swap()
299 pErrorCode); in uprops_swap()
311 UErrorCode *pErrorCode) { in ucase_swap() argument
324 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucase_swap()
325 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in ucase_swap()
345 *pErrorCode=U_UNSUPPORTED_ERROR; in ucase_swap()
359 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in ucase_swap()
376 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in ucase_swap()
389 ds->swapArray32(ds, inBytes, count, outBytes, pErrorCode); in ucase_swap()
394 utrie_swapAnyVersion(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in ucase_swap()
399 ds->swapArray16(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in ucase_swap()
413 UErrorCode *pErrorCode) { in ubidi_swap() argument
426 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ubidi_swap()
427 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in ubidi_swap()
447 *pErrorCode=U_UNSUPPORTED_ERROR; in ubidi_swap()
461 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in ubidi_swap()
478 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in ubidi_swap()
491 ds->swapArray32(ds, inBytes, count, outBytes, pErrorCode); in ubidi_swap()
496 utrie_swapAnyVersion(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in ubidi_swap()
501 ds->swapArray32(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in ubidi_swap()
523 UErrorCode *pErrorCode) { in unorm_swap() argument
536 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in unorm_swap()
537 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in unorm_swap()
554 *pErrorCode=U_UNSUPPORTED_ERROR; in unorm_swap()
568 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in unorm_swap()
592 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in unorm_swap()
605 ds->swapArray32(ds, inBytes, count, outBytes, pErrorCode); in unorm_swap()
610 utrie_swap(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in unorm_swap()
615 ds->swapArray16(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in unorm_swap()
621 utrie_swap(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in unorm_swap()
628 utrie_swap(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in unorm_swap()
634 ds->swapArray16(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in unorm_swap()
647 UErrorCode *pErrorCode) { in test_swap() argument
657 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in test_swap()
658 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in test_swap()
659 …rror(ds, "test_swap(): data header swap failed %s\n", pErrorCode != NULL ? u_errorName(*pErrorCode… in test_swap()
676 *pErrorCode=U_UNSUPPORTED_ERROR; in test_swap()
691 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in test_swap()
697 ds->swapArray16(ds, inBytes+offset, size16, outBytes+offset, pErrorCode); in test_swap()
699 ds->swapInvChars(ds, inBytes+offset, sizeStr, outBytes+offset, pErrorCode); in test_swap()
753 UErrorCode *pErrorCode) { in udata_swap() argument
758 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in udata_swap()
769 udata_swapDataHeader(ds, inData, -1, NULL, pErrorCode); in udata_swap()
775 if(U_FAILURE(*pErrorCode)) { in udata_swap()
798 swappedLength=swapFns[i].swapFn(ds, inData, length, outData, pErrorCode); in udata_swap()
800 if(U_FAILURE(*pErrorCode)) { in udata_swap()
806 u_errorName(*pErrorCode)); in udata_swap()
815 u_errorName(*pErrorCode)); in udata_swap()
829 *pErrorCode=U_UNSUPPORTED_ERROR; in udata_swap()