Lines Matching refs:bufferPos
41 , bufferPos(0) in BufferState()
52 if (len > SIZE_MAX - bufferPos) return NO_MEMORY; // overflow in append()
53 if ((len+bufferPos) > bufferSize) { in append()
54 if ((len + bufferPos) > SIZE_MAX / 3) return NO_MEMORY; // overflow in append()
55 size_t newSize = ((len+bufferPos)*3)/2; in append()
61 memcpy(buffer+bufferPos, txt, len); in append()
62 bufferPos += len; in append()
67 bufferPos = 0; in restart()
80 size_t bufferPos; member
218 vec.iov_len = b->bufferPos; in print()
256 if (b->bufferPos > 0 && b->atFront) { in popBundle()
259 vec.iov_len = b->bufferPos; in popBundle()