Home
last modified time | relevance | path

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

/dalvik/vm/jdwp/
DJdwpSocket.c274 static bool isFdReadable(int sock)
281 FD_SET(sock, &readfds);
285 count = select(sock+1, &readfds, NULL, NULL, &tv);
289 if (FD_ISSET(sock, &readfds)) /* make sure it's our fd */
344 int sock; in acceptConnection() local
353 sock = accept(netState->listenSock, &addr.addrPlain, &addrlen); in acceptConnection()
354 if (sock < 0 && errno != EINTR) { in acceptConnection()
363 } while (sock < 0); in acceptConnection()
370 netState->clientSock = sock; in acceptConnection()
DJdwpAdb.c579 int sock = receiveClientFd(netState); in processIncoming() local
580 if (sock >= 0) { in processIncoming()
582 close(sock); in processIncoming()