Home
last modified time | relevance | path

Searched refs:BytesToWrite (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DGOFFEmitter.cpp157 size_t BytesToWrite = bytesToNextPhysicalRecord(); in write_impl() local
158 if (BytesToWrite > Size) in write_impl()
159 BytesToWrite = Size; in write_impl()
160 OS.write(Ptr + Idx, BytesToWrite); in write_impl()
161 Idx += BytesToWrite; in write_impl()
162 Size -= BytesToWrite; in write_impl()
163 RemainingSize -= BytesToWrite; in write_impl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DGOFFObjectWriter.cpp208 size_t BytesToWrite = bytesToNextPhysicalRecord(); in write_impl() local
209 if (BytesToWrite > Size) in write_impl()
210 BytesToWrite = Size; in write_impl()
211 OS.write(Ptr + Idx, BytesToWrite); in write_impl()
212 Idx += BytesToWrite; in write_impl()
213 Size -= BytesToWrite; in write_impl()
214 RemainingSize -= BytesToWrite; in write_impl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A Draw_ostream.cpp267 size_t BytesToWrite = Size - (Size % NumBytes); in write() local
268 flush_tied_then_write(Ptr, BytesToWrite); in write()
269 size_t BytesRemaining = Size - BytesToWrite; in write()
272 return write(Ptr + BytesToWrite, BytesRemaining); in write()
274 copy_to_buffer(Ptr + BytesToWrite, BytesRemaining); in write()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingFile.c303 size_t BytesToWrite = IOVecs[I].ElmSize * IOVecs[I].NumElm; in fileWriter() local
304 while (BytesToWrite > 0) { in fileWriter()
306 (sizeof(uint64_t) > BytesToWrite) ? BytesToWrite : sizeof(uint64_t); in fileWriter()
311 BytesToWrite -= PartialWriteLen; in fileWriter()