| /pkg/on_ips/usr/src/cmd/perl/5.8.4/distrib/lib/File/Temp/t/ |
| tempfile.t | 2 # Test for File::Temp - tempfile function 35 use File::Temp qw/ tempfile tempdir/; 41 # Tempfile 42 # Open tempfile in some directory, unlink at end 43 my ($fh, $tempfile) = tempfile( 48 ok( (-f $tempfile) ); 51 ok( (-f $tempfile) ); 53 push(@files, $tempfile); 70 ($fh, $tempfile) = tempfile [all...] |
| security.t | 20 use File::Temp qw/ tempfile unlink0 /; 81 # of tests -- we dont use skip since the tempfile() commands will 94 # Create the tempfile 96 my ($fh1, $fname1) = eval { tempfile ( $template, 123 my ($fh2, $fname2) = eval { tempfile ($template, UNLINK => 1 ); };
|
| /pkg/on_ips/usr/src/cmd/dtrace/test/tst/common/dtraceUtil/ |
| tst.AddSearchPath.d.ksh | 69 tempfile=/tmp/test.h 70 echo "#define VALUE 1520" > $tempfile 81 /usr/bin/rm -f $tempfile
|
| /pkg/on_ips/usr/src/lib/libnsl/dial/ |
| ulockf.c | 56 static char *tempfile; local 59 tempfile = malloc(MAXNAMESIZE); 60 if (tempfile == NULL) 63 (void) snprintf(tempfile, MAXNAMESIZE, "%s/LTMP.%ld", X_LOCKDIR, 67 if (onelock(pid, tempfile, name) == -1) { 68 (void) unlink(tempfile); 72 if (onelock(pid, tempfile, name)) { 73 (void) unlink(tempfile); 189 * tempfile - name of a temporary in the same file system 196 onelock(char *pid, char *tempfile, char *name [all...] |
| /pkg/on_ips/usr/src/cmd/filebench/scripts/ |
| fs_flush.pl | 87 my $tempfile = "/tmp/zpool.cache$$"; 90 if (run_prog("cp /etc/zfs/zpool.cache $tempfile") == 0) { 91 $cachefile = "-c $tempfile " 100 system("rm -f $tempfile") if ($cachefile ne "");
|
| /pkg/on_ips/usr/src/cmd/refer/ |
| sortbib.c | 25 char tempfile[32]; /* temporary file for sorting keys */ variable 75 strcpy(tempfile, "/tmp/SbibXXXXXX"); /* tempfile for sorting keys */ 76 if ((tmpfd = mkstemp(tempfile)) == -1) 77 error(tempfile); 82 if ((tfp = fopen(tempfile, "w")) == NULL) { 83 (void) unlink(tempfile); 84 error(tempfile); 90 (void) unlink(tempfile); 127 (void) unlink(tempfile); [all...] |
| /pkg/on_ips/usr/src/cmd/tip/ |
| uucplock.c | 85 static char tempfile[NAMESIZE]; local 90 (void) snprintf(tempfile, sizeof (tempfile), 93 if (onelock(pid, tempfile, file) == -1) { 95 (void) unlink(tempfile); 99 if (onelock(pid, tempfile, file)) { 100 (void) unlink(tempfile); 199 onelock(char *pid, char *tempfile, char *name) 204 fd = creat(tempfile, 0444); 220 (void) unlink(tempfile); [all...] |
| /pkg/on_ips/usr/src/cmd/bnu/ |
| ulockf.c | 67 static char tempfile[MAXNAMESIZE]; local 75 (void) sprintf(tempfile, "%s/LTMP.%ld", X_LOCKDIR, (long) getpid()); 85 if (onelock(pid, tempfile, name) == -1) { 86 (void) unlink(tempfile); 90 if (onelock(pid, tempfile, name)) { 91 (void) unlink(tempfile); 290 * tempfile - name of a temporary in the same file system 297 onelock(pid,tempfile,name) 299 char *tempfile, *name; 304 fd=creat(tempfile, (mode_t) 0444) [all...] |
| /pkg/on_ips/usr/src/cmd/ttymon/ |
| ulockf.c | 66 static char tempfile[MAXNAMESIZE]; local 74 (void) sprintf(tempfile, "%s/LTMP.%ld", X_LOCKDIR, (long) getpid()); 84 if (onelock(pid, tempfile, name) == -1) { 85 (void) unlink(tempfile); 89 if (onelock(pid, tempfile, name)) { 90 (void) unlink(tempfile); 289 * tempfile - name of a temporary in the same file system 296 onelock(pid,tempfile,name) 298 char *tempfile, *name; 303 fd=creat(tempfile, (mode_t) 0444) [all...] |
| /pkg/on_ips/usr/src/lib/libmail/common/ |
| maillock.c | 128 lock1(char tempfile[], char name[]) 133 fd = open(tempfile, O_RDWR|O_CREAT|O_EXCL, 0600); 147 if (link(tempfile, name) < 0) { 148 (void) remove(tempfile); 151 (void) remove(tempfile);
|
| /pkg/on_ips/usr/src/tools/onbld/Checks/ |
| ProcessCheck.py | 34 import tempfile 45 # We use a tempfile for output, rather than a pipe, so we 49 tmpfile = tempfile.TemporaryFile(prefix=command)
|
| /pkg/2008.11/src/tests/api/ |
| t_imageconfig.py | 29 import tempfile 40 fd, self.sample_conf = tempfile.mkstemp() 73 fd, fname = tempfile.mkstemp()
|
| t_smf.py | 27 import tempfile 40 fd_passwd, self.passwd_tmp = tempfile.mkstemp() 41 fd_xml, self.xml_tmp = tempfile.mkstemp() 42 fd_s1, self.smf1_tmp = tempfile.mkstemp() 43 fd_s2, self.smf2_tmp = tempfile.mkstemp()
|
| t_plat.py | 30 import tempfile 69 (fd1, path1) = tempfile.mkstemp() 71 (fd2, path2) = tempfile.mkstemp() 92 tdir1 = tempfile.mkdtemp() 101 fd1, path1 = tempfile.mkstemp(dir = tdir1) 112 tdir2 = tempfile.mkdtemp() 117 fd2, path2 = tempfile.mkstemp(dir = tdir2) 140 tdir1 = tempfile.mkdtemp() 155 tdir2 = tempfile.mkdtemp() 160 fd2, path2 = tempfile.mkstemp(dir = tdir2 [all...] |
| t_pkgtarfile.py | 31 import tempfile 45 self.tpath = tempfile.mkdtemp() 47 cpath = tempfile.mkdtemp()
|
| t_misc.py | 30 import tempfile 48 tmpdir = tempfile.mkdtemp()
|
| /pkg/on_ips/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/Perldoc/ |
| ToRtf.pm | 21 my($self, $tempfile, $perldoc) = @_; 26 $perldoc->aside( "About to launch <\"$rtf_pager\" \"$tempfile\">\n" ); 28 return 1 if system( qq{"$rtf_pager"}, qq{"$tempfile"} ) == 0;
|
| /pkg/gate/src/tests/api/ |
| t_smf.py | 27 import tempfile 40 fd_passwd, self.passwd_tmp = tempfile.mkstemp() 41 fd_xml, self.xml_tmp = tempfile.mkstemp() 42 fd_s1, self.smf1_tmp = tempfile.mkstemp() 43 fd_s2, self.smf2_tmp = tempfile.mkstemp()
|
| t_pkgtarfile.py | 31 import tempfile 45 self.tpath = tempfile.mkdtemp() 47 cpath = tempfile.mkdtemp()
|
| t_indexer.py | 32 import tempfile 43 tmpdir = tempfile.mkdtemp() 83 tmpdir = tempfile.mkdtemp()
|
| /pkg/2009.06/src/tests/api/ |
| t_smf.py | 27 import tempfile 40 fd_passwd, self.passwd_tmp = tempfile.mkstemp() 41 fd_xml, self.xml_tmp = tempfile.mkstemp() 42 fd_s1, self.smf1_tmp = tempfile.mkstemp() 43 fd_s2, self.smf2_tmp = tempfile.mkstemp()
|
| t_plat.py | 30 import tempfile 69 (fd1, path1) = tempfile.mkstemp() 71 (fd2, path2) = tempfile.mkstemp() 92 tdir1 = tempfile.mkdtemp() 101 fd1, path1 = tempfile.mkstemp(dir = tdir1) 112 tdir2 = tempfile.mkdtemp() 117 fd2, path2 = tempfile.mkstemp(dir = tdir2) 140 tdir1 = tempfile.mkdtemp() 155 tdir2 = tempfile.mkdtemp() 160 fd2, path2 = tempfile.mkstemp(dir = tdir2 [all...] |
| t_pkgtarfile.py | 31 import tempfile 45 self.tpath = tempfile.mkdtemp() 47 cpath = tempfile.mkdtemp()
|
| t_imageconfig.py | 30 import tempfile 40 self.sample_dir = tempfile.mkdtemp() 105 newdir = tempfile.mkdtemp()
|
| /pkg/2008.11/src/tests/cli/ |
| t_pkgrecv.py | 35 import tempfile 99 self.tempdir = tempfile.mkdtemp()
|