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.write(buf) 129 tar.fileobj.seek(tar.offset) 133 tar.fileobj.truncate(tar.offset)
|
| /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 | 158 info = archive.gettarinfo(fileobj=f) 413 with tarfile.open(fileobj=f, mode=mode + "|") as tf: 893 with tarfile.open(fileobj=f, mode="w|") as tar: 914 info = tar.gettarinfo(fileobj=f) 957 tar.addfile(info, fileobj=index_str)
|
| /openbmc/openbmc/poky/meta/lib/oe/ |
| H A D | spdx30_tasks.py | 190 info = archive.gettarinfo(fileobj=f)
|