Home
last modified time | relevance | path

Searched refs:fileobj (Results 1 – 6 of 6) sorted by relevance

/openbmc/openbmc/poky/bitbake/lib/bb/compress/
H A D_pipecompress.py57 binary_file = cls(None, file_mode, fileobj=filename, **kwargs)
93 def __init__(self, filename=None, mode="rb", *, stderr=None, fileobj=None): argument
107 if fileobj is not None:
108 self.fileobj = fileobj
110 self.fileobj = builtins.open(filename, mode or "rb")
115 stdin=self.fileobj,
125 stdout=self.fileobj,
149 self.fileobj.close()
/openbmc/qemu/tests/qemu-iotests/
H A D30271 offset = tar.fileobj.tell() + 512
76 tar.fileobj.truncate(offset + measure["required"])
123 tar.fileobj.seek(tar_size)
124 tar.fileobj.truncate(tar_size)
/openbmc/qemu/tests/docker/
H A Ddocker.py537 tmp_tar = TarFile(fileobj=tmp, mode='w')
582 tmp_tar.addfile(df_tar, fileobj=df_bytes)
/openbmc/openbmc/poky/scripts/lib/recipetool/
H A Dcreate_buildsys_python.py1008 def gather_setup_info(fileobj): argument
1009 parsed = ast.parse(fileobj.read(), fileobj.name)
/openbmc/openbmc/poky/meta/classes/
H A Dcreate-spdx-2.2.bbclass234 info = archive.gettarinfo(fileobj=f)
530 with tarfile.open(fileobj=f, mode=mode + "|") as tf:
1092 with tarfile.open(fileobj=f, mode="w|") as tar:
1113 info = tar.gettarinfo(fileobj=f)
1156 tar.addfile(info, fileobj=index_str)
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py/
H A D0001-Fix-Cython-3-compatibility.patch548 info.name = 'fileobj'