Lines Matching refs:CurrentPosition
28 size_t CurrentPosition; variable
33 if (N + CurrentPosition >= BufferCapacity) { in grow()
35 if (BufferCapacity < N + CurrentPosition) in grow()
36 BufferCapacity = N + CurrentPosition; in grow()
66 : Buffer(StartBuf), CurrentPosition(0), BufferCapacity(Size) {} in OutputStream()
69 CurrentPosition = 0; in reset()
84 std::memmove(Buffer + CurrentPosition, R.begin(), Size);
85 CurrentPosition += Size;
91 Buffer[CurrentPosition++] = C;
128 size_t getCurrentPosition() const { return CurrentPosition; } in getCurrentPosition()
129 void setCurrentPosition(size_t NewPos) { CurrentPosition = NewPos; } in setCurrentPosition()
132 return CurrentPosition ? Buffer[CurrentPosition - 1] : '\0'; in back()
135 bool empty() const { return CurrentPosition == 0; } in empty()
138 char *getBufferEnd() { return Buffer + CurrentPosition - 1; } in getBufferEnd()