Home
last modified time | relevance | path

Searched refs:pollset_sets (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc/test/core/iomgr/
Dpollset_set_test.cc44 void init_test_pollset_sets(test_pollset_set* pollset_sets, const int num_pss) { in init_test_pollset_sets() argument
46 pollset_sets[i].pss = grpc_pollset_set_create(); in init_test_pollset_sets()
50 void cleanup_test_pollset_sets(test_pollset_set* pollset_sets, in cleanup_test_pollset_sets() argument
53 grpc_pollset_set_destroy(pollset_sets[i].pss); in cleanup_test_pollset_sets()
54 pollset_sets[i].pss = nullptr; in cleanup_test_pollset_sets()
207 test_pollset_set pollset_sets[2]; in pollset_set_test_basic() local
210 const int num_pss = GPR_ARRAY_SIZE(pollset_sets); in pollset_set_test_basic()
214 init_test_pollset_sets(pollset_sets, num_pss); in pollset_set_test_basic()
218 grpc_pollset_set_add_fd(pollset_sets[0].pss, tfds[0].fd); in pollset_set_test_basic()
219 grpc_pollset_set_add_fd(pollset_sets[1].pss, tfds[1].fd); in pollset_set_test_basic()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dev_poll_posix.cc254 struct grpc_pollset_set** pollset_sets; member
1196 gpr_free(pollset_set->pollset_sets);
1260 bag->pollset_sets = static_cast<grpc_pollset_set**>(
1261 gpr_realloc(bag->pollset_sets,
1262 bag->pollset_set_capacity * sizeof(*bag->pollset_sets)));
1264 bag->pollset_sets[bag->pollset_set_count++] = item;
1282 if (bag->pollset_sets[i] == item) {
1284 GPR_SWAP(grpc_pollset_set*, bag->pollset_sets[i],
1285 bag->pollset_sets[bag->pollset_set_count]);
1307 pollset_set_add_fd(pollset_set->pollset_sets[i], fd);
[all …]
/external/grpc-grpc/src/core/lib/iomgr/
Dev_poll_posix.cc252 struct grpc_pollset_set** pollset_sets; member
1232 gpr_free(pollset_set->pollset_sets);
1296 bag->pollset_sets = static_cast<grpc_pollset_set**>(
1297 gpr_realloc(bag->pollset_sets,
1298 bag->pollset_set_capacity * sizeof(*bag->pollset_sets)));
1300 bag->pollset_sets[bag->pollset_set_count++] = item;
1318 if (bag->pollset_sets[i] == item) {
1320 GPR_SWAP(grpc_pollset_set*, bag->pollset_sets[i],
1321 bag->pollset_sets[bag->pollset_set_count]);
1343 pollset_set_add_fd(pollset_set->pollset_sets[i], fd);
[all …]