Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 29) sorted by relevance

12

/scripts/
A Dgen_compile_commands.py69 os.path.realpath(args.directory),
101 def to_cmdfile(path): argument
110 dir, base = os.path.split(path)
144 base, ext = os.path.splitext(obj)
178 abs_path = os.path.realpath(os.path.join(root_directory, file_path))
179 if not os.path.exists(abs_path):
199 for path in paths:
204 if os.path.isdir(path):
205 cmdfiles = cmdfiles_in_dir(path)
206 elif path.endswith('.a'):
[all …]
A Dget_default_envs.sh19 path=${1}
21 path=$(readlink -f $0)
22 path=${path%/scripts*}
25 env_obj_file_path=$(find ${path} -path "*/env/*" -not -path "*/spl/*" \
26 -not -path "*/tools/*" -name "${ENV_OBJ_FILE}")
A Dspdxcheck.py43 if not os.path.isfile(el.path):
210 if el.path.startswith("LICENSES"):
214 if not os.path.isfile(el.path):
216 with open(el.path, 'rb') as fd:
219 def scan_git_subtree(tree, path): argument
220 for p in path.strip('/').split('/'):
234 if '-' in args.path and len(args.path) > 1:
262 if len(args.path) and args.path[0] == '-':
266 if args.path:
267 for p in args.path:
[all …]
A Dcheck-of.sh28 path="$1"
31 sys_config="$(sed -n 's/CONFIG_SYS_CONFIG_NAME="\(.*\)"$/\1/p' "${path}")"
33 if grep -q OF_HAS_PRIOR_STAGE=y "${path}"; then
34 if ! grep -lq CONFIG_OF_BOARD=y "${path}"; then
A Ddocumentation-file-ref-check130 my $path = $f;
131 $path =~ s,(.*)/.*,$1,;
132 next if (grep -e, glob("$path/$ref $path/../$ref $path/$fulref"));
A Devent_dump.py12 our_path = os.path.dirname(os.path.realpath(__file__))
13 src_path = os.path.dirname(our_path)
15 sys.path.insert(1, os.path.join(our_path, '../tools'))
A Dget_maintainer.pl401 $path = $maintainer_path;
406 if (-d $path) {
407 $path .= '/' if ($path !~ m@/$@);
412 }, "$path");
414 opendir(DIR, "$path") or die $!;
421 } elsif (-f "$path") {
422 push(@mfiles, "$path");
1471 if (-e "$path/$bin") {
1472 return "$path/$bin";
1483 if (-e "$path/$conf") {
[all …]
A Dstyle.py55 parts = os.path.splitext(fname)[0].split('/')[1:]
/scripts/dtc/pylibfdt/
A Dsetup.py34 srcdir = os.path.dirname(__file__)
36 with open(os.path.join(srcdir, "../README"), "r") as fh:
48 return os.path.join(srcdir, '..')
103 basedir = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0])))
105 makevars = ParseMakefile(os.path.join(basedir, 'Makefile'))
108 makevars = ParseMakefile(os.path.join(basedir, 'libfdt', 'Makefile.libfdt'))
110 files = [os.path.join(basedir, 'libfdt', fname) for fname in files]
136 include_dirs=[os.path.join(srcdir, 'libfdt')],
137 library_dirs=[os.path.join(top_builddir, 'libfdt')],
A Dlibfdt.i_shipped321 def path_offset(self, path, quiet=()):
322 """Get the offset for a given path
325 path: Path to the required node, e.g. '/node@3/subnode@1'
332 FdtException if the path is not valid or not found
334 return check_err(fdt_path_offset(self._fdt, path), quiet)
439 """Get the full path referenced by a given alias
445 Full path to the node for the alias named 'name', if it exists
/scripts/dtc/libfdt/
A Dfdt_overlay.c62 const char *path = NULL; in overlay_get_target() local
74 if (path) in overlay_get_target()
97 *pathp = path ? path : NULL; in overlay_get_target()
460 path = fixup_str; in overlay_fixup_phandle()
465 path_len = sep - path; in overlay_fixup_phandle()
700 const char *path; in overlay_symbol_update() local
727 if (!path) in overlay_symbol_update()
731 if (path_len < 1 || memchr(path, '\0', path_len) != &path[path_len - 1]) in overlay_symbol_update()
735 e = path + path_len; in overlay_symbol_update()
737 if (*path != '/') in overlay_symbol_update()
[all …]
A Dfdt_ro.c250 int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen) in fdt_path_offset_namelen() argument
252 const char *end = path + namelen; in fdt_path_offset_namelen()
253 const char *p = path; in fdt_path_offset_namelen()
259 if (*path != '/') { in fdt_path_offset_namelen()
260 const char *q = memchr(path, '/', end - p); in fdt_path_offset_namelen()
295 int fdt_path_offset(const void *fdt, const char *path) in fdt_path_offset() argument
297 return fdt_path_offset_namelen(fdt, path, strlen(path)); in fdt_path_offset()
A Dlibfdt.h459 int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen);
485 int fdt_path_offset(const void *fdt, const char *path);
/scripts/kconfig/tests/
A Dconftest.py18 CONF_PATH = os.path.abspath(os.path.join('scripts', 'kconfig', 'conf'))
36 self._test_dir = os.path.dirname(str(request.fspath))
62 shutil.copyfile(os.path.join(self._test_dir, dot_config),
63 os.path.join(temp_dir, '.config'))
90 with open(os.path.join(temp_dir, out_file)) as f:
150 defconfig_path = os.path.join(self._test_dir, defconfig)
155 all_config_path = os.path.join(self._test_dir, all_config)
226 with open(os.path.join(self._test_dir, expected)) as f:
/scripts/kconfig/
A Dgconf.c774 gtk_tree_path_free(path); in renderer_edited()
855 GtkTreePath *path; in on_treeview2_button_press_event() local
871 if (path == NULL) in on_treeview2_button_press_event()
890 gtk_tree_view_expand_row(view, path, TRUE); in on_treeview2_button_press_event()
895 gtk_tree_view_expand_row(view, path, TRUE); in on_treeview2_button_press_event()
912 GtkTreePath *path; in on_treeview2_key_press_event() local
919 if (path == NULL) in on_treeview2_key_press_event()
923 if (gtk_tree_view_row_expanded(view, path)) in on_treeview2_key_press_event()
924 gtk_tree_view_collapse_row(view, path); in on_treeview2_key_press_event()
971 GtkTreePath *path; in on_treeview1_button_press_event() local
[all …]
A Dconfdata.c20 static bool is_present(const char *path) in is_present() argument
24 return !stat(path, &st); in is_present()
28 static bool is_dir(const char *path) in is_dir() argument
32 if (stat(path, &st)) in is_dir()
43 static int make_parent_dir(const char *path) in make_parent_dir() argument
48 strncpy(tmp, path, sizeof(tmp)); in make_parent_dir()
910 char path[PATH_MAX+1]; in conf_split_config() local
978 d = path; in conf_split_config()
986 fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in conf_split_config()
993 if (make_parent_dir(path)) { in conf_split_config()
[all …]
A Dzconf.l413 "Inclusion path:\n"
/scripts/dtc/
A Dlivetree.c518 if (!path || ! (*path)) { in get_node_by_path()
524 while (path[0] == '/') in get_node_by_path()
525 path++; in get_node_by_path()
527 p = strchr(path, '/'); in get_node_by_path()
531 strprefixeq(path, p - path, child->name)) in get_node_by_path()
533 else if (!p && streq(path, child->name)) in get_node_by_path()
587 const char *label = NULL, *path = NULL; in get_node_by_ref() local
593 path = ref; in get_node_by_ref()
604 path = slash + 1; in get_node_by_ref()
615 if (path) in get_node_by_ref()
[all …]
A Dsrcpos.c36 static char *get_dirname(const char *path) in get_dirname() argument
38 const char *slash = strrchr(path, '/'); in get_dirname()
41 int len = slash - path; in get_dirname()
44 memcpy(dir, path, len); in get_dirname()
A Dutil.c90 char *join_path(const char *path, const char *name) in join_path() argument
92 int lenp = strlen(path); in join_path()
99 if ((lenp > 0) && (path[lenp-1] == '/')) { in join_path()
105 memcpy(str, path, lenp); in join_path()
A Dutil.h76 extern char *join_path(const char *path, const char *name);
A DREADME53 pip install . [--user|--prefix=/path/to/install_dir]
68 make install [PREFIX=/path/to/install_dir]
/scripts/kconfig/tests/err_recursive_inc/
A Dexpected_stderr2 Inclusion path:
/scripts/coccinelle/null/
A Dbadzero.cocci7 //# include path.
122 // This rule may lead to inconsistent path problems, if E is defined in two
/scripts/coccinelle/iterators/
A Dlist_entry_update.cocci4 /// that there is a path from the reassignment back to the top of the loop.

Completed in 46 milliseconds

12