Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/lib/iomgr/
Dev_posix.cc125 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 …]