Searched refs:patchEntry (Results 1 – 1 of 1) sorted by relevance
103 static void WritePatchEntry(const PatchEntry& patchEntry, borrowed_fd input, borrowed_fd output, in WritePatchEntry() argument105 if (!(patchEntry.deltaFromDeviceDataStart | patchEntry.deviceDataOffset | in WritePatchEntry()106 patchEntry.deviceDataLength)) { in WritePatchEntry()110 PatchUtils::WriteLong(patchEntry.deltaFromDeviceDataStart, output); in WritePatchEntry()111 if (patchEntry.deltaFromDeviceDataStart > 0) { in WritePatchEntry()112 PatchUtils::Pipe(input, output, patchEntry.deltaFromDeviceDataStart); in WritePatchEntry()114 auto hostDataLength = patchEntry.deviceDataLength; in WritePatchEntry()117 PatchUtils::WriteLong(patchEntry.deviceDataOffset, output); in WritePatchEntry()118 PatchUtils::WriteLong(patchEntry.deviceDataLength, output); in WritePatchEntry()120 *realSizeOut += patchEntry.deltaFromDeviceDataStart + hostDataLength; in WritePatchEntry()[all …]