Searched refs:curobj (Results 1 – 2 of 2) sorted by relevance
148 PyObject *limits, *curobj, *maxobj; in resource_setrlimit() local169 curobj = PyTuple_GET_ITEM(limits, 0); in resource_setrlimit()173 rl.rlim_cur = PyInt_AsLong(curobj); in resource_setrlimit()181 rl.rlim_cur = PyLong_Check(curobj) ? in resource_setrlimit()182 PyLong_AsLongLong(curobj) : PyInt_AsLong(curobj); in resource_setrlimit()
128 PyObject *curobj, *maxobj; in py2rlimit() local139 curobj = PyTuple_GET_ITEM(limits, 0); in py2rlimit()142 rl_out->rlim_cur = PyLong_AsLong(curobj); in py2rlimit()150 rl_out->rlim_cur = PyLong_AsLongLong(curobj); in py2rlimit()