Home | History | Annotate | Download | only in common

Lines Matching refs:pErrorCode

36            UErrorCode *pErrorCode) {
42 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
46 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
52 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR;
71 *pErrorCode=U_INVALID_FORMAT_ERROR; /* not a UTrie */
82 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR;
89 ds->swapArray32(ds, inTrie, sizeof(UTrieHeader), outTrie, pErrorCode);
93 ds->swapArray16(ds, inTrie+1, trie.indexLength*2, outTrie+1, pErrorCode);
95 (uint16_t *)(outTrie+1)+trie.indexLength, pErrorCode);
97 ds->swapArray16(ds, inTrie+1, (trie.indexLength+trie.dataLength)*2, outTrie+1, pErrorCode);
165 UErrorCode *pErrorCode) {
176 if(U_FAILURE(*pErrorCode)) {
180 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
202 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR;
215 *pErrorCode=U_UNSUPPORTED_ERROR;
222 *pErrorCode=U_INVALID_FORMAT_ERROR;
252 outHeader, pErrorCode);
254 &(outHeader->scriptToLeadByte), pErrorCode);
262 outBytes+header.options, pErrorCode);
275 outBytes+header.expansion, pErrorCode);
282 outBytes+header.contractionIndex, pErrorCode);
286 outBytes+header.contractionCEs, pErrorCode);
293 outBytes+header.mappingPosition, pErrorCode);
299 outBytes+header.endExpansionCE, pErrorCode);
311 outBytes+header.UCAConsts, pErrorCode);
318 outBytes+header.contractionUCACombos, pErrorCode);
327 outBytes+header.scriptToLeadByte, pErrorCode);
336 outBytes+header.leadByteToScript, pErrorCode);
551 UErrorCode *pErrorCode) {
552 if(U_FAILURE(*pErrorCode)) { return 0; }
555 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode);
556 if(U_FAILURE(*pErrorCode)) {
558 *pErrorCode=U_ZERO_ERROR;
559 return swapFormatVersion3(ds, inData, length, outData, pErrorCode);
576 *pErrorCode=U_UNSUPPORTED_ERROR;
585 collationSize=swapFormatVersion4(ds, inData, length, outData, *pErrorCode);
587 collationSize=swapFormatVersion3(ds, inData, length, outData, pErrorCode);
589 if(U_SUCCESS(*pErrorCode)) {
600 UErrorCode *pErrorCode) {
612 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode);
613 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
631 *pErrorCode=U_UNSUPPORTED_ERROR;
655 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR;
674 ds->swapArray32(ds, inHeader, 5*4, outHeader, pErrorCode);
678 outBytes+header.table, pErrorCode);
682 outBytes+header.conts, pErrorCode);