Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/
Dyaml2macho.cpp125 size_t BytesWritten = 0; in writeLoadCommandData() local
132 BytesWritten += sizeof(MachO::section); in writeLoadCommandData()
134 return BytesWritten; in writeLoadCommandData()
140 size_t BytesWritten = 0; in writeLoadCommandData() local
148 BytesWritten += sizeof(MachO::section_64); in writeLoadCommandData()
150 return BytesWritten; in writeLoadCommandData()
154 size_t BytesWritten = 0; in writePayloadString() local
157 BytesWritten = LC.PayloadString.length(); in writePayloadString()
159 return BytesWritten; in writePayloadString()
186 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/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/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/MSF/
DMappedBlockStream.cpp250 uint32_t BytesWritten = 0; in readBytes() local
262 ::memcpy(WriteBuffer + BytesWritten, ChunkStart, BytesInChunk); in readBytes()
264 BytesWritten += BytesInChunk; in readBytes()
398 uint32_t BytesWritten = 0; in writeBytes() local
404 const uint8_t *Chunk = Buffer.data() + BytesWritten; in writeBytes()
412 BytesWritten += BytesToWriteInChunk; in writeBytes()
/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/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-7.0/llvm/lib/Support/
DPath.cpp933 int BytesRead = 0, BytesWritten = 0; in copy_file_internal() local
939 BytesWritten = write(WriteFD, Buf, BytesRead); in copy_file_internal()
940 if (BytesWritten < 0) in copy_file_internal()
942 BytesRead -= BytesWritten; in copy_file_internal()
944 if (BytesWritten < 0) in copy_file_internal()
949 if (BytesRead < 0 || BytesWritten < 0) in copy_file_internal()
/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-7.0/llvm/lib/MC/
DMachObjectWriter.cpp439 uint64_t BytesWritten = sizeof(MachO::linker_option_command); in writeLinkerOptionsLoadCommand() local
443 BytesWritten += Option.size() + 1; in writeLinkerOptionsLoadCommand()
447 W.OS.write_zeros(OffsetToAlignment(BytesWritten, is64Bit() ? 8 : 4)); in writeLinkerOptionsLoadCommand()
/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-7.0/llvm/lib/Analysis/
DConstantFolding.cpp462 uint64_t BytesWritten = EltSize - Offset; in ReadDataFromGlobal() local
463 assert(BytesWritten <= EltSize && "Not indexing into this element?"); in ReadDataFromGlobal()
464 if (BytesWritten >= BytesLeft) in ReadDataFromGlobal()
468 BytesLeft -= BytesWritten; in ReadDataFromGlobal()
469 CurPtr += BytesWritten; in ReadDataFromGlobal()