/openbmc/openbmc/poky/meta/classes/ |
H A D | chrpath.bbclass | 10 def process_file_linux(cmd, fpath, rootdir, baseprefix, tmpdir, d, break_hardlinks = False): 13 with oe.qa.ELFFile(fpath) as elf: 20 out = subprocess.check_output([cmd, "-l", fpath], universal_newlines=True) 28 #bb.note("Current rpath for %s is %s" % (fpath, curr_rpath.strip())) 41 bb.warn("Skipping RPATH %s as is a standard search path for %s" % (rpath, fpath)) 46 …new_rpaths.append("$ORIGIN/" + os.path.relpath(rpath, os.path.dirname(fpath.replace(rootdir, "/"))… 52 bb.utils.break_hardlinks(fpath) 55 #bb.note("Setting rpath for %s to %s" %(fpath, args)) 57 subprocess.check_output([cmd, "-r", args, fpath], 62 def process_file_darwin(cmd, fpath, rootdir, baseprefix, tmpdir, d, break_hardlinks = False): [all …]
|
H A D | buildhistory.bbclass | 382 for fpath, fsig in sorted(filesigs.items(), key=lambda item: item[0]): 383 f.write('%s %s\n' % (fpath, fsig))
|
/openbmc/linux/scripts/ |
H A D | spdxcheck.py | 272 def match_dot(self, fpath): argument 273 return os.path.basename(fpath).startswith('.') 275 def match_file(self, fpath): argument 276 return os.path.basename(fpath) == self.pattern 278 def match_fn(self, fpath): argument 279 return fnmatch.fnmatchcase(fpath, self.pattern) 281 def match_dir(self, fpath): argument 282 if self.match_fn(os.path.dirname(fpath)): 284 return fpath.startswith(self.pattern) 286 def exclude_file(fpath): argument [all …]
|
/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | file.c | 136 struct efi_file_path_dev_path *fpath; in efi_open_device_path() local 166 fpath = (struct efi_file_path_dev_path *)initrd_dp; in efi_open_device_path() 167 memcpy(fi->filename, fpath->filename, in efi_open_device_path() 169 fpath->header.length - sizeof(fpath->header))); in efi_open_device_path()
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | packagedata.py | 288 fpath = os.sep + os.path.relpath(f, pkgdestpkg) 291 files[fpath] = fstat.st_size 293 extended_data["files_info"].setdefault(fpath, {}) 294 extended_data["files_info"][fpath]['size'] = fstat.st_size 300 if fpath in pkgdebugsource: 301 extended_data["files_info"][fpath]['debugsrc'] = pkgdebugsource[fpath] 302 del pkgdebugsource[fpath]
|
H A D | package.py | 1239 fpath = dvar + dest 1242 bb.utils.mkdirhier(os.path.dirname(fpath)) 1244 if not os.access(fpath, os.R_OK): 1246 os.link(ftarget, fpath) 1249 fpath = dvar + deststatic 1252 bb.utils.mkdirhier(os.path.dirname(fpath)) 1254 if not os.access(fpath, os.R_OK): 1256 os.link(ftarget, fpath) 1264 fpath = dvar + dest 1267 s = os.stat(fpath) [all …]
|
H A D | spdx30_tasks.py | 1247 fpath = Path(dirpath) / fn 1248 if not fpath.is_file() or fpath.is_symlink(): 1251 relpath = str(fpath.relative_to(sdk_deploydir)) 1256 fpath,
|
/openbmc/openbmc/poky/meta/recipes-core/gettext/ |
H A D | gettext-minimal-native_0.23.1.bb | 23 fpath = oe.path.join(d.getVar("S"), "/gettext-tools/m4/Makefile.am") 24 with open(fpath) as f: 33 bb.error("Could not obtain list of installed aclocal files from {}".format(fpath))
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | cgroup.c | 366 static int do_show_tree_fn(const char *fpath, const struct stat *sb, in do_show_tree_fn() argument 376 cgroup_fd = open(fpath, O_RDONLY); in do_show_tree_fn() 378 p_err("can't open cgroup %s: %s", fpath, strerror(errno)); in do_show_tree_fn() 385 fpath, strerror(errno)); in do_show_tree_fn() 395 jsonw_string_field(json_wtr, "cgroup", fpath); in do_show_tree_fn() 399 printf("%s\n", fpath); in do_show_tree_fn()
|
H A D | common.c | 545 static int do_build_table_cb(const char *fpath, const struct stat *sb, in do_build_table_cb() argument 557 fd = open_obj_pinned(fpath, true); in do_build_table_cb() 569 path = strdup(fpath); in do_build_table_cb()
|
/openbmc/linux/tools/perf/util/ |
H A D | cgroup.c | 208 static int add_cgroup_name(const char *fpath, const struct stat *sb __maybe_unused, in add_cgroup_name() argument 216 cn = malloc(sizeof(*cn) + strlen(fpath) + 1); in add_cgroup_name() 221 strcpy(cn->name, fpath); in add_cgroup_name() 227 static int check_and_add_cgroup_name(const char *fpath) in check_and_add_cgroup_name() argument 232 if (!strcmp(cn->name, fpath)) in check_and_add_cgroup_name() 237 return add_cgroup_name(fpath, NULL, FTW_D, NULL); in check_and_add_cgroup_name()
|
H A D | probe-finder.c | 963 char *fpath; in find_probe_point_lazy() local 973 ret = find_source_path(pf->fname, sbuild_id, comp_dir, &fpath); in find_probe_point_lazy() 980 ret = find_lazy_match_lines(pf->lcache, fpath, in find_probe_point_lazy() 982 free(fpath); in find_probe_point_lazy()
|
/openbmc/openbmc/poky/bitbake/lib/layerindexlib/ |
H A D | restapi.py | 128 fpath = os.path.join(dirpath, filename) 129 load_cache(fpath, index, branches) 388 fpath = os.path.join(up.path, fname) 390 bb.debug(1, 'Writing index to %s' % fpath + '.json') 391 with open(fpath + '.json', 'wt') as f:
|
H A D | cooker.py | 250 for ((pe, pv, pr), fpath) in all_versions_list[pn]: 251 realfn = bb.cache.virtualfn2realfn(fpath)
|
/openbmc/openbmc/poky/meta/lib/oeqa/ |
H A D | oetest.py | 181 def _read_testlist(self, fpath, builddir): argument 182 if not os.path.isabs(fpath): 183 fpath = os.path.join(builddir, "conf", fpath) 184 if not os.path.exists(fpath): 185 bb.fatal("No such manifest file: ", fpath) 187 for line in open(fpath).readlines():
|
/openbmc/libcper/tests/ |
H A D | ir-tests.cpp | 91 fs::path fpath = LIBCPER_EXAMPLES; in cper_example_section_ir_test() local 92 fpath /= section_name; in cper_example_section_ir_test() 93 fs::path cper = fpath.replace_extension("cper"); in cper_example_section_ir_test() 94 fs::path json = fpath.replace_extension("json"); in cper_example_section_ir_test()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/oprofile/oprofile/ |
H A D | 0001-Fix-build-with-musl.patch | 32 @@ -860,9 +860,9 @@ static int __delete_old_previous_sample_data(const char *fpath, 34 if (remove(fpath)) {
|
/openbmc/openbmc/poky/scripts/lib/devtool/ |
H A D | sdk.py | 92 fpath = splitline[1] 93 curr_chksum = bb.utils.sha256_file(os.path.join(basepath, fpath)) 95 …ebug('File %s changed: old csum = %s, new = %s' % (os.path.join(basepath, fpath), curr_chksum, chk… 96 changedfiles.append(fpath)
|
H A D | deploy.py | 209 fpath = os.path.join(destdir, os.path.relpath(root, recipe_outdir), fn) 210 filelist.append((fpath, fsize)) 256 for fpath, fsize in filelist: 257 f.write('%s %d\n' % (fpath, fsize))
|
/openbmc/linux/tools/perf/bench/ |
H A D | inject-buildid.c | 79 static int add_dso(const char *fpath, const struct stat *sb __maybe_unused, in add_dso() argument 88 if (filename__read_build_id(fpath, &bid) < 0) in add_dso() 91 dso->name = realpath(fpath, NULL); in add_dso() 96 pr_debug2(" Adding DSO: %s\n", fpath); in add_dso()
|
/openbmc/qemu/util/ |
H A D | cutils.c | 1109 char fpath[PATH_MAX]; in qemu_init_exec_dir() 1110 uint32_t len = sizeof(fpath); in qemu_init_exec_dir() 1111 if (_NSGetExecutablePath(fpath, &len) == 0) { in qemu_init_exec_dir() 1112 p = realpath(fpath, buf); in qemu_init_exec_dir()
|
/openbmc/linux/fs/smb/client/ |
H A D | dfs.c | 90 const char *fpath = ref_walk_fpath(rw) + 1; in parse_dfs_target() local 94 rc = dfs_parse_target_referral(fpath, tgt, ctx); in parse_dfs_target()
|
/openbmc/u-boot/fs/ubifs/ |
H A D | ubifs.c | 482 char fpath[128]; in ubifs_findfile() local 484 char *name = fpath; in ubifs_findfile() 490 strcpy(fpath, filename); in ubifs_findfile()
|
/openbmc/linux/tools/testing/selftests/powerpc/ |
H A D | utils.c | 493 int read_sysfs_file(char *fpath, char *result, size_t result_size) in read_sysfs_file() argument 497 strncat(path, fpath, PATH_MAX - strlen(path) - 1); in read_sysfs_file()
|
/openbmc/u-boot/fs/ext4/ |
H A D | ext4_common.c | 2177 char fpath[strlen(currpath) + 1]; in ext4fs_find_file1() local 2178 char *name = fpath; in ext4fs_find_file1() 2185 strncpy(fpath, currpath, strlen(currpath) + 1); in ext4fs_find_file1()
|