Lines Matching refs:PyInt_FromLong
87 PyInt_FromLong(long ival) in PyInt_FromLong() function
119 return PyInt_FromLong((long)ival); in PyInt_FromSize_t()
127 return PyInt_FromLong((long)ival); in PyInt_FromSsize_t()
399 return PyInt_FromLong(x); in PyInt_FromString()
477 return PyInt_FromLong(x); in int_add()
490 return PyInt_FromLong(x); in int_sub()
539 return PyInt_FromLong(longprod); in int_mul()
554 return PyInt_FromLong(longprod); in int_mul()
627 return PyInt_FromLong(d); in int_div()
648 return PyInt_FromLong(d); in int_classic_div()
698 return PyInt_FromLong(m); in int_mod()
807 return PyInt_FromLong(ix); in int_pow()
825 return PyInt_FromLong(-a); in int_neg()
846 return PyInt_FromLong(~v->ob_ival); in int_invert()
892 return PyInt_FromLong(c); in int_lshift()
916 return PyInt_FromLong(a); in int_rshift()
925 return PyInt_FromLong(a & b); in int_and()
934 return PyInt_FromLong(a ^ b); in int_xor()
943 return PyInt_FromLong(a | b); in int_or()
963 v = (PyIntObject *)PyInt_FromLong(v->ob_ival); in int_int()
1078 return PyInt_FromLong(0L); in int_new()
1155 return PyInt_FromLong(0L); in int_get0()
1160 return PyInt_FromLong(1L); in int_get1()
1296 return PyInt_FromLong(bits_in_ulong(n)); in int_bit_length()