Lines Matching refs:cc
324 int cc, on = 1; in setNoDelay() local
326 cc = setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &on, sizeof(on)); in setNoDelay()
327 assert(cc == 0); in setNoDelay()
328 return cc; in setNoDelay()
410 int cc = gethostbyname_r(state->params.host, &he, auxBuf, sizeof(auxBuf), in establishConnection() local
412 if (cc != 0) { in establishConnection()
617 int cc; in handlePacket() local
624 cc = write(netState->clientSock, expandBufGetBuffer(pReply), in handlePacket()
626 if (cc != (int) expandBufGetLength(pReply)) { in handlePacket()
785 int cc; in processIncoming() local
795 cc = write(netState->clientSock, netState->inputBuffer, in processIncoming()
797 if (cc != kMagicHandshakeLen) { in processIncoming()
799 strerror(errno), cc, (int) kMagicHandshakeLen); in processIncoming()
830 int cc; in sendRequest() local
845 cc = write(netState->clientSock, expandBufGetBuffer(pReq), in sendRequest()
847 if (cc != (int) expandBufGetLength(pReq)) { in sendRequest()
849 strerror(errno), cc, (int) expandBufGetLength(pReq)); in sendRequest()