Lines Matching refs:BytesWritten
118 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
195 BytesWritten = sizeof(MachO::LCStruct); \ in writeLoadCommands()
196 BytesWritten += writeLoadCommandData<MachO::LCStruct>(LC, OS); \ in writeLoadCommands()
203 BytesWritten = sizeof(MachO::load_command); in writeLoadCommands()
204 BytesWritten += writeLoadCommandData<MachO::load_command>(LC, OS); in writeLoadCommands()
212 BytesWritten += LC.PayloadBytes.size(); in writeLoadCommands()
217 BytesWritten += LC.ZeroPadBytes; in writeLoadCommands()
222 auto BytesRemaining = LC.Data.load_command_data.cmdsize - BytesWritten; in writeLoadCommands()