Lines Matching refs:fn
263 fn = info2.filename = "system/" + basefilename
264 if substitute and fn in substitute and substitute[fn] is None:
267 if substitute and fn in substitute:
268 data = substitute[fn]
272 if fn.endswith("/"):
273 Item.Get(fn[:-1], dir=True)
275 Item.Get(fn, dir=False)
425 fn = "system/" + info.filename[7:]
427 out[fn] = common.File(fn, data)
475 for fn in sorted(target_data.keys()):
476 tf = target_data[fn]
477 assert fn == tf.name
478 sf = source_data.get(fn, None)
480 if sf is None or fn in OPTIONS.require_verbatim:
482 if fn in OPTIONS.prohibit_verbatim:
483 raise common.ExternalError("\"%s\" must be sent verbatim" % (fn,))
484 print "send", fn, "verbatim"
486 verbatim_targets.append((fn, tf.size))
548 for fn, tf, sf, size, patch_sha in patch_list:
549 script.PatchCheck("/"+fn, tf.sha1, sf.sha1)
594 for fn, tf, sf, size, _ in patch_list:
595 script.ApplyPatch("/"+fn, "-", tf.size, tf.sha1, sf.sha1, "patch/"+fn+".p")