Lines Matching refs:ceBuffer

154     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()
239 --ceBuffer.length; // Undo ceBuffer.incLength(). in nextCEFromCE32()
242 return ceBuffer.get(cesIndex++); in nextCEFromCE32()
258 ceBuffer.append(Collation::ceFromLongPrimaryCE32(ce32), errorCode); in appendCEsFromCE32()
261 ceBuffer.append(Collation::ceFromLongSecondaryCE32(ce32), errorCode); in appendCEsFromCE32()
264 if(ceBuffer.ensureAppendCapacity(2, errorCode)) { in appendCEsFromCE32()
265 ceBuffer.set(ceBuffer.length, Collation::latinCE0FromCE32(ce32)); in appendCEsFromCE32()
266 ceBuffer.set(ceBuffer.length + 1, Collation::latinCE1FromCE32(ce32)); in appendCEsFromCE32()
267 ceBuffer.length += 2; in appendCEsFromCE32()
273 if(ceBuffer.ensureAppendCapacity(length, errorCode)) { in appendCEsFromCE32()
275 ceBuffer.appendUnsafe(Collation::ceFromCE32(*ce32s++)); in appendCEsFromCE32()
283 if(ceBuffer.ensureAppendCapacity(length, errorCode)) { in appendCEsFromCE32()
285 ceBuffer.appendUnsafe(*ces++); in appendCEsFromCE32()
365 ceBuffer.append(Collation::NO_CE, errorCode); in appendCEsFromCE32()
382 if(ceBuffer.ensureAppendCapacity(t == 0 ? 2 : 3, errorCode)) { in appendCEsFromCE32()
383 ceBuffer.set(ceBuffer.length, Collation::ceFromCE32(jamoCE32s[c])); in appendCEsFromCE32()
384 ceBuffer.set(ceBuffer.length + 1, Collation::ceFromCE32(jamoCE32s[19 + v])); in appendCEsFromCE32()
385 ceBuffer.length += 2; in appendCEsFromCE32()
387 ceBuffer.appendUnsafe(Collation::ceFromCE32(jamoCE32s[39 + t])); in appendCEsFromCE32()
429 ceBuffer.append(d->getCEFromOffsetCE32(c, ce32), errorCode); in appendCEsFromCE32()
437 ceBuffer.append(Collation::unassignedCEFromCodePoint(c), errorCode); in appendCEsFromCE32()
442 ceBuffer.append(Collation::ceFromSimpleCE32(ce32), errorCode); in appendCEsFromCE32()
764 ceBuffer.append(Collation::makeCE(primary), errorCode); in appendNumericSegmentCEs()
774 ceBuffer.append(Collation::makeCE(primary), errorCode); in appendNumericSegmentCEs()
787 ceBuffer.append(Collation::makeCE(primary), errorCode); in appendNumericSegmentCEs()
825 ceBuffer.append(Collation::makeCE(primary), errorCode); in appendNumericSegmentCEs()
836 ceBuffer.append(Collation::makeCE(primary), errorCode); in appendNumericSegmentCEs()
841 if(ceBuffer.length > 0) { in previousCE()
843 return ceBuffer.get(--ceBuffer.length); in previousCE()
867 if(ceBuffer.length > 1) { in previousCE()
871 while(offsets.size() <= ceBuffer.length) { in previousCE()
875 return ceBuffer.get(--ceBuffer.length); in previousCE()
911 U_ASSERT(ceBuffer.length == 0); in previousCEUnsafe()
920 U_ASSERT(U_FAILURE(errorCode) || ceBuffer.get(ceBuffer.length - 1) != Collation::NO_CE); in previousCEUnsafe()
922 cesIndex = ceBuffer.length; in previousCEUnsafe()
926 U_ASSERT(offsets.size() < ceBuffer.length); in previousCEUnsafe()
931 while(offsets.size() < ceBuffer.length) { in previousCEUnsafe()
935 U_ASSERT(offsets.size() == ceBuffer.length); in previousCEUnsafe()
945 return ceBuffer.get(--ceBuffer.length); in previousCEUnsafe()