Searched refs:num_longs (Results 1 - 3 of 3) sorted by relevance

/macosx-10.9.5/ruby-104/ruby/
H A Dpack.c775 int num_longs = (integer_size+SIZEOF_LONG-1)/SIZEOF_LONG; local
779 rb_big_pack(from, v.i, num_longs);
781 for (i = 0; i < num_longs/2; i++) {
783 v.i[i] = v.i[num_longs-1-i];
784 v.i[num_longs-1-i] = t;
788 for (i = 0; i < num_longs; i++)
793 v.a + sizeof(long)*num_longs - integer_size :
1741 int num_longs = (integer_size+SIZEOF_LONG)/SIZEOF_LONG; local
1745 memset(v.a, 0xff, sizeof(long)*num_longs);
1747 memset(v.a, 0, sizeof(long)*num_longs);
[all...]
H A Dbignum.c351 * buf[num_longs-1] is the most significant word.
356 * for each 0 <= i < num_longs.
362 * (buf[num_longs-1]>>(SIZEOF_LONG*CHAR_BIT-1)),
365 * If given size of buf (num_longs) is not enough to represent val,
369 rb_big_pack(VALUE val, unsigned long *buf, long num_longs) argument
372 if (num_longs == 0)
379 for (i = 1; i < num_longs; i++)
387 for (i = 0; i < num_longs && ds < dend; i++) {
394 for (; i < num_longs; i++)
397 for (i = 0; i < num_longs;
411 rb_big_unpack(unsigned long *buf, long num_longs) argument
[all...]
/macosx-10.9.5/ruby-104/ruby/include/ruby/
H A Dintern.h129 void rb_big_pack(VALUE val, unsigned long *buf, long num_longs);
130 VALUE rb_big_unpack(unsigned long *buf, long num_longs);

Completed in 136 milliseconds