Home
last modified time | relevance | path

Searched refs:fobj (Results 1 – 15 of 15) sorted by relevance

/openbmc/qemu/scripts/
H A Dsimpletrace.py40 def read_header(fobj, hfmt): argument
43 hdr = fobj.read(hlen)
48 def get_mapping(fobj): argument
49 (event_id, ) = struct.unpack('=Q', fobj.read(8))
50 (len, ) = struct.unpack('=L', fobj.read(4))
51 name = fobj.read(len).decode()
55 def read_record(fobj): argument
57 event_id, timestamp_ns, record_length, record_pid = read_header(fobj, rec_header_fmt)
58 args_payload = fobj.read(record_length - rec_header_fmt_len)
61 def read_trace_header(fobj): argument
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dprocess.py90 for fobj, _ in extrafiles:
91 bb.utils.nonblockingfd(fobj.fileno())
92 rin.append(fobj)
95 for fobj, func in extrafiles:
96 if fobj in selected:
98 data = fobj.read()
/openbmc/linux/drivers/dma-buf/
H A Ddma-resv.c283 struct dma_resv_list *fobj; in dma_resv_add_fence() local
296 fobj = dma_resv_fences_list(obj); in dma_resv_add_fence()
297 count = fobj->num_fences; in dma_resv_add_fence()
302 dma_resv_list_entry(fobj, i, obj, &old, &old_usage); in dma_resv_add_fence()
306 dma_resv_list_set(fobj, i, fence, usage); in dma_resv_add_fence()
312 BUG_ON(fobj->num_fences >= fobj->max_fences); in dma_resv_add_fence()
315 dma_resv_list_set(fobj, i, fence, usage); in dma_resv_add_fence()
317 smp_store_mb(fobj->num_fences, count); in dma_resv_add_fence()
/openbmc/openbmc/poky/scripts/
H A Doe-build-perf-test112 with open(filename, 'a') as fobj:
113 fobj.write('{},{}:{},{},'.format(metadata['hostname'],
117 fobj.write(','.join(values) + '\n')
185 with open(os.path.join(out_dir, 'metadata.json'), 'w') as fobj:
186 json.dump(metadata, fobj, indent=2)
/openbmc/openbmc/poky/meta/lib/oeqa/buildperf/
H A Dbase.py152 with open(os.path.join(self.out_dir, 'buildstats.json'), 'w') as fobj:
153 json.dump(buildstats, fobj, cls=ResultsJsonEncoder)
179 with open(os.path.join(self.out_dir, 'results.json'), 'w') as fobj:
180 json.dump(results, fobj, indent=4,
240 with open(os.path.join(self.out_dir, 'results.xml'), 'w') as fobj:
241 dom_doc.writexml(fobj, addindent=' ', newl='\n', encoding='utf-8')
318 with open('/proc/{}/io'.format(os.getpid())) as fobj:
319 for line in fobj.readlines():
410 with open(filename) as fobj:
411 for line in fobj.readlines():
H A Dtest_basic.py48 with open(postfile, 'w') as fobj:
49 fobj.write('INHERIT += "rm_work"\n')
/openbmc/openbmc/poky/scripts/lib/
H A Dbuildstats.py87 with open(buildstat_file) as fobj:
88 for line in fobj.readlines():
211 with open(path) as fobj:
212 bs_json = json.load(fobj)
238 with open(path) as fobj:
239 for line in fobj.readlines():
/openbmc/linux/tools/perf/scripts/python/
H A Dcompaction-times.py111 fobj = None variable in chead
115 cls.fobj = filter
124 if cls.fobj != None:
125 filtered = cls.fobj.filter(pid, comm)
/openbmc/openbmc/poky/meta/lib/oe/
H A Dgpg_sign.py87 with open(passphrase_file) as fobj:
88 passphrase = fobj.readline();
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/templatetags/
H A Dprojecttags.py180 for fobj in file_list:
181 fname = fobj.file_name
/openbmc/qemu/scripts/tracetool/
H A D__init__.py345 def read_events(fobj, fname): argument
359 for lineno, line in enumerate(fobj, 1):
/openbmc/openbmc/poky/bitbake/lib/bb/ui/
H A Dknotty.py83 fobj = sys.stdout variable in NonInteractiveProgress
91 self.fobj.write("%s..." % self.msg)
92 self.fobj.flush()
101 self.fobj.write("done.\n")
102 self.fobj.flush()
/openbmc/openbmc/poky/meta/classes/
H A Dexternalsrc.bbclass244 with open(oe_hash_file, 'w') as fobj:
245 fobj.write(sha1)
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-click-spinner/
H A D0001-Update-Versioneer-to-0.22.patch185 + with open(versionfile_abs, "r") as fobj:
186 + for line in fobj:
1386 + with open(versionfile_abs, "r") as fobj:
1387 + for line in fobj:
1788 + with open(versionfile_abs, "r") as fobj:
1789 + for line in fobj:
2032 + with open(".gitattributes", "r") as fobj:
2033 + for line in fobj:
2044 + with open(".gitattributes", "a+") as fobj:
2045 + fobj.write(f"{versionfile_source} export-subst\n")
/openbmc/openbmc/poky/scripts/lib/devtool/
H A Dstandard.py1390 with open(outfile, 'wb') as fobj:
1391 fobj.write(stdout)