Lines Matching refs:PyLong_FromLong
511 #define F_S_TO_PY PyLong_FromLong
591 num = PyLong_FromLong(LONG_MAX); in test_long_and_overflow()
594 one = PyLong_FromLong(1L); in test_long_and_overflow()
635 num = PyLong_FromLong(LONG_MIN); in test_long_and_overflow()
638 one = PyLong_FromLong(1L); in test_long_and_overflow()
692 num = PyLong_FromLong(LONG_MAX); in test_long_and_overflow()
707 num = PyLong_FromLong(LONG_MIN); in test_long_and_overflow()
759 one = PyLong_FromLong(1L); in test_long_long_and_overflow()
803 one = PyLong_FromLong(1L); in test_long_long_and_overflow()
905 num = PyLong_FromLong(42); in test_L_code()
1108 return PyLong_FromLong((long)value); in getargs_h()
1144 return PyLong_FromLong((long)value); in getargs_i()
1153 return PyLong_FromLong(value); in getargs_l()
1848 PyObject *plong = PyLong_FromLong(testcases[i].input); in test_long_numbits()
2648 return PyLong_FromLong(status); in py_w_stopcode()
2664 return PyLong_FromLong(y); in read_null()
2970 PyModule_AddObject(m, "INT_MAX", PyLong_FromLong(INT_MAX)); in init_testcapi()
2971 PyModule_AddObject(m, "INT_MIN", PyLong_FromLong(INT_MIN)); in init_testcapi()