Searched refs:plong (Results 1 – 3 of 3) sorted by relevance
1049 PyObject *plong; /* converted to Python long */ in _Py_HashDouble() local1050 plong = PyLong_FromDouble(v); in _Py_HashDouble()1051 if (plong == NULL) in _Py_HashDouble()1053 x = PyObject_Hash(plong); in _Py_HashDouble()1054 Py_DECREF(plong); in _Py_HashDouble()
1848 PyObject *plong = PyLong_FromLong(testcases[i].input); in test_long_numbits() local1849 size_t nbits = _PyLong_NumBits(plong); in test_long_numbits()1850 int sign = _PyLong_Sign(plong); in test_long_numbits()1852 Py_DECREF(plong); in test_long_numbits()
2112 PyObject *plong; in test_long_numbits() local2114 plong = PyLong_FromLong(testcases[i].input); in test_long_numbits()2115 if (plong == NULL) in test_long_numbits()2117 nbits = _PyLong_NumBits(plong); in test_long_numbits()2118 sign = _PyLong_Sign(plong); in test_long_numbits()2120 Py_DECREF(plong); in test_long_numbits()