Searched refs:g_factories (Results 1 – 2 of 2) sorted by relevance
/external/grpc-grpc/src/core/lib/iomgr/ |
D | ev_posix.cc | 125 static event_engine_factory g_factories[] = { variable 165 for (size_t i = 0; i < GPR_ARRAY_SIZE(g_factories); i++) { in try_engine() 166 if (g_factories[i].factory != nullptr && is(engine, g_factories[i].name)) { in try_engine() 167 if ((g_event_engine = g_factories[i].factory( in try_engine() 168 0 == strcmp(engine, g_factories[i].name)))) { in try_engine() 169 g_poll_strategy_name = g_factories[i].name; in try_engine() 170 gpr_log(GPR_DEBUG, "Using polling engine: %s", g_factories[i].name); in try_engine() 185 for (size_t i = 0; i < GPR_ARRAY_SIZE(g_factories); i++) { in grpc_register_event_engine_factory() 186 if (0 == strcmp(name, g_factories[i].name)) { in grpc_register_event_engine_factory() 187 g_factories[i].factory = factory; in grpc_register_event_engine_factory() [all …]
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
D | ev_posix.cc | 129 static event_engine_factory g_factories[] = { variable 168 for (size_t i = 0; i < GPR_ARRAY_SIZE(g_factories); i++) { in try_engine() 169 if (g_factories[i].factory != nullptr && is(engine, g_factories[i].name)) { in try_engine() 170 if ((g_event_engine = g_factories[i].factory( in try_engine() 171 0 == strcmp(engine, g_factories[i].name)))) { in try_engine() 172 g_poll_strategy_name = g_factories[i].name; in try_engine() 173 gpr_log(GPR_DEBUG, "Using polling engine: %s", g_factories[i].name); in try_engine() 188 for (size_t i = 0; i < GPR_ARRAY_SIZE(g_factories); i++) { in grpc_register_event_engine_factory() 189 if (0 == strcmp(name, g_factories[i].name)) { in grpc_register_event_engine_factory() 190 g_factories[i].factory = factory; in grpc_register_event_engine_factory() [all …]
|