• Home
  • Raw
  • Download

Lines Matching refs:fLength

86     fLength = other.fLength;  in operator =()
91 return fLength; in length()
95 return u_countChar32(getCharPtr() + fZero, fLength); in codePointCount()
99 if (fLength == 0) { in getFirstCodePoint()
103 U16_GET(getCharPtr() + fZero, 0, 0, fLength, cp); in getFirstCodePoint()
108 if (fLength == 0) { in getLastCodePoint()
111 int32_t offset = fLength; in getLastCodePoint()
114 U16_GET(getCharPtr() + fZero, 0, offset, fLength, cp); in getLastCodePoint()
120 U16_GET(getCharPtr() + fZero, 0, index, fLength, cp); in codePointAt()
128 U16_GET(getCharPtr() + fZero, 0, offset, fLength, cp); in codePointBefore()
135 fLength = 0; in clear()
140 return insertCodePoint(fLength, codePoint, field, status); in appendCodePoint()
162 return insert(fLength, unistr, field, status); in append()
218 return insert(fLength, other, status); in append()
227 int32_t count = other.fLength; in insert()
245 U_ASSERT(index <= fLength); in prepareForInsert()
250 fLength += count; in prepareForInsert()
252 } else if (index == fLength && fZero + fLength + count < getCapacity()) { in prepareForInsert()
254 fLength += count; in prepareForInsert()
255 return fZero + fLength - count; in prepareForInsert()
267 if (fLength + count > oldCapacity) { in prepareForInsertHelper()
268 int32_t newCapacity = (fLength + count) * 2; in prepareForInsertHelper()
269 int32_t newZero = newCapacity / 2 - (fLength + count) / 2; in prepareForInsertHelper()
287 sizeof(char16_t) * (fLength - index)); in prepareForInsertHelper()
291 sizeof(Field) * (fLength - index)); in prepareForInsertHelper()
303 fLength += count; in prepareForInsertHelper()
305 int32_t newZero = oldCapacity / 2 - (fLength + count) / 2; in prepareForInsertHelper()
310 uprv_memmove2(oldChars + newZero, oldChars + oldZero, sizeof(char16_t) * fLength); in prepareForInsertHelper()
313 sizeof(char16_t) * (fLength - index)); in prepareForInsertHelper()
314 uprv_memmove2(oldFields + newZero, oldFields + oldZero, sizeof(Field) * fLength); in prepareForInsertHelper()
317 sizeof(Field) * (fLength - index)); in prepareForInsertHelper()
320 fLength += count; in prepareForInsertHelper()
330 sizeof(char16_t) * (fLength - index - count)); in remove()
333 sizeof(Field) * (fLength - index - count)); in remove()
334 fLength -= count; in remove()
339 return UnicodeString(getCharPtr() + fZero, fLength); in toUnicodeString()
344 return UnicodeString(FALSE, getCharPtr() + fZero, fLength); in toTempUnicodeString()
352 for (int i = 0; i < fLength; i++) { in toDebugString()
407 if (fLength != other.fLength) { in contentEquals()
410 for (int32_t i = 0; i < fLength; i++) { in contentEquals()
435 for (int i = fZero + startIndex; i <= fZero + fLength; i++) { in nextFieldPosition()
437 if (i < fZero + fLength) { in nextFieldPosition()
470 for (int32_t i = 0; i < fLength; i++) { in getAllFieldPositions()
487 fpih.addAttribute(current, currentStart, fLength); in getAllFieldPositions()
492 for (int32_t i = 0; i < fLength; i++) { in containsField()