Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Ducharstrieiterator.cpp28 maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator()
50 maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator()
66 if(maxLength_>0 && length>maxLength_) { in Iterator()
67 length=maxLength_; // This will leave remainingMatchLength>=0 as a signal. in Iterator()
85 if(maxLength_>0 && length>maxLength_) { in reset()
86 length=maxLength_; in reset()
145 if(isFinal || (maxLength_>0 && str_.length()==maxLength_)) { in next()
158 if(maxLength_>0 && str_.length()==maxLength_) { in next()
172 if(maxLength_>0 && str_.length()+length>maxLength_) { in next()
173 str_.append(pos, maxLength_-str_.length()); in next()
Dbytestrieiterator.cpp28 str_(NULL), maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator()
50 str_(NULL), maxLength_(maxStringLength), value_(0), stack_(NULL) { in Iterator()
67 if(maxLength_>0 && length>maxLength_) { in Iterator()
68 length=maxLength_; // This will leave remainingMatchLength>=0 as a signal. in Iterator()
86 if(maxLength_>0 && length>maxLength_) { in reset()
87 length=maxLength_; in reset()
137 if(isFinal || (maxLength_>0 && str_->length()==maxLength_)) { in next()
145 if(maxLength_>0 && str_->length()==maxLength_) { in next()
159 if(maxLength_>0 && str_->length()+length>maxLength_) { in next()
161 maxLength_-str_->length(), errorCode); in next()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBytesTrie.java527 maxLength_=maxStringLength;
528 entry_=new Entry(maxLength_!=0 ? maxLength_ : 32);
533 if(maxLength_>0 && length>maxLength_) {
534 length=maxLength_; // This will leave remainingMatchLength>=0 as a signal.
551 if(maxLength_>0 && length>maxLength_) { in reset()
552 length=maxLength_; in reset()
611 if(isFinal || (maxLength_>0 && entry_.length==maxLength_)) { in next()
618 if(maxLength_>0 && entry_.length==maxLength_) { in next()
632 if(maxLength_>0 && entry_.length+length>maxLength_) { in next()
633 entry_.append(bytes_, pos, maxLength_-entry_.length); in next()
[all …]
DCharsTrie.java443 maxLength_=maxStringLength; in Iterator()
448 if(maxLength_>0 && length>maxLength_) { in Iterator()
449 length=maxLength_; // This will leave remainingMatchLength>=0 as a signal. in Iterator()
467 if(maxLength_>0 && length>maxLength_) { in reset()
468 length=maxLength_; in reset()
536 if(isFinal || (maxLength_>0 && str_.length()==maxLength_)) { in next()
550 if(maxLength_>0 && str_.length()==maxLength_) { in next()
564 if(maxLength_>0 && str_.length()+length>maxLength_) { in next()
565 str_.append(chars_, pos, pos+maxLength_-str_.length()); in next()
628 private int maxLength_; field in CharsTrie.Iterator
/external/icu/android_icu4j/src/main/java/android/icu/util/
DBytesTrie.java496 maxLength_=maxStringLength;
497 entry_=new Entry(maxLength_!=0 ? maxLength_ : 32);
502 if(maxLength_>0 && length>maxLength_) {
503 length=maxLength_; // This will leave remainingMatchLength>=0 as a signal.
519 if(maxLength_>0 && length>maxLength_) { in reset()
520 length=maxLength_; in reset()
577 if(isFinal || (maxLength_>0 && entry_.length==maxLength_)) { in next()
584 if(maxLength_>0 && entry_.length==maxLength_) { in next()
598 if(maxLength_>0 && entry_.length+length>maxLength_) { in next()
599 entry_.append(bytes_, pos, maxLength_-entry_.length); in next()
[all …]
DCharsTrie.java421 maxLength_=maxStringLength; in Iterator()
426 if(maxLength_>0 && length>maxLength_) { in Iterator()
427 length=maxLength_; // This will leave remainingMatchLength>=0 as a signal. in Iterator()
444 if(maxLength_>0 && length>maxLength_) { in reset()
445 length=maxLength_; in reset()
511 if(isFinal || (maxLength_>0 && str_.length()==maxLength_)) { in next()
525 if(maxLength_>0 && str_.length()==maxLength_) { in next()
539 if(maxLength_>0 && str_.length()+length>maxLength_) { in next()
540 str_.append(chars_, pos, pos+maxLength_-str_.length()); in next()
602 private int maxLength_; field in CharsTrie.Iterator
/external/icu/icu4c/source/common/unicode/
Dbytestrie.h329 int32_t maxLength_; variable
Ducharstrie.h347 int32_t maxLength_; variable