• Home
  • Raw
  • Download

Lines Matching refs:pErrorCode

109 utrie2_open(uint32_t initialValue, uint32_t errorValue, UErrorCode *pErrorCode) {  in utrie2_open()  argument
115 if(U_FAILURE(*pErrorCode)) { in utrie2_open()
126 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; in utrie2_open()
229 utrie2_set32(trie, i, initialValue, pErrorCode); in utrie2_open()
278 utrie2_clone(const UTrie2 *other, UErrorCode *pErrorCode) { in utrie2_clone() argument
281 if(U_FAILURE(*pErrorCode)) { in utrie2_clone()
285 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in utrie2_clone()
366 utrie2_cloneAsThawed(const UTrie2 *other, UErrorCode *pErrorCode) { in utrie2_cloneAsThawed() argument
370 if(U_FAILURE(*pErrorCode)) { in utrie2_cloneAsThawed()
374 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in utrie2_cloneAsThawed()
378 return utrie2_clone(other, pErrorCode); /* clone an unfrozen trie */ in utrie2_cloneAsThawed()
382 context.trie=utrie2_open(other->initialValue, other->errorValue, pErrorCode); in utrie2_cloneAsThawed()
383 if(U_FAILURE(*pErrorCode)) { in utrie2_cloneAsThawed()
387 context.errorCode=*pErrorCode; in utrie2_cloneAsThawed()
389 *pErrorCode=context.errorCode; in utrie2_cloneAsThawed()
398 utrie2_set32ForLeadSurrogateCodeUnit(context.trie, lead, value, pErrorCode); in utrie2_cloneAsThawed()
401 if(U_FAILURE(*pErrorCode)) { in utrie2_cloneAsThawed()
410 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_fromUTrie() argument
414 if(U_FAILURE(*pErrorCode)) { in utrie2_fromUTrie()
418 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in utrie2_fromUTrie()
421 context.trie=utrie2_open(trie1->initialValue, errorValue, pErrorCode); in utrie2_fromUTrie()
422 if(U_FAILURE(*pErrorCode)) { in utrie2_fromUTrie()
426 context.errorCode=*pErrorCode; in utrie2_fromUTrie()
428 *pErrorCode=context.errorCode; in utrie2_fromUTrie()
437 utrie2_set32ForLeadSurrogateCodeUnit(context.trie, lead, value, pErrorCode); in utrie2_fromUTrie()
440 if(U_SUCCESS(*pErrorCode)) { in utrie2_fromUTrie()
443 pErrorCode); in utrie2_fromUTrie()
446 if(U_SUCCESS(*pErrorCode)) { in utrie2_fromUTrie()
451 if(U_FAILURE(*pErrorCode)) { in utrie2_fromUTrie()
618 UErrorCode *pErrorCode) { in set32() argument
622 *pErrorCode=U_NO_WRITE_PERMISSION; in set32()
628 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; in set32()
636 utrie2_set32(UTrie2 *trie, UChar32 c, uint32_t value, UErrorCode *pErrorCode) { in utrie2_set32() argument
637 if(U_FAILURE(*pErrorCode)) { in utrie2_set32()
641 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in utrie2_set32()
644 set32(trie->newTrie, c, TRUE, value, pErrorCode); in utrie2_set32()
650 UErrorCode *pErrorCode) { in utrie2_set32ForLeadSurrogateCodeUnit() argument
651 if(U_FAILURE(*pErrorCode)) { in utrie2_set32ForLeadSurrogateCodeUnit()
655 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in utrie2_set32ForLeadSurrogateCodeUnit()
658 set32(trie->newTrie, c, FALSE, value, pErrorCode); in utrie2_set32ForLeadSurrogateCodeUnit()
698 UErrorCode *pErrorCode) { in utrie2_setRange32() argument
708 if(U_FAILURE(*pErrorCode)) { in utrie2_setRange32()
712 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in utrie2_setRange32()
717 *pErrorCode=U_NO_WRITE_PERMISSION; in utrie2_setRange32()
731 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; in utrie2_setRange32()
772 *pErrorCode=U_INTERNAL_PROGRAM_ERROR; in utrie2_setRange32()
818 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; in utrie2_setRange32()
832 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; in utrie2_setRange32()
1174 compactTrie(UTrie2 *trie, UErrorCode *pErrorCode) { in compactTrie() argument
1203 utrie2_setRange32(trie, suppHighStart, 0x10ffff, trie->initialValue, TRUE, pErrorCode); in compactTrie()
1204 if(U_FAILURE(*pErrorCode)) { in compactTrie()
1251 utrie2_freeze(UTrie2 *trie, UTrie2ValueBits valueBits, UErrorCode *pErrorCode) { in utrie2_freeze() argument
1262 if(U_FAILURE(*pErrorCode)) { in utrie2_freeze()
1268 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in utrie2_freeze()
1277 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in utrie2_freeze()
1284 compactTrie(trie, pErrorCode); in utrie2_freeze()
1285 if(U_FAILURE(*pErrorCode)) { in utrie2_freeze()
1312 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in utrie2_freeze()
1326 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; in utrie2_freeze()
1410 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in utrie2_freeze()
1428 UErrorCode *pErrorCode) { in utrie2_serialize() argument
1430 if(U_FAILURE(*pErrorCode)) { in utrie2_serialize()
1437 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in utrie2_serialize()
1444 *pErrorCode=U_BUFFER_OVERFLOW_ERROR; in utrie2_serialize()
1457 UErrorCode *pErrorCode) { in utrie2_swapAnyVersion() argument
1458 if(U_SUCCESS(*pErrorCode)) { in utrie2_swapAnyVersion()
1461 return utrie_swap(ds, inData, length, outData, pErrorCode); in utrie2_swapAnyVersion()
1463 return utrie2_swap(ds, inData, length, outData, pErrorCode); in utrie2_swapAnyVersion()
1465 *pErrorCode=U_INVALID_FORMAT_ERROR; in utrie2_swapAnyVersion()