Searched refs:yield (Results 26 - 50 of 397) sorted by relevance

1234567891011>>

/macosx-10.10/ruby-106/ruby/lib/rubygems/package/
H A Ddigest_io.rb36 yield digest_io
H A Dtar_reader.rb28 yield reader
64 yield entry
115 return yield found
/macosx-10.10/ruby-106/ruby/test/-ext-/funcall/
H A Dtest_passing_block.rb6 yield(*args) if block
/macosx-10.10/pcre-7/pcre/
H A Dpcre_get.c219 (i.e. the yield of the pcre_exec call, unless
238 int yield; local
242 yield = ovector[stringnumber+1] - ovector[stringnumber];
243 if (size < yield + 1) return PCRE_ERROR_NOMEMORY;
244 memcpy(buffer, subject + ovector[stringnumber], yield);
245 buffer[yield] = 0;
246 return yield;
264 (i.e. the yield of the pcre_exec call, unless
301 (i.e. the yield of the pcre_exec call, unless
375 (i.e. the yield o
393 int yield; local
[all...]
/macosx-10.10/ruby-106/ruby/lib/shell/
H A Dbuiltin-command.rb43 yield str + rs
59 @shell.foreach(src, rs){|l| yield l}
81 yield f+rs
95 # yield l
141 super{|l| to << l; yield l}
156 job.each{|l| yield l}
/macosx-10.10/ruby-106/ruby/test/ruby/
H A Dmemory_status.rb11 yield($1.downcase.intern, $2.to_i * 1024) if VM_PAT =~ l
77 yield :peak, info.PeakPagefileUsage
78 yield :size, info.PagefileUsage
88 yield :size, $1.to_i*1024
89 yield :rss, $2.to_i*1024
H A Dtest_assignment.rb91 def f; yield(nil); end; f {|a| assert_nil(a)}; undef f
92 def f; yield(1); end; f {|a| assert_equal(1, a)}; undef f
93 def f; yield([]); end; f {|a| assert_equal([], a)}; undef f
94 def f; yield([1]); end; f {|a| assert_equal([1], a)}; undef f
95 def f; yield([nil]); end; f {|a| assert_equal([nil], a)}; undef f
96 def f; yield([[]]); end; f {|a| assert_equal([[]], a)}; undef f
97 def f; yield([*[]]); end; f {|a| assert_equal([], a)}; undef f
98 def f; yield([*[1]]); end; f {|a| assert_equal([1], a)}; undef f
99 def f; yield([*[1,2]]); end; f {|a| assert_equal([1,2], a)}; undef f
101 def f; yield(*[
[all...]
H A Dsentence.rb181 def each # :yield: element
183 yield self[i]
224 def subst(target, &b) # :yield: string
235 yield obj
249 def find_subtree(&b) # :yield: sentence
286 def expand(&b) # :yield: sentence
347 yield Sentence.new(tree)
498 yield []
504 yield [first] + rhs2
505 yield rhs
[all...]
H A Dtest_readpartial.rb11 yield r, w
20 yield r, w
27 yield r, w
H A Dtest_enumerator.rb10 a.each {|x| yield x }
52 yield :ok1
53 yield [:ok2, :x].each.next
184 yield 1,2
195 yield 1,2
227 yield
228 yield 1
229 yield 1, 2
244 yield
245 yield
[all...]
/macosx-10.10/ruby-106/ruby/test/rss/
H A Drss-assertions.rb6 yield
21 yield
33 yield
45 yield
57 yield
69 yield
82 yield
95 yield
194 person = yield(feed)
225 category = yield(fee
[all...]
/macosx-10.10/ruby-106/ruby/lib/net/
H A Dprotocol.rb202 yield
254 yield line.sub(/\A\./, '')
263 yield str.chop
313 yield
326 yield line.chomp("\n") + "\r\n"
336 yield
341 yield
346 yield if buf.size > 1024
348 yield unless buf.empty?
403 # This method is needed because @block must be called by yield,
[all...]
/macosx-10.10/ruby-106/ruby/lib/
H A Dmonitor.rb121 while yield
130 until yield
211 yield
H A Dthwait.rb38 def ThreadsWait.all_waits(*threads) # :yield: thread
42 yield th
129 yield th if block_given?
H A Dtimeout.rb51 def timeout(sec, klass = nil) #:yield: +sec+
52 return yield(sec) if sec == nil or sec.zero?
66 return yield(sec)
/macosx-10.10/ruby-106/ruby/lib/rake/
H A Dfile_utils_ext.rb61 yield
85 yield
114 yield
/macosx-10.10/ruby-106/ruby/sample/
H A Dtest.rb226 def f; yield nil; end; f {|a| test_ok(a == nil)}
227 def f; yield 1; end; f {|a| test_ok(a == 1)}
228 def f; yield []; end; f {|a| test_ok(a == [])}
229 def f; yield [1]; end; f {|a| test_ok(a == [1])}
230 def f; yield [nil]; end; f {|a| test_ok(a == [nil])}
231 def f; yield [[]]; end; f {|a| test_ok(a == [[]])}
232 def f; yield [*[]]; end; f {|a| test_ok(a == [])}
233 def f; yield [*[1]]; end; f {|a| test_ok(a == [1])}
234 def f; yield [*[1,2]]; end; f {|a| test_ok(a == [1,2])}
235 def f; yield *[]; en
[all...]
/macosx-10.10/JavaScriptCore-7600.1.17/offlineasm/
H A Dsettings.rb89 yield concreteSettings, lowLevelAST, selectedBackend
119 yield concreteSettings, lowLevelAST, backend, index
192 yield concreteSettings, ast, backend
224 yield concreteSettings, lowLevelAST, backend, index
H A Dast.rb255 AddImmediates.new(codeOrigin, (yield @left), (yield @right))
301 SubImmediates.new(codeOrigin, (yield @left), (yield @right))
347 MulImmediates.new(codeOrigin, (yield @left), (yield @right))
388 NegImmediate.new(codeOrigin, (yield @child))
430 OrImmediates.new(codeOrigin, (yield @left), (yield @right))
472 AndImmediates.new(codeOrigin, (yield
[all...]
/macosx-10.10/WTF-7600.1.24/wtf/
H A DByteSpinLock.h48 std::this_thread::yield();
/macosx-10.10/ruby-106/ruby/bootstraptest/
H A Dtest_attr.rb7 yield self
/macosx-10.10/ruby-106/ruby/lib/minitest/
H A Dparallel_each.rb30 yield job
/macosx-10.10/ruby-106/ruby/lib/net/http/
H A Dresponse.rb60 yield key, value if key
65 yield key, value if key
162 yield
249 return yield @socket unless Net::HTTP::HAVE_ZLIB
250 return yield @socket unless @decode_content
251 return yield @socket if self['content-range']
260 yield inflate_body_io
267 yield @socket
269 yield @socket
/macosx-10.10/ruby-106/ruby/test/rake/
H A Dtest_private_reader.rb38 ex = assert_raises(NoMethodError) do yield end
/macosx-10.10/ruby-106/ruby/lib/rdoc/ri/
H A Dpaths.rb51 yield dir, :extra
54 yield system_dir, :system if system
55 yield site_dir, :site if site
56 yield home_dir, :home if home and HOMEDIR
59 yield dir, :gem

Completed in 332 milliseconds

1234567891011>>