Searched refs:fileobj (Results 1 – 6 of 6) sorted by relevance
/openbmc/openbmc/poky/bitbake/lib/bb/compress/ |
H A D | _pipecompress.py | 57 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 D | 302 | 71 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 D | docker.py | 537 tmp_tar = TarFile(fileobj=tmp, mode='w') 582 tmp_tar.addfile(df_tar, fileobj=df_bytes)
|
/openbmc/openbmc/poky/scripts/lib/recipetool/ |
H A D | create_buildsys_python.py | 1008 def gather_setup_info(fileobj): argument 1009 parsed = ast.parse(fileobj.read(), fileobj.name)
|
/openbmc/openbmc/poky/meta/classes/ |
H A D | create-spdx-2.2.bbclass | 234 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 D | 0001-Fix-Cython-3-compatibility.patch | 548 info.name = 'fileobj'
|