| /scripts/ |
| A D | gen_compile_commands.py | 69 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 D | get_default_envs.sh | 19 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 D | spdxcheck.py | 43 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 D | check-of.sh | 28 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 D | documentation-file-ref-check | 130 my $path = $f; 131 $path =~ s,(.*)/.*,$1,; 132 next if (grep -e, glob("$path/$ref $path/../$ref $path/$fulref"));
|
| A D | event_dump.py | 12 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 D | get_maintainer.pl | 401 $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 D | style.py | 55 parts = os.path.splitext(fname)[0].split('/')[1:]
|
| /scripts/dtc/pylibfdt/ |
| A D | setup.py | 34 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 D | libfdt.i_shipped | 321 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 D | fdt_overlay.c | 62 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 D | fdt_ro.c | 250 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 D | libfdt.h | 459 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 D | conftest.py | 18 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 D | gconf.c | 774 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 D | confdata.c | 20 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 D | zconf.l | 413 "Inclusion path:\n"
|
| /scripts/dtc/ |
| A D | livetree.c | 518 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 D | srcpos.c | 36 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 D | util.c | 90 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 D | util.h | 76 extern char *join_path(const char *path, const char *name);
|
| A D | README | 53 pip install . [--user|--prefix=/path/to/install_dir] 68 make install [PREFIX=/path/to/install_dir]
|
| /scripts/kconfig/tests/err_recursive_inc/ |
| A D | expected_stderr | 2 Inclusion path:
|
| /scripts/coccinelle/null/ |
| A D | badzero.cocci | 7 //# include path. 122 // This rule may lead to inconsistent path problems, if E is defined in two
|
| /scripts/coccinelle/iterators/ |
| A D | list_entry_update.cocci | 4 /// that there is a path from the reassignment back to the top of the loop.
|