LONG2FIX 3902 array.c return LONG2FIX(h); LONG2FIX 4869 array.c n = LONG2FIX(mul); LONG2FIX 4996 array.c VALUE cnt = LONG2FIX(how_many >= 0); LONG2FIX 4998 array.c VALUE v = LONG2FIX(from--); LONG2FIX 5012 array.c return LONG2FIX(0); LONG2FIX 5224 array.c return LONG2FIX(0); LONG2FIX 5316 array.c return LONG2FIX(1); LONG2FIX 5544 array.c return rb_ary_take(ary, LONG2FIX(i)); LONG2FIX 5604 array.c return rb_ary_drop(ary, LONG2FIX(i)); LONG2FIX 5707 array.c v = LONG2FIX(0); LONG2FIX 5739 array.c v = rb_fix_plus(LONG2FIX(n), v); LONG2FIX 5753 array.c v = rb_fix_plus(LONG2FIX(n), v); LONG2FIX 2710 bignum.c return rb_assoc_new(LONG2FIX(0), x); LONG2FIX 2791 bignum.c return rb_assoc_new(LONG2FIX(0), x); LONG2FIX 3115 bignum.c if (POSFIXABLE(u)) return LONG2FIX((long)u); LONG2FIX 3118 bignum.c if (u <= -FIXNUM_MIN) return LONG2FIX(-(long)u); LONG2FIX 3187 bignum.c if (POSFIXABLE(n)) return LONG2FIX(n); LONG2FIX 3194 bignum.c if (FIXABLE(n)) return LONG2FIX(n); LONG2FIX 3668 bignum.c return LONG2FIX(0); LONG2FIX 3670 bignum.c return LONG2FIX(u); LONG2FIX 3673 bignum.c return LONG2FIX(-(BDIGIT_DBL_SIGNED)u); LONG2FIX 4158 bignum.c if (sign) return LONG2FIX(val); LONG2FIX 4161 bignum.c return LONG2FIX(result); LONG2FIX 4436 bignum.c if (POSFIXABLE(n)) return LONG2FIX(n); LONG2FIX 4443 bignum.c if (FIXABLE(n)) return LONG2FIX(n); LONG2FIX 6345 bignum.c if (xn == 0) return hibitsx ? INT2FIX(-1) : LONG2FIX(y); LONG2FIX 6722 bignum.c return LONG2FIX(0); LONG2FIX 3060 compile.c return FIXABLE(ival) ? LONG2FIX((long)ival) : rb_dbl2big(ival); LONG2FIX 1234 complex.c return LONG2FIX(v); LONG2FIX 679 enum.c v = rb_fix_plus(LONG2FIX(n), v); LONG2FIX 684 enum.c v = rb_fix_plus(LONG2FIX(n), v); LONG2FIX 2300 enum.c return rb_funcall(n, id_div, 1, LONG2FIX(slice_size)); LONG2FIX 2373 enum.c return (rb_cmpint(rb_funcall(n, id_cmp, 1, LONG2FIX(0)), n, LONG2FIX(0)) == -1) ? LONG2FIX(0) : n; LONG2FIX 2784 enum.c return rb_funcall(size, '*', 1, LONG2FIX(mul)); LONG2FIX 3610 enum.c v = rb_fix_plus(LONG2FIX(n), v); LONG2FIX 3699 enum.c end = LONG2FIX(FIX2LONG(end) - 1); LONG2FIX 3701 enum.c end = rb_big_minus(end, LONG2FIX(1)); LONG2FIX 3706 enum.c a = rb_int_plus(rb_int_minus(end, beg), LONG2FIX(1)); LONG2FIX 3708 enum.c a = rb_int_idiv(a, LONG2FIX(2)); LONG2FIX 3751 enum.c memo.v = LONG2FIX(0); LONG2FIX 3782 enum.c memo.v = rb_fix_plus(LONG2FIX(memo.n), memo.v); LONG2FIX 1902 enumerator.c return LONG2FIX(len < 0 ? 0 : len); LONG2FIX 10 ext/-test-/string/capacity.c LONG2FIX(RSTRING(str)->as.heap.aux.capa); LONG2FIX 2268 ext/bigdecimal/bigdecimal.c vexp = LONG2FIX((long)d); LONG2FIX 1002 ext/date/date_core.c return LONG2FIX(FIX2LONG(d) * DAY_IN_SECONDS); LONG2FIX 1018 ext/date/date_core.c return LONG2FIX(FIX2LONG(s) * SECOND_IN_MILLISECONDS); LONG2FIX 1026 ext/date/date_core.c return LONG2FIX(FIX2LONG(s) * SECOND_IN_NANOSECONDS); LONG2FIX 1327 ext/date/date_core.c *nth = LONG2FIX(inth); LONG2FIX 1571 ext/date/date_core.c return rb_rational_new2(LONG2FIX(ir), INT2FIX(2)); LONG2FIX 1602 ext/date/date_core.c r = rb_rational_new1(LONG2FIX(ir)); LONG2FIX 6407 ext/date/date_core.c return LONG2FIX(v); LONG2FIX 930 ext/etc/constdefs.h LONG2FIX(n)) LONG2FIX 935 ext/etc/constdefs.h LONG2FIX(n)) LONG2FIX 2460 ext/openssl/ossl_ssl.c rb_define_const(cSSLContext, "SESSION_CACHE_OFF", LONG2FIX(SSL_SESS_CACHE_OFF)); LONG2FIX 2465 ext/openssl/ossl_ssl.c rb_define_const(cSSLContext, "SESSION_CACHE_CLIENT", LONG2FIX(SSL_SESS_CACHE_CLIENT)); /* doesn't actually do anything in 0.9.8e */ LONG2FIX 2470 ext/openssl/ossl_ssl.c rb_define_const(cSSLContext, "SESSION_CACHE_SERVER", LONG2FIX(SSL_SESS_CACHE_SERVER)); LONG2FIX 2475 ext/openssl/ossl_ssl.c rb_define_const(cSSLContext, "SESSION_CACHE_BOTH", LONG2FIX(SSL_SESS_CACHE_BOTH)); /* no different than CACHE_SERVER in 0.9.8e */ LONG2FIX 2483 ext/openssl/ossl_ssl.c rb_define_const(cSSLContext, "SESSION_CACHE_NO_AUTO_CLEAR", LONG2FIX(SSL_SESS_CACHE_NO_AUTO_CLEAR)); LONG2FIX 2491 ext/openssl/ossl_ssl.c rb_define_const(cSSLContext, "SESSION_CACHE_NO_INTERNAL_LOOKUP", LONG2FIX(SSL_SESS_CACHE_NO_INTERNAL_LOOKUP)); LONG2FIX 2496 ext/openssl/ossl_ssl.c rb_define_const(cSSLContext, "SESSION_CACHE_NO_INTERNAL_STORE", LONG2FIX(SSL_SESS_CACHE_NO_INTERNAL_STORE)); LONG2FIX 2502 ext/openssl/ossl_ssl.c rb_define_const(cSSLContext, "SESSION_CACHE_NO_INTERNAL", LONG2FIX(SSL_SESS_CACHE_NO_INTERNAL)); LONG2FIX 253 ext/openssl/ossl_x509req.c return LONG2FIX(version); LONG2FIX 15764 ext/ripper/ripper.c lit = LONG2FIX(-FIX2LONG(lit)); LONG2FIX 10015 ext/ripper/ripper.y lit = LONG2FIX(-FIX2LONG(lit)); LONG2FIX 21 ext/socket/constdefs.c LONG2FIX(n)) LONG2FIX 26 ext/socket/constdefs.c LONG2FIX(n)) LONG2FIX 358 file.c return LONG2FIX(argc); LONG2FIX 138 hash.c return LONG2FIX(-(long)ul); LONG2FIX 139 hash.c return LONG2FIX((long)ul); LONG2FIX 242 hash.c return LONG2FIX(hnum); LONG2FIX 3420 hash.c return LONG2FIX(cnt); LONG2FIX 1517 include/ruby/ruby.h # define RB_UINT2NUM(v) LONG2FIX((unsigned int)(v)) LONG2FIX 1533 include/ruby/ruby.h return LONG2FIX(v); LONG2FIX 1546 include/ruby/ruby.h return LONG2FIX(v); LONG2FIX 1556 include/ruby/ruby.h return LONG2FIX(v); LONG2FIX 334 internal.h # define DL2NUM(x) (RB_FIXABLE(x) ? LONG2FIX(x) : rb_int128t2big(x)) LONG2FIX 351 internal.h return LONG2FIX(lx * ly); LONG2FIX 372 internal.h if (modp) *modp = LONG2FIX(0); LONG2FIX 381 internal.h if (divp) *divp = LONG2FIX(div); LONG2FIX 382 internal.h if (modp) *modp = LONG2FIX(mod); LONG2FIX 1474 io.c return LONG2FIX(n); LONG2FIX 2714 io.c return LONG2FIX(n); LONG2FIX 4672 io.c return LONG2FIX(n); LONG2FIX 1650 marshal.c v = LONG2FIX(i); LONG2FIX 1067 numeric.c return LONG2FIX((long)d); LONG2FIX 1249 numeric.c return LONG2FIX(hash); LONG2FIX 1775 numeric.c return LONG2FIX(val); LONG2FIX 2070 numeric.c return LONG2FIX(val); LONG2FIX 2282 numeric.c if (POSFIXABLE(n)) return LONG2FIX(n); LONG2FIX 2459 numeric.c rb_yield(LONG2FIX(i)); LONG2FIX 2466 numeric.c rb_yield(LONG2FIX(i)); LONG2FIX 2470 numeric.c rb_yield(LONG2FIX(i)); LONG2FIX 2761 numeric.c return LONG2FIX(v); LONG2FIX 4236 numeric.c return LONG2FIX(val); LONG2FIX 4466 numeric.c return LONG2FIX(bit_length(v)); LONG2FIX 4581 numeric.c return rb_int_digits_bigbase(num, LONG2FIX(base)); LONG2FIX 4618 numeric.c rb_yield(LONG2FIX(i)); LONG2FIX 4664 numeric.c rb_yield(LONG2FIX(i)); LONG2FIX 4718 numeric.c rb_yield_1(LONG2FIX(i)); LONG2FIX 173 object.c return LONG2FIX(rb_objid_hash(index)); LONG2FIX 15688 parse.c lit = LONG2FIX(-FIX2LONG(lit)); LONG2FIX 10015 parse.y lit = LONG2FIX(-FIX2LONG(lit)); LONG2FIX 1141 proc.c return LONG2FIX(hash); LONG2FIX 7071 process.c v = rb_funcall(v, '*', 1, LONG2FIX(1000000000)); LONG2FIX 7072 process.c v = rb_funcall(v, '+', 1, LONG2FIX(ttp->count)); LONG2FIX 252 range.c return LONG2FIX(hash); LONG2FIX 772 range.c rb_yield(LONG2FIX(i)); LONG2FIX 1588 rational.c return LONG2FIX(v); LONG2FIX 2891 re.c return LONG2FIX(hashval); LONG2FIX 2959 re.c return LONG2FIX(hashval); LONG2FIX 3075 re.c return LONG2FIX(pos); LONG2FIX 3144 re.c return LONG2FIX(start); LONG2FIX 834 sprintf.c val = LONG2FIX((long)RFLOAT_VALUE(val)); LONG2FIX 1062 sprintf.c num = LONG2FIX(n); LONG2FIX 7394 string.c return LONG2FIX(RSTRING_LEN(str)); LONG2FIX 8423 string.c sum = rb_funcall(sum, '+', 1, LONG2FIX(sum0)); LONG2FIX 8433 string.c sum = rb_funcall(sum, '+', 1, LONG2FIX(sum0)); LONG2FIX 8441 string.c sum = LONG2FIX(sum0); LONG2FIX 8447 string.c sum = rb_funcall(sum, '+', 1, LONG2FIX(sum0)); LONG2FIX 842 struct.c *name = LONG2FIX(i); LONG2FIX 848 struct.c *name = LONG2FIX(i); LONG2FIX 1129 struct.c return LONG2FIX(RSTRUCT_LEN(s)); LONG2FIX 4942 thread.c RARRAY_ASET(coverage, line, LONG2FIX(count)); LONG2FIX 133 time.c return LONG2FIX(c); LONG2FIX 203 time.c # define WINT2FIXWV(i) WIDEVAL_WRAP(LONG2FIX(i)) LONG2FIX 278 time.c if (RRATIONAL(v)->den != LONG2FIX(1)) LONG2FIX 1303 time.c off = LONG2FIX(gmtoff); LONG2FIX 1310 time.c off = LONG2FIX(gmtoff); LONG2FIX 1341 time.c return LONG2FIX(gmtoff); LONG2FIX 1357 time.c return LONG2FIX(now_gmtoff); LONG2FIX 4492 time.c nano = add(LONG2FIX(nsec), subnano); LONG2FIX 4643 time.c vtm.subsecx = mulquo(LONG2FIX(nsec), INT2FIX(TIME_SCALE), LONG2FIX(1000000000)); LONG2FIX 4646 time.c vtm.subsecx = add(vtm.subsecx, mulquo(nano, INT2FIX(TIME_SCALE), LONG2FIX(1000000000))); LONG2FIX 4665 time.c vtm.subsecx = add(vtm.subsecx, mulquo(LONG2FIX(nsec), INT2FIX(TIME_SCALE), LONG2FIX(1000000000)));