Lines Matching refs:sf
478 sf = source_data.get(fn, None)
480 if sf is None or fn in OPTIONS.require_verbatim:
487 elif tf.sha1 != sf.sha1:
489 diffs.append(common.Difference(tf, sf))
497 tf, sf, d = diff.GetPatch()
504 patch_list.append((tf.name, tf, sf, tf.size, sha.sha(d).hexdigest()))
505 largest_source_size = max(largest_source_size, sf.size)
548 for fn, tf, sf, size, patch_sha in patch_list:
549 script.PatchCheck("/"+fn, tf.sha1, sf.sha1)
550 so_far += sf.size
594 for fn, tf, sf, size, _ in patch_list:
595 script.ApplyPatch("/"+fn, "-", tf.size, tf.sha1, sf.sha1, "patch/"+fn+".p")