Home | History | Annotate | Download | only in Lex

Lines Matching refs:BytesUsed

26   // Set BytesUsed so that the first call to getToken will require an alloc.
27 BytesUsed = ScratchBufSize;
36 if (BytesUsed+Len+2 > ScratchBufSize)
41 CurBuffer[BytesUsed++] = '\n';
44 DestPtr = CurBuffer+BytesUsed;
47 memcpy(CurBuffer+BytesUsed, Buf, Len);
50 BytesUsed += Len+1;
55 CurBuffer[BytesUsed-1] = '\0';
57 return BufferStartLoc.getLocWithOffset(BytesUsed-Len-1);
75 BytesUsed = 0;