Home
last modified time | relevance | path

Searched refs:pollset_capacity (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dev_epollex_linux.cc305 size_t pollset_capacity; member
1473 if (pss->pollset_count == pss->pollset_capacity) {
1474 pss->pollset_capacity = GPR_MAX(pss->pollset_capacity * 2, 8);
1476 pss->pollsets, pss->pollset_capacity * sizeof(*pss->pollsets)));
1544 if (a->pollset_capacity < a->pollset_count + b->pollset_count) {
1545 a->pollset_capacity =
1546 GPR_MAX(2 * a->pollset_capacity, a->pollset_count + b->pollset_count);
1548 gpr_realloc(a->pollsets, a->pollset_capacity * sizeof(*a->pollsets)));
1559 b->fd_count = b->fd_capacity = b->pollset_count = b->pollset_capacity = 0;
Dev_poll_posix.cc249 size_t pollset_capacity; member
1208 if (pollset_set->pollset_count == pollset_set->pollset_capacity) {
1209 pollset_set->pollset_capacity =
1210 GPR_MAX(8, 2 * pollset_set->pollset_capacity);
1213 pollset_set->pollset_capacity * sizeof(*pollset_set->pollsets)));
/external/grpc-grpc/src/core/lib/iomgr/
Dev_epollex_linux.cc279 size_t pollset_capacity; member
1505 if (pss->pollset_count == pss->pollset_capacity) {
1506 pss->pollset_capacity = GPR_MAX(pss->pollset_capacity * 2, 8);
1508 pss->pollsets, pss->pollset_capacity * sizeof(*pss->pollsets)));
1576 if (a->pollset_capacity < a->pollset_count + b->pollset_count) {
1577 a->pollset_capacity =
1578 GPR_MAX(2 * a->pollset_capacity, a->pollset_count + b->pollset_count);
1580 gpr_realloc(a->pollsets, a->pollset_capacity * sizeof(*a->pollsets)));
1591 b->fd_count = b->fd_capacity = b->pollset_count = b->pollset_capacity = 0;
Dev_poll_posix.cc247 size_t pollset_capacity; member
1244 if (pollset_set->pollset_count == pollset_set->pollset_capacity) {
1245 pollset_set->pollset_capacity =
1246 GPR_MAX(8, 2 * pollset_set->pollset_capacity);
1249 pollset_set->pollset_capacity * sizeof(*pollset_set->pollsets)));