/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
D | prlimit.c | 28 struct rlimit new_limit = {.rlim_cur = lim, .rlim_max = lim}; in prlimit_0100() local 32 int ret = prlimit(getpid(), RLIMIT_STACK, &new_limit, NULL); in prlimit_0100() 48 struct rlimit new_limit = {.rlim_cur = lim, .rlim_max = lim}; in prlimit_0200() local 50 int ret = prlimit(getpid(), -1, &new_limit, NULL); in prlimit_0200() 53 new_limit.rlim_cur = lim + 1; in prlimit_0200() 54 ret = prlimit(getpid(), RLIMIT_STACK, &new_limit, NULL); in prlimit_0200()
|
/third_party/musl/src/linux/ |
D | prlimit.c | 7 int prlimit(pid_t pid, int resource, const struct rlimit *new_limit, struct rlimit *old_limit) in prlimit() argument 11 if (new_limit && SYSCALL_RLIM_INFINITY != RLIM_INFINITY) { in prlimit() 12 tmp = *new_limit; in prlimit() 15 new_limit = &tmp; in prlimit() 17 r = syscall(SYS_prlimit64, pid, resource, new_limit, old_limit); in prlimit()
|
/third_party/littlefs/scripts/ |
D | stack.py | 231 for name, (new_frame, new_limit, deps) in news.items(): 234 new_frame, new_limit, 235 new_frame, new_limit, 239 _, _, new_frame, new_limit, _, _, _, deps = diff[name] 242 new_frame, new_limit, 244 0 if m.isinf(new_limit or 0) and m.isinf(old_limit or 0) 245 else (new_limit or 0) - (old_limit or 0), 246 0.0 if m.isinf(new_limit or 0) and m.isinf(old_limit or 0) 247 else +float('inf') if m.isinf(new_limit or 0) 249 else +0.0 if not old_limit and not new_limit [all …]
|
/third_party/rust/crates/rustix/src/backend/libc/ |
D | offset.rs | 105 new_limit: *const c::rlimit64, 114 new_limit: *const c::rlimit64, 123 new_limit: *const c::rlimit64, 131 new_limit: *const c::rlimit64, in libc_prlimit() 134 prlimit64(pid, resource, new_limit, old_limit) in libc_prlimit() 140 new_limit: *const c::rlimit64, in libc_prlimit() 143 prlimit64(pid, resource, new_limit, old_limit) in libc_prlimit() 149 new_limit: *const c::rlimit64, in libc_prlimit() 152 prlimit64(pid, resource, new_limit, old_limit) in libc_prlimit()
|
/third_party/ltp/testcases/kernel/syscalls/mlock2/ |
D | mlock202.c | 53 struct rlimit orig_limit, new_limit; in verify_mlock2() local 57 new_limit.rlim_cur = *tc->max_size; in verify_mlock2() 58 new_limit.rlim_max = *tc->max_size; in verify_mlock2() 59 SAFE_SETRLIMIT(RLIMIT_MEMLOCK, &new_limit); in verify_mlock2()
|
/third_party/selinux/libselinux/src/ |
D | label_db.c | 306 unsigned int new_limit = 2 * catalog->limit; in db_init() local 310 + new_limit * sizeof(spec_t); in db_init() 316 catalog->limit = new_limit; in db_init()
|
/third_party/python/Python/clinic/ |
D | sysmodule.c.h | 367 sys_setrecursionlimit_impl(PyObject *module, int new_limit); 373 int new_limit; in sys_setrecursionlimit() local 375 new_limit = _PyLong_AsInt(arg); in sys_setrecursionlimit() 376 if (new_limit == -1 && PyErr_Occurred()) { in sys_setrecursionlimit() 379 return_value = sys_setrecursionlimit_impl(module, new_limit); in sys_setrecursionlimit()
|
/third_party/python/Modules/ |
D | resource.c | 281 struct rlimit old_limit, new_limit; in resource_prlimit_impl() local 296 if (py2rlimit(limits, &new_limit) < 0) { in resource_prlimit_impl() 299 retval = prlimit(pid, resource, &new_limit, &old_limit); in resource_prlimit_impl()
|
D | _csv.c | 1536 PyObject *new_limit = NULL; in csv_field_size_limit() local 1540 if (!PyArg_UnpackTuple(args, "field_size_limit", 0, 1, &new_limit)) in csv_field_size_limit() 1542 if (new_limit != NULL) { in csv_field_size_limit() 1543 if (!PyLong_CheckExact(new_limit)) { in csv_field_size_limit() 1548 module_state->field_limit = PyLong_AsLong(new_limit); in csv_field_size_limit()
|
/third_party/toybox/toys/posix/ |
D | ulimit.c | 54 int prlimit(pid_t pid, int resource, const struct rlimit *new_limit,
|
/third_party/toybox/scripts/ |
D | genconfig.sh | 106 int prlimit(pid_t pid, int resource, const struct rlimit *new_limit,
|
/third_party/python/Python/ |
D | sysmodule.c | 1180 sys_setrecursionlimit_impl(PyObject *module, int new_limit) in sys_setrecursionlimit_impl() argument 1185 if (new_limit < 1) { in sys_setrecursionlimit_impl() 1200 if (tstate->recursion_depth >= new_limit) { in sys_setrecursionlimit_impl() 1204 new_limit, tstate->recursion_depth); in sys_setrecursionlimit_impl() 1208 Py_SetRecursionLimit(new_limit); in sys_setrecursionlimit_impl()
|
D | ceval.c | 848 Py_SetRecursionLimit(int new_limit) in Py_SetRecursionLimit() argument 851 tstate->interp->ceval.recursion_limit = new_limit; in Py_SetRecursionLimit()
|
/third_party/node/src/ |
D | env.cc | 1201 size_t new_limit = initial_heap_limit + max_young_gen_size; in NearHeapLimitCallback() local 1206 static_cast<uint64_t>(new_limit)); in NearHeapLimitCallback() 1207 return new_limit; in NearHeapLimitCallback()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/musl/ |
D | mod.rs | 728 new_limit: *const ::rlimit, in prlimit() 734 new_limit: *const ::rlimit64, in prlimit64()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/ |
D | mod.rs | 1172 new_limit: *const ::rlimit, in prlimit() 1178 new_limit: *const ::rlimit64, in prlimit64()
|
/third_party/python/Doc/library/ |
D | csv.rst | 141 .. function:: field_size_limit([new_limit]) 143 Returns the current maximum field size allowed by the parser. If *new_limit* is
|
/third_party/rust/crates/libc/src/unix/linux_like/android/ |
D | mod.rs | 3086 new_limit: *const ::rlimit, in prlimit() 3092 new_limit: *const ::rlimit64, in prlimit64()
|
/third_party/python/Doc/whatsnew/ |
D | 2.5.rst | 1295 ``csv.field_size_limit(new_limit)`` function; omitting the *new_limit*
|