/external/cronet/net/third_party/quiche/src/quiche/http2/adapter/ |
D | window_manager.cc | 43 void WindowManager::OnWindowSizeLimitChange(const int64_t new_limit) { in OnWindowSizeLimitChange() argument 46 << " to new limit of " << new_limit; in OnWindowSizeLimitChange() 47 window_ += (new_limit - limit_); in OnWindowSizeLimitChange() 48 limit_ = new_limit; in OnWindowSizeLimitChange() 51 void WindowManager::SetWindowSizeLimit(int64_t new_limit) { in SetWindowSizeLimit() argument 54 << " to new limit of " << new_limit; in SetWindowSizeLimit() 55 limit_ = new_limit; in SetWindowSizeLimit()
|
D | window_manager.h | 39 void OnWindowSizeLimitChange(int64_t new_limit); 43 void SetWindowSizeLimit(int64_t new_limit);
|
/external/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()
|
/external/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()
|
/external/libevent/ |
D | bufferevent_ratelim.c | 972 ev_ssize_t old_limit, new_limit; in bufferevent_decrement_read_limit() local 979 new_limit = (bevp->rate_limiting->limit.read_limit -= decr); in bufferevent_decrement_read_limit() 980 if (old_limit > 0 && new_limit <= 0) { in bufferevent_decrement_read_limit() 985 } else if (old_limit <= 0 && new_limit > 0) { in bufferevent_decrement_read_limit() 1001 ev_ssize_t old_limit, new_limit; in bufferevent_decrement_write_limit() local 1008 new_limit = (bevp->rate_limiting->limit.write_limit -= decr); in bufferevent_decrement_write_limit() 1009 if (old_limit > 0 && new_limit <= 0) { in bufferevent_decrement_write_limit() 1014 } else if (old_limit <= 0 && new_limit > 0) { in bufferevent_decrement_write_limit() 1029 ev_ssize_t old_limit, new_limit; in bufferevent_rate_limit_group_decrement_read() local 1032 new_limit = (grp->rate_limit.read_limit -= decr); in bufferevent_rate_limit_group_decrement_read() [all …]
|
/external/libchrome/base/process/ |
D | process_metrics_posix.cc | 77 unsigned int new_limit = max_descriptors; in IncreaseFdLimitTo() local 81 new_limit = limits.rlim_max; in IncreaseFdLimitTo() 83 limits.rlim_cur = new_limit; in IncreaseFdLimitTo()
|
/external/cronet/base/process/ |
D | process_metrics_posix.cc | 91 rlim_t new_limit = max_descriptors; in IncreaseFdLimitTo() local 95 new_limit = limits.rlim_max; in IncreaseFdLimitTo() 97 limits.rlim_cur = new_limit; in IncreaseFdLimitTo()
|
/external/jemalloc_new/test/unit/ |
D | mallctl.c | 562 size_t old_limit, new_limit, default_limit; in TEST_BEGIN() local 582 new_limit = PAGE - 1; in TEST_BEGIN() 583 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, &new_limit, in TEST_BEGIN() 584 sizeof(new_limit)), EFAULT, "Unexpected mallctl() success"); in TEST_BEGIN() 586 new_limit = PAGE + 1; in TEST_BEGIN() 587 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, &new_limit, in TEST_BEGIN() 588 sizeof(new_limit)), 0, "Unexpected mallctl() failure"); in TEST_BEGIN() 595 new_limit = sz_pind2sz(10) - 1; in TEST_BEGIN() 596 assert_d_eq(mallctlbymib(mib, miblen, NULL, NULL, &new_limit, in TEST_BEGIN() 597 sizeof(new_limit)), 0, "Unexpected mallctl() failure"); in TEST_BEGIN()
|
/external/rust/crates/protobuf/src/coded_input_stream/ |
D | buf_read_iter.rs | 122 let new_limit = match self.pos().checked_add(limit) { in push_limit() localVariable 123 Some(new_limit) => new_limit, in push_limit() 127 if new_limit > self.limit { in push_limit() 131 let prev_limit = mem::replace(&mut self.limit, new_limit); in push_limit()
|
/external/rust/crates/protobuf/2.27.1/src/ |
D | buf_read_iter.rs | 148 let new_limit = match self.pos().checked_add(limit) { in push_limit() localVariable 149 Some(new_limit) => new_limit, in push_limit() 153 if new_limit > self.limit { in push_limit() 157 let prev_limit = mem::replace(&mut self.limit, new_limit); in push_limit()
|
/external/selinux/libselinux/src/ |
D | label_db.c | 311 unsigned int new_limit = 2 * catalog->limit; in db_init() local 315 + new_limit * sizeof(spec_t); in db_init() 321 catalog->limit = new_limit; in db_init()
|
/external/python/cpython3/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()
|
/external/python/cpython3/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()
|
/external/toybox/toys/posix/ |
D | ulimit.c | 54 int prlimit(pid_t pid, int resource, const struct rlimit *new_limit,
|
/external/python/cpython2/Modules/ |
D | _csv.c | 1441 PyObject *new_limit = NULL; in csv_field_size_limit() local 1444 if (!PyArg_UnpackTuple(args, "field_size_limit", 0, 1, &new_limit)) in csv_field_size_limit() 1446 if (new_limit != NULL) { in csv_field_size_limit() 1447 if (!_PyAnyInt_Check(new_limit)) { in csv_field_size_limit() 1452 limit = PyInt_AsLong(new_limit); in csv_field_size_limit()
|
/external/python/cpython2/Python/ |
D | sysmodule.c | 520 int new_limit; in sys_setrecursionlimit() local 521 if (!PyArg_ParseTuple(args, "i:setrecursionlimit", &new_limit)) in sys_setrecursionlimit() 523 if (new_limit <= 0) { in sys_setrecursionlimit() 528 Py_SetRecursionLimit(new_limit); in sys_setrecursionlimit()
|
/external/jemalloc_new/include/jemalloc/internal/ |
D | arena_externs.h | 76 size_t *old_limit, size_t *new_limit);
|
/external/python/cpython3/Python/ |
D | sysmodule.c | 1179 sys_setrecursionlimit_impl(PyObject *module, int new_limit) in sys_setrecursionlimit_impl() argument 1184 if (new_limit < 1) { in sys_setrecursionlimit_impl() 1199 if (tstate->recursion_depth >= new_limit) { in sys_setrecursionlimit_impl() 1203 new_limit, tstate->recursion_depth); in sys_setrecursionlimit_impl() 1207 Py_SetRecursionLimit(new_limit); in sys_setrecursionlimit_impl()
|
/external/leveldb/db/ |
D | version_set.cc | 1412 InternalKey new_start, new_limit; in SetupOtherInputs() local 1413 GetRange(expanded0, &new_start, &new_limit); in SetupOtherInputs() 1415 current_->GetOverlappingInputs(level + 1, &new_start, &new_limit, in SetupOtherInputs() 1424 largest = new_limit; in SetupOtherInputs()
|
/external/rust/crates/libc/src/unix/linux_like/linux/musl/ |
D | mod.rs | 719 new_limit: *const ::rlimit, in prlimit() 725 new_limit: *const ::rlimit64, in prlimit64()
|
/external/jemalloc_new/src/ |
D | arena.c | 1720 size_t *new_limit) { in arena_retain_grow_limit_get_set() argument 1724 if (new_limit != NULL) { in arena_retain_grow_limit_get_set() 1725 size_t limit = *new_limit; in arena_retain_grow_limit_get_set() 1737 if (new_limit != NULL) { in arena_retain_grow_limit_get_set()
|
/external/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()
|
/external/python/cpython3/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
|
/external/python/cpython2/Doc/library/ |
D | csv.rst | 158 .. function:: field_size_limit([new_limit]) 160 Returns the current maximum field size allowed by the parser. If *new_limit* is
|