Home
last modified time | relevance | path

Searched refs:dirname (Results 1 – 25 of 794) sorted by relevance

12345678910>>...32

/openbmc/openbmc/poky/meta/recipes-core/readline/readline/
H A Dreadline82-009.patch27 xfree (dirname);
28 dirname = temp;
33 xfree (dirname);
34 dirname = temp;
35 ! if (*dirname != '~')
46 xfree (dirname);
49 directory = opendir (dirname);
59 ! if we tilde-expanded dirname. */
61 xfree (dirname);
62 ! dirname = temp;
[all …]
/openbmc/ibm-dbus-interfaces/
H A Dgenerate_makefile.sh10 iface_path=`dirname $i`/`basename $i .interface.yaml`
15 @mkdir -p \`dirname \$@\`
19 @mkdir -p \`dirname \$@\`
30 iface_path=`dirname $e`/`basename $e .errors.yaml`
35 @mkdir -p \`dirname \$@\`
39 @mkdir -p \`dirname \$@\`
81 test -d \`dirname \$\$i\` && rm -rf \`dirname \$\$i\` ; \\
/openbmc/openpower-dbus-interfaces/
H A Dgenerate_makefile.sh10 iface_path=`dirname $i`/`basename $i .interface.yaml`
15 @mkdir -p \`dirname \$@\`
19 @mkdir -p \`dirname \$@\`
30 iface_path=`dirname $e`/`basename $e .errors.yaml`
35 @mkdir -p \`dirname \$@\`
39 @mkdir -p \`dirname \$@\`
81 test -d \`dirname \$\$i\` && rmdir -p \`dirname \$\$i\` ; \\
/openbmc/u-boot/tools/patman/
H A Dtools.py34 def PrepareOutputDir(dirname, preserve=False): argument
53 preserve_outdir = dirname or preserve
54 if dirname:
55 outdir = dirname
99 def SetInputDirs(dirname): argument
108 indir = dirname
122 for dirname in indir:
123 pathname = os.path.join(dirname, fname)
142 for dirname in indir:
143 pathname = os.path.join(dirname, pattern)
/openbmc/linux/tools/net/ynl/
H A Dynl-regen.sh4 TOOL=$(dirname $(realpath $0))/ynl-gen-c.py
17 KDIR=$(dirname $(dirname $(dirname $(dirname $(realpath $0)))))
/openbmc/linux/scripts/dtc/
H A Dfstree.c11 static struct node *read_fstree(const char *dirname) in read_fstree() argument
18 d = opendir(dirname); in read_fstree()
20 die("Couldn't opendir() \"%s\": %s\n", dirname, strerror(errno)); in read_fstree()
31 tmpname = join_path(dirname, de->d_name); in read_fstree()
68 struct dt_info *dt_from_fs(const char *dirname) in dt_from_fs() argument
72 tree = read_fstree(dirname); in dt_from_fs()
H A Dsrcpos.c16 const char *dirname; /* name of directory to search */ member
100 static char *try_open(const char *dirname, const char *fname, FILE **fp) in try_open() argument
104 if (!dirname || fname[0] == '/') in try_open()
107 fullname = join_path(dirname, fname); in try_open()
141 fullname = try_open(node->dirname, fname, fp); in fopen_any_on_path()
215 void srcfile_add_search_path(const char *dirname) in srcfile_add_search_path() argument
222 node->dirname = xstrdup(dirname); in srcfile_add_search_path()
/openbmc/u-boot/scripts/dtc/
H A Dfstree.c26 static struct node *read_fstree(const char *dirname) in read_fstree() argument
33 d = opendir(dirname); in read_fstree()
35 die("Couldn't opendir() \"%s\": %s\n", dirname, strerror(errno)); in read_fstree()
46 tmpname = join_path(dirname, de->d_name); in read_fstree()
82 struct dt_info *dt_from_fs(const char *dirname) in dt_from_fs() argument
86 tree = read_fstree(dirname); in dt_from_fs()
H A Dsrcpos.c30 const char *dirname; /* name of directory to search */ member
71 static char *try_open(const char *dirname, const char *fname, FILE **fp) in try_open() argument
75 if (!dirname || fname[0] == '/') in try_open()
78 fullname = join_path(dirname, fname); in try_open()
112 fullname = try_open(node->dirname, fname, fp); in fopen_any_on_path()
183 void srcfile_add_search_path(const char *dirname) in srcfile_add_search_path() argument
190 node->dirname = xstrdup(dirname); in srcfile_add_search_path()
/openbmc/u-boot/cmd/
H A Dyaffs2.c123 char *dirname; in do_yls() local
130 dirname = argv[argc - 1]; in do_yls()
132 cmd_yaffs_ls(dirname, (argc > 2) ? 1 : 0); in do_yls()
220 char *dirname; in do_ymkdir() local
227 dirname = argv[1]; in do_ymkdir()
228 cmd_yaffs_mkdir(dirname); in do_ymkdir()
235 char *dirname; in do_yrmdir() local
242 dirname = argv[1]; in do_yrmdir()
243 cmd_yaffs_rmdir(dirname); in do_yrmdir()
/openbmc/linux/scripts/
H A Drecordmcount.pl377 my $dirname;
383 $dirname = $1;
386 $dirname = ".";
398 my $mcount_s = $dirname . "/.tmp_mc_" . $prefix . ".s";
399 my $mcount_o = $dirname . "/.tmp_mc_" . $prefix . ".o";
562 my $globalobj = $dirname . "/.tmp_gl_" . $filename;
563 my $globalmix = $dirname . "/.tmp_mx_" . $filename;
585 my $mix = $dirname . "/.tmp_mx_" . $filename;
/openbmc/linux/tools/power/cpupower/bench/
H A Dparse.c51 FILE *prepare_output(const char *dirname) in prepare_output() argument
59 dir = opendir(dirname); in prepare_output()
61 if (mkdir(dirname, 0755)) { in prepare_output()
64 dirname); in prepare_output()
69 len = strlen(dirname) + 30; in prepare_output()
88 dirname, sysdata.nodename, sysdata.release, time(NULL)); in prepare_output()
91 dirname, time(NULL)); in prepare_output()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/openbox/files/
H A D0001-Makefile.am-avoid-race-when-creating-autostart-direc.patch39 - @test -d $(shell dirname $(top_builddir)/$@) || \
40 - mkdir $(shell dirname $(top_builddir)/$@)
41 + mkdir -p $(shell dirname $(top_builddir)/$@)
46 - @test -d $(shell dirname $(top_builddir)/$@) || \
47 - mkdir $(shell dirname $(top_builddir)/$@)
48 + mkdir -p $(shell dirname $(top_builddir)/$@)
/openbmc/openbmc/poky/meta/lib/patchtest/selftest/
H A Dselftest13 currentdir = os.path.dirname(os.path.abspath(__file__))
15 topdir = os.path.dirname(currentdir)
16 parentdir = os.path.dirname(topdir)
19 repodir = os.path.dirname(os.path.dirname(parentdir))
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/files/
H A Dgen-framework-path.patch12 -sys.path.append(os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts"))
13 +sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts"))
19 -sys.path.append(os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts"))
20 +sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts"))
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/
H A Dgcc-shared-source.inc18 mkdir -p ${SDE_DEPLOYDIR} $(dirname ${SDE_FILE})
19 cp -p $(dirname ${S})/$sde_file ${SDE_DEPLOYDIR}
20 cp -p $(dirname ${S})/$sde_file ${SDE_FILE}
/openbmc/u-boot/fs/reiserfs/
H A Dreiserfs.c680 reiserfs_dir (char *dirname) in reiserfs_dir() argument
698 printf ("dirname=%s\n", dirname); in reiserfs_dir()
735 while (dirname[len] && !isspace (dirname[len])) in reiserfs_dir()
763 dirname = linkbuf; in reiserfs_dir()
764 if (*dirname == '/') in reiserfs_dir()
784 if (! *dirname || isspace (*dirname)) in reiserfs_dir()
810 while (*dirname == '/') in reiserfs_dir()
811 dirname++; in reiserfs_dir()
912 dirname = rest; in reiserfs_dir()
931 reiserfs_ls (char *dirname) in reiserfs_ls() argument
[all …]
/openbmc/qemu/tests/avocado/avocado_qemu/
H A Dlinuxtest.py19 if os.path.islink(os.path.dirname(os.path.dirname(__file__))):
21 lnk = os.path.dirname(os.path.dirname(__file__))
23 SOURCE_DIR = os.path.dirname(os.path.dirname(os.readlink(lnk)))
/openbmc/linux/drivers/edac/
H A Dedac_module.h69 struct dentry *edac_debugfs_create_dir(const char *dirname);
71 edac_debugfs_create_dir_at(const char *dirname, struct dentry *parent);
85 static inline struct dentry *edac_debugfs_create_dir(const char *dirname) { return NULL; } in edac_debugfs_create_dir() argument
87 edac_debugfs_create_dir_at(const char *dirname, struct dentry *parent) { return NULL; } in edac_debugfs_create_dir_at() argument
/openbmc/openbmc/poky/bitbake/bin/
H A Dtoaster-eventreplay28 from os.path import join, dirname, abspath
29 sys.path.insert(0, join(dirname(dirname(abspath(__file__))), 'lib'))
/openbmc/linux/tools/testing/selftests/powerpc/benchmarks/
H A Dfork.c270 char *dirname = strdup(argv[0]); in main() local
272 i = strlen(dirname) - 1; in main()
274 if (dirname[i] == '/') { in main()
275 dirname[i] = '\0'; in main()
276 if (chdir(dirname) == -1) { in main()
/openbmc/openbmc/poky/meta/lib/oe/
H A Dcopy_buildsystem.py100 if corebase == os.path.dirname(layer):
104 elif os.path.commonpath([layer, corebase]) == os.path.dirname(corebase):
105 layer_relative = os.path.relpath(layer, os.path.dirname(corebase))
106 if os.path.dirname(layer_relative) != layernewname:
107 layerdestpath += '/' + os.path.dirname(layer_relative)
173 bb.utils.mkdirhier(os.path.dirname(sigfile))
180 bb.utils.mkdirhier(os.path.dirname(pruned_output))
238 bb.utils.mkdirhier(os.path.dirname(fn))
273 bb.utils.mkdirhier(os.path.dirname(dest))
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-ninja/
H A Drun-ninja-from-path.patch12 os.path.dirname(__file__), '../../Ninja-src/misc')))
15 -DATA = os.path.join(os.path.dirname(__file__), 'data')
26 - _skbuild_dirs = os.listdir(os.path.join(os.path.dirname(__file__), '..', '..', '_skbuild'))
32 - os.path.dirname(__file__), '..', '..', SKBUILD_CMAKE_INSTALL_DIR(), 'src/ninja/data'))
/openbmc/u-boot/tools/buildman/
H A Dtest.py13 our_path = os.path.dirname(os.path.realpath(__file__))
400 def CheckDirs(self, build, dirname): argument
401 self.assertEqual('base%s' % dirname, build._GetOutputDir(1))
402 self.assertEqual('base%s/fred' % dirname,
404 self.assertEqual('base%s/fred/done' % dirname,
406 self.assertEqual('base%s/fred/u-boot.sizes' % dirname,
408 self.assertEqual('base%s/fred/u-boot.objdump' % dirname,
410 self.assertEqual('base%s/fred/err' % dirname,
419 dirname ='/%02d_of_%02d_g%s_%s' % (2, build.commit_count, commits[1][0],
421 self.CheckDirs(build, dirname)
H A Dbuilderthread.py17 def Mkdir(dirname, parents = False): argument
25 os.makedirs(dirname)
27 os.mkdir(dirname)
30 if os.path.realpath('.') == os.path.realpath(dirname):
31 print "Cannot create the current working directory '%s'!" % dirname
384 for dirname in ['', 'spl', 'tpl']:
385 self.CopyFiles(result.out_dir, build_dir, dirname, ['u-boot.cfg',
395 def CopyFiles(self, out_dir, build_dir, dirname, patterns): argument
406 file_list = glob.glob(os.path.join(out_dir, dirname, pattern))
409 if dirname:
[all …]

12345678910>>...32