Lines Matching refs:PyInt_FromLong
89 PyStructSequence_SET_ITEM(result, 2, PyInt_FromLong(ru.ru_maxrss)); in resource_getrusage()
90 PyStructSequence_SET_ITEM(result, 3, PyInt_FromLong(ru.ru_ixrss)); in resource_getrusage()
91 PyStructSequence_SET_ITEM(result, 4, PyInt_FromLong(ru.ru_idrss)); in resource_getrusage()
92 PyStructSequence_SET_ITEM(result, 5, PyInt_FromLong(ru.ru_isrss)); in resource_getrusage()
93 PyStructSequence_SET_ITEM(result, 6, PyInt_FromLong(ru.ru_minflt)); in resource_getrusage()
94 PyStructSequence_SET_ITEM(result, 7, PyInt_FromLong(ru.ru_majflt)); in resource_getrusage()
95 PyStructSequence_SET_ITEM(result, 8, PyInt_FromLong(ru.ru_nswap)); in resource_getrusage()
96 PyStructSequence_SET_ITEM(result, 9, PyInt_FromLong(ru.ru_inblock)); in resource_getrusage()
97 PyStructSequence_SET_ITEM(result, 10, PyInt_FromLong(ru.ru_oublock)); in resource_getrusage()
98 PyStructSequence_SET_ITEM(result, 11, PyInt_FromLong(ru.ru_msgsnd)); in resource_getrusage()
99 PyStructSequence_SET_ITEM(result, 12, PyInt_FromLong(ru.ru_msgrcv)); in resource_getrusage()
100 PyStructSequence_SET_ITEM(result, 13, PyInt_FromLong(ru.ru_nsignals)); in resource_getrusage()
101 PyStructSequence_SET_ITEM(result, 14, PyInt_FromLong(ru.ru_nvcsw)); in resource_getrusage()
102 PyStructSequence_SET_ITEM(result, 15, PyInt_FromLong(ru.ru_nivcsw)); in resource_getrusage()
340 v = PyInt_FromLong((long) RLIM_INFINITY); in initresource()