Home
last modified time | relevance | path

Searched refs:src_fname (Results 1 – 5 of 5) sorted by relevance

/openbmc/u-boot/Documentation/sphinx/
H A Dkfigure.py202 def convert_image(img_node, translator, src_fname=None): argument
214 if src_fname is None:
215 src_fname = path.join(translator.builder.srcdir, img_node['uri'])
216 if not path.exists(src_fname):
229 img_node.replace_self(file2literal(src_fname))
249 img_node.replace_self(file2literal(src_fname))
256 img_node.replace_self(file2literal(src_fname))
267 if isNewer(dst_fname, src_fname):
276 ok = dot2format(app, src_fname, dst_fname)
280 ok = svg2pdf(app, src_fname, dst_fname)
[all …]
/openbmc/u-boot/tools/patman/
H A Dfunc_test.py61 src_fname = '%04d-%s.patch' % (i + 1, clean_subject[:52])
62 fname = os.path.join(self.tmpdir, src_fname)
63 shutil.copy(self.GetPath(src_fname), fname)
66 src_fname = '0000-cover-letter.patch'
67 cover_fname = os.path.join(self.tmpdir, src_fname)
68 fname = os.path.join(self.tmpdir, src_fname)
69 shutil.copy(self.GetPath(src_fname), fname)
/openbmc/linux/Documentation/sphinx/
H A Dkfigure.py245 def convert_image(img_node, translator, src_fname=None): argument
257 if src_fname is None:
259 if not path.exists(src_fname):
273 img_node.replace_self(file2literal(src_fname))
293 img_node.replace_self(file2literal(src_fname))
303 img_node.replace_self(file2literal(src_fname))
314 if isNewer(dst_fname, src_fname):
326 ok1 = dot2format(app, src_fname, svg_fname)
331 ok = dot2format(app, src_fname, dst_fname)
335 ok = svg2pdf(app, src_fname, dst_fname)
[all …]
/openbmc/openbmc/poky/scripts/lib/wic/
H A Dfilemap.py520 def sparse_copy(src_fname, dst_fname, skip=0, seek=0, argument
534 fmap = api(src_fname)
542 dst_size = os.path.getsize(src_fname) + seek - skip
/openbmc/u-boot/tools/binman/
H A Dftest.py373 def _SetupSplElf(self, src_fname='bss_data'): argument
379 with open(self.TestFile(src_fname)) as fd: