Searched refs:RLIM_INFINITY (Results 1 – 4 of 4) sorted by relevance
27 #define RLIM_INFINITY ((rlim_t) -1) macro43 rlim->rlim_cur = RLIM_INFINITY; in getrlimit()44 rlim->rlim_max = RLIM_INFINITY; in getrlimit()
100 #define RLIM_INFINITY (~((u_quad_t)1 << 63)) /* no limit */ macro101 #define RLIM_SAVED_MAX RLIM_INFINITY /* unrepresentable hard limit */102 #define RLIM_SAVED_CUR RLIM_INFINITY /* unrepresentable soft limit */
179 rl.rlim_cur = rl.rlim_cur & RLIM_INFINITY; in resource_setrlimit()180 rl.rlim_max = rl.rlim_max & RLIM_INFINITY; in resource_setrlimit()318 if (sizeof(RLIM_INFINITY) > sizeof(long)) { in initresource()319 v = PyLong_FromLongLong((PY_LONG_LONG) RLIM_INFINITY); in initresource()323 v = PyInt_FromLong((long) RLIM_INFINITY); in initresource()
28 self.assertEqual(resource.RLIM_INFINITY, max)