/openbmc/openbmc/poky/meta/recipes-core/readline/readline/ |
H A D | readline82-009.patch | 27 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 D | generate_makefile.sh | 10 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 D | generate_makefile.sh | 10 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 D | tools.py | 34 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 D | ynl-regen.sh | 4 TOOL=$(dirname $(realpath $0))/ynl-gen-c.py 17 KDIR=$(dirname $(dirname $(dirname $(dirname $(realpath $0)))))
|
/openbmc/linux/scripts/dtc/ |
H A D | fstree.c | 11 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 D | srcpos.c | 16 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 D | fstree.c | 26 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 D | srcpos.c | 30 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 D | yaffs2.c | 123 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 D | recordmcount.pl | 377 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 D | parse.c | 51 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 D | 0001-Makefile.am-avoid-race-when-creating-autostart-direc.patch | 39 - @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 D | selftest | 13 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 D | gen-framework-path.patch | 12 -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 D | gcc-shared-source.inc | 18 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 D | reiserfs.c | 680 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 D | linuxtest.py | 19 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 D | edac_module.h | 69 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 D | toaster-eventreplay | 28 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 D | fork.c | 270 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 D | copy_buildsystem.py | 100 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 D | run-ninja-from-path.patch | 12 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 D | test.py | 13 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 D | builderthread.py | 17 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 …]
|