Home
last modified time | relevance | path

Searched refs:ceBuffer (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationIterator.java189 ceBuffer = null; in CollationIterator()
197 ceBuffer = new CEBuffer(); in CollationIterator()
210 if(!(ceBuffer.length == o.ceBuffer.length && in equals()
216 for(int i = 0; i < ceBuffer.length; ++i) { in equals()
217 if(ceBuffer.get(i) != o.ceBuffer.get(i)) { return false; } in equals()
241 if(cesIndex < ceBuffer.length) { in nextCE()
243 return ceBuffer.get(cesIndex++); in nextCE()
245 assert cesIndex == ceBuffer.length; in nextCE()
246 ceBuffer.incLength(); in nextCE()
254 return ceBuffer.set(cesIndex++, in nextCE()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationIterator.java191 ceBuffer = null; in CollationIterator()
199 ceBuffer = new CEBuffer(); in CollationIterator()
212 if(!(ceBuffer.length == o.ceBuffer.length && in equals()
218 for(int i = 0; i < ceBuffer.length; ++i) { in equals()
219 if(ceBuffer.get(i) != o.ceBuffer.get(i)) { return false; } in equals()
243 if(cesIndex < ceBuffer.length) { in nextCE()
245 return ceBuffer.get(cesIndex++); in nextCE()
247 assert cesIndex == ceBuffer.length; in nextCE()
248 ceBuffer.incLength(); in nextCE()
256 return ceBuffer.set(cesIndex++, in nextCE()
[all …]
/external/icu/icu4c/source/i18n/
Dcollationiterator.cpp156 int32_t length = other.ceBuffer.length; in CollationIterator()
157 if(length > 0 && ceBuffer.ensureAppendCapacity(length, errorCode)) { in CollationIterator()
159 ceBuffer.set(i, other.ceBuffer.get(i)); in CollationIterator()
161 ceBuffer.length = length; in CollationIterator()
179 ceBuffer.length == other.ceBuffer.length && in operator ==()
185 for(int32_t i = 0; i < ceBuffer.length; ++i) { in operator ==()
186 if(ceBuffer.get(i) != other.ceBuffer.get(i)) { return FALSE; } in operator ==()
193 cesIndex = ceBuffer.length = 0; in reset()
201 cesIndex = ceBuffer.length; in fetchCEs()
203 return ceBuffer.length; in fetchCEs()
[all …]
Dcollationiterator.h130 if(cesIndex < ceBuffer.length) { in nextCE()
132 return ceBuffer.get(cesIndex++); in nextCE()
135 if(!ceBuffer.incLength(errorCode)) { in nextCE()
144 return ceBuffer.set(cesIndex++, in nextCE()
152 return ceBuffer.set(cesIndex++, Collation::NO_CE); in nextCE()
159 return ceBuffer.set(cesIndex++, in nextCE()
167 return ceBuffer.set(cesIndex++, in nextCE()
184 ceBuffer.set(cesIndex - 1, ce); in setCurrentCE()
193 return ceBuffer.length; in getCEsLength()
197 return ceBuffer.get(i); in getCE()
[all …]
/external/icu/libicu/cts_headers/
Dcollationiterator.h130 if(cesIndex < ceBuffer.length) { in nextCE()
132 return ceBuffer.get(cesIndex++); in nextCE()
135 if(!ceBuffer.incLength(errorCode)) { in nextCE()
144 return ceBuffer.set(cesIndex++, in nextCE()
152 return ceBuffer.set(cesIndex++, Collation::NO_CE); in nextCE()
159 return ceBuffer.set(cesIndex++, in nextCE()
167 return ceBuffer.set(cesIndex++, in nextCE()
184 ceBuffer.set(cesIndex - 1, ce); in setCurrentCE()
193 return ceBuffer.length; in getCEsLength()
197 return ceBuffer.get(i); in getCE()
[all …]
/external/icu/icu4c/source/test/intltest/
Dcolldata.h116 uint32_t ceBuffer[CELIST_BUFFER_SIZE]; variable
Dcolldata.cpp71 ces = ceBuffer; in CEList()
102 if (ces != ceBuffer) { in ~CEList()
124 if (ces != ceBuffer) { in add()