HomeSort by relevance Sort by last modified time
    Searched refs:tempfile (Results 1 - 25 of 29) sorted by null

1 2

  /onnv/onnv-gate/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 ); };
  /onnv/onnv-gate/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
  /onnv/onnv-gate/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...]
  /onnv/onnv-gate/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 "");
  /onnv/onnv-gate/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...]
  /onnv/onnv-gate/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...]
  /onnv/onnv-gate/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...]
  /onnv/onnv-gate/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...]
  /onnv/onnv-gate/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);
  /onnv/onnv-gate/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)
  /onnv/onnv-gate/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;
  /onnv/onnv-gate/usr/src/cmd/fmli/sys/
chgenv.c 55 FILE *tempfile();
57 if ((outfp = tempfile(NULL, "w+")) == NULL)
tempfiles.c 237 * make a tempfile using "eopen()"
243 tempfile(path, mode) function
eval.c 555 FILE *tempfile();
564 if (fp = tempfile(NULL, "w+"))
evfuncs.c 320 FILE *tempfile();
322 if ((infp = tempfile(NULL, "w+")) == NULL)
  /onnv/onnv-gate/usr/src/cmd/bdiff/
bdiff.c 69 static char tempfile[32]; variable
332 temptr = maket(tempfile);
350 if ((temptr = fopen(tempfile, "r")) == NULL) {
352 "Can not open tempfile ('%s')", tempfile); fatal(Error);
360 (void) unlink(tempfile);
434 (void) unlink(tempfile);
  /onnv/onnv-gate/usr/src/cmd/diff/
diff.h 183 char tempfile[2][16]; /* used when comparing against std input */ variable
  /onnv/onnv-gate/usr/src/cmd/sgs/m4/common/
m4ext.c 106 char *tempfile; /* used for diversion files */ variable
m4.c 84 tempfile = mktemp(tmp_name);
85 (void) close(creat(tempfile, 0));
649 tempfile[7] = 'a';
650 (void) unlink(tempfile);
691 tempfile[7] = 'a'+i;
694 fp = xfopen(tempfile, "r");
707 (void) unlink(tempfile);
m4.h 115 extern char *tempfile;
m4macs.c 138 tempfile[7] = 'a'+f;
139 if (ofile[f] || (ofile[f] = xfopen(tempfile, "w"))) {
  /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/File/
Temp.pm 44 use File::Temp qw/ tempfile tempdir /;
47 ($fh, $filename) = tempfile( DIR => $dir );
49 ($fh, $filename) = tempfile( $template, DIR => $dir);
50 ($fh, $filename) = tempfile( $template, SUFFIX => '.dat');
52 $fh = tempfile();
97 interface. The File::Temp constructor or the tempfile() function can
155 tempfile
226 # in most cases but not if tempfile is called with UNLINK=>0 and
263 # "mkdir"=> if true, we are creating a temp directory rather than tempfile
365 # or a tempfile
1112 sub tempfile { subroutine
    [all...]
  /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/utils/
perlcc.PL 54 use File::Temp qw(tempfile);
285 # Don't need to keep it, be safe with a tempfile.
287 ($cfh, $cfile) = tempfile("pccXXXXX", SUFFIX => ".c");
492 (undef, $errname) = tempfile("pccXXXXX");
  /onnv/onnv-gate/usr/src/grub/grub-0.97/util/
grub-install.in 45 # look for secure tempfile creation wrappers on this platform
46 if test -x /bin/tempfile; then
47 mklog="/bin/tempfile --prefix=grub"
48 mkimg="/bin/tempfile --prefix=grub"

Completed in 540 milliseconds

1 2