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

/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DScratchBuffer.cpp25 // Set BytesUsed so that the first call to getToken will require an alloc.
26 BytesUsed = ScratchBufSize;
35 if (BytesUsed+Len+2 > ScratchBufSize)
48 CurBuffer[BytesUsed++] = '\n';
51 DestPtr = CurBuffer+BytesUsed;
54 memcpy(CurBuffer+BytesUsed, Buf, Len);
57 BytesUsed += Len+1;
62 CurBuffer[BytesUsed-1] = '\0';
64 return BufferStartLoc.getLocWithOffset(BytesUsed-Len-1);
82 BytesUsed
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DScratchBuffer.h28 unsigned BytesUsed; member in class:clang::ScratchBuffer
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewRecordIO.h252 uint32_t BytesUsed = CurrentOffset - BeginOffset; local
253 if (BytesUsed >= *MaxLength)
255 return *MaxLength - BytesUsed;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DWholeProgramDevirt.h42 // Bits in BytesUsed[I] are 1 if matching bit in Bytes[I] is used, 0 if not.
43 std::vector<uint8_t> BytesUsed; member in struct:llvm::wholeprogramdevirt::AccumBitVector
48 BytesUsed.resize(Pos + Size);
50 return std::make_pair(Bytes.data() + Pos, BytesUsed.data() + Pos);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A Draw_ostream.cpp311 size_t BytesUsed = Fmt.print(OutBufCur, BufferBytesLeft); local
314 if (BytesUsed <= BufferBytesLeft) {
315 OutBufCur += BytesUsed;
321 NextBufferSize = BytesUsed;
333 size_t BytesUsed = Fmt.print(V.data(), NextBufferSize); local
335 // If BytesUsed fit into the vector, we win.
336 if (BytesUsed <= NextBufferSize)
337 return write(V.data(), BytesUsed);
340 assert(BytesUsed > NextBufferSize && "Didn't grow buffer!?");
341 NextBufferSize = BytesUsed;
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp153 // used region (see AccumBitVector::BytesUsed in
174 ArrayRef<uint8_t> VTUsed = IsAfter ? Target.TM->Bits->After.BytesUsed
175 : Target.TM->Bits->Before.BytesUsed;

Completed in 181 milliseconds