Lines Matching refs:str_
30 str_(NULL), maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator()
40 str_=new CharString(); in Iterator()
42 if(U_SUCCESS(errorCode) && (str_==NULL || stack_==NULL)) { in Iterator()
52 str_(NULL), maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator()
56 str_=new CharString(); in Iterator()
61 if(str_==NULL || stack_==NULL) { in Iterator()
72 str_->append(reinterpret_cast<const char *>(pos_), length, errorCode); in Iterator()
79 delete str_; in ~Iterator()
91 str_->truncate(length); in reset()
117 str_->truncate(length&0xffff); in next()
125 str_->append((char)*pos++, errorCode); in next()
139 if(isFinal || (maxLength_>0 && str_->length()==maxLength_)) { in next()
146 if(maxLength_>0 && str_->length()==maxLength_) { in next()
160 if(maxLength_>0 && str_->length()+length>maxLength_) { in next()
161 str_->append(reinterpret_cast<const char *>(pos), in next()
162 maxLength_-str_->length(), errorCode); in next()
165 str_->append(reinterpret_cast<const char *>(pos), length, errorCode); in next()
173 return str_ == NULL ? StringPiece() : str_->toStringPiece(); in getString()
190 stack_->addElement(((length-(length>>1))<<16)|str_->length(), errorCode); in branchNext()
203 stack_->addElement(((length-1)<<16)|str_->length(), errorCode); in branchNext()
204 str_->append((char)trieByte, errorCode); in branchNext()