Lines Matching refs:PyLong_FromLong
98 *x_p = (PyLongObject *)PyLong_FromLong(-MEDIUM_VALUE(x)); in _PyLong_Negate()
243 PyLong_FromLong(long ival) in PyLong_FromLong() function
320 return PyLong_FromLong(ival); in PyLong_FromUnsignedLong()
363 return PyLong_FromLong(0L); in PyLong_FromDouble()
786 return PyLong_FromLong(0L); in _PyLong_FromByteArray()
1125 return PyLong_FromLong((long)ival); in PyLong_FromUnsignedLongLong()
1193 return PyLong_FromLong((long)ival); in PyLong_FromSize_t()
2573 *prem = (PyLongObject *) PyLong_FromLong((long)rem); in long_divrem()
3051 return (PyLongObject *)PyLong_FromLong(0); in x_sub()
3090 return PyLong_FromLong(MEDIUM_VALUE(a) + MEDIUM_VALUE(b)); in long_add()
3124 return PyLong_FromLong(MEDIUM_VALUE(a) - MEDIUM_VALUE(b)); in long_sub()
3312 return (PyLongObject *)PyLong_FromLong(0); in k_mul()
3591 return PyLong_FromLong(mod * (sdigit)Py_SIZE(b)); in fast_mod()
3614 return PyLong_FromLong(div); in fast_floor_div()
4097 z = (PyLongObject *)PyLong_FromLong(0L); in long_pow()
4122 z = (PyLongObject *)PyLong_FromLong(1L); in long_pow()
4217 return PyLong_FromLong(-(MEDIUM_VALUE(v)+1)); in long_invert()
4232 return PyLong_FromLong(-MEDIUM_VALUE(v)); in long_neg()
4320 return PyLong_FromLong(0); in long_rshift()
4355 return PyLong_FromLong(0); in long_lshift()
4758 return PyLong_FromLong(x); in _PyLong_GCD()
4808 return PyLong_FromLong(0L); in long_new_impl()
4884 return PyLong_FromLong(0L); in long_get0()
4889 return PyLong_FromLong(1L); in long_get1()
5050 result = PyLong_FromLong(10L); in long_round()
5118 return PyLong_FromLong(0); in int_bit_length_impl()
5130 x = (PyLongObject *)PyLong_FromLong(PyLong_SHIFT); in int_bit_length_impl()
5140 x = (PyLongObject *)PyLong_FromLong((long)msd_bits); in int_bit_length_impl()
5452 PyLong_FromLong(PyLong_SHIFT)); in PyLong_GetInfo()
5454 PyLong_FromLong(sizeof(digit))); in PyLong_GetInfo()
5494 _PyLong_Zero = PyLong_FromLong(0); in _PyLong_Init()
5497 _PyLong_One = PyLong_FromLong(1); in _PyLong_Init()