BDIGIT 36 bignum.c #define BIGLO(x) ((BDIGIT)((x) & (BIGRAD-1))) BDIGIT 37 bignum.c #define BDIGMAX ((BDIGIT)-1) BDIGIT 79 bignum.c BDIGIT *ds; BDIGIT 82 bignum.c ds = ALLOC_N(BDIGIT, len); BDIGIT 83 bignum.c MEMCPY(ds, RBIGNUM(big)->as.ary, BDIGIT, RBIGNUM_EMBED_LEN_MAX); BDIGIT 95 bignum.c MEMCPY(RBIGNUM(big)->as.ary, ds, BDIGIT, len); BDIGIT 101 bignum.c RBIGNUM(big)->as.heap.digits = ALLOC_N(BDIGIT, len); BDIGIT 104 bignum.c REALLOC_N(RBIGNUM(big)->as.heap.digits, BDIGIT, len); BDIGIT 141 bignum.c MEMCPY(BDIGITS(z), BDIGITS(x), BDIGIT, RBIGNUM_LEN(x)); BDIGIT 150 bignum.c BDIGIT *ds = BDIGITS(x); BDIGIT 178 bignum.c BDIGIT *ds = BDIGITS(x); BDIGIT 190 bignum.c BDIGIT *ds = BDIGITS(x); BDIGIT 229 bignum.c BDIGIT *digits; BDIGIT 289 bignum.c BDIGIT *ds; BDIGIT 311 bignum.c BDIGIT *digits; BDIGIT 372 bignum.c #define BNEG(b) (RSHIFT(((BDIGIT*)b)[QUAD_SIZE/SIZEOF_BDIGITS-1],BITSPERDIG-1) != 0) BDIGIT 407 bignum.c BDIGIT *zds; BDIGIT 625 bignum.c BDIGIT *digits; BDIGIT 861 bignum.c BDIGIT* ds = BDIGITS(x); BDIGIT 869 bignum.c ds[k] = (BDIGIT)(num / hbase); BDIGIT 1006 bignum.c BDIGIT *ds; BDIGIT 1066 bignum.c BDIGIT *ds; BDIGIT 1107 bignum.c BDIGIT c; BDIGIT 1108 bignum.c BDIGIT *digits; BDIGIT 1127 bignum.c c = (BDIGIT)u; BDIGIT 1142 bignum.c nlz(BDIGIT x) BDIGIT 1144 bignum.c BDIGIT y; BDIGIT 1167 bignum.c BDIGIT *ds = BDIGITS(x), dl; BDIGIT 1309 bignum.c if (MEMCMP(BDIGITS(x),BDIGITS(y),BDIGIT,RBIGNUM_LEN(y)) != 0) return Qfalse; BDIGIT 1330 bignum.c if (MEMCMP(BDIGITS(x),BDIGITS(y),BDIGIT,RBIGNUM_LEN(y)) != 0) return Qfalse; BDIGIT 1367 bignum.c BDIGIT *ds; BDIGIT 1387 bignum.c BDIGIT *zds; BDIGIT 1467 bignum.c BDIGITS(z)[i] = (BDIGIT)num; BDIGIT 1540 bignum.c BDIGIT *zds; BDIGIT 1615 bignum.c BDIGIT *yds, *zds; BDIGIT 1625 bignum.c BDIGIT *yds = bds->yds, *zds = bds->zds; BDIGIT 1628 bignum.c BDIGIT q; BDIGIT 1635 bignum.c else q = (BDIGIT)((BIGUP(zds[j]) + zds[j-1])/yds[ny-1]); BDIGIT 1671 bignum.c BDIGIT *xds, *yds, *zds, *tds; BDIGIT 1673 bignum.c BDIGIT dd, q; BDIGIT 1690 bignum.c zds[i] = (BDIGIT)(t2 / dd); BDIGIT 1730 bignum.c zds[j] = (BDIGIT)t2; BDIGIT 1934 bignum.c bdigbitsize(BDIGIT x) BDIGIT 1938 bignum.c BDIGIT bits = (~0 << nb); BDIGIT 2044 bignum.c MEMCPY(BDIGITS(a), BDIGITS(x) + k, BDIGIT, len - k); BDIGIT 2046 bignum.c MEMCPY(BDIGITS(b), BDIGITS(x), BDIGIT, k); BDIGIT 2055 bignum.c MEMCPY(BDIGITS(z) + 2 * k, BDIGITS(a2), BDIGIT, RBIGNUM_LEN(a2)); BDIGIT 2165 bignum.c BDIGIT *ds1, *ds2, *zds; BDIGIT 2220 bignum.c BDIGIT *ds1, *ds2, *zds; BDIGIT 2278 bignum.c BDIGIT *ds1, *ds2, *zds; BDIGIT 2377 bignum.c BDIGIT *xds, *zds; BDIGIT 2443 bignum.c BDIGIT *xds, *zds; BDIGIT 2505 bignum.c BDIGIT *xds; BDIGIT 2555 bignum.c hash = rb_memhash(BDIGITS(x), sizeof(BDIGIT)*RBIGNUM_LEN(x)) ^ RBIGNUM_SIGN(x); BDIGIT 728 include/ruby/ruby.h #define RBIGNUM_EMBED_LEN_MAX ((sizeof(VALUE)*3)/sizeof(BDIGIT)) BDIGIT 734 include/ruby/ruby.h BDIGIT *digits; BDIGIT 736 include/ruby/ruby.h BDIGIT ary[RBIGNUM_EMBED_LEN_MAX]; BDIGIT 34 marshal.c shortlen(long len, BDIGIT *ds) BDIGIT 36 marshal.c BDIGIT num; BDIGIT 44 marshal.c return (len - 1)*sizeof(BDIGIT)/2 + offset; BDIGIT 671 marshal.c BDIGIT *d = RBIGNUM_DIGITS(obj); BDIGIT 677 marshal.c BDIGIT num = *d; BDIGIT 1322 marshal.c BDIGIT *digits; BDIGIT 1333 marshal.c rb_big_resize((VALUE)big, (len + 1) * 2 / sizeof(BDIGIT)); BDIGIT 1339 marshal.c RBIGNUM_LEN(big) * sizeof(BDIGIT) - len * 2); BDIGIT 1344 marshal.c BDIGIT num = 0; BDIGIT 316 random.c BDIGIT *digits;