Home
last modified time | relevance | path

Searched refs:read_file (Results 1 – 25 of 31) sorted by relevance

12

/openbmc/qemu/tests/qemu-iotests/tests/
H A Dvvfat236 fat16.read_file(file), f"Hello, world! {i}\n".encode("ascii")
242 self.assertEqual(fat16.read_file(large1), f.read())
247 self.assertEqual(fat16.read_file(large2), f.read())
264 self.assertEqual(fat16.read_file(file), f.read())
275 self.assertEqual(fat16.read_file(file), b"Hello, world! 0\n")
278 self.assertEqual(fat16.read_file(file), b"Hello, world! 0\n")
294 self.assertEqual(fat16.read_file(file), b"Hello, world! 0\n")
297 self.assertEqual(fat16.read_file(file), new_content)
312 self.assertEqual(fat16.read_file(file), b"Hello, world! 0\n")
315 new_content = fat16.read_file(file)
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/netcf/netcf/
H A D0001-Adopt-to-new-gnulib-read_file-fread_file-signature.patch4 Subject: [PATCH] Adopt to new gnulib read_file/fread_file signature
28 - state = read_file(path, &length);
29 + state = read_file(path, 0, &length);
37 - speed = read_file(path, &length);
38 + speed = read_file(path, 0, &length);
63 - xml = read_file(fname, &length);
64 + xml = read_file(fname, 0, &length);
76 - in_xml = read_file(argv[2], &length);
77 + in_xml = read_file(argv[2], 0, &length);
/openbmc/u-boot/test/py/tests/
H A Dtest_fit.py138 def read_file(fname): function
273 expected_data = read_file(expected_fname)
274 actual_data = read_file(actual_fname)
285 expected_data = read_file(expected_fname)
286 actual_data = read_file(actual_fname)
377 data = read_file(fit)
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dlayerappend.py89 data = ftools.read_file(stagingdir + "/appendtest.txt")
93 data = ftools.read_file(stagingdir + "/appendtest.txt")
98 data = ftools.read_file(stagingdir + "/appendtest.txt")
H A Dbblock.py34 contents = ftools.read_file(self.lockfile)
60 contents = ftools.read_file(self.lockfile)
H A Dbuildoptions.py30 log_data_created = ftools.read_file(log_data_file)
35 log_data_removed = ftools.read_file(log_data_file)
H A Dprservice.py38 package_data = ftools.read_file(package_data_file)
H A Dbbtests.py107 man_split_content = ftools.read_file(man_split_file)
131 self.assertIn(recipe, ftools.read_file(os.path.join(self.builddir, 'task-depends.dot')))
H A Dbblayers.py56 contents = ftools.read_file(bb_file)
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dftools.py27 def read_file(path): function
38 rdata = read_file(path)
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dmodule-base.bbclass22 export KERNEL_VERSION = "${@oe.utils.read_file('${STAGING_KERNEL_BUILDDIR}/kernel-abiversion')}"
23 export LOCALVERSION = "${@oe.utils.read_file('${STAGING_KERNEL_BUILDDIR}/kernel-localversion')}"
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-strenum/
H A D0001-patch-versioneer-for-python-3.12-compatibility.patch9 …ted since Python 3.2 and removed in Python 3.12 (due October 2023). Use read_file and ConfigParser…
31 + parser.read_file(f)
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/
H A Dcase.py56 not in ftools.read_file(os.path.join(cls.builddir, "conf/local.conf")):
62 not in ftools.read_file(os.path.join(cls.builddir, "conf/bblayers.conf")):
70 in ftools.read_file(os.path.join(cls.builddir, "conf/local.conf")):
76 in ftools.read_file(os.path.join(cls.builddir, "conf/bblayers.conf")):
/openbmc/u-boot/test/dm/
H A Dvideo.c276 static int read_file(struct unit_test_state *uts, const char *fname, in read_file() function
304 ut_assertok(read_file(uts, "tools/logos/denx.bmp", &addr)); in dm_test_video_bmp()
320 ut_assertok(read_file(uts, "tools/logos/denx-comp.bmp", &addr)); in dm_test_video_bmp_comp()
/openbmc/openbmc/meta-phosphor/classes/
H A Dimage_version.bbclass17 parser.read_file(fd)
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/files/
H A D0001-versioneer.py-do-not-use-SafeConfigParser.patch26 + parser.read_file(f)
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-webadmin/webmin/files/
H A Ddisable-version-check.patch28 - &read_file($realos_cache_file, \%realos);
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/netcf/
H A Dnetcf_0.2.8.bb13 file://0001-Adopt-to-new-gnulib-read_file-fread_file-signature.patch"
/openbmc/openbmc/poky/scripts/lib/devtool/
H A D__init__.py302 def read_file(path): function
319 rdata = read_file(path)
/openbmc/qemu/tests/qemu-iotests/
H A Dnbd-fault-injector.py230 config.read_file(f, filename)
H A Dfat16.py500 def read_file(self, entry: Optional[FatDirectoryEntry]) -> Optional[bytes]: member in Fat16
/openbmc/openbmc-test-automation/lib/
H A Dgen_misc.py315 config_parser.read_file(string_file)
/openbmc/openbmc/poky/scripts/
H A Dtest-remote-image276 …testimage_results = ftools.read_file(os.path.join(get_bb_var("T", image_type), "log.do_testimage"))
H A Doe-pkgdata-browser62 parser.read_file(lines)
/openbmc/openbmc/poky/meta/lib/oe/
H A Dutils.py12 def read_file(filename): function

12