Searched refs:BytesUsed (Results 1 – 6 of 6) sorted by relevance
26 BytesUsed = ScratchBufSize; in ScratchBuffer()35 if (BytesUsed+Len+2 > ScratchBufSize) in getToken()48 CurBuffer[BytesUsed++] = '\n'; in getToken()51 DestPtr = CurBuffer+BytesUsed; in getToken()54 memcpy(CurBuffer+BytesUsed, Buf, Len); in getToken()57 BytesUsed += Len+1; in getToken()62 CurBuffer[BytesUsed-1] = '\0'; in getToken()64 return BufferStartLoc.getLocWithOffset(BytesUsed-Len-1); in getToken()82 BytesUsed = 0; in AllocScratchBuffer()
316 size_t BytesUsed = Fmt.print(OutBufCur, BufferBytesLeft); in operator <<() local319 if (BytesUsed <= BufferBytesLeft) { in operator <<()320 OutBufCur += BytesUsed; in operator <<()326 NextBufferSize = BytesUsed; in operator <<()338 size_t BytesUsed = Fmt.print(V.data(), NextBufferSize); in operator <<() local341 if (BytesUsed <= NextBufferSize) in operator <<()342 return write(V.data(), BytesUsed); in operator <<()345 assert(BytesUsed > NextBufferSize && "Didn't grow buffer!?"); in operator <<()346 NextBufferSize = BytesUsed; in operator <<()
44 std::vector<uint8_t> BytesUsed; member49 BytesUsed.resize(Pos + Size); in getPtrToData()51 return std::make_pair(Bytes.data() + Pos, BytesUsed.data() + Pos); in getPtrToData()
253 uint32_t BytesUsed = CurrentOffset - BeginOffset; in bytesRemaining() local254 if (BytesUsed >= *MaxLength) in bytesRemaining()256 return *MaxLength - BytesUsed; in bytesRemaining()
28 unsigned BytesUsed; variable
239 ArrayRef<uint8_t> VTUsed = IsAfter ? Target.TM->Bits->After.BytesUsed in findLowestOffset()240 : Target.TM->Bits->Before.BytesUsed; in findLowestOffset()