Lines Matching refs:stack_
30 str_(NULL), maxLength_(maxStringLength), value_(0), stack_(NULL) {
34 // str_ and stack_ are pointers so that it's easy to turn bytestrie.h into
41 stack_=new UVector32(errorCode);
42 if(U_SUCCESS(errorCode) && (str_==NULL || stack_==NULL)) {
52 str_(NULL), maxLength_(maxStringLength), value_(0), stack_(NULL) {
57 stack_=new UVector32(errorCode);
61 if(str_==NULL || stack_==NULL) {
80 delete stack_;
94 stack_->setSize(0);
99 BytesTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); }
108 if(stack_->isEmpty()) {
113 int32_t stackSize=stack_->size();
114 int32_t length=stack_->elementAti(stackSize-1);
115 pos=bytes_+stack_->elementAti(stackSize-2);
116 stack_->setSize(stackSize-2);
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);