Lines Matching refs:PyLong_FromLong
115 PyStructSequence_SET_ITEM(result, 2, PyLong_FromLong(ru.ru_maxrss)); in resource_getrusage_impl()
116 PyStructSequence_SET_ITEM(result, 3, PyLong_FromLong(ru.ru_ixrss)); in resource_getrusage_impl()
117 PyStructSequence_SET_ITEM(result, 4, PyLong_FromLong(ru.ru_idrss)); in resource_getrusage_impl()
118 PyStructSequence_SET_ITEM(result, 5, PyLong_FromLong(ru.ru_isrss)); in resource_getrusage_impl()
119 PyStructSequence_SET_ITEM(result, 6, PyLong_FromLong(ru.ru_minflt)); in resource_getrusage_impl()
120 PyStructSequence_SET_ITEM(result, 7, PyLong_FromLong(ru.ru_majflt)); in resource_getrusage_impl()
121 PyStructSequence_SET_ITEM(result, 8, PyLong_FromLong(ru.ru_nswap)); in resource_getrusage_impl()
122 PyStructSequence_SET_ITEM(result, 9, PyLong_FromLong(ru.ru_inblock)); in resource_getrusage_impl()
123 PyStructSequence_SET_ITEM(result, 10, PyLong_FromLong(ru.ru_oublock)); in resource_getrusage_impl()
124 PyStructSequence_SET_ITEM(result, 11, PyLong_FromLong(ru.ru_msgsnd)); in resource_getrusage_impl()
125 PyStructSequence_SET_ITEM(result, 12, PyLong_FromLong(ru.ru_msgrcv)); in resource_getrusage_impl()
126 PyStructSequence_SET_ITEM(result, 13, PyLong_FromLong(ru.ru_nsignals)); in resource_getrusage_impl()
127 PyStructSequence_SET_ITEM(result, 14, PyLong_FromLong(ru.ru_nvcsw)); in resource_getrusage_impl()
128 PyStructSequence_SET_ITEM(result, 15, PyLong_FromLong(ru.ru_nivcsw)); in resource_getrusage_impl()
492 v = PyLong_FromLong((long) RLIM_INFINITY); in resource_exec()