Searched refs:BytesUsed (Results 1 – 3 of 3) sorted by relevance
27 BytesUsed = ScratchBufSize; in ScratchBuffer()36 if (BytesUsed+Len+2 > ScratchBufSize) in getToken()41 CurBuffer[BytesUsed++] = '\n'; in getToken()44 DestPtr = CurBuffer+BytesUsed; in getToken()47 memcpy(CurBuffer+BytesUsed, Buf, Len); in getToken()50 BytesUsed += Len+1; in getToken()55 CurBuffer[BytesUsed-1] = '\0'; in getToken()57 return BufferStartLoc.getLocWithOffset(BytesUsed-Len-1); in getToken()75 BytesUsed = 0; in AllocScratchBuffer()
365 size_t BytesUsed = Fmt.print(OutBufCur, BufferBytesLeft); in operator <<() local368 if (BytesUsed <= BufferBytesLeft) { in operator <<()369 OutBufCur += BytesUsed; in operator <<()375 NextBufferSize = BytesUsed; in operator <<()387 size_t BytesUsed = Fmt.print(V.data(), NextBufferSize); in operator <<() local390 if (BytesUsed <= NextBufferSize) in operator <<()391 return write(V.data(), BytesUsed); in operator <<()394 assert(BytesUsed > NextBufferSize && "Didn't grow buffer!?"); in operator <<()395 NextBufferSize = BytesUsed; in operator <<()
29 unsigned BytesUsed; variable