Lines Matching refs:PyInt_FromLong
483 return PyInt_FromLong(_Py_CheckInterval); in sys_getcheckinterval()
545 return PyInt_FromLong(Py_GetRecursionLimit()); in sys_getrecursionlimit()
608 PyStructSequence_SET_ITEM(version, pos++, PyInt_FromLong(ver.dwMajorVersion)); in sys_getwindowsversion()
609 PyStructSequence_SET_ITEM(version, pos++, PyInt_FromLong(ver.dwMinorVersion)); in sys_getwindowsversion()
610 PyStructSequence_SET_ITEM(version, pos++, PyInt_FromLong(ver.dwBuildNumber)); in sys_getwindowsversion()
611 PyStructSequence_SET_ITEM(version, pos++, PyInt_FromLong(ver.dwPlatformId)); in sys_getwindowsversion()
613 PyStructSequence_SET_ITEM(version, pos++, PyInt_FromLong(ver.wServicePackMajor)); in sys_getwindowsversion()
614 PyStructSequence_SET_ITEM(version, pos++, PyInt_FromLong(ver.wServicePackMinor)); in sys_getwindowsversion()
615 PyStructSequence_SET_ITEM(version, pos++, PyInt_FromLong(ver.wSuiteMask)); in sys_getwindowsversion()
616 PyStructSequence_SET_ITEM(version, pos++, PyInt_FromLong(ver.wProductType)); in sys_getwindowsversion()
660 return PyInt_FromLong(tstate->interp->dlopenflags); in sys_getdlopenflags()
1255 PyStructSequence_SET_ITEM(seq, pos++, PyInt_FromLong(flag)) in make_flags()
1337 PyStructSequence_SET_ITEM(version_info, pos++, PyInt_FromLong(flag)) in make_version_info()
1424 PyInt_FromLong(PY_VERSION_HEX)); in _PySys_Init()
1435 PyInt_FromLong(PYTHON_API_VERSION)); in _PySys_Init()
1449 PyInt_FromLong(PyInt_GetMax())); in _PySys_Init()
1458 PyInt_FromLong(PyUnicode_GetMax())); in _PySys_Init()