Home
last modified time | relevance | path

Searched refs:tmp_dir (Results 1 – 16 of 16) sorted by relevance

/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Dmkdir.c54 char *tmp_dir; in rpl_mkdir() local
59 tmp_dir = strdup (dir); in rpl_mkdir()
60 if (!tmp_dir) in rpl_mkdir()
66 strip_trailing_slashes (tmp_dir); in rpl_mkdir()
70 tmp_dir = (char *) dir; in rpl_mkdir()
75 char *last = last_component (tmp_dir); in rpl_mkdir()
80 if (stat (tmp_dir, &st) == 0 || errno == EOVERFLOW) in rpl_mkdir()
87 ret_val = mkdir (tmp_dir, mode); in rpl_mkdir()
89 if (tmp_dir != dir) in rpl_mkdir()
90 free (tmp_dir); in rpl_mkdir()
/netbsd-src/external/gpl2/xcvs/dist/lib/
H A Dmkdir.c49 char *tmp_dir; in rpl_mkdir() local
54 tmp_dir = xstrdup (dir); in rpl_mkdir()
55 strip_trailing_slashes (tmp_dir); in rpl_mkdir()
59 tmp_dir = (char *) dir; in rpl_mkdir()
62 ret_val = mkdir (tmp_dir, mode); in rpl_mkdir()
64 if (tmp_dir != dir) in rpl_mkdir()
65 free (tmp_dir); in rpl_mkdir()
/netbsd-src/etc/rc.d/
H A Dcleartmp21 tmp_dir=${per_user_tmp_dir}
23 tmp_dir="/tmp"
27 /bin/rm -rf ${tmp_dir}
28 /bin/mkdir ${tmp_dir}
29 /sbin/chown root:wheel ${tmp_dir}
30 /bin/chmod 1777 ${tmp_dir}
45 (cd ${tmp_dir} &&
/netbsd-src/distrib/vax/inst-common/
H A Ddot.commonutils49 read tmp_dir
50 if [ "$tmp_dir" = "" ]; then
51 tmp_dir=$def_tmp_dir
53 if [ ! -d "$tmp_dir" ]; then
54 /bin/rm -rf $tmp_dir
55 mkdir -p $tmp_dir
61 if [ "$tmp_dir" = "" ]; then
64 cd $tmp_dir
/netbsd-src/distrib/amiga/floppies/inst-common/
H A Ddot.commonutils59 read tmp_dir
60 if [ "$tmp_dir" = "" ]; then
61 tmp_dir=$def_tmp_dir
63 if [ ! -d "$tmp_dir" ]; then
64 /bin/rm -rf $tmp_dir
65 mkdir -p $tmp_dir
71 if [ "$tmp_dir" = "" ]; then
74 cd $tmp_dir
/netbsd-src/distrib/utils/script-installer/
H A Ddot.commonutils59 read tmp_dir
60 if [ "$tmp_dir" = "" ]; then
61 tmp_dir=$def_tmp_dir
63 if [ ! -d "$tmp_dir" ]; then
64 /bin/rm -rf $tmp_dir
65 mkdir -p $tmp_dir
71 if [ "$tmp_dir" = "" ]; then
74 cd $tmp_dir
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/lit/
H A Dmain.py238 tmp_dir = None
241 tmp_dir = tempfile.mkdtemp(prefix="lit_tmp_")
243 'TMPDIR': tmp_dir,
244 'TMP': tmp_dir,
245 'TEMP': tmp_dir,
246 'TEMPDIR': tmp_dir,
251 if tmp_dir:
254 shutil.rmtree(tmp_dir)
256 …"Failed to delete temp directory '%s', try upgrading your version of Python to fix this" % tmp_dir)
/netbsd-src/external/apache2/llvm/dist/clang/tools/scan-build-py/libscanbuild/
H A Dintercept.py86 with TemporaryDirectory(prefix='intercept-') as tmp_dir:
88 environment = setup_environment(args, tmp_dir)
92 parse_exec_trace(os.path.join(tmp_dir, filename))
93 for filename in sorted(glob.iglob(os.path.join(tmp_dir, '*.cmd'))))
/netbsd-src/external/apache2/llvm/dist/clang/tools/scan-build-py/tests/functional/cases/
H A Dtest_exec_anatomy.py47 with libear.TemporaryDirectory() as tmp_dir:
48 expected, result = run(source_dir, tmp_dir)
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
H A Dsanitizer_libc_test.cc69 char tmp_dir[MAX_PATH]; in temp_file_name() local
70 if (!::GetTempPathA(MAX_PATH, tmp_dir)) in temp_file_name()
74 if (!::GetTempFileNameA(tmp_dir, prefix, 0, tmp_path)) in temp_file_name()
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dvtable-class-hierarchy.cc689 const char *tmp_dir = concat (dump_dir_name, NULL); in get_log_file_name() local
694 dir_len = strlen (tmp_dir); in get_log_file_name()
698 strcpy (full_name, tmp_dir); in get_log_file_name()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dvtable-class-hierarchy.c689 const char *tmp_dir = concat (dump_dir_name, NULL); in get_log_file_name() local
694 dir_len = strlen (tmp_dir); in get_log_file_name()
698 strcpy (full_name, tmp_dir); in get_log_file_name()
/netbsd-src/external/lgpl3/gmp/dist/
H A Dconfigure.ac3241 for tmp_dir in $fat_path; do
3245 GMP_FAT_SUFFIX(tmp_suffix, $tmp_dir)
3265 tmp_mparam=$srcdir/mpn/$tmp_dir/gmp-mparam.h
3290 tmp_file=$srcdir/mpn/$tmp_dir/$tmp_base.$tmp_ext
3328 echo ["$tmp_d_n_l mpn_$tmp_fbase - from $tmp_dir directory for fat binary.
3342 include][($mpn_relative_top_srcdir/mpn/$tmp_dir/$tmp_base.asm)
3346 echo ["/* mpn_$tmp_fbase - from $tmp_dir directory for fat binary.
3355 #include \"$mpn_relative_top_srcdir/mpn/$tmp_dir/$tmp_base.c\"
3422 for tmp_dir in $path; do
3425 tmp_file=$srcdir/mpn/$tmp_dir/$tmp_base.$tmp_ext
[all …]
H A Dconfigure25158 for tmp_dir in $fat_path; do
25162 tmp_suffix=`echo $tmp_dir | sed -e '/\//s:^[^/]*/::' -e 's:[\\/]:_:g'`
25182 tmp_mparam=$srcdir/mpn/$tmp_dir/gmp-mparam.h
25252 tmp_file=$srcdir/mpn/$tmp_dir/$tmp_base.$tmp_ext
25306 echo "$tmp_d_n_l mpn_$tmp_fbase - from $tmp_dir directory for fat binary.
25320 include($mpn_relative_top_srcdir/mpn/$tmp_dir/$tmp_base.asm)
25324 echo "/* mpn_$tmp_fbase - from $tmp_dir directory for fat binary.
25333 #include \"$mpn_relative_top_srcdir/mpn/$tmp_dir/$tmp_base.c\"
25445 for tmp_dir in $path; do
25448 tmp_file=$srcdir/mpn/$tmp_dir/$tmp_base.$tmp_ext
[all …]
/netbsd-src/external/bsd/ntp/dist/sntp/ag-tpl/0-old/
H A Dcmd-doc.tlib161 cd $tmp_dir
/netbsd-src/external/gpl2/texinfo/dist/
H A DChangeLog.466495 * util/texi2dvi: Always remove the $tmp_dir's.