Lines Matching refs:txt
50 status_t append(const char* txt, size_t len) { in append()
56 memcpy(buffer+bufferPos, txt, len); in append()
155 status_t BufferedTextOutput::print(const char* txt, size_t len) in print() argument
162 const char* const end = txt+len; in print()
166 while (txt < end) { in print()
168 const char* first = txt; in print()
169 while (txt < end && *txt != '\n') txt++; in print()
172 while (txt < end && *txt == '\n') txt++; in print()
182 } else if (*(txt-1) == '\n' && !b->bundle) { in print()
188 const char* lastLine = txt+1; in print()
189 while (txt < end) { in print()
190 if (*txt++ == '\n') lastLine = txt; in print()
197 txt = lastLine; in print()
203 err = b->append(first, txt-first); in print()
205 b->atFront = *(txt-1) == '\n'; in print()