Searched refs:yield (Results 51 - 75 of 397) sorted by relevance

1234567891011>>

/macosx-10.10/ruby-106/ruby/test/ruby/
H A Dtest_iterator.rb5 collect{|e| [e, yield(e)]}.sort{|a,b|a[1]<=>b[1]}
8 ary = collect{|e| [e, yield(e)]}
23 # yield at top level !! here's not toplevel
24 assert(!defined?(yield))
40 yield i
45 yield 1
122 def each5; @body.each {|*x| yield(*x) } end
123 def each6; @body.each {|*x| yield(x) } end
124 def each7; @body.each {|x| yield(*x) } end
125 def each8; @body.each {|x| yield(
[all...]
H A Denvutil.rb59 return yield in_p, out_p, err_p, pid
107 yield stderr
116 yield
124 yield
134 yield
146 yield
182 yield if defined?(yield)
205 yield if defined?(yield)
[all...]
H A Dtest_yield.rb31 yield
47 yield args
51 def iter2_1() yield 1, *[2, 3] end
53 def iter2_2() yield 1, *[] end
55 def iter2_3() yield 1, *[2] end
71 yield(*[])
78 yield(1,2,3,4,5)
176 #:test => [['def m() yield', :command_args_noblock, ' end; r = m {', :block_param_def, 'vars', '}; undef m; r']]
177 :test_proc => [['def m() yield', :command_args_noblock, ' end; r = m {', :block_param_def, 'vars', '}; undef m; r']],
178 :test_lambda => [['def m() yield',
[all...]
H A Dtest_defined.rb11 yield(defined?(self.foo))
12 yield(defined?(f.foo))
18 yield(defined?(self.attr = 1))
23 return !defined?(yield)
193 def b; yield; end
/macosx-10.10/ruby-106/ruby/lib/
H A Dprettyprint.rb43 yield q
57 yield q
217 yield
228 yield
243 yield
375 yield
381 yield
/macosx-10.10/ruby-106/ruby/ext/pty/lib/
H A Dexpect.rb64 yield result
/macosx-10.10/ruby-106/ruby/lib/irb/
H A Dmagic-file.rb18 return (yield io)
H A Dinit.rb270 yield proc{|rc| rc == "rc" ? irbrc : irbrc+rc}
273 yield proc{|rc| home+"/.irb#{rc}"}
276 yield proc{|rc| home+"/.irb#{rc}"}
277 yield proc{|rc| home+"/irb#{rc.sub(/\A_?/, '.')}"}
278 yield proc{|rc| home+"/_irb#{rc}"}
279 yield proc{|rc| home+"/$irb#{rc}"}
/macosx-10.10/ruby-106/ruby/lib/rake/contrib/
H A Dsys.rb130 yield
166 yield(fn)
180 yield(fn, dest_file)
187 yield
/macosx-10.10/ruby-106/ruby/lib/rdoc/markup/
H A Dattributes.rb65 yield name.to_s if (bitmap & bit) != 0
/macosx-10.10/ruby-106/ruby/lib/rubygems/
H A Ddeprecate.rb38 yield
H A Dconfig_file.rb352 yield :update_sources, @update_sources
353 yield :verbose, @verbose
354 yield :backtrace, @backtrace
355 yield :bulk_threshold, @bulk_threshold
357 yield 'config_file_name', @config_file_name if @config_file_name
H A Drequest_set.rb16 yield self if block_given?
72 yield match
172 yield
/macosx-10.10/ruby-106/ruby/test/-ext-/wait_for_single_fd/
H A Dtest_wait_for_single_fd.rb9 yield r, w
/macosx-10.10/ruby-106/ruby/test/bigdecimal/
H A Dtestbase.rb23 yield
/macosx-10.10/ruby-106/ruby/test/dtrace/
H A Dhelper.rb37 yield(d_path, rb_path, probes)
/macosx-10.10/ruby-106/ruby/test/ripper/
H A Dtest_files.rb26 yield
/macosx-10.10/ruby-106/ruby/test/xmlrpc/
H A Dwebrick_testing.rb21 yield @__server
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/coroutine/
H A Dcoro_auto.tcl134 yield
181 yield
256 yield
286 yield
/macosx-10.10/ruby-106/ruby/bootstraptest/
H A Dtest_proc.rb7 yield
71 yield
88 yield
134 [yield, b]
161 [yield, b]
166 yield
349 yield
464 b.eval('yield("ok")')
471 eval("x { 'ok' }").eval "yield"
481 eval('yield',
[all...]
/macosx-10.10/ruby-106/ruby/lib/net/
H A Dtelnet.rb273 def initialize(options) # :yield: mesg
341 yield(message) if block_given?
364 yield(message) if block_given?
528 def waitfor(options) # :yield: recvdata
593 yield buf if block_given?
598 yield nil if block_given?
678 def cmd(options) # :yield: recvdata
694 waitfor({"Prompt" => match, "Timeout" => time_out, "FailEOF" => fail_eof}){|c| yield c }
722 def login(options, password = nil) # :yield: recvdata
735 line = waitfor(login_prompt){|c| yield
[all...]
/macosx-10.10/ruby-106/ruby/lib/rubygems/package/
H A Dtar_writer.rb83 yield writer
113 yield RestrictedStream.new(@io) if block_given?
150 yield digest_io
172 yield io
203 yield os if block_given?
/macosx-10.10/ruby-106/ruby/test/drb/
H A Dtest_drb.rb118 yield(*arg)
122 yield
126 yield(a)
130 yield(a, b)
136 yield(x)
/macosx-10.10/Security-57031.1.35/Security/include/security_codesigning/
H A Dcsgeneric.cpp81 return code.yield();
110 *cdhashOut = cdhash.yield();
112 return code.yield();
/macosx-10.10/Security-57031.1.35/Security/libsecurity_codesigning/lib/
H A Dcsgeneric.cpp81 return code.yield();
110 *cdhashOut = cdhash.yield();
112 return code.yield();

Completed in 243 milliseconds

1234567891011>>