• Home
  • Raw
  • Download

Lines Matching refs:PyLong_FromLong

222         PyObject* anint = PyLong_FromLong(i);  in test_list_api()
263 v = PyLong_FromLong(i); in test_dict_inner()
279 o = PyLong_FromLong(i); in test_dict_inner()
495 #define F_S_TO_PY PyLong_FromLong
573 num = PyLong_FromLong(LONG_MAX); in test_long_and_overflow()
576 one = PyLong_FromLong(1L); in test_long_and_overflow()
617 num = PyLong_FromLong(LONG_MIN); in test_long_and_overflow()
620 one = PyLong_FromLong(1L); in test_long_and_overflow()
674 num = PyLong_FromLong(LONG_MAX); in test_long_and_overflow()
689 num = PyLong_FromLong(LONG_MIN); in test_long_and_overflow()
740 one = PyLong_FromLong(1L); in test_long_long_and_overflow()
784 one = PyLong_FromLong(1L); in test_long_long_and_overflow()
967 num = PyLong_FromLong(42); in test_L_code()
982 num = PyLong_FromLong(42); in test_L_code()
1254 return PyLong_FromLong((long)value); in getargs_h()
1290 return PyLong_FromLong((long)value); in getargs_i()
1299 return PyLong_FromLong(value); in getargs_l()
1317 return PyLong_FromLong(value); in getargs_p()
1458 return PyLong_FromLong((unsigned char)c); in getargs_c()
1467 return PyLong_FromLong(c); in getargs_C()
2341 plong = PyLong_FromLong(testcases[i].input); in test_long_numbits()
2391 v = PyLong_FromLong(i); in raise_exception()
3251 single = PyLong_FromLong(i); in profile_int()
3262 single = PyLong_FromLong(i+1000000); in profile_int()
3276 multiple[i] = PyLong_FromLong(i+1000000); in profile_int()
3294 multiple[i] = PyLong_FromLong(i+1000000); in profile_int()
3311 multiple[i] = PyLong_FromLong(i+1000); in profile_int()
3322 op1 = PyLong_FromLong(1); in profile_int()
3333 op1 = PyLong_FromLong(1000); in profile_int()
3644 return PyLong_FromLong(r); in run_in_subinterp()
3824 PyObject *obj = PyLong_FromLong(0); in test_xincref_doesnt_leak()
3835 PyObject *obj = PyLong_FromLong(0); in test_incref_doesnt_leak()
3846 Py_XDECREF(PyLong_FromLong(0)); in test_xdecref_doesnt_leak()
3853 Py_DECREF(PyLong_FromLong(0)); in test_decref_doesnt_leak()
3904 PyObject *obj = PyLong_FromLong(0); in test_incref_decref_API()
5135 return PyLong_FromLong(status); in py_w_stopcode()
7241 PyModule_AddObject(m, "CHAR_MAX", PyLong_FromLong(CHAR_MAX)); in PyInit__testcapi()
7242 PyModule_AddObject(m, "CHAR_MIN", PyLong_FromLong(CHAR_MIN)); in PyInit__testcapi()
7243 PyModule_AddObject(m, "UCHAR_MAX", PyLong_FromLong(UCHAR_MAX)); in PyInit__testcapi()
7244 PyModule_AddObject(m, "SHRT_MAX", PyLong_FromLong(SHRT_MAX)); in PyInit__testcapi()
7245 PyModule_AddObject(m, "SHRT_MIN", PyLong_FromLong(SHRT_MIN)); in PyInit__testcapi()
7246 PyModule_AddObject(m, "USHRT_MAX", PyLong_FromLong(USHRT_MAX)); in PyInit__testcapi()
7247 PyModule_AddObject(m, "INT_MAX", PyLong_FromLong(INT_MAX)); in PyInit__testcapi()
7248 PyModule_AddObject(m, "INT_MIN", PyLong_FromLong(INT_MIN)); in PyInit__testcapi()
7250 PyModule_AddObject(m, "LONG_MAX", PyLong_FromLong(LONG_MAX)); in PyInit__testcapi()
7251 PyModule_AddObject(m, "LONG_MIN", PyLong_FromLong(LONG_MIN)); in PyInit__testcapi()