Home
last modified time | relevance | path

Searched refs:RLIM_INFINITY (Results 1 – 25 of 45) sorted by relevance

12

/third_party/curl/tests/libtest/
Dlib537.c131 #ifdef RLIM_INFINITY
132 if(rl.rlim_cur == RLIM_INFINITY)
139 #ifdef RLIM_INFINITY
140 if(rl.rlim_max == RLIM_INFINITY)
191 #ifdef RLIM_INFINITY
192 if(rl.rlim_cur == RLIM_INFINITY)
199 #ifdef RLIM_INFINITY
200 if(rl.rlim_max == RLIM_INFINITY)
257 #ifdef RLIM_INFINITY
258 if((rl.rlim_cur > 0) && (rl.rlim_cur != RLIM_INFINITY)) {
Dlib518.c130 #ifdef RLIM_INFINITY in rlimit()
131 if(rl.rlim_cur == RLIM_INFINITY) in rlimit()
138 #ifdef RLIM_INFINITY in rlimit()
139 if(rl.rlim_max == RLIM_INFINITY) in rlimit()
196 #ifdef RLIM_INFINITY in rlimit()
197 if(rl.rlim_cur == RLIM_INFINITY) in rlimit()
204 #ifdef RLIM_INFINITY in rlimit()
205 if(rl.rlim_max == RLIM_INFINITY) in rlimit()
232 #ifdef RLIM_INFINITY in rlimit()
233 (rl.rlim_cur != RLIM_INFINITY) && in rlimit()
/third_party/musl/porting/uniproton/kernel/include/sys/
Dresource.h72 #define RLIM_INFINITY (~0ULL) macro
73 #define RLIM_SAVED_CUR RLIM_INFINITY
74 #define RLIM_SAVED_MAX RLIM_INFINITY
99 #define RLIM64_INFINITY RLIM_INFINITY
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dresource.h72 #define RLIM_INFINITY (~0ULL) macro
73 #define RLIM_SAVED_CUR RLIM_INFINITY
74 #define RLIM_SAVED_MAX RLIM_INFINITY
99 #define RLIM64_INFINITY RLIM_INFINITY
/third_party/musl/include/sys/
Dresource.h72 #define RLIM_INFINITY (~0ULL) macro
73 #define RLIM_SAVED_CUR RLIM_INFINITY
74 #define RLIM_SAVED_MAX RLIM_INFINITY
99 #define RLIM64_INFINITY RLIM_INFINITY
/third_party/musl/ndk_musl_include/sys/
Dresource.h72 #define RLIM_INFINITY (~0ULL) macro
73 #define RLIM_SAVED_CUR RLIM_INFINITY
74 #define RLIM_SAVED_MAX RLIM_INFINITY
99 #define RLIM64_INFINITY RLIM_INFINITY
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dresource.h72 #define RLIM_INFINITY (~0ULL) macro
73 #define RLIM_SAVED_CUR RLIM_INFINITY
74 #define RLIM_SAVED_MAX RLIM_INFINITY
99 #define RLIM64_INFINITY RLIM_INFINITY
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dresource.h72 #define RLIM_INFINITY (~0ULL) macro
73 #define RLIM_SAVED_CUR RLIM_INFINITY
74 #define RLIM_SAVED_MAX RLIM_INFINITY
99 #define RLIM64_INFINITY RLIM_INFINITY
/third_party/musl/src/misc/
Dgetrlimit.c5 #define FIX(x) do{ if ((x)>=SYSCALL_RLIM_INFINITY) (x)=RLIM_INFINITY; }while(0)
19 rlim->rlim_cur = k_rlim[0] == -1UL ? RLIM_INFINITY : k_rlim[0]; in getrlimit()
20 rlim->rlim_max = k_rlim[1] == -1UL ? RLIM_INFINITY : k_rlim[1]; in getrlimit()
Dsetrlimit.c7 #define FIX(x) do{ if ((x)>=SYSCALL_RLIM_INFINITY) (x)=RLIM_INFINITY; }while(0)
13 if (SYSCALL_RLIM_INFINITY != RLIM_INFINITY) { in __setrlimit()
/third_party/musl/src/linux/
Dprlimit.c5 #define FIX(x) do{ if ((x)>=SYSCALL_RLIM_INFINITY) (x)=RLIM_INFINITY; }while(0)
11 if (new_limit && SYSCALL_RLIM_INFINITY != RLIM_INFINITY) { in prlimit()
18 if (!r && old_limit && SYSCALL_RLIM_INFINITY != RLIM_INFINITY) { in prlimit()
/third_party/python/Modules/
Dresource.c172 rl_out->rlim_cur = rl_out->rlim_cur & RLIM_INFINITY; in py2rlimit()
173 rl_out->rlim_max = rl_out->rlim_max & RLIM_INFINITY; in py2rlimit()
488 if (sizeof(RLIM_INFINITY) > sizeof(long)) { in resource_exec()
489 v = PyLong_FromLongLong((long long) RLIM_INFINITY); in resource_exec()
492 v = PyLong_FromLong((long) RLIM_INFINITY); in resource_exec()
/third_party/ltp/testcases/kernel/mem/tunable/
Dovercommit_memory.c116 if (lim.rlim_cur != RLIM_INFINITY) { in setup()
117 lim.rlim_cur = RLIM_INFINITY; in setup()
118 lim.rlim_max = RLIM_INFINITY; in setup()
/third_party/musl/porting/liteos_a/user/src/misc/
Dsetrlimit.c7 #define FIX(x) do{ if ((x)>=SYSCALL_RLIM_INFINITY) (x)=RLIM_INFINITY; }while(0)
13 if (SYSCALL_RLIM_INFINITY != RLIM_INFINITY) { in __setrlimit()
Dgetrlimit.c5 #define FIX(x) do{ if ((x)>=SYSCALL_RLIM_INFINITY) (x)=RLIM_INFINITY; }while(0)
/third_party/glib/glib/gnulib/gl_cv_func_printf_enomem/
Dmeson.build26 if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
36 if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
46 if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
/third_party/toybox/toys/posix/
Dulimit.c98 if (rl == RLIM_INFINITY) printf("unlimited\n"); in ulimit_main()
111 if (tolower(**toys.optargs) == 'u') val = RLIM_INFINITY; in ulimit_main()
/third_party/ltp/testcases/kernel/mem/thp/
Dthp01.c106 .rlim_cur = RLIM_INFINITY, in setup()
107 .rlim_max = RLIM_INFINITY, in setup()
/third_party/mksh/
Dulimit.c256 #define RL_U (rlim_t)RLIM_INFINITY
301 limit.rlim_cur = RLIM_INFINITY; in set_ulimit()
302 limit.rlim_max = RLIM_INFINITY; in set_ulimit()
/third_party/ltp/testcases/kernel/syscalls/mlock/
Dmlock02.c114 rl.rlim_cur = RLIM_INFINITY; in test_enomem1()
115 rl.rlim_max = RLIM_INFINITY; in test_enomem1()
/third_party/musl/porting/linux/user/src/legacy/
Dulimit.c19 return rl.rlim_cur == RLIM_INFINITY? LONG_MAX : rl.rlim_cur / 512; in ulimit()
/third_party/libunwind/tests/
DGperf-trace.c223 rlim.rlim_cur = RLIM_INFINITY; in main()
224 rlim.rlim_max = RLIM_INFINITY; in main()
DGperf-simple.c237 rlim.rlim_cur = RLIM_INFINITY; in main()
238 rlim.rlim_max = RLIM_INFINITY; in main()
/third_party/gettext/gettext-tools/tests/
Dintl-5-prg.c61 if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > n) in main()
/third_party/musl/libc-test/src/api/
Dsys_resource.c13 C(RLIM_INFINITY) in f()

12