Lines Matching defs:errorCode
24 UErrorCode &errorCode)
29 if(U_FAILURE(errorCode)) {
39 stack_=new UVector32(errorCode);
40 if(U_SUCCESS(errorCode) && (str_==NULL || stack_==NULL)) {
41 errorCode=U_MEMORY_ALLOCATION_ERROR;
46 UErrorCode &errorCode)
51 if(U_FAILURE(errorCode)) {
55 stack_=new UVector32(errorCode);
56 if(U_FAILURE(errorCode)) {
60 errorCode=U_MEMORY_ALLOCATION_ERROR;
70 str_->append(reinterpret_cast<const char *>(pos_), length, errorCode);
100 BytesTrie::Iterator::next(UErrorCode &errorCode) {
101 if(U_FAILURE(errorCode)) {
118 pos=branchNext(pos, length, errorCode);
123 str_->append((char)*pos++, errorCode);
152 pos=branchNext(pos, node+1, errorCode);
161 maxLength_-str_->length(), errorCode);
164 str_->append(reinterpret_cast<const char *>(pos), length, errorCode);
180 BytesTrie::Iterator::branchNext(const uint8_t *pos, int32_t length, UErrorCode &errorCode) {
184 stack_->addElement((int32_t)(skipDelta(pos)-bytes_), errorCode);
185 stack_->addElement(((length-(length>>1))<<16)|str_->length(), errorCode);
197 stack_->addElement((int32_t)(pos-bytes_), errorCode);
198 stack_->addElement(((length-1)<<16)|str_->length(), errorCode);
199 str_->append((char)trieByte, errorCode);