• Home
  • Raw
  • Download

Lines Matching refs:pErrorCode

116 utrie2_open(uint32_t initialValue, uint32_t errorValue, UErrorCode *pErrorCode) {  in utrie2_open()  argument
122 if(U_FAILURE(*pErrorCode)) { in utrie2_open()
133 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; in utrie2_open()
148 newTrie->t3=umutablecptrie_open(initialValue, errorValue, pErrorCode); in utrie2_open()
242 utrie2_set32(trie, i, initialValue, pErrorCode); in utrie2_open()
299 utrie2_clone(const UTrie2 *other, UErrorCode *pErrorCode) { in utrie2_clone() argument
302 if(U_FAILURE(*pErrorCode)) { in utrie2_clone()
306 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in utrie2_clone()
403 utrie2_cloneAsThawed(const UTrie2 *other, UErrorCode *pErrorCode) { in utrie2_cloneAsThawed() argument
407 if(U_FAILURE(*pErrorCode)) { in utrie2_cloneAsThawed()
411 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in utrie2_cloneAsThawed()
415 return utrie2_clone(other, pErrorCode); /* clone an unfrozen trie */ in utrie2_cloneAsThawed()
419 context.trie=utrie2_open(other->initialValue, other->errorValue, pErrorCode); in utrie2_cloneAsThawed()
420 if(U_FAILURE(*pErrorCode)) { in utrie2_cloneAsThawed()
424 context.errorCode=*pErrorCode; in utrie2_cloneAsThawed()
426 *pErrorCode=context.errorCode; in utrie2_cloneAsThawed()
435 utrie2_set32ForLeadSurrogateCodeUnit(context.trie, lead, value, pErrorCode); in utrie2_cloneAsThawed()
438 if(U_FAILURE(*pErrorCode)) { in utrie2_cloneAsThawed()
447 utrie2_fromUTrie(const UTrie *trie1, uint32_t errorValue, UErrorCode *pErrorCode) { in utrie2_fromUTrie() argument
451 if(U_FAILURE(*pErrorCode)) { in utrie2_fromUTrie()
455 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in utrie2_fromUTrie()
458 context.trie=utrie2_open(trie1->initialValue, errorValue, pErrorCode); in utrie2_fromUTrie()
459 if(U_FAILURE(*pErrorCode)) { in utrie2_fromUTrie()
463 context.errorCode=*pErrorCode; in utrie2_fromUTrie()
465 *pErrorCode=context.errorCode; in utrie2_fromUTrie()
474 utrie2_set32ForLeadSurrogateCodeUnit(context.trie, lead, value, pErrorCode); in utrie2_fromUTrie()
477 if(U_SUCCESS(*pErrorCode)) { in utrie2_fromUTrie()
480 pErrorCode); in utrie2_fromUTrie()
483 if(U_SUCCESS(*pErrorCode)) { in utrie2_fromUTrie()
488 if(U_FAILURE(*pErrorCode)) { in utrie2_fromUTrie()
655 UErrorCode *pErrorCode) { in set32() argument
659 *pErrorCode=U_NO_WRITE_PERMISSION; in set32()
663 umutablecptrie_set(trie->t3, c, value, pErrorCode); in set32()
668 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; in set32()
676 utrie2_set32(UTrie2 *trie, UChar32 c, uint32_t value, UErrorCode *pErrorCode) { in utrie2_set32() argument
677 if(U_FAILURE(*pErrorCode)) { in utrie2_set32()
681 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in utrie2_set32()
684 set32(trie->newTrie, c, TRUE, value, pErrorCode); in utrie2_set32()
690 UErrorCode *pErrorCode) { in utrie2_set32ForLeadSurrogateCodeUnit() argument
691 if(U_FAILURE(*pErrorCode)) { in utrie2_set32ForLeadSurrogateCodeUnit()
695 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in utrie2_set32ForLeadSurrogateCodeUnit()
698 set32(trie->newTrie, c, FALSE, value, pErrorCode); in utrie2_set32ForLeadSurrogateCodeUnit()
738 UErrorCode *pErrorCode) { in utrie2_setRange32() argument
748 if(U_FAILURE(*pErrorCode)) { in utrie2_setRange32()
752 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in utrie2_setRange32()
757 *pErrorCode=U_NO_WRITE_PERMISSION; in utrie2_setRange32()
761 umutablecptrie_setRange(newTrie->t3, start, end, value, pErrorCode); in utrie2_setRange32()
774 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; in utrie2_setRange32()
815 *pErrorCode=U_INTERNAL_PROGRAM_ERROR; in utrie2_setRange32()
861 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; in utrie2_setRange32()
875 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; in utrie2_setRange32()
1227 compactTrie(UTrie2 *trie, UErrorCode *pErrorCode) { in compactTrie() argument
1256 utrie2_setRange32(trie, suppHighStart, 0x10ffff, trie->initialValue, TRUE, pErrorCode); in compactTrie()
1257 if(U_FAILURE(*pErrorCode)) { in compactTrie()
1304 utrie2_freeze(UTrie2 *trie, UTrie2ValueBits valueBits, UErrorCode *pErrorCode) { in utrie2_freeze() argument
1315 if(U_FAILURE(*pErrorCode)) { in utrie2_freeze()
1321 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in utrie2_freeze()
1330 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in utrie2_freeze()
1337 compactTrie(trie, pErrorCode); in utrie2_freeze()
1338 if(U_FAILURE(*pErrorCode)) { in utrie2_freeze()
1365 *pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR; in utrie2_freeze()
1379 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; in utrie2_freeze()
1463 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in utrie2_freeze()
1475 newTrie->t3, UCPTRIE_TYPE_FAST, (UCPTrieValueWidth)valueBits, pErrorCode)); in utrie2_freeze()