Lines Matching refs:bufferPos
40 , bufferPos(0) in BufferState()
51 if (len > SIZE_MAX - bufferPos) return NO_MEMORY; // overflow in append()
52 if ((len+bufferPos) > bufferSize) { in append()
53 if ((len + bufferPos) > SIZE_MAX / 3) return NO_MEMORY; // overflow in append()
54 size_t newSize = ((len+bufferPos)*3)/2; in append()
60 memcpy(buffer+bufferPos, txt, len); in append()
61 bufferPos += len; in append()
66 bufferPos = 0; in restart()
79 size_t bufferPos; member
201 vec.iov_len = b->bufferPos; in print()
239 if (b->bufferPos > 0 && b->atFront) { in popBundle()
242 vec.iov_len = b->bufferPos; in popBundle()