Searched refs:plong (Results 1 – 3 of 3) sorted by relevance
1182 PyObject *plong = PyLong_FromLong(testcases[i].input); in test_long_numbits() local1183 size_t nbits = _PyLong_NumBits(plong); in test_long_numbits()1184 int sign = _PyLong_Sign(plong); in test_long_numbits()1186 Py_DECREF(plong); in test_long_numbits()
1039 PyObject *plong; /* converted to Python long */ in _Py_HashDouble() local1040 plong = PyLong_FromDouble(v); in _Py_HashDouble()1041 if (plong == NULL) in _Py_HashDouble()1043 x = PyObject_Hash(plong); in _Py_HashDouble()1044 Py_DECREF(plong); in _Py_HashDouble()
1044 PyObject *plong; /* converted to Python long */ in _Py_HashDouble() local1045 plong = PyLong_FromDouble(v); in _Py_HashDouble()1046 if (plong == NULL) in _Py_HashDouble()1048 x = PyObject_Hash(plong); in _Py_HashDouble()1049 Py_DECREF(plong); in _Py_HashDouble()