Lines Matching full:bytesused
25 // Set BytesUsed so that the first call to getToken will require an alloc.
26 BytesUsed = ScratchBufSize;
35 if (BytesUsed+Len+2 > ScratchBufSize)
40 CurBuffer[BytesUsed++] = '\n';
43 DestPtr = CurBuffer+BytesUsed;
46 memcpy(CurBuffer+BytesUsed, Buf, Len);
49 BytesUsed += Len+1;
54 CurBuffer[BytesUsed-1] = '\0';
56 return BufferStartLoc.getLocWithOffset(BytesUsed-Len-1);
71 BytesUsed = 1;