Lines Matching full:textbuffer
2495 Vector<UChar> textBuffer;
2496 textBuffer.reserveInitialCapacity(cMaxSegmentSize);
2502 if (textBuffer.size() && textBuffer.size() + it.length() > cMaxSegmentSize) {
2503 UChar* newSegmentBuffer = static_cast<UChar*>(malloc(textBuffer.size() * sizeof(UChar)));
2506 memcpy(newSegmentBuffer, textBuffer.data(), textBuffer.size() * sizeof(UChar));
2509 textSegments->append(make_pair(newSegmentBuffer, (unsigned)textBuffer.size()));
2510 textBuffer.clear();
2512 textBuffer.append(it.characters(), it.length());
2534 memcpy(resultPos, textBuffer.data(), textBuffer.size() * sizeof(UChar));