Lines Matching refs:str_
28 str_(NULL), maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator()
38 str_=new CharString(); in Iterator()
40 if(U_SUCCESS(errorCode) && (str_==NULL || stack_==NULL)) { in Iterator()
50 str_(NULL), maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator()
54 str_=new CharString(); in Iterator()
59 if(str_==NULL || stack_==NULL) { in Iterator()
70 str_->append(reinterpret_cast<const char *>(pos_), length, errorCode); in Iterator()
77 delete str_; in ~Iterator()
89 str_->truncate(length); in reset()
115 str_->truncate(length&0xffff); in next()
123 str_->append((char)*pos++, errorCode); in next()
137 if(isFinal || (maxLength_>0 && str_->length()==maxLength_)) { in next()
142 sp_.set(str_->data(), str_->length()); in next()
145 if(maxLength_>0 && str_->length()==maxLength_) { in next()
159 if(maxLength_>0 && str_->length()+length>maxLength_) { in next()
160 str_->append(reinterpret_cast<const char *>(pos), in next()
161 maxLength_-str_->length(), errorCode); in next()
164 str_->append(reinterpret_cast<const char *>(pos), length, errorCode); in next()
173 sp_.set(str_->data(), str_->length()); in truncateAndStop()
185 stack_->addElement(((length-(length>>1))<<16)|str_->length(), errorCode); in branchNext()
198 stack_->addElement(((length-1)<<16)|str_->length(), errorCode); in branchNext()
199 str_->append((char)trieByte, errorCode); in branchNext()
202 sp_.set(str_->data(), str_->length()); in branchNext()