| /openbsd-src/gnu/usr.bin/perl/cpan/File-Temp/t/ |
| H A D | security.t | 19 use File::Temp qw/ tempfile unlink0 /; 43 File::Temp->safe_level( File::Temp::STANDARD ); 54 File::Temp->safe_level( File::Temp::MEDIUM ); 63 File::Temp->safe_level( File::Temp::HIGH ); 80 DIR => File::Temp::_wrap_file_spec_tmpdir(), 90 } elsif (File::Temp->safe_level() != File::Temp::STANDARD) { 92 my $msg = File::Temp::_wrap_file_spec_tmpdir() . " possibly insecure: $@"; 101 if ( $< < File::Temp->top_system_uid() ){ 111 } elsif (File::Temp->safe_level() != File::Temp::STANDARD) {
|
| H A D | object.t | 37 eval { File::Temp->tempfile }; 39 eval { File::Temp->tempdir }; 44 my $fh = File::Temp->new( SUFFIX => '.txt' ); 54 my $tdir = File::Temp->newdir(); 61 $tdir = File::Temp->newdir( TEMPLATE => 'helloXXXXX' ); 65 $tdir = File::Temp->newdir( 'helloXXXXX' ); 70 my $qfh = File::Temp->new(); 81 my $tempdir = File::Temp::tempdir( $template , 92 $fh = File::Temp->new( 105 $fh = File::Temp->new( DIR => $tempdir, UNLINK => 0 ); [all …]
|
| H A D | seekable.t | 3 # `make test'. After `make install' it should work as `perl File-Temp.t' 10 BEGIN { use_ok('File::Temp') }; 18 $tmp = File::Temp->new; 19 isa_ok( $tmp, 'File::Temp' ); 30 ok( File::Temp->can('seek'), 'tmp can seek' ); 34 ok( File::Temp->can('print'), 'tmp can print' ); 37 $c = scalar @File::Temp::EXPORT; 38 $l = join ' ', @File::Temp::EXPORT; 41 ok(defined eval { SEEK_SET() }, 'SEEK_SET defined by File::Temp') or diag $@; 42 ok(defined eval { SEEK_END() }, 'SEEK_END defined by File::Temp') or diag $@; [all …]
|
| H A D | mktemp.t | 11 use File::Temp qw/ :mktemp unlink0 /; 19 my $template = File::Spec->catfile(File::Temp::_wrap_file_spec_tmpdir(), 'wowserXXXX'); 90 $template = File::Spec->catdir(File::Temp::_wrap_file_spec_tmpdir(), 'tmpdirXXXXXX'); 104 $template = File::Spec->catfile(File::Temp::_wrap_file_spec_tmpdir(), 'mytestXXXXXX');
|
| H A D | fork.t | 27 use File::Temp; 31 my $file = File::Temp->new(); 66 my ($fh, $filename) = File::Temp::tempfile( UNLINK => 1 );
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerUtilLinux.cpp | 36 FILE* Temp = fopen("/dev/null", "w"); in DiscardOutput() local 37 if (!Temp) in DiscardOutput() 39 dup2(fileno(Temp), Fd); in DiscardOutput() 40 fclose(Temp); in DiscardOutput()
|
| H A D | FuzzerUtilDarwin.cpp | 161 FILE* Temp = fopen("/dev/null", "w"); in DiscardOutput() local 162 if (!Temp) in DiscardOutput() 164 dup2(fileno(Temp), Fd); in DiscardOutput() 165 fclose(Temp); in DiscardOutput()
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | FileOutputBuffer.cpp | 34 OnDiskBuffer(StringRef Path, fs::TempFile Temp, fs::mapped_file_region Buf) in OnDiskBuffer() argument 35 : FileOutputBuffer(Path), Buffer(std::move(Buf)), Temp(std::move(Temp)) {} in OnDiskBuffer() 50 return Temp.keep(FinalPath); in commit() 57 consumeError(Temp.discard()); in ~OnDiskBuffer() 63 consumeError(Temp.discard()); in discard() 68 fs::TempFile Temp; member in __anondddc5bfe0111::OnDiskBuffer
|
| H A D | Caching.cpp | 154 Expected<sys::fs::TempFile> Temp = sys::fs::TempFile::create( in localCache() local 156 if (!Temp) in localCache() 158 toString(Temp.takeError()) + ": " + CacheName + in localCache() 163 std::make_unique<raw_fd_ostream>(Temp->FD, /* ShouldClose */ false), in localCache() 164 AddBuffer, std::move(*Temp), std::string(EntryPath.str()), in localCache()
|
| /openbsd-src/gnu/llvm/llvm/lib/MC/ |
| H A D | MCSchedule.cpp | 99 double Temp = NumUnits * 1.0 / I->Cycles; in getReciprocalThroughput() local 100 Throughput = Throughput ? std::min(*Throughput, Temp) : Temp; in getReciprocalThroughput() 143 double Temp = llvm::popcount(I->getUnits()) * 1.0 / I->getCycles(); in getReciprocalThroughput() local 144 Throughput = Throughput ? std::min(*Throughput, Temp) : Temp; in getReciprocalThroughput()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.brendan/ |
| H A D | template24.C | 5 class Temp 9 Temp (F f) :func_(f) {} in Temp() function 16 Temp<int(*)(int, int)> temp (func); in main()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.jason/ |
| H A D | overload30.C | 7 class Temp 11 Temp (F f) : func_(f) {} in Temp() function 17 Temp<Foo*(*)(Foo*)> temp2(func1);
|
| /openbsd-src/gnu/llvm/clang/utils/analyzer/ |
| H A D | update_plist_test.pl | 4 require File::Temp; 5 use File::Temp (); 14 my $fh = File::Temp->new();
|
| /openbsd-src/gnu/usr.bin/perl/cpan/autodie/t/ |
| H A D | utf8_open.t | 11 use File::Temp; 26 my $file = File::Temp->new; 89 my $file = File::Temp->new; 102 my $file = File::Temp->new;
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.misc-tests/ |
| H A D | sort2.c | 31 int Temp,I; local 36 Temp = Tab[I]; 38 Tab[I+1] = Temp;
|
| /openbsd-src/gnu/llvm/llvm/tools/bugpoint/ |
| H A D | OptimizerDriver.cpp | 147 Expected<sys::fs::TempFile> Temp = in runPasses() local 149 if (!Temp) { in runPasses() 151 << ": Error making unique filename: " << toString(Temp.takeError()) in runPasses() 155 DiscardTemp Discard{*Temp}; in runPasses() 156 raw_fd_ostream OS(Temp->FD, /*shouldClose*/ false); in runPasses() 161 errs() << "Error writing bitcode file: " << Temp->TmpName << "\n"; in runPasses() 227 Args.push_back(Temp->TmpName); in runPasses()
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOWriter.cpp | 216 StructType Temp; in writeSectionInLoadCommand() local 217 assert(Sec.Segname.size() <= sizeof(Temp.segname) && "too long segment name"); in writeSectionInLoadCommand() 218 assert(Sec.Sectname.size() <= sizeof(Temp.sectname) && in writeSectionInLoadCommand() 220 memset(&Temp, 0, sizeof(StructType)); in writeSectionInLoadCommand() 221 memcpy(Temp.segname, Sec.Segname.data(), Sec.Segname.size()); in writeSectionInLoadCommand() 222 memcpy(Temp.sectname, Sec.Sectname.data(), Sec.Sectname.size()); in writeSectionInLoadCommand() 223 Temp.addr = Sec.Addr; in writeSectionInLoadCommand() 224 Temp.size = Sec.Size; in writeSectionInLoadCommand() 225 Temp.offset = Sec.Offset; in writeSectionInLoadCommand() 226 Temp.align = Sec.Align; in writeSectionInLoadCommand() [all …]
|
| /openbsd-src/gnu/llvm/libcxxabi/src/demangle/ |
| H A D | Utility.h | 54 std::array<char, 21> Temp; variable 55 char *TempPtr = Temp.data() + Temp.size(); 67 return operator+=(StringView(TempPtr, Temp.data() + Temp.size()));
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Demangle/ |
| H A D | Utility.h | 54 std::array<char, 21> Temp; variable 55 char *TempPtr = Temp.data() + Temp.size(); 67 return operator+=(StringView(TempPtr, Temp.data() + Temp.size()));
|
| /openbsd-src/gnu/llvm/llvm/lib/ProfileData/ |
| H A D | ProfileSummaryBuilder.cpp | 145 APInt Temp(128, TotalCount); in computeDetailedSummary() local 148 Temp *= N; in computeDetailedSummary() 149 Temp = Temp.sdiv(D); in computeDetailedSummary() 150 uint64_t DesiredCount = Temp.getZExtValue(); in computeDetailedSummary()
|
| /openbsd-src/usr.sbin/pkg_add/OpenBSD/ |
| H A D | PackageRepository.pm | 32 use OpenBSD::Temp; 36 $object->{errors} = OpenBSD::Temp->file; 38 $self->{state}->fatal(OpenBSD::Temp->last_error); 168 OpenBSD::Temp->reclaim($dir); 363 OpenBSD::Temp->reclaim($filename); 607 my ($copy, $filename) = OpenBSD::Temp::permanent_file($dir, $name) or 608 $self->{state}->fatal(OpenBSD::Temp->last_error); 903 my $error = OpenBSD::Temp->file; 905 $self->{state}->fatal(OpenBSD::Temp->last_error); 955 require OpenBSD::Temp; [all …]
|
| /openbsd-src/regress/usr.sbin/pkg_add/ |
| H A D | inject-temp1 | 6 use OpenBSD::Temp; 8 package OpenBSD::Temp;
|
| H A D | inject-temp2 | 6 use OpenBSD::Temp; 8 package OpenBSD::Temp;
|
| H A D | inject-temp3 | 6 use OpenBSD::Temp; 8 package OpenBSD::Temp;
|
| H A D | inject-temp4 | 6 use OpenBSD::Temp; 8 package OpenBSD::Temp;
|