Lines Matching refs:pErrorCode
79 UErrorCode *pErrorCode) { in upname_swap() argument
81 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in upname_swap()
82 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in upname_swap()
101 *pErrorCode=U_UNSUPPORTED_ERROR; in upname_swap()
114 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in upname_swap()
126 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in upname_swap()
134 ds->swapArray32(ds, inBytes, numBytesIndexesAndValueMaps, outBytes, pErrorCode); in upname_swap()
164 UErrorCode *pErrorCode) { in uprops_swap() argument
172 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in uprops_swap()
173 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in uprops_swap()
193 *pErrorCode=U_UNSUPPORTED_ERROR; in uprops_swap()
201 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in uprops_swap()
229 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in uprops_swap()
241 ds->swapArray32(ds, inData32, 4*UPROPS_INDEX_COUNT, outData32, pErrorCode); in uprops_swap()
251 pErrorCode); in uprops_swap()
262 pErrorCode); in uprops_swap()
272 pErrorCode); in uprops_swap()
282 pErrorCode); in uprops_swap()
292 pErrorCode); in uprops_swap()
300 pErrorCode); in uprops_swap()
312 UErrorCode *pErrorCode) { in ucase_swap() argument
325 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucase_swap()
326 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in ucase_swap()
346 *pErrorCode=U_UNSUPPORTED_ERROR; in ucase_swap()
360 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in ucase_swap()
377 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in ucase_swap()
390 ds->swapArray32(ds, inBytes, count, outBytes, pErrorCode); in ucase_swap()
395 utrie_swapAnyVersion(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in ucase_swap()
400 ds->swapArray16(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in ucase_swap()
414 UErrorCode *pErrorCode) { in ubidi_swap() argument
427 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ubidi_swap()
428 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in ubidi_swap()
448 *pErrorCode=U_UNSUPPORTED_ERROR; in ubidi_swap()
462 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in ubidi_swap()
479 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in ubidi_swap()
492 ds->swapArray32(ds, inBytes, count, outBytes, pErrorCode); in ubidi_swap()
497 utrie_swapAnyVersion(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in ubidi_swap()
502 ds->swapArray32(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in ubidi_swap()
524 UErrorCode *pErrorCode) { in unorm_swap() argument
537 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in unorm_swap()
538 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in unorm_swap()
555 *pErrorCode=U_UNSUPPORTED_ERROR; in unorm_swap()
569 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in unorm_swap()
593 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in unorm_swap()
606 ds->swapArray32(ds, inBytes, count, outBytes, pErrorCode); in unorm_swap()
611 utrie_swap(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in unorm_swap()
616 ds->swapArray16(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in unorm_swap()
622 utrie_swap(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in unorm_swap()
629 utrie_swap(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in unorm_swap()
635 ds->swapArray16(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in unorm_swap()
649 UErrorCode *pErrorCode) { in ulayout_swap() argument
651 int32_t headerSize = udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ulayout_swap()
652 if (pErrorCode == nullptr || U_FAILURE(*pErrorCode)) { in ulayout_swap()
670 *pErrorCode = U_UNSUPPORTED_ERROR; in ulayout_swap()
685 *pErrorCode = U_INDEX_OUTOFBOUNDS_ERROR; in ulayout_swap()
695 *pErrorCode = U_INDEX_OUTOFBOUNDS_ERROR; in ulayout_swap()
712 *pErrorCode = U_INDEX_OUTOFBOUNDS_ERROR; in ulayout_swap()
724 ds->swapArray32(ds, inBytes, count, outBytes, pErrorCode); in ulayout_swap()
733 utrie_swapAnyVersion(ds, inBytes + offset, count, outBytes + offset, pErrorCode); in ulayout_swap()
748 UErrorCode *pErrorCode) { in test_swap() argument
758 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in test_swap()
759 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in test_swap()
760 …rror(ds, "test_swap(): data header swap failed %s\n", pErrorCode != NULL ? u_errorName(*pErrorCode… in test_swap()
777 *pErrorCode=U_UNSUPPORTED_ERROR; in test_swap()
792 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in test_swap()
798 ds->swapArray16(ds, inBytes+offset, size16, outBytes+offset, pErrorCode); in test_swap()
800 ds->swapInvChars(ds, inBytes+offset, sizeStr, outBytes+offset, pErrorCode); in test_swap()
858 UErrorCode *pErrorCode) { in udata_swap() argument
863 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in udata_swap()
874 udata_swapDataHeader(ds, inData, -1, NULL, pErrorCode); in udata_swap()
880 if(U_FAILURE(*pErrorCode)) { in udata_swap()
903 swappedLength=swapFns[i].swapFn(ds, inData, length, outData, pErrorCode); in udata_swap()
905 if(U_FAILURE(*pErrorCode)) { in udata_swap()
911 u_errorName(*pErrorCode)); in udata_swap()
920 u_errorName(*pErrorCode)); in udata_swap()
934 *pErrorCode=U_UNSUPPORTED_ERROR; in udata_swap()