Home
last modified time | relevance | path

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

12

/scripts/dtc/
Dfdtput.c166 const char *path = in_path; in create_paths() local
171 while (*path == '/') in create_paths()
172 path++; in create_paths()
174 for (sep = path; *sep; path = sep + 1, offset = node) { in create_paths()
176 sep = strchr(path, '/'); in create_paths()
178 sep = path + strlen(path); in create_paths()
180 node = fdt_subnode_offset_namelen(blob, offset, path, in create_paths()
181 sep - path); in create_paths()
183 node = fdt_add_subnode_namelen(blob, offset, path, in create_paths()
184 sep - path); in create_paths()
[all …]
Ddtx_diff28 -s SRCTREE linux kernel source tree is at path SRCTREE
50 and DTx utilizes '#include' or '/include/' then the path of the
59 may not work since \${ARCH} is part of the include path. Two possible
72 add the path of DTx_1 and DTx_2 to the include paths. If DTx_2 includes
73 a local file that exists in both the path of DTx_1 and DTx_2 then the
74 file in the path of DTx_1 will incorrectly be included. Possible
299 If \${KBUILD_OUTPUT} is a relative path, then '-s SRCDIR', -S, or run
Dlivetree.c445 struct node *get_node_by_path(struct node *tree, const char *path) in get_node_by_path() argument
450 if (!path || ! (*path)) { in get_node_by_path()
456 while (path[0] == '/') in get_node_by_path()
457 path++; in get_node_by_path()
459 p = strchr(path, '/'); in get_node_by_path()
462 if (p && strneq(path, child->name, p-path)) in get_node_by_path()
464 else if (!p && streq(path, child->name)) in get_node_by_path()
Dsrcpos.c37 static char *get_dirname(const char *path) in get_dirname() argument
39 const char *slash = strrchr(path, '/'); in get_dirname()
42 int len = slash - path; in get_dirname()
45 memcpy(dir, path, len); in get_dirname()
Dutil.c49 char *join_path(const char *path, const char *name) in join_path() argument
51 int lenp = strlen(path); in join_path()
58 if ((lenp > 0) && (path[lenp-1] == '/')) { in join_path()
64 memcpy(str, path, lenp); in join_path()
Dutil.h62 extern char *join_path(const char *path, const char *name);
Dchecks.c510 char *path; in fixup_path_references() local
522 path = refnode->fullpath; in fixup_path_references()
523 prop->val = data_insert_at_marker(prop->val, m, path, in fixup_path_references()
524 strlen(path) + 1); in fixup_path_references()
Ddtc.h213 struct node *get_node_by_path(struct node *tree, const char *path);
Ddtc-parser.tab.c_shipped1532 ERROR(&(yylsp[-1]), "Label or path %s not found", (yyvsp[-1].labelref));
1546 ERROR(&(yylsp[-1]), "Label or path %s not found", (yyvsp[-1].labelref));
1560 ERROR(&(yylsp[-1]), "Label or path %s not found", (yyvsp[-1].labelref));
/scripts/
Dheaderdep.pl80 my $path = "$i/$filename";
81 return $path if -f $path;
95 my $path = search($header);
96 next unless $path;
98 open(my $file, '<', $path) or die($!);
Dheaders_check.pl114 my $path = $_[0];
118 my @file_paths = ($path, $dir . "/" . $path, dirname($filename) . "/" . $path);
Dmkuboot.sh7 MKIMAGE=$(type -path "${CROSS_COMPILE}mkimage")
10 MKIMAGE=$(type -path mkimage)
Danalyze_suspend.py205 if os.path.exists('/dev/rtc'):
208 if os.path.exists(rtc) and os.path.exists(rtc+'/date') and \
209 os.path.exists(rtc+'/time') and os.path.exists(rtc+'/wakealarm'):
254 if not os.path.isdir(self.testdir):
461 def fsetVal(self, val, path, mode='w'): argument
462 file = self.tpath+path
463 if not os.path.exists(file):
472 def fgetVal(self, path): argument
473 file = self.tpath+path
475 if not os.path.exists(file):
[all …]
Dcheckkconfigsymbols.py300 ".log" in gitfile or os.path.isdir(gitfile) or \
388 if not os.path.exists(sfile):
437 if not os.path.exists(kfile):
Dget_maintainer.pl1225 foreach my $path (split(/:/, $ENV{PATH})) {
1226 if (-e "$path/$bin") {
1227 return "$path/$bin";
1237 foreach my $path (split(/:/, ".:$ENV{HOME}:.scripts")) {
1238 if (-e "$path/$conf") {
1239 return "$path/$conf";
Dcheckpatch.pl1057 foreach my $path (split(/:/, $ENV{PATH})) {
1058 if (-e "$path/$bin") {
1059 return "$path/$bin";
1069 foreach my $path (split(/:/, ".:$ENV{HOME}:.scripts")) {
1070 if (-e "$path/$conf") {
1071 return "$path/$conf";
3514 my $path = $1;
3515 if ($path =~ m{//}) {
3519 if ($path =~ "^uapi/" && $realfile =~ m@\binclude/uapi/@) {
/scripts/gdb/linux/
Dsymbols.py76 for path in self.module_paths:
77 gdb.write("scanning for modules in {0}\n".format(path))
78 for root, dirs, files in os.walk(path):
88 if re.match(module_pattern, name) and os.path.exists(name):
156 self.module_paths = [os.path.expanduser(p) for p in arg.split()]
/scripts/gdb/
Dvmlinux-gdb.py16 sys.path.insert(0, os.path.dirname(__file__) + "/scripts/gdb")
/scripts/kconfig/
Dgconf.c783 GtkTreePath *path = gtk_tree_path_new_from_string(path_string); in renderer_edited() local
789 if (!gtk_tree_model_get_iter(model2, &iter, path)) in renderer_edited()
802 gtk_tree_path_free(path); in renderer_edited()
884 GtkTreePath *path; in on_treeview2_button_press_event() local
895 gtk_tree_view_get_path_at_pos(view, tx, ty, &path, &column, &cx, in on_treeview2_button_press_event()
898 gtk_tree_view_get_cursor(view, &path, &column); in on_treeview2_button_press_event()
900 if (path == NULL) in on_treeview2_button_press_event()
903 if (!gtk_tree_model_get_iter(model2, &iter, path)) in on_treeview2_button_press_event()
919 gtk_tree_view_expand_row(view, path, TRUE); in on_treeview2_button_press_event()
924 gtk_tree_view_expand_row(view, path, TRUE); in on_treeview2_button_press_event()
[all …]
Dconfdata.c844 char path[PATH_MAX+1]; in conf_split_config() local
911 d = path; in conf_split_config()
919 fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in conf_split_config()
929 d = path; in conf_split_config()
932 if (stat(path, &sb) && mkdir(path, 0755)) { in conf_split_config()
939 fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in conf_split_config()
Dzconf.l329 "Inclusion path:\n current file : '%s'\n",
/scripts/dtc/libfdt/
Dfdt_ro.c157 int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen) in fdt_path_offset_namelen() argument
159 const char *end = path + namelen; in fdt_path_offset_namelen()
160 const char *p = path; in fdt_path_offset_namelen()
166 if (*path != '/') { in fdt_path_offset_namelen()
167 const char *q = memchr(path, '/', end - p); in fdt_path_offset_namelen()
202 int fdt_path_offset(const void *fdt, const char *path) in fdt_path_offset() argument
204 return fdt_path_offset_namelen(fdt, path, strlen(path)); in fdt_path_offset()
Dlibfdt.h339 int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen);
363 int fdt_path_offset(const void *fdt, const char *path);
/scripts/coccinelle/null/
Dbadzero.cocci7 //# include path.
119 // This rule may lead to inconsistent path problems, if E is defined in two
/scripts/coccinelle/iterators/
Dlist_entry_update.cocci4 /// that there is a path from the reassignment back to the top of the loop.

12