Lines Matching refs:txt
50 status_t append(const char* txt, size_t len) { in append()
60 memcpy(buffer+bufferPos, txt, len); in append()
143 status_t BufferedTextOutput::print(const char* txt, size_t len) in print() argument
150 const char* const end = txt+len; in print()
154 while (txt < end) { in print()
156 const char* first = txt; in print()
157 while (txt < end && *txt != '\n') txt++; in print()
160 while (txt < end && *txt == '\n') txt++; in print()
170 } else if (*(txt-1) == '\n' && !b->bundle) { in print()
176 const char* lastLine = txt; in print()
177 while (txt < end) { in print()
178 if (*txt++ == '\n') lastLine = txt; in print()
185 txt = lastLine; in print()
191 err = b->append(first, txt-first); in print()
193 b->atFront = *(txt-1) == '\n'; in print()