Searched refs:maxobj (Results 1 – 1 of 1) sorted by relevance
148 PyObject *limits, *curobj, *maxobj; in resource_setrlimit() local170 maxobj = PyTuple_GET_ITEM(limits, 1); in resource_setrlimit()176 rl.rlim_max = PyInt_AsLong(maxobj); in resource_setrlimit()185 rl.rlim_max = PyLong_Check(maxobj) ? in resource_setrlimit()186 PyLong_AsLongLong(maxobj) : PyInt_AsLong(maxobj); in resource_setrlimit()