Lines Matching refs:stack_
28 str_(NULL), maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator()
39 stack_=new UVector32(errorCode); in Iterator()
40 if(U_SUCCESS(errorCode) && (str_==NULL || stack_==NULL)) { in Iterator()
50 str_(NULL), maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator()
55 stack_=new UVector32(errorCode); in Iterator()
59 if(str_==NULL || stack_==NULL) { in Iterator()
78 delete stack_; in ~Iterator()
92 stack_->setSize(0); in reset()
97 BytesTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } in hasNext()
106 if(stack_->isEmpty()) { in next()
111 int32_t stackSize=stack_->size(); in next()
112 int32_t length=stack_->elementAti(stackSize-1); in next()
113 pos=bytes_+stack_->elementAti(stackSize-2); in next()
114 stack_->setSize(stackSize-2); in next()
184 stack_->addElement((int32_t)(skipDelta(pos)-bytes_), errorCode); in branchNext()
185 stack_->addElement(((length-(length>>1))<<16)|str_->length(), errorCode); in branchNext()
197 stack_->addElement((int32_t)(pos-bytes_), errorCode); in branchNext()
198 stack_->addElement(((length-1)<<16)|str_->length(), errorCode); in branchNext()