Home
last modified time | relevance | path

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

/external/deqp/framework/delibs/deutil/
DdeSocket.c545 deSocket* newSock = DE_NULL; in deSocket_accept() local
556 newSock = (deSocket*)deCalloc(sizeof(deSocket)); in deSocket_accept()
557 if (!newSock) in deSocket_accept()
567 newSock->stateLock = deMutex_create(0); in deSocket_accept()
568 newSock->handle = newFd; in deSocket_accept()
569 newSock->state = DE_SOCKETSTATE_CONNECTED; in deSocket_accept()
570 newSock->openChannels = DE_SOCKETCHANNEL_BOTH; in deSocket_accept()
575 return newSock; in deSocket_accept()
/external/mdnsresponder/mDNSShared/
Ddnsextd.c2812 int newSock; in AcceptTCPConnection() local
2819 newSock = accept( sd, ( struct sockaddr* ) &context->cliaddr, &clilen ); in AcceptTCPConnection()
2820 …require_action( newSock != -1, exit, err = mStatus_UnknownErr; LogErr( "AcceptTCPConnection", "acc… in AcceptTCPConnection()
2822 context->sock = mDNSPlatformTCPAccept( flags, newSock ); in AcceptTCPConnection()