| /openbmc/qemu/tests/qemu-iotests/tests/ |
| H A D | vvfat | 236 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 D | 0001-Adopt-to-new-gnulib-read_file-fread_file-signature.patch | 4 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 D | test_fit.py | 138 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 D | layerappend.py | 89 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 D | bblock.py | 34 contents = ftools.read_file(self.lockfile) 60 contents = ftools.read_file(self.lockfile)
|
| H A D | buildoptions.py | 30 log_data_created = ftools.read_file(log_data_file) 35 log_data_removed = ftools.read_file(log_data_file)
|
| H A D | prservice.py | 38 package_data = ftools.read_file(package_data_file)
|
| H A D | bbtests.py | 107 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 D | bblayers.py | 56 contents = ftools.read_file(bb_file)
|
| /openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
| H A D | ftools.py | 27 def read_file(path): function 38 rdata = read_file(path)
|
| /openbmc/openbmc/poky/meta/classes-recipe/ |
| H A D | module-base.bbclass | 22 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 D | 0001-patch-versioneer-for-python-3.12-compatibility.patch | 9 …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 D | case.py | 56 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 D | video.c | 276 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 D | image_version.bbclass | 17 parser.read_file(fd)
|
| /openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/files/ |
| H A D | 0001-versioneer.py-do-not-use-SafeConfigParser.patch | 26 + parser.read_file(f)
|
| /openbmc/openbmc/meta-openembedded/meta-webserver/recipes-webadmin/webmin/files/ |
| H A D | disable-version-check.patch | 28 - &read_file($realos_cache_file, \%realos);
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/netcf/ |
| H A D | netcf_0.2.8.bb | 13 file://0001-Adopt-to-new-gnulib-read_file-fread_file-signature.patch"
|
| /openbmc/openbmc/poky/scripts/lib/devtool/ |
| H A D | __init__.py | 302 def read_file(path): function 319 rdata = read_file(path)
|
| /openbmc/qemu/tests/qemu-iotests/ |
| H A D | nbd-fault-injector.py | 230 config.read_file(f, filename)
|
| H A D | fat16.py | 500 def read_file(self, entry: Optional[FatDirectoryEntry]) -> Optional[bytes]: member in Fat16
|
| /openbmc/openbmc-test-automation/lib/ |
| H A D | gen_misc.py | 315 config_parser.read_file(string_file)
|
| /openbmc/openbmc/poky/scripts/ |
| H A D | test-remote-image | 276 …testimage_results = ftools.read_file(os.path.join(get_bb_var("T", image_type), "log.do_testimage"))
|
| H A D | oe-pkgdata-browser | 62 parser.read_file(lines)
|
| /openbmc/openbmc/poky/meta/lib/oe/ |
| H A D | utils.py | 12 def read_file(filename): function
|