Searched refs:binmode (Results 1 - 25 of 49) sorted by relevance

12

/macosx-10.9.5/ruby-104/ruby/sample/
H A Duumerge.rb20 out.binmode
27 out.binmode
/macosx-10.9.5/ruby-104/ruby/lib/
H A Dopen3.rb235 # opts[:stdin_data] and opts[:binmode]. See Process.spawn.
239 # If opts[:binmode] is true, internal pipes are set to binary mode.
263 # image = File.read("/usr/share/openclipart/png/animals/mammals/sheep-md-v0.1.png", :binmode=>true)
264 # thumnail, err, s = Open3.capture3("convert -thumbnail 80 png:- png:-", :stdin_data=>image, :binmode=>true)
266 # STDOUT.binmode; print thumnail
277 binmode = opts.delete(:binmode)
280 if binmode
281 i.binmode
282 o.binmode
[all...]
/macosx-10.9.5/ruby-104/ruby/lib/webrick/httpservlet/
H A Dcgi_runner.rb21 STDIN.binmode
/macosx-10.9.5/CPANInternal-140/JSON/t/
H A D18_json_checker.t19 binmode DATA;
/macosx-10.9.5/CPANInternal-140/JSON-2.53/t/
H A D18_json_checker.t19 binmode DATA;
/macosx-10.9.5/CPANInternal-140/JSON-XS/t/
H A D18_json_checker.t16 binmode DATA;
/macosx-10.9.5/CPANInternal-140/JSON-XS-2.33/t/
H A D18_json_checker.t16 binmode DATA;
/macosx-10.9.5/ruby-104/ruby/test/ruby/
H A Dtest_readpartial.rb8 r.binmode
9 w.binmode
H A Dtest_file.rb125 [nil, {:textmode=>true}, {:binmode=>true}].each do |mode|
136 [nil, {:textmode=>true}, {:binmode=>true}].each do |mode|
147 [nil, {:textmode=>true}, {:binmode=>true}].each do |mode|
158 [nil, {:textmode=>true}, {:binmode=>true}].each do |mode|
171 [nil, {:textmode=>true}, {:binmode=>true}].each do |mode|
184 [nil, {:textmode=>true}, {:binmode=>true}].each do |mode|
195 [nil, {:textmode=>true}, {:binmode=>true}].each do |mode|
H A Dtest_io_m17n.rb863 pipe("utf-16le:euc-jp", { :binmode => true },
1061 f.binmode
1067 f.binmode
1072 open(__FILE__, "r", binmode: true) {|f|
1078 open(__FILE__, "rb", binmode: true) {|f|
1083 open(__FILE__, "rb", binmode: false) {|f|
1407 assert_raise(ArgumentError) { open("not-exist", "r", :textmode=>true, :binmode=>true) }
1408 assert_raise(ArgumentError) { open("not-exist", "rt", :binmode=>true) }
1595 # ascii incompatible encoding without conversion needs binmode.
1791 open("t.txt", "r", :binmode
[all...]
H A Dtest_argf.rb13 @t1.binmode
18 @t2.binmode
23 @t3.binmode
287 ARGF.binmode
423 t1.binmode
427 t2.binmode
498 $stdout.binmode
502 f.binmode
660 ruby('-e', "ARGF.binmode; STDOUT.binmode; put
[all...]
/macosx-10.9.5/ruby-104/ruby/test/psych/
H A Dtest_exception.rb60 t.binmode
72 t.binmode
132 t.binmode
H A Dtest_encoding.rb70 t.binmode
83 t.binmode
96 t.binmode
H A Dtest_tainted.rb121 t.binmode
/macosx-10.9.5/CPANInternal-140/Log-Log4perl-1.40/t/
H A D052Utf8.t65 # binmode
72 log4perl.appender.A1.binmode=:utf8
81 like($data, qr/\x{A5}/, "binmode: utf8-1");
102 open IN, "<$TMP_FILE" or die "Cannot open $TMP_FILE"; binmode IN, ":utf8";
117 binmode STDOUT, ":utf8"; # for better error messages of the test suite
H A D051Extra.t57 open IN, "<$TMP_FILE" or die "Cannot open $TMP_FILE"; binmode IN, ":utf8";
/macosx-10.9.5/ruby-104/ruby/test/socket/
H A Dtest_tcp.rb33 assert_equal(true, sock.binmode?)
/macosx-10.9.5/CPANInternal-140/Template-Toolkit/bin/
H A Dttree78 my $binmode = $config->binmode;
437 $binmode ? {binmode => $binmode} : {})
579 'binmode=s',
788 --binmode=value Set binary mode of output files
1047 The C<binmode> option is used to set the encoding of the output file.
1048 For example use C<--binmode=:utf8> to set the output format to unicode.
/macosx-10.9.5/CPANInternal-140/Template-Toolkit-2.24/bin/
H A Dttree78 my $binmode = $config->binmode;
437 $binmode ? {binmode => $binmode} : {})
579 'binmode=s',
788 --binmode=value Set binary mode of output files
1047 The C<binmode> option is used to set the encoding of the output file.
1048 For example use C<--binmode=:utf8> to set the output format to unicode.
/macosx-10.9.5/ruby-104/ruby/win32/
H A Dresource.rb56 f.binmode if /mingw/ =~ RUBY_PLATFORM
/macosx-10.9.5/ruby-104/ruby/lib/net/
H A Dtelnet.rb208 # also be set with the #binmode() method. The
301 @log.binmode
307 @dumplog.binmode
361 @sock.binmode
405 def binmode(mode = nil) method
417 def binmode=(mode)
623 # depending upon the values of telnetmode, binmode, and telnet options
/macosx-10.9.5/ruby-104/ruby/lib/cgi/
H A Dcore.rb354 output.binmode if defined? output.binmode
601 body.binmode if defined? body.binmode
663 stdinput.binmode if defined? stdinput.binmode
/macosx-10.9.5/CPANInternal-140/Log-Log4perl/t/
H A D052Utf8.t56 # binmode
63 log4perl.appender.A1.binmode=:utf8
72 like($data, qr/\x{A5}/, "binmode: utf8-1");
/macosx-10.9.5/ruby-104/ruby/lib/xmlrpc/
H A Dserver.rb411 # TODO: do we need a call to binmode?
412 $stdin.binmode if $stdin.respond_to? :binmode
486 # TODO: do we need a call to binmode?
487 @ap.binmode
/macosx-10.9.5/CPANInternal-140/JSON-XS/bin/
H A Djson_xs168 binmode STDIN; # stupid perl sometimes thinks its funny
175 binmode STDOUT;

Completed in 147 milliseconds

12