Lines Matching refs:ceBuffer
156 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()
241 --ceBuffer.length; // Undo ceBuffer.incLength(). in nextCEFromCE32()
244 return ceBuffer.get(cesIndex++); in nextCEFromCE32()
260 ceBuffer.append(Collation::ceFromLongPrimaryCE32(ce32), errorCode); in appendCEsFromCE32()
263 ceBuffer.append(Collation::ceFromLongSecondaryCE32(ce32), errorCode); in appendCEsFromCE32()
266 if(ceBuffer.ensureAppendCapacity(2, errorCode)) { in appendCEsFromCE32()
267 ceBuffer.set(ceBuffer.length, Collation::latinCE0FromCE32(ce32)); in appendCEsFromCE32()
268 ceBuffer.set(ceBuffer.length + 1, Collation::latinCE1FromCE32(ce32)); in appendCEsFromCE32()
269 ceBuffer.length += 2; in appendCEsFromCE32()
275 if(ceBuffer.ensureAppendCapacity(length, errorCode)) { in appendCEsFromCE32()
277 ceBuffer.appendUnsafe(Collation::ceFromCE32(*ce32s++)); in appendCEsFromCE32()
285 if(ceBuffer.ensureAppendCapacity(length, errorCode)) { in appendCEsFromCE32()
287 ceBuffer.appendUnsafe(*ces++); in appendCEsFromCE32()
367 ceBuffer.append(Collation::NO_CE, errorCode); in appendCEsFromCE32()
384 if(ceBuffer.ensureAppendCapacity(t == 0 ? 2 : 3, errorCode)) { in appendCEsFromCE32()
385 ceBuffer.set(ceBuffer.length, Collation::ceFromCE32(jamoCE32s[c])); in appendCEsFromCE32()
386 ceBuffer.set(ceBuffer.length + 1, Collation::ceFromCE32(jamoCE32s[19 + v])); in appendCEsFromCE32()
387 ceBuffer.length += 2; in appendCEsFromCE32()
389 ceBuffer.appendUnsafe(Collation::ceFromCE32(jamoCE32s[39 + t])); in appendCEsFromCE32()
431 ceBuffer.append(d->getCEFromOffsetCE32(c, ce32), errorCode); in appendCEsFromCE32()
439 ceBuffer.append(Collation::unassignedCEFromCodePoint(c), errorCode); in appendCEsFromCE32()
444 ceBuffer.append(Collation::ceFromSimpleCE32(ce32), errorCode); in appendCEsFromCE32()
766 ceBuffer.append(Collation::makeCE(primary), errorCode); in appendNumericSegmentCEs()
776 ceBuffer.append(Collation::makeCE(primary), errorCode); in appendNumericSegmentCEs()
789 ceBuffer.append(Collation::makeCE(primary), errorCode); in appendNumericSegmentCEs()
827 ceBuffer.append(Collation::makeCE(primary), errorCode); in appendNumericSegmentCEs()
838 ceBuffer.append(Collation::makeCE(primary), errorCode); in appendNumericSegmentCEs()
843 if(ceBuffer.length > 0) { in previousCE()
845 return ceBuffer.get(--ceBuffer.length); in previousCE()
869 if(ceBuffer.length > 1) { in previousCE()
873 while(offsets.size() <= ceBuffer.length) { in previousCE()
877 return ceBuffer.get(--ceBuffer.length); in previousCE()
913 U_ASSERT(ceBuffer.length == 0); in previousCEUnsafe()
922 U_ASSERT(U_FAILURE(errorCode) || ceBuffer.get(ceBuffer.length - 1) != Collation::NO_CE); in previousCEUnsafe()
924 cesIndex = ceBuffer.length; in previousCEUnsafe()
928 U_ASSERT(offsets.size() < ceBuffer.length); in previousCEUnsafe()
933 while(offsets.size() < ceBuffer.length) { in previousCEUnsafe()
937 U_ASSERT(offsets.size() == ceBuffer.length); in previousCEUnsafe()
947 return ceBuffer.get(--ceBuffer.length); in previousCEUnsafe()