Home
last modified time | relevance | path

Searched refs:fpath (Results 1 – 24 of 24) sorted by relevance

/openbmc/openbmc/poky/meta/classes/
H A Dchrpath.bbclass13 with oe.qa.ELFFile(fpath) as elf:
52 bb.utils.break_hardlinks(fpath)
78 bb.utils.break_hardlinks(fpath)
107 fpath = directory + "/" + file
108 fpath = os.path.normpath(fpath)
109 if os.path.islink(fpath):
113 if os.path.isdir(fpath):
121 perms = os.stat(fpath)[stat.ST_MODE]
122 if os.access(fpath, os.W_OK|os.R_OK):
126 os.chmod(fpath, perms|stat.S_IRWXU)
[all …]
H A Dbuildhistory.bbclass364 for fpath, fsig in sorted(filesigs.items(), key=lambda item: item[0]):
365 f.write('%s %s\n' % (fpath, fsig))
/openbmc/linux/scripts/
H A Dspdxcheck.py272 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 Dfile.c136 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 Dpackagedata.py288 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 Dpackage.py1195 fpath = dvar + dest
1197 bb.utils.mkdirhier(os.path.dirname(fpath))
1199 if not os.access(fpath, os.R_OK):
1201 os.link(ftarget, fpath)
1207 fpath = dvar + dest
1210 s = os.stat(fpath)
1226 bb.utils.mkdirhier(os.path.dirname(fpath))
1228 os.symlink(ftarget, fpath)
1375 fpath = os.path.join(root,file)
1377 os.link(file, fpath)
[all …]
/openbmc/openbmc/poky/meta/recipes-core/gettext/
H A Dgettext-minimal-native_0.22.5.bb23 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 Dcgroup.c366 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 Dcommon.c545 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 Dcgroup.c208 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 Dprobe-finder.c963 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 Drestapi.py128 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 Dcooker.py250 for ((pe, pv, pr), fpath) in all_versions_list[pn]:
251 realfn = bb.cache.virtualfn2realfn(fpath)
/openbmc/openbmc/poky/meta/lib/oeqa/
H A Doetest.py181 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/openbmc/meta-openembedded/meta-oe/recipes-kernel/oprofile/oprofile/
H A D0001-Fix-build-with-musl.patch32 @@ -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 Dsdk.py92 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 Ddeploy.py209 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))
H A Dstandard.py1553 fpath = os.path.join(srctree, os.path.relpath(fworkpath, s))
1554 if os.path.exists(fpath):
1556 if not filecmp.cmp(origpath, fpath):
1557 updated[fpath] = origpath
/openbmc/linux/tools/perf/bench/
H A Dinject-buildid.c79 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 Dcutils.c1109 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/tools/testing/selftests/powerpc/
H A Dutils.c493 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/ubifs/
H A Dubifs.c482 char fpath[128]; in ubifs_findfile() local
484 char *name = fpath; in ubifs_findfile()
490 strcpy(fpath, filename); in ubifs_findfile()
/openbmc/linux/fs/smb/client/
H A Ddfs.c90 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/ext4/
H A Dext4_common.c2177 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()