Lines Matching refs:unixSocket
94 int unixSocket; in socketInit() local
112 if ((unixSocket = socket(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK, 0)) == -1) in socketInit()
119 if (bind(unixSocket, (struct sockaddr*)&socketAddr, sizeof(socketAddr)) == in socketInit()
123 close(unixSocket); in socketInit()
127 if (listen(unixSocket, 1) == -1) in socketInit()
131 close(unixSocket); in socketInit()
135 return unixSocket; in socketInit()
149 CustomFd unixSocket = socketInit(writePath); in requestOffload() local
157 FD_SET(unixSocket(), &readFD); in requestOffload()
158 int numOfFDs = unixSocket() + 1; in requestOffload()
168 else if ((retVal > 0) && (FD_ISSET(unixSocket(), &readFD))) in requestOffload()
170 CustomFd socketFD = accept(unixSocket(), nullptr, nullptr); in requestOffload()