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.cpp314 size_t BytesUsed = Fmt.print(OutBufCur, BufferBytesLeft); in operator <<() local
317 if (BytesUsed <= BufferBytesLeft) { in operator <<()
318 OutBufCur += BytesUsed; in operator <<()
324 NextBufferSize = BytesUsed; in operator <<()
336 size_t BytesUsed = Fmt.print(V.data(), NextBufferSize); in operator <<() local
339 if (BytesUsed <= NextBufferSize) in operator <<()
340 return write(V.data(), BytesUsed); in operator <<()
343 assert(BytesUsed > NextBufferSize && "Didn't grow buffer!?"); in operator <<()
344 NextBufferSize = BytesUsed; in operator <<()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DWholeProgramDevirt.h45 std::vector<uint8_t> BytesUsed; member
50 BytesUsed.resize(Pos + Size); in getPtrToData()
52 return std::make_pair(Bytes.data() + Pos, BytesUsed.data() + Pos); in getPtrToData()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewRecordIO.h255 uint32_t BytesUsed = CurrentOffset - BeginOffset; in bytesRemaining() local
256 if (BytesUsed >= *MaxLength) in bytesRemaining()
258 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.cpp268 ArrayRef<uint8_t> VTUsed = IsAfter ? Target.TM->Bits->After.BytesUsed in findLowestOffset()
269 : Target.TM->Bits->Before.BytesUsed; in findLowestOffset()