Home
last modified time | relevance | path

Searched refs:BytesWritten (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DMachOEmitter.cpp130 size_t BytesWritten = 0; in writeLoadCommandData() local
139 return BytesWritten; in writeLoadCommandData()
145 size_t BytesWritten = 0; in writeLoadCommandData() local
155 return BytesWritten; in writeLoadCommandData()
159 size_t BytesWritten = 0; in writePayloadString() local
162 BytesWritten = LC.Content.length(); in writePayloadString()
164 return BytesWritten; in writePayloadString()
215 size_t BytesWritten = 0; in writeLoadCommandData() local
224 return BytesWritten; in writeLoadCommandData()
245 size_t BytesWritten = 0; in writeLoadCommands() local
[all …]
/llvm-project-15.0.7/compiler-rt/tools/gwp_asan/
H A Dstack_trace_compressor_fuzzer.cpp22 size_t BytesWritten = gwp_asan::compression::pack( in LLVMFuzzerTestOneInput() local
28 Buffer.data(), BytesWritten, in LLVMFuzzerTestOneInput()
/llvm-project-15.0.7/llvm/lib/DebugInfo/MSF/
H A DMappedBlockStream.cpp248 uint64_t BytesWritten = 0; in readBytes() local
260 ::memcpy(WriteBuffer + BytesWritten, ChunkStart, BytesInChunk); in readBytes()
262 BytesWritten += BytesInChunk; in readBytes()
396 uint64_t BytesWritten = 0; in writeBytes() local
402 const uint8_t *Chunk = Buffer.data() + BytesWritten; in writeBytes()
410 BytesWritten += BytesToWriteInChunk; in writeBytes()
/llvm-project-15.0.7/lldb/unittests/TestingSupport/Host/
H A DNativeProcessTestUtils.h87 size_t &BytesWritten) /*override*/ { in WriteMemory() argument
91 BytesWritten = 0; in WriteMemory()
94 BytesWritten = *ExpectedBytes; in WriteMemory()
/llvm-project-15.0.7/llvm/lib/Support/
H A DPath.cpp994 int BytesRead = 0, BytesWritten = 0; in copy_file_internal() local
1000 BytesWritten = write(WriteFD, Buf, BytesRead); in copy_file_internal()
1001 if (BytesWritten < 0) in copy_file_internal()
1003 BytesRead -= BytesWritten; in copy_file_internal()
1005 if (BytesWritten < 0) in copy_file_internal()
1010 if (BytesRead < 0 || BytesWritten < 0) in copy_file_internal()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMachObjectWriter.cpp442 uint64_t BytesWritten = sizeof(MachO::linker_option_command); in writeLinkerOptionsLoadCommand() local
446 BytesWritten += Option.size() + 1; in writeLinkerOptionsLoadCommand()
451 offsetToAlignment(BytesWritten, is64Bit() ? Align(8) : Align(4))); in writeLinkerOptionsLoadCommand()
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DXCOFFDumper.cpp83 size_t BytesWritten = in printFileHeaders() local
85 if (BytesWritten) in printFileHeaders()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DConstantFolding.cpp522 uint64_t BytesWritten = EltSize - Offset; in ReadDataFromGlobal() local
523 assert(BytesWritten <= EltSize && "Not indexing into this element?"); in ReadDataFromGlobal()
524 if (BytesWritten >= BytesLeft) in ReadDataFromGlobal()
528 BytesLeft -= BytesWritten; in ReadDataFromGlobal()
529 CurPtr += BytesWritten; in ReadDataFromGlobal()