Home
last modified time | relevance | path

Searched refs:maxLength_ (Results 1 – 8 of 8) sorted by relevance

/external/icu/icu4c/source/common/
Ducharstrieiterator.cpp30 maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator()
52 maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator()
68 if(maxLength_>0 && length>maxLength_) { in Iterator()
69 length=maxLength_; // This will leave remainingMatchLength>=0 as a signal. in Iterator()
87 if(maxLength_>0 && length>maxLength_) { in reset()
88 length=maxLength_; in reset()
147 if(isFinal || (maxLength_>0 && str_.length()==maxLength_)) { in next()
160 if(maxLength_>0 && str_.length()==maxLength_) { in next()
174 if(maxLength_>0 && str_.length()+length>maxLength_) { in next()
175 str_.append(pos, maxLength_-str_.length()); in next()
Dbytestrieiterator.cpp30 str_(NULL), maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator()
52 str_(NULL), maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator()
69 if(maxLength_>0 && length>maxLength_) { in Iterator()
70 length=maxLength_; // This will leave remainingMatchLength>=0 as a signal. in Iterator()
88 if(maxLength_>0 && length>maxLength_) { in reset()
89 length=maxLength_; in reset()
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()
162 maxLength_-str_->length(), errorCode); in next()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DBytesTrie.java499 maxLength_=maxStringLength;
500 entry_=new Entry(maxLength_!=0 ? maxLength_ : 32);
505 if(maxLength_>0 && length>maxLength_) {
506 length=maxLength_; // This will leave remainingMatchLength>=0 as a signal.
522 if(maxLength_>0 && length>maxLength_) { in reset()
523 length=maxLength_; in reset()
582 if(isFinal || (maxLength_>0 && entry_.length==maxLength_)) { in next()
589 if(maxLength_>0 && entry_.length==maxLength_) { in next()
603 if(maxLength_>0 && entry_.length+length>maxLength_) { in next()
604 entry_.append(bytes_, pos, maxLength_-entry_.length); in next()
[all …]
DCharsTrie.java424 maxLength_=maxStringLength; in Iterator()
429 if(maxLength_>0 && length>maxLength_) { in Iterator()
430 length=maxLength_; // This will leave remainingMatchLength>=0 as a signal. in Iterator()
447 if(maxLength_>0 && length>maxLength_) { in reset()
448 length=maxLength_; in reset()
516 if(isFinal || (maxLength_>0 && str_.length()==maxLength_)) { in next()
530 if(maxLength_>0 && str_.length()==maxLength_) { in next()
544 if(maxLength_>0 && str_.length()+length>maxLength_) { in next()
545 str_.append(chars_, pos, pos+maxLength_-str_.length()); in next()
608 private int maxLength_; field in CharsTrie.Iterator
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBytesTrie.java530 maxLength_=maxStringLength;
531 entry_=new Entry(maxLength_!=0 ? maxLength_ : 32);
536 if(maxLength_>0 && length>maxLength_) {
537 length=maxLength_; // This will leave remainingMatchLength>=0 as a signal.
554 if(maxLength_>0 && length>maxLength_) { in reset()
555 length=maxLength_; in reset()
616 if(isFinal || (maxLength_>0 && entry_.length==maxLength_)) { in next()
623 if(maxLength_>0 && entry_.length==maxLength_) { in next()
637 if(maxLength_>0 && entry_.length+length>maxLength_) { in next()
638 entry_.append(bytes_, pos, maxLength_-entry_.length); in next()
[all …]
DCharsTrie.java446 maxLength_=maxStringLength; in Iterator()
451 if(maxLength_>0 && length>maxLength_) { in Iterator()
452 length=maxLength_; // This will leave remainingMatchLength>=0 as a signal. in Iterator()
470 if(maxLength_>0 && length>maxLength_) { in reset()
471 length=maxLength_; in reset()
541 if(isFinal || (maxLength_>0 && str_.length()==maxLength_)) { in next()
555 if(maxLength_>0 && str_.length()==maxLength_) { in next()
569 if(maxLength_>0 && str_.length()+length>maxLength_) { in next()
570 str_.append(chars_, pos, pos+maxLength_-str_.length()); in next()
634 private int maxLength_; field in CharsTrie.Iterator
/external/icu/icu4c/source/common/unicode/
Dbytestrie.h330 int32_t maxLength_; variable
Ducharstrie.h349 int32_t maxLength_; variable