Searched refs:IO (Results 176 - 200 of 409) sorted by relevance

1234567891011>>

/macosx-10.9.5/CPANInternal-140/Text-WordDiff-0.08/t/
H A Dhtmltwolines.t9 use IO::File;
92 my $fh1 = IO::File->new($filename1, '<')
94 my $fh2 = IO::File->new($filename2, '<')
97 'Diff by IO::File objects should work';
124 my $fh = IO::File->new_tmpfile;
/macosx-10.9.5/ruby-104/ruby/test/io/wait/
H A Dtest_io_wait.rb16 @r, @w = IO.pipe
108 end if IO.method_defined?(:wait)
/macosx-10.9.5/ruby-104/ruby/test/ruby/
H A Dmemory_status.rb10 IO.foreach(PROC_FILE, encoding: Encoding::ASCII_8BIT) do |l|
87 if PAT =~ IO.popen(PSCMD + [$$.to_s], "r", err: [:child, :out], &:read)
H A Dtest_require.rb22 $:.replace([IO::NULL])
34 $:.replace([IO::NULL])
79 $:.replace([IO::NULL] + $:.reject {|path| enc_path !~ path})
185 class BasicSocket < IO; end
262 class BasicSocket < IO; end
390 result = IO.popen([EnvUtil.rubybin, "b/tst.rb"]).read
497 $:.replace([IO::NULL])
516 $:.replace([IO::NULL])
538 $:.replace([IO::NULL])
555 $:.replace([IO
[all...]
/macosx-10.9.5/CPANInternal-140/DBIx-Class/lib/DBIx/Class/Storage/
H A DStatistics.pm6 use IO::File;
45 be an IO::Handle compatible object (only the C<print> method is used). Initially
66 $fh = IO::File->new($1, 'w')
69 $fh = IO::File->new('>&STDERR')
/macosx-10.9.5/CPANInternal-140/HTTP-Proxy/lib/HTTP/Proxy/Engine/
H A DScoreBoard.pm5 use IO::Handle;
32 $self->status_read( IO::Handle->new() );
33 $self->status_write( IO::Handle->new() );
37 $self->select( IO::Select->new( $self->status_read() ) );
/macosx-10.9.5/CPANInternal-140/HTTP-Proxy-0.25/lib/HTTP/Proxy/Engine/
H A DScoreBoard.pm5 use IO::Handle;
32 $self->status_read( IO::Handle->new() );
33 $self->status_write( IO::Handle->new() );
37 $self->select( IO::Select->new( $self->status_read() ) );
/macosx-10.9.5/CPANInternal-140/Net-Daemon/lib/Net/Daemon/
H A DLog.pm160 # Choose logging method: IO handle
161 my $file = IO::File->new("my.log", "a");
227 an IO::Handle object. Usually the logging target is choosen as soon
239 on the underlying classes Sys::Syslog, Win32::EventLog or IO::Handle.
265 L<IO::Handle(3)>
/macosx-10.9.5/CPANInternal-140/Net-Daemon-0.48/lib/Net/Daemon/
H A DLog.pm160 # Choose logging method: IO handle
161 my $file = IO::File->new("my.log", "a");
227 an IO::Handle object. Usually the logging target is choosen as soon
239 on the underlying classes Sys::Syslog, Win32::EventLog or IO::Handle.
265 L<IO::Handle(3)>
/macosx-10.9.5/ICU-511.35/icuSources/tools/gendraft/
H A Dgenheaders.pl21 use IO::File;
77 $excludeFH = IO::File->new($exclude,"r")
111 $inFH = IO::File->new($infile,"r")
113 $outFH = IO::File->new($outfile,"w")
/macosx-10.9.5/file_cmds-230/dd/
H A Ddd.h62 } IO; typedef in typeref:struct:__anon8867
/macosx-10.9.5/ruby-104/ruby/benchmark/
H A Dreport.rb29 IO.popen(rubybin, 'r+'){|io|
/macosx-10.9.5/ruby-104/ruby/ext/tk/lib/tk/
H A Dmsgcat.rb205 eval(IO.read(file, :encoding=>"ASCII-8BIT"))
207 eval(IO.read(file))
225 @namespace.eval(IO.read(file, :encoding=>"ASCII-8BIT"))
227 @namespace.eval(IO.read(file))
/macosx-10.9.5/ruby-104/ruby/
H A Dinits.c44 CALL(IO);
/macosx-10.9.5/ruby-104/ruby/lib/net/
H A Dprotocol.rb154 rescue IO::WaitReadable
155 if IO.select([@io], nil, nil, @read_timeout)
160 rescue IO::WaitWritable
161 # OpenSSL::Buffering#read_nonblock may fail with IO::WaitWritable.
163 if IO.select(nil, [@io], nil, @read_timeout)
/macosx-10.9.5/ruby-104/ruby/test/io/console/
H A Dtest_io_console.rb219 if IO.console
221 assert(IO.console.sync, "console should be unbuffered")
225 r, w, pid = PTY.spawn(EnvUtil.rubybin, "-rio/console", "-e", "p IO.console.class")
246 end if defined?(PTY) and defined?(IO::console)
268 '-e', 'open(ARGV[0], "w") {|f| f.puts IO.console.inspect}',
280 end if defined?(IO.console)
/macosx-10.9.5/ruby-104/ruby/test/testunit/
H A Dtest_parallel.rb11 i, @worker_in = IO.pipe
12 @worker_out, o = IO.pipe
125 @test_out, o = IO.pipe
147 @test_out, o = IO.pipe
/macosx-10.9.5/ruby-104/ruby/tool/
H A Dmerger.rb178 l = IO.popen %w'svn diff' + r + %w'--diff-cmd=diff -x -pU0' + [File.join(q, 'ChangeLog')] do |f|
186 log_svn = IO.popen %w'svn log ' + r + [q] do |f|
205 IO.popen %w'patch -p0', 'wb' do |f|
223 IO.popen(ENV["PAGER"] || "less", "w") do |g|
/macosx-10.9.5/CPANInternal-140/Log-Log4perl/t/
H A D042SyncApp.t119 use IO::Socket::INET;
161 my $client = IO::Socket::INET->new( PeerAddr => 'localhost',
191 my $sock = IO::Socket::INET->new(
238 use IO::Socket::INET;
288 my $sock = IO::Socket::INET->new(
/macosx-10.9.5/CPANInternal-140/Log-Log4perl-1.40/t/
H A D042SyncApp.t127 use IO::Socket::INET;
169 my $client = IO::Socket::INET->new( PeerAddr => 'localhost',
199 my $sock = IO::Socket::INET->new(
246 use IO::Socket::INET;
296 my $sock = IO::Socket::INET->new(
/macosx-10.9.5/ruby-104/ruby/test/
H A Dtest_open3.rb77 r, w = IO.pipe
154 assert_kind_of(IO, i)
155 assert_kind_of(IO, o)
171 assert_kind_of(IO, o)
186 assert_kind_of(IO, i)
/macosx-10.9.5/ruby-104/ruby/test/socket/
H A Dtest_unix.rb15 r1, w = IO.pipe
41 io_ary.concat IO.pipe
42 io_ary.concat IO.pipe
43 io_ary.concat IO.pipe
78 io_ary.concat IO.pipe
79 io_ary.concat IO.pipe
80 io_ary.concat IO.pipe
112 r1, w = IO.pipe
146 IO.pipe {|r1, w|
168 IO
[all...]
/macosx-10.9.5/CPANInternal-140/Net-DNS/lib/Net/DNS/Resolver/
H A DBase.pm21 use IO::Socket;
22 use IO::Select;
34 # We test that by means of the availability of Socket6 and IO::Socket::INET6
63 eval {require IO::Socket::INET6; IO::Socket::INET6->VERSION("2.00");}
553 my $sel = IO::Select->new($sock);
663 # IO::Socket carps on errors if Perl's -w flag is turned on.
670 $sock[AF_INET6()] = IO::Socket::INET6->new(
695 $sock[AF_INET] = IO::Socket::INET->new(
767 my $sel = IO
[all...]
/macosx-10.9.5/CPANInternal-140/Perl-Ldap/lib/Net/
H A DLDAP.pm8 use IO::Socket;
9 use IO::Select;
138 my $class = 'IO::Socket::INET';
144 require IO::Socket::INET6;
145 $class = 'IO::Socket::INET6';
171 require IO::Socket::INET6 if ($arg->{inet6});
172 require IO::Socket::SSL;
173 IO::Socket::SSL->import(qw/inet6/) if ($arg->{inet6});
178 $ldap->{'net_ldap_socket'} = IO::Socket::SSL->new(
242 require IO
[all...]
/macosx-10.9.5/CPANInternal-140/DBIx-Class-Schema-Loader-0.07033/t/lib/
H A Ddbixcsl_dumper_tests.pm7 use IO::Handle;
117 my $std = { map { $_ => IO::Handle->new } (qw/in out err/) };

Completed in 740 milliseconds

1234567891011>>