Lines Matching refs:common
52 from update_payload import common
91 (name, common.FormatSha256(actual_hash),
92 common.FormatSha256(expected_hash)))
142 for ex, ex_name in common.ExtentIter(extents, base_name):
178 for ex, ex_name in common.ExtentIter(extents, base_name):
248 if op.type == common.OpType.REPLACE_BZ:
251 elif op.type == common.OpType.REPLACE_XZ:
258 for ex, ex_name in common.ExtentIter(op.dst_extents,
270 (ex_name, common.FormatExtent(ex, block_size),
310 for ex, ex_name in common.ExtentIter(op.dst_extents, base_name):
354 for ex, ex_name in common.ExtentIter(extents, base_name):
409 if op.type in (common.OpType.SOURCE_BSDIFF, common.OpType.BROTLI_BSDIFF):
414 elif op.type == common.OpType.PUFFDIFF:
446 if op.type in (common.OpType.SOURCE_BSDIFF, common.OpType.BROTLI_BSDIFF):
451 elif op.type == common.OpType.PUFFDIFF:
498 for op, op_name in common.OperationIter(operations, base_name):
502 if op.type in (common.OpType.REPLACE, common.OpType.REPLACE_BZ,
503 common.OpType.REPLACE_XZ):
505 elif op.type == common.OpType.ZERO:
507 elif op.type == common.OpType.SOURCE_COPY:
510 elif op.type in (common.OpType.SOURCE_BSDIFF, common.OpType.PUFFDIFF,
511 common.OpType.BROTLI_BSDIFF):