big 2941 bignum.c if (RBASIC(big)->flags & BIGNUM_EMBED_FLAG) { big 2944 bignum.c MEMCPY(ds, RBIGNUM(big)->as.ary, BDIGIT, BIGNUM_EMBED_LEN_MAX); big 2945 bignum.c RBIGNUM(big)->as.heap.len = BIGNUM_LEN(big); big 2946 bignum.c RBIGNUM(big)->as.heap.digits = ds; big 2947 bignum.c RBASIC(big)->flags &= ~BIGNUM_EMBED_FLAG; big 2952 bignum.c ds = RBIGNUM(big)->as.heap.digits; big 2953 bignum.c RBASIC(big)->flags |= BIGNUM_EMBED_FLAG; big 2954 bignum.c BIGNUM_SET_LEN(big, len); big 2955 bignum.c (void)VALGRIND_MAKE_MEM_UNDEFINED((void*)RBIGNUM(big)->as.ary, sizeof(RBIGNUM(big)->as.ary)); big 2957 bignum.c MEMCPY(RBIGNUM(big)->as.ary, ds, BDIGIT, len); big 2962 bignum.c if (BIGNUM_LEN(big) == 0) { big 2963 bignum.c RBIGNUM(big)->as.heap.digits = ALLOC_N(BDIGIT, len); big 2966 bignum.c REALLOC_N(RBIGNUM(big)->as.heap.digits, BDIGIT, len); big 2975 bignum.c rb_big_realloc(big, len); big 2976 bignum.c BIGNUM_SET_LEN(big, len); big 2982 bignum.c NEWOBJ_OF(big, struct RBignum, klass, T_BIGNUM | (RGENGC_WB_PROTECTED_BIGNUM ? FL_WB_PROTECTED : 0)); big 2983 bignum.c BIGNUM_SET_SIGN(big, sign); big 2985 bignum.c RBASIC(big)->flags |= BIGNUM_EMBED_FLAG; big 2986 bignum.c BIGNUM_SET_LEN(big, len); big 2987 bignum.c (void)VALGRIND_MAKE_MEM_UNDEFINED((void*)RBIGNUM(big)->as.ary, sizeof(RBIGNUM(big)->as.ary)); big 2990 bignum.c RBIGNUM(big)->as.heap.digits = ALLOC_N(BDIGIT, len); big 2991 bignum.c RBIGNUM(big)->as.heap.len = len; big 2993 bignum.c OBJ_FREEZE(big); big 2994 bignum.c return (VALUE)big; big 3145 bignum.c VALUE big = bignew(bdigit_roomof(SIZEOF_VALUE), 1); big 3146 bignum.c BDIGIT *digits = BDIGITS(big); big 3159 bignum.c BIGNUM_SET_LEN(big, i+1); big 3160 bignum.c return big; big 3168 bignum.c VALUE big; big 3177 bignum.c big = rb_uint2big(u); big 3179 bignum.c BIGNUM_SET_NEGATIVE_SIGN(big); big 3181 bignum.c return big; big 4165 bignum.c VALUE big = rb_uint2big(val); big 4166 bignum.c BIGNUM_SET_SIGN(big, sign); big 4167 bignum.c return bignorm(big); big 4394 bignum.c VALUE big = bignew(bdigit_roomof(SIZEOF_LONG_LONG), 1); big 4395 bignum.c BDIGIT *digits = BDIGITS(big); big 4408 bignum.c BIGNUM_SET_LEN(big, i+1); big 4409 bignum.c return big; big 4417 bignum.c VALUE big; big 4426 bignum.c big = rb_ull2big(u); big 4428 bignum.c BIGNUM_SET_NEGATIVE_SIGN(big); big 4430 bignum.c return big; big 4454 bignum.c VALUE big = bignew(bdigit_roomof(SIZEOF_INT128_T), 1); big 4455 bignum.c BDIGIT *digits = BDIGITS(big); big 4463 bignum.c BIGNUM_SET_LEN(big, i+1); big 4464 bignum.c return big; big 4472 bignum.c VALUE big; big 4481 bignum.c big = rb_uint128t2big(u); big 4483 bignum.c BIGNUM_SET_NEGATIVE_SIGN(big); big 4485 bignum.c return big; big 6699 bignum.c return BIGSIZE(big); big 6705 bignum.c return SIZET2NUM(rb_big_size(big)); big 6719 bignum.c numbytes = rb_absint_size(big, &nlz_bits); big 6724 bignum.c if (BIGNUM_NEGATIVE_P(big) && rb_absint_singlebit_p(big)) { big 20 ext/-test-/bignum/big2str.c return rb_big2str_generic(big(x), base); big 31 ext/-test-/bignum/big2str.c return rb_big2str_poweroftwo(big(x), base); big 41 ext/-test-/bignum/big2str.c return rb_big2str_gmp(big(x), base); big 17 ext/-test-/bignum/div.c return rb_big_norm(rb_big_divrem_normal(big(x), big(y))); big 24 ext/-test-/bignum/div.c return rb_big_norm(rb_big_divrem_gmp(big(x), big(y))); big 17 ext/-test-/bignum/mul.c return rb_big_norm(rb_big_mul_normal(big(x), big(y))); big 23 ext/-test-/bignum/mul.c return rb_big_norm(rb_big_sq_fast(big(x))); big 29 ext/-test-/bignum/mul.c return rb_big_norm(rb_big_mul_balance(big(x), big(y))); big 35 ext/-test-/bignum/mul.c return rb_big_norm(rb_big_mul_karatsuba(big(x), big(y))); big 41 ext/-test-/bignum/mul.c return rb_big_norm(rb_big_mul_toom3(big(x), big(y))); big 48 ext/-test-/bignum/mul.c return rb_big_norm(rb_big_mul_gmp(big(x), big(y))); big 26 ext/-test-/rational/rat.c return rb_big_norm(rb_gcd_gmp(big(x), big(y))); big 1324 ext/date/date_core.c goto big; big 1333 ext/date/date_core.c big: big 975 ext/stringio/stringio.c while (j >= 0 && big[k] == little[j]) { big 980 ext/stringio/stringio.c i += skip[(unsigned char)big[i]]; big 99 include/ruby/intern.h void rb_big_resize(VALUE big, size_t len); big 90 include/ruby/st.h } big; big 110 st.c #define bins as.big.bins big 201 st.c uintptr_t addr = (uintptr_t)&tbl->as.big.private_list_head;