Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DMachOEmitter.cpp117 size_t BytesWritten = 0; in writeLoadCommandData() local
124 BytesWritten += sizeof(MachO::section); in writeLoadCommandData()
126 return BytesWritten; in writeLoadCommandData()
132 size_t BytesWritten = 0; in writeLoadCommandData() local
140 BytesWritten += sizeof(MachO::section_64); in writeLoadCommandData()
142 return BytesWritten; in writeLoadCommandData()
146 size_t BytesWritten = 0; in writePayloadString() local
149 BytesWritten = LC.PayloadString.length(); in writePayloadString()
151 return BytesWritten; in writePayloadString()
178 size_t BytesWritten = 0; in writeLoadCommandData() local
[all …]
/external/llvm/tools/yaml2obj/
Dyaml2macho.cpp118 size_t BytesWritten = 0; in writeLoadCommandData() local
123 BytesWritten += sizeof(MachO::section); in writeLoadCommandData()
125 return BytesWritten; in writeLoadCommandData()
132 size_t BytesWritten = 0; in writeLoadCommandData() local
138 BytesWritten += sizeof(MachO::section_64); in writeLoadCommandData()
140 return BytesWritten; in writeLoadCommandData()
144 size_t BytesWritten = 0; in writePayloadString() local
147 BytesWritten = LC.PayloadString.length(); in writePayloadString()
149 return BytesWritten; in writePayloadString()
190 size_t BytesWritten = 0; in writeLoadCommands() local
[all …]
/external/llvm-project/llvm/lib/ObjectYAML/
DMachOEmitter.cpp128 size_t BytesWritten = 0; in writeLoadCommandData() local
135 BytesWritten += sizeof(MachO::section); in writeLoadCommandData()
137 return BytesWritten; in writeLoadCommandData()
143 size_t BytesWritten = 0; in writeLoadCommandData() local
151 BytesWritten += sizeof(MachO::section_64); in writeLoadCommandData()
153 return BytesWritten; in writeLoadCommandData()
157 size_t BytesWritten = 0; in writePayloadString() local
160 BytesWritten = LC.PayloadString.length(); in writePayloadString()
162 return BytesWritten; in writePayloadString()
189 size_t BytesWritten = 0; in writeLoadCommandData() local
[all …]
/external/llvm/lib/DebugInfo/PDB/Raw/
DMappedBlockStream.cpp200 uint32_t BytesWritten = 0; in readBytes() local
214 ::memcpy(WriteBuffer + BytesWritten, ChunkStart, BytesInChunk); in readBytes()
216 BytesWritten += BytesInChunk; in readBytes()
239 uint32_t BytesWritten = 0; in writeBytes() local
245 const uint8_t *Chunk = Buffer.data() + BytesWritten; in writeBytes()
251 BytesWritten += BytesToWriteInChunk; in writeBytes()
263 if (Offset + BytesWritten < MapEntry.first) in writeBytes()
272 Interval WriteInterval = std::make_pair(Offset, Offset + BytesWritten); in writeBytes()
/external/pigweed/pw_string/size_report/
Dstring_builder_size_report.cc38 unsigned BytesWritten(char* buffer, unsigned size, int result) { in BytesWritten() function
87 return BytesWritten(buffer, sizeof(buffer), result); in main()
/external/llvm-project/compiler-rt/tools/gwp_asan/
Dstack_trace_compressor_fuzzer.cpp22 size_t BytesWritten = gwp_asan::compression::pack( in LLVMFuzzerTestOneInput() local
28 Buffer.data(), BytesWritten, in LLVMFuzzerTestOneInput()
/external/gwp_asan/tools/
Dstack_trace_compressor_fuzzer.cpp22 size_t BytesWritten = gwp_asan::compression::pack( in LLVMFuzzerTestOneInput() local
28 Buffer.data(), BytesWritten, in LLVMFuzzerTestOneInput()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/MSF/
DMappedBlockStream.cpp249 uint32_t BytesWritten = 0; in readBytes() local
261 ::memcpy(WriteBuffer + BytesWritten, ChunkStart, BytesInChunk); in readBytes()
263 BytesWritten += BytesInChunk; in readBytes()
397 uint32_t BytesWritten = 0; in writeBytes() local
403 const uint8_t *Chunk = Buffer.data() + BytesWritten; in writeBytes()
411 BytesWritten += BytesToWriteInChunk; in writeBytes()
/external/llvm-project/llvm/lib/DebugInfo/MSF/
DMappedBlockStream.cpp249 uint32_t BytesWritten = 0; in readBytes() local
261 ::memcpy(WriteBuffer + BytesWritten, ChunkStart, BytesInChunk); in readBytes()
263 BytesWritten += BytesInChunk; in readBytes()
397 uint32_t BytesWritten = 0; in writeBytes() local
403 const uint8_t *Chunk = Buffer.data() + BytesWritten; in writeBytes()
411 BytesWritten += BytesToWriteInChunk; in writeBytes()
/external/llvm-project/lldb/unittests/TestingSupport/Host/
DNativeProcessTestUtils.h78 size_t &BytesWritten) /*override*/ { in WriteMemory() argument
82 BytesWritten = 0; in WriteMemory()
85 BytesWritten = *ExpectedBytes; in WriteMemory()
/external/llvm/lib/Support/
DPath.cpp905 int BytesRead = 0, BytesWritten = 0; in copy_file() local
911 BytesWritten = write(WriteFD, Buf, BytesRead); in copy_file()
912 if (BytesWritten < 0) in copy_file()
914 BytesRead -= BytesWritten; in copy_file()
916 if (BytesWritten < 0) in copy_file()
923 if (BytesRead < 0 || BytesWritten < 0) in copy_file()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DPath.cpp907 int BytesRead = 0, BytesWritten = 0; in copy_file() local
913 BytesWritten = write(WriteFD, Buf, BytesRead); in copy_file()
914 if (BytesWritten < 0) in copy_file()
916 BytesRead -= BytesWritten; in copy_file()
918 if (BytesWritten < 0) in copy_file()
925 if (BytesRead < 0 || BytesWritten < 0) in copy_file()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DPath.cpp965 int BytesRead = 0, BytesWritten = 0; in copy_file_internal() local
971 BytesWritten = write(WriteFD, Buf, BytesRead); in copy_file_internal()
972 if (BytesWritten < 0) in copy_file_internal()
974 BytesRead -= BytesWritten; in copy_file_internal()
976 if (BytesWritten < 0) in copy_file_internal()
981 if (BytesRead < 0 || BytesWritten < 0) in copy_file_internal()
/external/llvm-project/llvm/lib/Support/
DPath.cpp992 int BytesRead = 0, BytesWritten = 0; in copy_file_internal() local
998 BytesWritten = write(WriteFD, Buf, BytesRead); in copy_file_internal()
999 if (BytesWritten < 0) in copy_file_internal()
1001 BytesRead -= BytesWritten; in copy_file_internal()
1003 if (BytesWritten < 0) in copy_file_internal()
1008 if (BytesRead < 0 || BytesWritten < 0) in copy_file_internal()
/external/llvm-project/llvm/tools/llvm-readobj/
DXCOFFDumper.cpp65 size_t BytesWritten = in printFileHeaders() local
67 if (BytesWritten) in printFileHeaders()
/external/llvm/lib/MC/
DMachObjectWriter.cpp422 uint64_t BytesWritten = sizeof(MachO::linker_option_command); in writeLinkerOptionsLoadCommand() local
426 BytesWritten += Option.size() + 1; in writeLinkerOptionsLoadCommand()
430 writeBytes("", OffsetToAlignment(BytesWritten, is64Bit() ? 8 : 4)); in writeLinkerOptionsLoadCommand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMachObjectWriter.cpp440 uint64_t BytesWritten = sizeof(MachO::linker_option_command); in writeLinkerOptionsLoadCommand() local
444 BytesWritten += Option.size() + 1; in writeLinkerOptionsLoadCommand()
449 offsetToAlignment(BytesWritten, is64Bit() ? Align(8) : Align(4))); in writeLinkerOptionsLoadCommand()
/external/llvm-project/llvm/lib/MC/
DMachObjectWriter.cpp440 uint64_t BytesWritten = sizeof(MachO::linker_option_command); in writeLinkerOptionsLoadCommand() local
444 BytesWritten += Option.size() + 1; in writeLinkerOptionsLoadCommand()
449 offsetToAlignment(BytesWritten, is64Bit() ? Align(8) : Align(4))); in writeLinkerOptionsLoadCommand()
/external/pigweed/pw_stream/
Dmemory_stream_test.cc36 TEST(MemoryWriter, BytesWritten) { in TEST() argument
/external/llvm/lib/Analysis/
DConstantFolding.cpp384 uint64_t BytesWritten = EltSize - Offset; in ReadDataFromGlobal() local
385 assert(BytesWritten <= EltSize && "Not indexing into this element?"); in ReadDataFromGlobal()
386 if (BytesWritten >= BytesLeft) in ReadDataFromGlobal()
390 BytesLeft -= BytesWritten; in ReadDataFromGlobal()
391 CurPtr += BytesWritten; in ReadDataFromGlobal()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp478 uint64_t BytesWritten = EltSize - Offset; in ReadDataFromGlobal() local
479 assert(BytesWritten <= EltSize && "Not indexing into this element?"); in ReadDataFromGlobal()
480 if (BytesWritten >= BytesLeft) in ReadDataFromGlobal()
484 BytesLeft -= BytesWritten; in ReadDataFromGlobal()
485 CurPtr += BytesWritten; in ReadDataFromGlobal()
/external/llvm-project/llvm/lib/Analysis/
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()