Lines Matching refs:handle
31 static void netdClientInitFunction(void* handle, const char* symbol, FunctionType* function) { in netdClientInitFunction() argument
33 InitFunctionType initFunction = reinterpret_cast<InitFunctionType>(dlsym(handle, symbol)); in netdClientInitFunction()
48 void* handle = dlopen("libnetd_client.so", RTLD_NOW); in netdClientInitImpl() local
49 if (handle == nullptr) { in netdClientInitImpl()
55 netdClientInitFunction(handle, "netdClientInitAccept4", &__netdClientDispatch.accept4); in netdClientInitImpl()
56 netdClientInitFunction(handle, "netdClientInitConnect", &__netdClientDispatch.connect); in netdClientInitImpl()
57 netdClientInitFunction(handle, "netdClientInitSendmmsg", &__netdClientDispatch.sendmmsg); in netdClientInitImpl()
58 netdClientInitFunction(handle, "netdClientInitSendmsg", &__netdClientDispatch.sendmsg); in netdClientInitImpl()
59 netdClientInitFunction(handle, "netdClientInitSendto", &__netdClientDispatch.sendto); in netdClientInitImpl()
60 netdClientInitFunction(handle, "netdClientInitSocket", &__netdClientDispatch.socket); in netdClientInitImpl()
62 netdClientInitFunction(handle, "netdClientInitNetIdForResolv", in netdClientInitImpl()
64 netdClientInitFunction(handle, "netdClientInitDnsOpenProxy", in netdClientInitImpl()