Home
last modified time | relevance | path

Searched refs:BytesUsed (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DScratchBuffer.cpp26 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()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A Draw_ostream.cpp316 size_t BytesUsed = Fmt.print(OutBufCur, BufferBytesLeft); in operator <<() local
319 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 <<() local
341 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 <<()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DWholeProgramDevirt.h44 std::vector<uint8_t> BytesUsed; member
49 BytesUsed.resize(Pos + Size); in getPtrToData()
51 return std::make_pair(Bytes.data() + Pos, BytesUsed.data() + Pos); in getPtrToData()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewRecordIO.h253 uint32_t BytesUsed = CurrentOffset - BeginOffset; in bytesRemaining() local
254 if (BytesUsed >= *MaxLength) in bytesRemaining()
256 return *MaxLength - BytesUsed; in bytesRemaining()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DScratchBuffer.h28 unsigned BytesUsed; variable
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp239 ArrayRef<uint8_t> VTUsed = IsAfter ? Target.TM->Bits->After.BytesUsed in findLowestOffset()
240 : Target.TM->Bits->Before.BytesUsed; in findLowestOffset()