Searched refs:gets (Results 1 - 25 of 308) sorted by relevance

1234567891011>>

/macosx-10.9.5/ruby-104/ruby/tool/
H A Dnode_name.rb2 while gets
/macosx-10.9.5/ruby-104/ruby/ext/win32ole/sample/
H A Die.rb7 gets
10 gets
/macosx-10.9.5/ruby-104/ruby/sample/drb/
H A Dgw_ct.rb20 gets
24 gets
27 gets
H A Dgw_cu.rb21 gets
25 gets
28 gets
/macosx-10.9.5/ruby-104/ruby/test/testunit/
H A Dtest_parallel.rb40 assert_match(/^ready/,@worker_out.gets)
42 assert_match(/^okay/,@worker_out.gets)
43 assert_match(/^p/,@worker_out.gets)
44 assert_match(/^done/,@worker_out.gets)
45 assert_match(/^ready/,@worker_out.gets)
51 assert_match(/^ready/,@worker_out.gets)
53 assert_match(/^okay/,@worker_out.gets)
54 assert_match(/^p/,@worker_out.gets)
55 assert_match(/^done/,@worker_out.gets)
56 assert_match(/^p/,@worker_out.gets)
[all...]
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/tool/
H A Dcreate-symlinks.rb17 exit unless gets.chomp == 'y'
19 exit unless gets.chomp == 'y'
/macosx-10.9.5/ruby-104/ruby/sample/
H A Dfreq.rb4 while line = gets()
H A Doccur.rb4 while line = gets()
H A Dclnt.rb17 while line = gets()
H A Dfullpath.rb15 while line = gets()
H A Dmkproto.rb2 while line = gets()
H A Dtsvr.rb14 while line = s.gets
H A Duumerge.rb11 while line = gets()
28 while line = gets()
/macosx-10.9.5/ruby-104/ruby/test/ruby/
H A Dtest_argf.rb66 a = f.gets
77 p [a.gets.chomp, a.lineno, b.gets.chomp, b.lineno] #=> ["1", 1, "1", 1]
78 p [a.gets.chomp, a.lineno, b.gets.chomp, b.lineno] #=> ["2", 2, "2", 2]
81 p [a.gets.chomp, a.lineno, b.gets.chomp, b.lineno] #=> ["1", 1, "1", 3]
82 p [a.gets.chomp, a.lineno, b.gets.chomp, b.lineno] #=> ["2", 2, "2", 4]
83 p [a.gets
[all...]
/macosx-10.9.5/ruby-104/ruby/test/webrick/
H A Dtest_server.rb9 while line = sock.gets
18 sock.puts("foo"); assert_equal("foo\n", sock.gets, log.call)
19 sock.puts("bar"); assert_equal("bar\n", sock.gets, log.call)
20 sock.puts("baz"); assert_equal("baz\n", sock.gets, log.call)
21 sock.puts("qux"); assert_equal("qux\n", sock.gets, log.call)
63 TCPSocket.open(addr, port){|sock| (sock << "foo\n").gets }
64 TCPSocket.open(addr, port){|sock| (sock << "foo\n").gets }
65 TCPSocket.open(addr, port){|sock| (sock << "foo\n").gets }
81 pid2 = r.gets.to_i
/macosx-10.9.5/Libc-997.90.3/stdio/FreeBSD/
H A Dgets.c34 static char sccsid[] = "@(#)gets.c 8.1 (Berkeley) 6/4/93";
37 __FBSDID("$FreeBSD: src/lib/libc/stdio/gets.c,v 1.17 2007/01/09 00:28:06 imp Exp $");
47 __warn_references(gets, "warning: this program uses gets(), which is unsafe.");
50 gets(buf) function
57 "warning: this program uses gets(), which is unsafe.\n";
/macosx-10.9.5/apache-786.1/httpd/test/
H A Dtest_find.c67 if (!gets(line))
71 while (gets(tok)) {
/macosx-10.9.5/tcl-102/tcl_ext/expect/expect/
H A Dfixline113 set line1 [gets stdin]
/macosx-10.9.5/ruby-104/ruby/test/net/ftp/
H A Dtest_ftp.rb141 commands.push(sock.gets)
143 commands.push(sock.gets)
145 commands.push(sock.gets)
169 commands.push(sock.gets)
189 commands.push(sock.gets)
191 commands.push(sock.gets)
213 commands.push(sock.gets)
215 commands.push(sock.gets)
217 commands.push(sock.gets)
243 commands.push(sock.gets)
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/bigdecimal/sample/
H A Dlinear.rb25 n = ARGF.gets().to_i
41 printf("A[%d,%d]? ",i,j); s = ARGF.gets
45 printf("Contatant vector element b[%d] ? ",i); b << BigDecimal::new(ARGF.gets);
51 s = ARGF.gets
/macosx-10.9.5/tcl-102/tcl_ext/tclx/tclx/tests/
H A Dselect.test62 [gets $pipe1ReadFh]
71 [gets $pipe2ReadFh]
78 list $ret [gets $pipe1ReadFh] [gets $pipe2ReadFh]
92 [gets $pipe1ReadFh]
101 [gets $pipe1ReadFh]
108 set data1 [gets $pipe1ReadFh]
110 set data2 [gets $pipe1ReadFh]
/macosx-10.9.5/ruby-104/ruby/lib/irb/
H A Dinput-method.rb31 # See IO#gets for more information.
32 def gets method in class:IRB.InputMethod
33 IRB.fail NotImplementedError, "gets"
35 public :gets
58 # See IO#gets for more information.
59 def gets method in class:IRB.StdioInputMethod
61 line = @stdin.gets
83 # #line counts the number of times #gets is called.
116 # See IO#gets for more information.
117 def gets method in class:IRB.FileInputMethod
149 def gets method in class:IRB.ReadlineInputMethod
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/tclx/tclx/tests/compat/
H A Dserver.test50 # Try gets/puts first.
59 list [gets $readFH result] $result
73 list [gets $readFH] [gets $readFH] [gets $readFH] \
74 [gets $readFH] [gets $readFH] [gets $readFH]
82 list [gets $readFH result] $result
109 set stat [gets
[all...]
/macosx-10.9.5/ruby-104/ruby/test/stringio/
H A Dtest_stringio.rb45 assert_equal(nil, StringIO.new("").gets)
46 assert_equal("\n", StringIO.new("\n").gets)
47 assert_equal("a\n", StringIO.new("a\n").gets)
48 assert_equal("a\n", StringIO.new("a\nb\n").gets)
49 assert_equal("a", StringIO.new("a").gets)
50 assert_equal("a\n", StringIO.new("a\nb").gets)
51 assert_equal("abc\n", StringIO.new("abc\n\ndef\n").gets)
52 assert_equal("abc\n\ndef\n", StringIO.new("abc\n\ndef\n").gets(nil))
53 assert_equal("abc\n\n", StringIO.new("abc\n\ndef\n").gets(""))
54 assert_raise(TypeError){StringIO.new("").gets(
[all...]
/macosx-10.9.5/ruby-104/ruby/benchmark/
H A Dbm_so_count_words.rb12 data = tmp << (input.gets || "")

Completed in 372 milliseconds

1234567891011>>