Searched refs:FileHandle (Results 1 - 25 of 48) sorted by relevance

12

/openbsd-current/gnu/usr.bin/perl/lib/
H A DFileHandle.pm1 package FileHandle; package
42 # Some people call "FileHandle::function", so all the functions
43 # that were in the old FileHandle class must be imported, too.
98 bless *STDIN{IO}, "FileHandle" if ref *STDIN{IO} eq "IO::Handle";
99 bless *STDOUT{IO}, "FileHandle" if ref *STDOUT{IO} eq "IO::Handle";
100 bless *STDERR{IO}, "FileHandle" if ref *STDERR{IO} eq "IO::Handle";
108 FileHandle - supply object methods for filehandles
112 use FileHandle;
114 my $fh = FileHandle->new;
120 my $fh = FileHandle
[all...]
H A DFileHandle.t14 use FileHandle;
19 my $mystdout = new_from_fd FileHandle 1,"w";
27 my $fh = (new FileHandle "./TEST", O_RDONLY
28 or new FileHandle "TEST", O_RDONLY);
40 $fh = new FileHandle;
42 "FileHandle open() method created handle, which got expected first line");
49 ok(! (defined($line) || !$fh->eof), "FileHandle seek() and eof() methods");
52 "FileHandle open(), tell() and close() methods");
61 my ($rd,$wr) = FileHandle::pipe;
93 ok(!FileHandle
[all...]
/openbsd-current/gnu/usr.bin/perl/t/op/
H A Dfilehandle.t7 skip_all_if_miniperl("no dynamic loading on miniperl, no IO, hence no FileHandle");
11 use FileHandle;
/openbsd-current/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DBitWriter.cpp39 int LLVMWriteBitcodeToFileHandle(LLVMModuleRef M, int FileHandle) { argument
40 return LLVMWriteBitcodeToFD(M, FileHandle, true, false);
/openbsd-current/lib/libssl/test/
H A Dcms-test.pl418 use FileHandle;
420 my $fp1 = FileHandle->new();
421 my $fp2 = FileHandle->new();
/openbsd-current/gnu/usr.bin/perl/cpan/Pod-Usage/t/pod/
H A Dtestcmp.pl10 use FileHandle;
53 $fh1 = FileHandle->new($file1, "r") or die "Can't open $file1: $!";
56 $fh2 = FileHandle->new($file2, "r") or die "Can't open $file2: $!";
/openbsd-current/gnu/usr.bin/perl/cpan/Pod-Checker/t/pod/
H A Dtestcmp.pl10 use FileHandle;
53 $fh1 = FileHandle->new($file1, "r") or die "Can't open $file1: $!";
56 $fh2 = FileHandle->new($file2, "r") or die "Can't open $file2: $!";
/openbsd-current/gnu/usr.bin/perl/cpan/CPAN/lib/CPAN/FTP/
H A Dnetrc.pm19 $fh = FileHandle->new or die "Could not create a filehandle";
/openbsd-current/gnu/usr.bin/perl/cpan/File-Temp/t/
H A Dposix.t8 use FileHandle;
H A Dmktemp.t12 use FileHandle;
/openbsd-current/gnu/usr.bin/perl/cpan/libnet/t/
H A Dnetrc.t41 $INC{'FileHandle.pm'} = 1;
82 FileHandle::set_lines(split(/\n/, <<LINES));
134 package FileHandle; package
137 tie *FH, 'FileHandle', @_;
/openbsd-current/gnu/llvm/compiler-rt/lib/fuzzer/
H A DFuzzerIOWindows.cpp34 HANDLE FileHandle(
38 if (FileHandle == INVALID_HANDLE_VALUE) {
44 DWORD FileType = GetFileType(FileHandle);
49 CloseHandle(FileHandle);
54 CloseHandle(FileHandle);
58 CloseHandle(FileHandle);
/openbsd-current/gnu/usr.bin/perl/cpan/CPAN/lib/CPAN/
H A DAuthor.pm138 $fh = FileHandle->new;
186 $fh = FileHandle->new;
H A DInfoObj.pm212 my $fh_pager = FileHandle->new;
H A DTarzip.pm76 $fhw = FileHandle->new($read)
99 $fhw = FileHandle->new(">$write")
181 my $fh = FileHandle->new($file)
199 my $fh = FileHandle->new($pipe) or $CPAN::Frontend->mydie("Could not pipe[$pipe]: $!");
H A DBundle.pm119 my $fh = FileHandle->new;
165 my $fh = FileHandle->new($manifest)
/openbsd-current/gnu/usr.bin/perl/cpan/Sys-Syslog/t/
H A Dsyslog.t5 use FileHandle;
246 my $fh = FileHandle->new;
310 my $fh = FileHandle->new;
H A Dsyslog-inet-udp.t5 use FileHandle;
/openbsd-current/gnu/llvm/llvm/utils/KillTheDoctor/
H A DKillTheDoctor.cpp163 struct FileHandle : CommonHandle {}; struct in namespace:__anon3777
170 typedef ScopedHandle<FileHandle> FileScopedHandle;
175 static std::error_code GetFileNameFromHandle(HANDLE FileHandle, argument
183 Success = ::GetFileSizeEx(FileHandle, &FileSize);
190 ::CreateFileMappingA(FileHandle,
/openbsd-current/gnu/usr.bin/perl/cpan/ExtUtils-Constant/lib/ExtUtils/
H A DConstant.pm508 require FileHandle;
509 $c_fh = FileHandle->new();
517 require FileHandle;
518 $xs_fh = FileHandle->new();
/openbsd-current/gnu/llvm/llvm/lib/Support/Windows/
H A DPath.inc700 static std::error_code getStatus(HANDLE FileHandle, file_status &Result) {
701 if (FileHandle == INVALID_HANDLE_VALUE)
704 switch (::GetFileType(FileHandle)) {
725 if (!::GetFileInformationByHandle(FileHandle, &Info))
781 HANDLE FileHandle = reinterpret_cast<HANDLE>(_get_osfhandle(FD));
782 return getStatus(FileHandle, Result);
785 std::error_code status(file_t FileHandle, file_status &Result) {
786 return getStatus(FileHandle, Result);
830 HANDLE FileHandle = reinterpret_cast<HANDLE>(_get_osfhandle(FD));
831 if (!SetFileTime(FileHandle, NUL
[all...]
/openbsd-current/gnu/llvm/llvm/include/llvm/Support/
H A DFileSystem.h1008 /// Reads \p Buf.size() bytes from \p FileHandle into \p Buf. Returns the number
1012 /// @param FileHandle File to read from.
1015 Expected<size_t> readNativeFile(file_t FileHandle, MutableArrayRef<char> Buf);
1020 /// Reads from \p FileHandle until EOF, appending to \p Buffer in chunks of
1029 /// \param FileHandle File to read from.
1033 Error readNativeFileToEOF(file_t FileHandle, SmallVectorImpl<char> &Buffer,
1036 /// Reads \p Buf.size() bytes from \p FileHandle at offset \p Offset into \p
1041 /// @param FileHandle File to read from.
1045 Expected<size_t> readNativeFileSlice(file_t FileHandle,
1282 sys::fs::file_t FileHandle member in class:llvm::sys::fs::mapped_file_region
[all...]
/openbsd-current/gnu/usr.bin/perl/cpan/libnet/lib/Net/
H A DNetrc.pm17 use FileHandle;
76 if ($fh = FileHandle->new($file, "r")) {
/openbsd-current/gnu/usr.bin/perl/lib/File/
H A DCopy.t95 require FileHandle;
96 $fh = FileHandle->new(">copy-$$") or die "Cannot open copy-$$:$!";
/openbsd-current/gnu/usr.bin/perl/dist/IO/lib/IO/
H A DFile.pm123 Derived from FileHandle.pm by Graham Barr E<lt>F<gbarr@pobox.com>E<gt>.

Completed in 898 milliseconds

12