Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Dchrpath.bbclass4 def process_file_linux(cmd, fpath, rootdir, baseprefix, tmpdir, d, break_hardlinks = False):
7 with oe.qa.ELFFile(fpath) as elf:
14 out = subprocess.check_output([cmd, "-l", fpath], universal_newlines=True)
22 #bb.note("Current rpath for %s is %s" % (fpath, curr_rpath.strip()))
35 bb.warn("Skipping RPATH %s as is a standard search path for %s" % (rpath, fpath))
40 …new_rpaths.append("$ORIGIN/" + os.path.relpath(rpath, os.path.dirname(fpath.replace(rootdir, "/"))…
46 bb.utils.break_hardlinks(fpath)
49 #bb.note("Setting rpath for %s to %s" %(fpath, args))
51 subprocess.check_output([cmd, "-r", args, fpath],
56 def process_file_darwin(cmd, fpath, rootdir, baseprefix, tmpdir, d, break_hardlinks = False):
[all …]
/OK3568_Linux_fs/buildroot/support/scripts/
H A Dsize-stats77 pkg, fpath = line.split(",", 1)
79 fpath = fpath.strip()[2:]
80 fullpath = os.path.join(builddir, "target", fpath)
81 add_file(filesdict, fpath, fullpath, pkg)
103 fpath = os.path.join(root, f)
104 if os.path.islink(fpath):
107 st = os.stat(fpath)
114 frelpath = os.path.relpath(fpath, os.path.join(builddir, "target"))
H A Dgen-bootlin-toolchains425 def gen_config_in_options(toolchains, fpath): argument
426 with open(fpath, "w") as f:
457 def gen_mk(toolchains, fpath): argument
458 with open(fpath, "w") as f:
471 def gen_hash(toolchains, fpath): argument
472 with open(fpath, "w") as f:
478 def gen_runtime_test(toolchains, fpath): argument
479 with open(fpath, "w") as f:
/OK3568_Linux_fs/buildroot/support/testing/infra/
H A D__init__.py70 def get_elf_arch_tag(builddir, prefix, fpath, tag): argument
80 "-A", os.path.join("target", fpath)]
91 def get_file_arch(builddir, prefix, fpath): argument
92 return get_elf_arch_tag(builddir, prefix, fpath, "Tag_CPU_arch")
95 def get_elf_prog_interpreter(builddir, prefix, fpath): argument
107 "-l", os.path.join("target", fpath)]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/j2s4b/src/j2s4b/
H A DBinRecord.cpp144 void *BinMapLoader::loadWholeFile(const char *fpath, size_t *fsize) { in loadWholeFile() argument
149 if (!fpath || (0 != ::stat(fpath, &st))) { in loadWholeFile()
154 fd = open(fpath, O_RDONLY); in loadWholeFile()
156 printf("failed to open: '%s'\n", fpath); in loadWholeFile()
168 printf("failed to read: '%s'\n", fpath); in loadWholeFile()
181 int BinMapLoader::saveFile(const char *fpath, void *buf, size_t file_size) { in saveFile() argument
184 ofp = fopen(fpath, "wb+"); in saveFile()
186 printf("failed to open: '%s'\n", fpath); in saveFile()
239 int BinMapLoader::suqeezBinMap(const char *fpath, uint8_t *buffer, in suqeezBinMap() argument
281 loader->saveFile(fpath, out_buff, final_size); in suqeezBinMap()
H A DBinRecord.hpp30 static int suqeezBinMap(const char *fpath, uint8_t *buffer,
33 int saveFile(const char *fpath, void *buf, size_t file_size);
48 void *loadWholeFile(const char *fpath, size_t *fsize);
H A Dj2s.h196 const char *fpath; member
207 extern struct_map_t *struct_map_create(const char *fpath);
H A Dj2s.cpp47 struct_map_t *struct_map_create(const char *fpath) { in struct_map_create() argument
57 snprintf(map_file_name, J2B_MAX_PATH_LEN, "%s.map", fpath); in struct_map_create()
58 snprintf(block_file_name, J2B_MAX_PATH_LEN, "%s.block", fpath); in struct_map_create()
60 new_struct->file = fopen(fpath, "wb+"); in struct_map_create()
69 new_struct->fpath = strdup(fpath); in struct_map_create()
/OK3568_Linux_fs/kernel/tools/perf/pmu-events/
H A Djevents.c784 static int process_mapfile(FILE *outfp, char *fpath) in process_mapfile() argument
794 pr_info("%s: Processing mapfile %s\n", prog, fpath); in process_mapfile()
800 mapfp = fopen(fpath, "r"); in process_mapfile()
803 fpath); in process_mapfile()
830 prog, fpath, line_num); in process_mapfile()
909 static int is_leaf_dir(const char *fpath) in is_leaf_dir() argument
915 d = opendir(fpath); in is_leaf_dir()
930 sprintf(path, "%s/%s", fpath, dir->d_name); in is_leaf_dir()
960 static int preprocess_arch_std_files(const char *fpath, const struct stat *sb, in preprocess_arch_std_files() argument
966 if (level == 1 && is_file && is_json_file(fpath)) in preprocess_arch_std_files()
[all …]
/OK3568_Linux_fs/buildroot/package/makedevs/
H A Dmakedevs.c356 int bb_set_xattr(const char *fpath, const char *xattr) in bb_set_xattr() argument
366 cap_file = cap_get_file(fpath); in bb_set_xattr()
370 bb_perror_msg_and_die("cap_get_file failed on %s", fpath); in bb_set_xattr()
378 bb_perror_msg_and_die("cap_to_name failed on %s", fpath); in bb_set_xattr()
385 if (cap_set_file(fpath, cap_new) == -1) in bb_set_xattr()
386 bb_perror_msg_and_die("cap_set_file failed for %s (xattr = %s)", fpath, xattr); in bb_set_xattr()
440 int bb_recursive(const char *fpath, const struct stat *sb, in bb_recursive() argument
443 if (chown(fpath, recursive_uid, recursive_gid) == -1) { in bb_recursive()
444 bb_perror_msg("chown failed for %s", fpath); in bb_recursive()
448 if (chmod(fpath, recursive_mode) < 0) { in bb_recursive()
[all …]
/OK3568_Linux_fs/buildroot/package/input-event-daemon/
H A D0002-Support-parsing-configfile-.d-.conf.patch106 + char fpath[strlen(path)+strlen(sep)+strlen(file) + 1];
107 + strcpy(fpath, path);
108 + strcat(fpath, sep);
109 + strcat(fpath, file);
110 + if (stat(fpath, &sf) != -1 && S_ISREG(sf.st_mode))
111 + config_parse_file(fpath);
/OK3568_Linux_fs/buildroot/package/weston/
H A D0047-config-parser-Support-loading-multiple-configs.patch246 + char fpath[strlen(path)+strlen(sep)+strlen(file) + 1];
247 + strcpy(fpath, path);
248 + strcat(fpath, sep);
249 + strcat(fpath, file);
252 + fp = weston_open_config_file(NULL, fpath);
256 + ret = weston_config_parse_internal(config, fp, fpath);
261 + fprintf(stderr, "failed to parse '%s'\n", fpath);
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/
H A D0045-config-parser-Support-loading-multiple-configs.patch200 + char fpath[strlen(path)+strlen(sep)+strlen(file) + 1];
201 + strcpy(fpath, path);
202 + strcat(fpath, sep);
203 + strcat(fpath, file);
206 + fd = open_config_file(NULL, fpath);
211 + fprintf(stderr, "failed to parse '%s'\n", fpath);
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/
H A D0047-config-parser-Support-loading-multiple-configs.patch201 + char fpath[strlen(path)+strlen(sep)+strlen(file) + 1];
202 + strcpy(fpath, path);
203 + strcat(fpath, sep);
204 + strcat(fpath, file);
207 + fp = weston_open_config_file(NULL, fpath);
216 + fprintf(stderr, "failed to parse '%s'\n", fpath);
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/
H A Dcgroup.c242 static int do_show_tree_fn(const char *fpath, const struct stat *sb, in do_show_tree_fn() argument
252 cgroup_fd = open(fpath, O_RDONLY); in do_show_tree_fn()
254 p_err("can't open cgroup %s: %s", fpath, strerror(errno)); in do_show_tree_fn()
261 fpath, strerror(errno)); in do_show_tree_fn()
271 jsonw_string_field(json_wtr, "cgroup", fpath); in do_show_tree_fn()
275 printf("%s\n", fpath); in do_show_tree_fn()
H A Dperf.c150 static int show_proc(const char *fpath, const struct stat *sb, in show_proc() argument
160 pch = fpath + 5; in show_proc()
/OK3568_Linux_fs/yocto/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:
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/
H A Doetest.py196 def _read_testlist(self, fpath, builddir): argument
197 if not os.path.isabs(fpath):
198 fpath = os.path.join(builddir, "conf", fpath)
199 if not os.path.exists(fpath):
200 bb.fatal("No such manifest file: ", fpath)
202 for line in open(fpath).readlines():
/OK3568_Linux_fs/yocto/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)) {
/OK3568_Linux_fs/kernel/tools/perf/bench/
H A Dinject-buildid.c78 static int add_dso(const char *fpath, const struct stat *sb __maybe_unused, in add_dso() argument
87 if (filename__read_build_id(fpath, &bid) < 0) in add_dso()
90 dso->name = realpath(fpath, NULL); in add_dso()
95 pr_debug2(" Adding DSO: %s\n", fpath); in add_dso()
/OK3568_Linux_fs/yocto/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.py195 fpath = os.path.join(destdir, os.path.relpath(root, recipe_outdir), fn)
196 filelist.append((fpath, fsize))
242 for fpath, fsize in filelist:
243 f.write('%s %d\n' % (fpath, fsize))
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/j2s4b/src/
H A Dmain.cpp53 int write_file_all(const char *fpath, void *data, size_t len) { in write_file_all() argument
56 ofp = fopen(fpath, "wb+"); in write_file_all()
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/
H A Dutils.c142 int read_sysfs_file(char *fpath, char *result, size_t result_size) in read_sysfs_file() argument
147 strncat(path, fpath, PATH_MAX - strlen(path) - 1); in read_sysfs_file()
/OK3568_Linux_fs/buildroot/support/testing/tests/toolchain/
H A Dtest_external.py14 fpath = os.path.join(root, f)
15 if not os.path.exists(fpath):

12