Searched refs:to_int (Results 1 - 25 of 27) sorted by relevance

12

/macosx-10.9.5/ruby-104/ruby/test/socket/
H A Dtest_basicsocket.rb33 class << val; self end.send(:define_method, :to_int) {
62 class << val; self end.send(:define_method, :to_int) {
77 class << log; self end.send(:define_method, :to_int) {
/macosx-10.9.5/ruby-104/ruby/tool/
H A Djisx0208.rb24 @code = row.to_int
35 def to_int method in class:JISX0208
72 "#<JISX0208::Char:#{self.object_id.to_s(16)} sjis=#{self.to_sjis.to_s(16)} jis=#{self.to_int.to_s(16)}>"
/macosx-10.9.5/swig-10/Lib/ocaml/
H A Dswig.ml56 | C_int32 u -> (Int32.to_int u)
57 | C_int64 u -> (Int64.to_int u)
60 | C_ptr (p,q) -> (Int64.to_int p)
73 | C_int32 u -> (float_of_int (Int32.to_int u))
74 | C_int64 u -> (float_of_int (Int64.to_int u))
/macosx-10.9.5/ruby-104/ruby/test/ruby/
H A Dtest_integer.rb210 def (obj = Object.new).to_int
222 def (obj = Object.new).to_int
234 def (obj = Object.new).to_int
H A Dtest_bignum.rb465 def to_int method in class:TestBignum.DummyNumeric
659 def (obj = Object.new).to_int
671 def (obj = Object.new).to_int
683 def (obj = Object.new).to_int
H A Dtest_numeric.rb163 assert_equal(:ok, DummyNumeric.new.to_int)
283 def o.to_int; 1; end singleton method in class:test_divmod.test_num2long
H A Dtest_object.rb243 def to_int; @num; end method in class:test_convert_type.MyInteger
244 def <=>(n); @num <=> n.to_int; end
245 def <=(n); @num <= n.to_int; end
246 def +(n); MyInteger.new(@num + n.to_int); end
253 Range.new(o1, o9).step(2) {|x| n += x.to_int }
H A Dtest_fixnum.rb234 def to_int method in class:TestFixnum.DummyNumeric
H A Dtest_array.rb2048 def zero.to_int singleton method
2144 def half.to_int singleton method
H A Dtest_exception.rb273 c.class_eval {def to_int; self; end}
H A Dtest_sprintf.rb279 o = Object.new; def o.to_int; 1; end
H A Dtest_float.rb400 def (prec = Object.new).to_int; 2; end
H A Dtest_rand.rb150 def o.to_int; 100; end singleton method in class:TestRand.test_types
H A Dtest_range.rb185 def o.to_int() 1 end singleton method in class:TestRange.test_step
H A Dtest_time.rb403 def o.to_int; 0; end singleton method in class:TestTime.test_security_error.test_utc_or_local
411 def o.to_int; 10; end singleton method in class:TestTime.test_security_error.test_utc_or_local.to_r
H A Dtest_enumerator.rb118 def s.to_int; 1 end singleton method in class:test_with_index_nonnum_offset
H A Dtest_pack.rb191 define_method(:to_int) { fmt.clear; 0 }
H A Dtest_string.rb63 def o.to_int; 2; end singleton method in class:TestString.test_AREF
148 def o.to_int; 2; end singleton method in class:TestString.test_ASET
/macosx-10.9.5/zsh-60/zsh/Src/Modules/
H A Dsystem.c133 int to_int, ret; local
142 to_int = (int) (1000 * to_mn.u.d);
144 to_int = 1000 * (int)to_mn.u.l;
146 while ((ret = poll(&poll_fd, 1, to_int)) < 0) {
/macosx-10.9.5/ruby-104/ruby/lib/
H A Dsecurerandom.rb57 n = n ? n.to_int : 16
H A Dresolv.rb2111 @priority = priority.to_int
2112 @weight = weight.to_int
2113 @port = port.to_int
/macosx-10.9.5/ruby-104/ruby/test/dl/
H A Dtest_cptr.rb8 assert_equal(null.to_i, null.to_int)
/macosx-10.9.5/ruby-104/ruby/test/fiddle/
H A Dtest_pointer.rb17 assert_equal(null.to_i, null.to_int)
/macosx-10.9.5/llvmCore-3425.0.33/bindings/ocaml/llvm/
H A Dllvm.ml711 l := Attribute.Alignment (Int32.to_int align) :: !l;
719 l := Attribute.Stackalignment (Int32.to_int stackalign) :: !l;
/macosx-10.9.5/vim-53/runtime/syntax/
H A Dlpc.vim145 syn keyword lpc_efuns contained tan tell_object tell_room terminal_colour test_bit this_interactive this_object this_player this_user throw time to_float to_int trace traceprefix translate typeof

Completed in 250 milliseconds

12