Lines Matching refs:bufferPos
43 , bufferPos(0) in BufferState()
54 if (len > SIZE_MAX - bufferPos) return NO_MEMORY; // overflow in append()
55 if ((len+bufferPos) > bufferSize) { in append()
56 if ((len + bufferPos) > SIZE_MAX / 3) return NO_MEMORY; // overflow in append()
57 size_t newSize = ((len+bufferPos)*3)/2; in append()
63 memcpy(buffer+bufferPos, txt, len); in append()
64 bufferPos += len; in append()
69 bufferPos = 0; in restart()
82 size_t bufferPos; member
199 vec.iov_len = b->bufferPos; in print()
237 if (b->bufferPos > 0 && b->atFront) { in popBundle()
240 vec.iov_len = b->bufferPos; in popBundle()