Home
last modified time | relevance | path

Searched refs:filepath (Results 1 – 25 of 53) sorted by relevance

123

/openbmc/openbmc-tools/rootfs_size/
H A Drootfs_size.py58 def get_unsquash_results(filepath): argument
67 file_to_remove = os.path.join(input_path, filepath)
85 filepath.replace(squashfsdir, ""),
101 filepath = os.path.join(root, name) variable
102 if not os.path.islink(filepath):
103 if getsize(filepath) > FILE_SIZE_LIMIT:
105 os.path.relpath(filepath, squashfsdir)
123 for filepath, size in results:
124 result = "{:>10}: {}".format(size, filepath)
/openbmc/openbmc/poky/meta/lib/patchtest/
H A Dmbox.py18 def __init__(self, filepath): argument
19 self.handle = open(filepath, 'rb')
54 def __init__(self, filepath): argument
55 with MboxReader(filepath) as mbox:
60 self.path = filepath
/openbmc/openbmc/poky/meta/recipes-graphics/mesa/files/
H A D0001-freedreno-don-t-encode-build-path-into-binaries.patch93 for filepath in p.xml_files:
94 - maxlen = max(maxlen, len(filepath))
95 + maxlen = max(maxlen, len(os.path.basename(filepath)))
96 for filepath in p.xml_files:
97 - pad = " " * (maxlen - len(filepath))
98 + filename = os.path.basename(filepath)
100 filesize = str(os.path.getsize(filepath))
102 filetime = time.ctime(os.path.getmtime(filepath))
103 - print("- " + filepath + pad + " (" + filesize + " bytes, from " + filetime + ")")
/openbmc/bmcweb/include/
H A Dssl_key_handler.hpp30 std::string verifyOpensslKeyCert(const std::string& filepath);
38 void writeCertificateToFile(const std::string& filepath,
41 std::string ensureOpensslKeyPresentAndValid(const std::string& filepath);
/openbmc/qemu/tests/qemu-iotests/
H A D25640 def create_target(filepath, name, size): argument
41 basename = os.path.basename(filepath)
46 'filename': filepath,
51 node_name=nodename, filename=filepath))
H A D257199 def blockdev_backup_mktarget(drive, target_id, filepath, sync, **kwargs): argument
200 target_drive = Drive(filepath, vm=drive.vm)
204 def reference_backup(drive, n, filepath): argument
208 blockdev_backup_mktarget(drive, target_id, filepath, "full",
213 def backup(drive, n, filepath, sync, **kwargs): argument
218 blockdev_backup_mktarget(drive, target_id, filepath, sync,
/openbmc/openbmc-test-automation/bin/
H A Drun_robot_pgm_jenk.sh21 for filepath in $pathlist ; do source $filepath || exit 1 ; done
/openbmc/bmcweb/scripts/
H A Dgenerate_schema_enums.py165 filepath = os.path.join(root, csdl_file)
166 if os.path.islink(filepath):
169 filepaths.append(filepath)
173 for filepath in filepaths:
174 out = parse_file(filepath)
H A Dgenerate_schema_collections.py52 filepath = resolve_filename(xml_file)
53 tree = ET.parse(filepath)
/openbmc/openbmc/poky/bitbake/lib/toaster/toastermain/
H A Dsettings.py85 filepath = os.path.join(dirpath, fn) variable
86 zonename = filepath.lstrip(ZONEINFOPATH).strip()
92 with open(filepath, 'rb') as f:
98 with open(filepath, 'rb') as f:
/openbmc/openbmc/poky/meta/lib/oe/
H A Dreproducible.py66 filepath = os.path.join(sourcedir, file)
67 if os.path.isfile(filepath):
68 mtime = int(os.lstat(filepath).st_mtime)
72 newest_file = filepath
H A Drootfspostcommands.py79 filepath = os.path.join(sysconfdir, filename)
80 remove_shadowutils_backup_file(filepath)
H A Dspdx30_tasks.py167 filepath = Path(subdir) / file
168 if filepath.is_symlink() or not filepath.is_file():
171 filename = str(filepath.relative_to(topdir))
172 file_purposes = get_purposes(filepath)
177 filepath,
186 objset.scan_declared_licenses(spdx_file, filepath, license_data)
189 with filepath.open("rb") as f:
561 lambda filepath: [oe.spdx30.software_SoftwarePurpose.source],
756 lambda filepath: [],
788 lambda filepath: [],
[all …]
/openbmc/openbmc/poky/scripts/lib/recipetool/
H A Dappend.py415 def existing_path(filepath): argument
416 if not os.path.exists(filepath):
417 raise argparse.ArgumentTypeError('{0!r} must be an existing path'.format(filepath))
418 return filepath
421 def existing_file(filepath): argument
422 filepath = existing_path(filepath)
423 if os.path.isdir(filepath):
424 raise argparse.ArgumentTypeError('{0!r} must be a file, not a directory'.format(filepath))
425 return filepath
/openbmc/openbmc/poky/meta/recipes-devtools/go/go/
H A D0003-ld-add-soname-to-shareable-objects.patch29 + argv = append(argv, fmt.Sprintf("-Wl,-soname,%s", filepath.Base(*flagOutfile)))
37 + argv = append(argv, fmt.Sprintf("-Wl,-soname,%s", filepath.Base(*flagOutfile)))
45 + argv = append(argv, fmt.Sprintf("-Wl,-soname,%s", filepath.Base(*flagOutfile)))
H A D0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch45 - build.ToolDir = filepath.Join(GOROOTpkg, "tool", installedGOOS+"_"+installedGOARCH)
47 + build.ToolDir = filepath.Clean(s)
49 + build.ToolDir = filepath.Join(GOROOTpkg, "tool", installedGOOS+"_"+installedGOARCH)
/openbmc/bmcweb/features/openbmc_rest/
H A Dimage_upload.hpp109 std::string filepath("/tmp/images/" + bmcweb::getRandomUUID()); in uploadImageHandler() local
110 BMCWEB_LOG_DEBUG("Writing file to {}", filepath); in uploadImageHandler()
111 std::ofstream out(filepath, std::ofstream::out | std::ofstream::binary | in uploadImageHandler()
/openbmc/openbmc-test-automation/extended/code_update/
H A Dcode_update_utils.robot112 [Arguments] ${filepath}
115 # filepath The path of the file whose existence is to be checked.
117 Log \n PATH: ${filepath}
118 OperatingSystem.File Should Exist ${filepath}
119 ... msg=${filepath} doesn't exist [ ERROR ]
121 Set Global Variable ${FILE_PATH} ${filepath}
/openbmc/bmcweb/src/
H A Dssl_key_handler.cpp135 std::string verifyOpensslKeyCert(const std::string& filepath) in verifyOpensslKeyCert() argument
139 BMCWEB_LOG_INFO("Checking certs in file {}", filepath); in verifyOpensslKeyCert()
142 file.open(filepath.c_str(), boost::beast::file_mode::read, ec); in verifyOpensslKeyCert()
258 void writeCertificateToFile(const std::string& filepath, in writeCertificateToFile() argument
263 file.open(filepath.c_str(), boost::beast::file_mode::write, ec); in writeCertificateToFile()
420 std::string ensureOpensslKeyPresentAndValid(const std::string& filepath) in ensureOpensslKeyPresentAndValid() argument
422 std::string cert = verifyOpensslKeyCert(filepath); in ensureOpensslKeyPresentAndValid()
434 writeCertificateToFile(filepath, cert); in ensureOpensslKeyPresentAndValid()
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Drootfspostcommandstests.py87 filepath = oe.path.join(rootfs_sysconfdir, file)
88 with open(filepath, 'rb') as f:
/openbmc/bmcweb/redfish-core/lib/
H A Dredfish_v1.hpp223 std::filesystem::path filepath("/usr/share/www/redfish/v1/JsonSchemas"); in jsonSchemaGetFile() local
224 filepath /= schemaFile; in jsonSchemaGetFile()
225 if (filepath.is_relative()) in jsonSchemaGetFile()
231 crow::OpenCode ec = asyncResp->res.openFile(filepath); in jsonSchemaGetFile()
/openbmc/u-boot/tools/
H A Dgenboardscfg.py78 filepath = os.path.join(dirpath, filename)
79 if ctime < os.path.getctime(filepath):
88 filepath = os.path.join(dirpath, filename)
89 if ctime < os.path.getctime(filepath):
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfile_table.cpp46 std::string filepath = record.value(path, ""); in FileTable() local
52 std::istringstream stringstream(filepath); in FileTable()
/openbmc/phosphor-led-manager/
H A Dmeson.options7 description: 'LEDs JSON filepath',
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-phosphor/gpio/
H A Dphosphor-gpio-monitor_%.bbappend19 # modify ConditionPathExists and EnvironmentFile to correct filepath

123