Home
last modified time | relevance | path

Searched refs:appended_ (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4c/source/i18n/
Dcollationkeys.h34 appended_(0), ignore_(0) {} in SortKeyByteSink()
44 if (appended_ < capacity_ || Resize(1, appended_)) { in Append()
45 buffer_[appended_] = (char)b; in Append()
47 ++appended_; in Append()
54 int32_t NumberOfBytesAppended() const { return appended_; } in NumberOfBytesAppended()
62 return ignore_ + capacity_ - appended_; in GetRemainingCapacity()
65 UBool Overflowed() const { return appended_ > capacity_; } in Overflowed()
80 int32_t appended_; variable
Dcollationkeys.cpp43 int32_t length = appended_; in Append()
44 appended_ += n; in Append()
71 int32_t available = capacity_ - appended_; in GetAppendBuffer()
74 return buffer_ + appended_; in GetAppendBuffer()
75 } else if (Resize(desired_capacity_hint, appended_)) { in GetAppendBuffer()
76 *result_capacity = capacity_ - appended_; in GetAppendBuffer()
77 return buffer_ + appended_; in GetAppendBuffer()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationKeys.java24 private int appended_ = 0; field in CollationKeys.SortKeyByteSink
39 appended_ = app; in setBufferAndAppended()
69 int length = appended_; in Append()
70 appended_ += n; in Append()
84 if (appended_ < buffer_.length || Resize(1, appended_)) { in Append()
85 buffer_[appended_] = (byte) b; in Append()
87 ++appended_; in Append()
99 return appended_; in NumberOfBytesAppended()
103 return /* not used in Java -- ignore_ + */ buffer_.length - appended_; in GetRemainingCapacity()
107 return appended_ > buffer_.length; in Overflowed()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationKeys.java28 private int appended_ = 0; field in CollationKeys.SortKeyByteSink
43 appended_ = app; in setBufferAndAppended()
73 int length = appended_; in Append()
74 appended_ += n; in Append()
88 if (appended_ < buffer_.length || Resize(1, appended_)) { in Append()
89 buffer_[appended_] = (byte) b; in Append()
91 ++appended_; in Append()
103 return appended_; in NumberOfBytesAppended()
107 return /* not used in Java -- ignore_ + */ buffer_.length - appended_; in GetRemainingCapacity()
111 return appended_ > buffer_.length; in Overflowed()
/external/icu/icu4c/source/common/
Dbytestream.cpp31 size_(0), appended_(0), overflowed_(FALSE) { in CheckedArrayByteSink()
37 size_ = appended_ = 0; in Reset()
46 appended_ += n; in Append()
/external/icu/icu4c/source/common/unicode/
Dbytestream.h211 int32_t NumberOfBytesAppended() const { return appended_; } in NumberOfBytesAppended()
216 int32_t appended_; variable