Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationIterator.java187 ceBuffer = null; in CollationIterator()
195 ceBuffer = new CEBuffer(); in CollationIterator()
208 if(!(ceBuffer.length == o.ceBuffer.length && in equals()
214 for(int i = 0; i < ceBuffer.length; ++i) { in equals()
215 if(ceBuffer.get(i) != o.ceBuffer.get(i)) { return false; } in equals()
233 if(cesIndex < ceBuffer.length) { in nextCE()
235 return ceBuffer.get(cesIndex++); in nextCE()
237 assert cesIndex == ceBuffer.length; in nextCE()
238 ceBuffer.incLength(); in nextCE()
246 return ceBuffer.set(cesIndex++, in nextCE()
[all …]
/external/icu/icu4c/source/i18n/
Dcollationiterator.cpp154 int32_t length = other.ceBuffer.length; in CollationIterator()
155 if(length > 0 && ceBuffer.ensureAppendCapacity(length, errorCode)) { in CollationIterator()
157 ceBuffer.set(i, other.ceBuffer.get(i)); in CollationIterator()
159 ceBuffer.length = length; in CollationIterator()
177 ceBuffer.length == other.ceBuffer.length && in operator ==()
183 for(int32_t i = 0; i < ceBuffer.length; ++i) { in operator ==()
184 if(ceBuffer.get(i) != other.ceBuffer.get(i)) { return FALSE; } in operator ==()
191 cesIndex = ceBuffer.length = 0; in reset()
199 cesIndex = ceBuffer.length; in fetchCEs()
201 return ceBuffer.length; in fetchCEs()
[all …]
Dcollationiterator.h113 if(cesIndex < ceBuffer.length) { in nextCE()
115 return ceBuffer.get(cesIndex++); in nextCE()
118 if(!ceBuffer.incLength(errorCode)) { in nextCE()
127 return ceBuffer.set(cesIndex++, in nextCE()
135 return ceBuffer.set(cesIndex++, Collation::NO_CE); in nextCE()
142 return ceBuffer.set(cesIndex++, in nextCE()
150 return ceBuffer.set(cesIndex++, in nextCE()
167 ceBuffer.set(cesIndex - 1, ce); in setCurrentCE()
176 return ceBuffer.length; in getCEsLength()
180 return ceBuffer.get(i); in getCE()
[all …]
/external/icu/icu4c/source/test/intltest/
Dcolldata.cpp71 ces = ceBuffer; in CEList()
102 if (ces != ceBuffer) { in ~CEList()
124 if (ces != ceBuffer) { in add()
Dcolldata.h114 uint32_t ceBuffer[CELIST_BUFFER_SIZE]; variable