Lines Matching refs:txt
54 status_t append(const char* txt, size_t len) { in append()
64 memcpy(buffer+bufferPos, txt, len); in append()
163 status_t BufferedTextOutput::print(const char* txt, size_t len) in print() argument
167 const char* const end = txt+len; in print()
170 while (txt < end) { in print()
172 const char* first = txt; in print()
173 while (txt < end && *txt != '\n') txt++; in print()
176 while (txt < end && *txt == '\n') txt++; in print()
185 } else if (*(txt-1) == '\n' && !b->bundle) { in print()
191 const char* lastLine = txt+1; in print()
192 while (txt < end) { in print()
193 if (*txt++ == '\n') lastLine = txt; in print()
200 txt = lastLine; in print()
206 err = b->append(first, txt-first); in print()
208 b->atFront = *(txt-1) == '\n'; in print()