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.java503 maxLength_=maxStringLength;
504 entry_=new Entry(maxLength_!=0 ? maxLength_ : 32);
509 if(maxLength_>0 && length>maxLength_) {
510 length=maxLength_; // This will leave remainingMatchLength>=0 as a signal.
526 if(maxLength_>0 && length>maxLength_) { in reset()
527 length=maxLength_; in reset()
586 if(isFinal || (maxLength_>0 && entry_.length==maxLength_)) { in next()
593 if(maxLength_>0 && entry_.length==maxLength_) { in next()
607 if(maxLength_>0 && entry_.length+length>maxLength_) { in next()
608 entry_.append(bytes_, pos, maxLength_-entry_.length); in next()
[all …]
DCharsTrie.java427 maxLength_=maxStringLength; in Iterator()
432 if(maxLength_>0 && length>maxLength_) { in Iterator()
433 length=maxLength_; // This will leave remainingMatchLength>=0 as a signal. in Iterator()
450 if(maxLength_>0 && length>maxLength_) { in reset()
451 length=maxLength_; in reset()
519 if(isFinal || (maxLength_>0 && str_.length()==maxLength_)) { in next()
533 if(maxLength_>0 && str_.length()==maxLength_) { in next()
547 if(maxLength_>0 && str_.length()+length>maxLength_) { in next()
548 str_.append(chars_, pos, pos+maxLength_-str_.length()); in next()
611 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