Home
last modified time | relevance | path

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

/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)));