Home | History | Annotate | Download | only in common

Lines Matching refs:errorCode

26                               UErrorCode &errorCode)
31 if(U_FAILURE(errorCode)) {
41 stack_=new UVector32(errorCode);
42 if(U_SUCCESS(errorCode) && (str_==NULL || stack_==NULL)) {
43 errorCode=U_MEMORY_ALLOCATION_ERROR;
48 UErrorCode &errorCode)
53 if(U_FAILURE(errorCode)) {
57 stack_=new UVector32(errorCode);
58 if(U_FAILURE(errorCode)) {
62 errorCode=U_MEMORY_ALLOCATION_ERROR;
72 str_->append(reinterpret_cast<const char *>(pos_), length, errorCode);
102 BytesTrie::Iterator::next(UErrorCode &errorCode) {
103 if(U_FAILURE(errorCode)) {
120 pos=branchNext(pos, length, errorCode);
125 str_->append((char)*pos++, errorCode);
153 pos=branchNext(pos, node+1, errorCode);
162 maxLength_-str_->length(), errorCode);
165 str_->append(reinterpret_cast<const char *>(pos), length, errorCode);
185 BytesTrie::Iterator::branchNext(const uint8_t *pos, int32_t length, UErrorCode &errorCode) {
189 stack_->addElement((int32_t)(skipDelta(pos)-bytes_), errorCode);
190 stack_->addElement(((length-(length>>1))<<16)|str_->length(), errorCode);
202 stack_->addElement((int32_t)(pos-bytes_), errorCode);
203 stack_->addElement(((length-1)<<16)|str_->length(), errorCode);
204 str_->append((char)trieByte, errorCode);