Searched refs:tmpdir (Results 1 - 25 of 28) sorted by relevance

12

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/Temp/t/
H A Dmktemp.t20 my $template = File::Spec->catfile(File::Spec->tmpdir, 'wowserXXXX');
87 $template = File::Spec->catdir(File::Spec->tmpdir, 'tmpdirXXXXXX');
89 my $tmpdir = mkdtemp($template);
91 print "# MKDTEMP: Name is $tmpdir from template $template\n";
93 ok( (-d $tmpdir ) );
96 rmtree($tmpdir);
101 $template = File::Spec->catfile(File::Spec->tmpdir, 'mytestXXXXXX');
H A Dsecurity.t5 # Test a simple open in the cwd and tmpdir foreach of the
97 DIR => File::Spec->tmpdir,
108 my $skip2 = "Skip: " . File::Spec->tmpdir() . " possibly insecure: $@. " .
H A Dtempfile.t133 $fh = eval { tempfile( 'ftmpXXXXX', DIR => File::Spec->tmpdir ) };
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Memoize/t/
H A Dtie.t33 File::Spec::Functions->import('tmpdir', 'catfile');
34 $tmpdir = tmpdir();
37 $tmpdir = $ENV{TMP} || $ENV{TMPDIR} || '/tmp';
39 $file = catfile($tmpdir, "md$$");
H A Dtie_sdbm.t32 File::Spec::Functions->import('tmpdir', 'catfile');
33 $tmpdir = tmpdir();
36 $tmpdir = $ENV{TMP} || $ENV{TMPDIR} || '/tmp';
38 $file = catfile($tmpdir, "md$$");
H A Dtie_ndbm.t37 $tmpdir = $ENV{TMP} || $ENV{TMPDIR} || '/tmp';
38 $file = catfile($tmpdir, "md$$");
H A Dtie_storable.t42 $tmpdir = $ENV{TMP} || $ENV{TMPDIR} || '/tmp';
43 $file = catfile($tmpdir, "storable$$");
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/Spec/
H A DCygwin.pm62 =item tmpdir (override)
76 my $tmpdir;
77 sub tmpdir { subroutine
78 return $tmpdir if defined $tmpdir;
80 $tmpdir = $self->_tmpdir( $ENV{TMPDIR}, "/tmp", 'C:/temp' );
H A DOS2.pm37 my $tmpdir;
38 sub tmpdir { subroutine
39 return $tmpdir if defined $tmpdir;
41 $tmpdir = $self->_tmpdir( @ENV{qw(TMPDIR TEMP TMP)},
250 =item tmpdir
H A DUnix.pm116 =item tmpdir
130 my $tmpdir;
132 return $tmpdir if defined $tmpdir;
144 $tmpdir = $_;
147 $tmpdir = $self->curdir unless defined $tmpdir;
148 $tmpdir = defined $tmpdir && $self->canonpath($tmpdir);
152 sub tmpdir { subroutine
[all...]
H A DFunctions.pm28 tmpdir
86 tmpdir
H A DWin32.pm38 =item tmpdir
59 my $tmpdir;
60 sub tmpdir { subroutine
61 return $tmpdir if defined $tmpdir;
63 $tmpdir = $self->_tmpdir( @ENV{qw(TMPDIR TEMP TMP)},
H A DVMS.pm264 =item tmpdir (override)
277 my $tmpdir;
278 sub tmpdir { subroutine
279 return $tmpdir if defined $tmpdir;
281 $tmpdir = $self->_tmpdir( 'sys$scratch:', $ENV{TMPDIR} );
H A DMac.pm364 =item tmpdir
373 my $tmpdir;
374 sub tmpdir { subroutine
375 return $tmpdir if defined $tmpdir;
377 $tmpdir = $self->_tmpdir( $ENV{TMPDIR} );
/osnet-11/usr/src/grub/grub2/build-aux/
H A Dinstall-sh335 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
336 trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
339 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
346 ls_ld_tmpdir=`ls -ld "$tmpdir"`
352 $mkdirprog -m$different_mode -p -- "$tmpdir" && {
353 ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
359 rmdir "$tmpdir/d" "$tmpdir"
/osnet-11/usr/src/lib/libast/common/path/
H A Dpathtemp.c97 char* tmpdir; member in struct:__anon1176
162 if (tmp.tmpdir)
163 free(tmp.tmpdir);
164 tmp.tmpdir = dir ? strdup(dir) : (char*)0;
216 if (((d = tmp.tmpdir) || (d = getenv(TMP_ENV))) && !VALID(d))
/osnet-11/usr/src/lib/libbootmgmt/common/
H A Dlibbootmgmt.c218 char tmpdir[MAXPATHLEN]; local
237 (void) strlcpy(tmpdir, "/tmp/.libbootmgmt-XXXXXXX",
238 sizeof (tmpdir));
241 if (mkdtemp(tmpdir) == NULL) {
246 if (mount(blockpath, tmpdir, MS_RDONLY | MS_OPTIONSTR,
251 (void) umount2(tmpdir, 0);
252 (void) rmdir(tmpdir);
260 (void) rmdir(tmpdir);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/
H A DCompare.t79 my $template = File::Spec->catfile(File::Spec->tmpdir, 'fcmpXXXX');
H A DTemp.pm74 $tmpdir = mkdtemp( $template );
1051 files, as specified by the tmpdir() function in L<File::Spec>.
1081 automatically generated. This temporary file is placed in tmpdir()
1168 $template = File::Spec->catfile(File::Spec->tmpdir, TEMPXXX);
1236 Create a directory in tmpdir() (see L<File::Spec|File::Spec>).
1262 $tempdir = tempdir ( $template, DIR => File::Spec->tmpdir);
1278 will be created in tmpdir() and will also be removed at program exit.
1326 # Prepend tmpdir
1327 $template = File::Spec->catdir(File::Spec->tmpdir, $template);
1341 $template = File::Spec->catdir(File::Spec->tmpdir, TEMPXX
[all...]
H A DSpec.pm125 =item tmpdir
133 $tmpdir = File::Spec->tmpdir();
/osnet-11/usr/src/lib/libzoneinfo/common/
H A Dlibzone.c1056 char *tmpdir, *tmp; /* Temp file name and location */ local
1101 if ((tmpdir = strdup(tdb)) == NULL) {
1105 remove_component(tmpdir);
1106 if ((len = strlen(tmpdir)) == 0) {
1107 (void) strcpy(tmpdir, ".");
1112 free(tmpdir);
1116 (void) strcpy(tmp, tmpdir);
1118 free(tmpdir);
/osnet-11/usr/src/grub/grub2/build-bios/po/
H A DMakefile1029 tmpdir=`pwd`; \
1036 $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
1038 $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
1041 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
1042 rm -f $$tmpdir/$$lang.new.po; \
1044 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
1047 echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
1053 rm -f $$tmpdir/$$lang.new.po; \
1083 tmpdir=`pwd`; \
1088 if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null | sed -f $$tmpdir/
[all...]
/osnet-11/usr/src/grub/grub2/build-uefi64/po/
H A DMakefile1029 tmpdir=`pwd`; \
1036 $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
1038 $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
1041 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
1042 rm -f $$tmpdir/$$lang.new.po; \
1044 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
1047 echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
1053 rm -f $$tmpdir/$$lang.new.po; \
1083 tmpdir=`pwd`; \
1088 if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null | sed -f $$tmpdir/
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/
H A DMM_VMS.pm1757 my($makefilename, $searchdirs, $static, $extra, $perlinc, $target, $tmpdir, $libperl) =
1899 $tmpdir = "[]" unless $tmpdir;
1900 $tmpdir = $self->fixpath($tmpdir,1);
1935 push @m,"\n${tmpdir}Makeaperl.Opt : \$(MAP_EXTRA)\n";
1939 push @m,"\n${tmpdir}PerlShr.Opt :\n\t";
1945 $(MAP_TARGET) : $(MAP_SHRTARGET) ',"${tmpdir}perlmain\$(OBJ_EXT) ${tmpdir}PerlShr.Opt",'
1946 $(MAP_LINKCMD) ',"${tmpdir}perlmai
[all...]
/osnet-11/usr/src/lib/libpkg/common/
H A Dpkgtrans.c96 static char *tmpdir; variable
462 tmpdir = srcdev.dirname = strdup(srcdev.dirname);
1822 if (tmpdir) {
1823 rrmdir(tmpdir);
1824 free(tmpdir);
1825 tmpdir = NULL;

Completed in 44 milliseconds

12