Lines Matching defs:cc
1143 int cc;
1151 cc = write(mgr->pipe_fds[1], buf, sizeof(buf));
1157 if (cc < 0 && errno == ENOSR) {
1162 } while (cc < 0 && SOFT_ERROR(errno));
1164 if (cc < 0) {
1174 INSIST(cc == sizeof(buf));
1183 int cc;
1186 cc = read(mgr->pipe_fds[0], buf, sizeof(buf));
1187 if (cc < 0) {
1201 INSIST(cc == sizeof(buf));
1861 int cc;
1876 cc = recvmsg(sock->fd, &msghdr, 0);
1883 if (cc < 0) {
1893 sock->fd, cc, recv_errno, strbuf);
1951 if (cc == 0)
1977 if (sock->manager->maxudp != 0 && cc > sock->manager->maxudp)
1991 if ((sock->type == isc_sockettype_udp) && ((size_t)cc > read_count)) {
1993 cc--;
2006 dev->n += cc;
2007 actual_count = cc;
2031 if (((size_t)cc != read_count) && (dev->n < dev->minimum))
2056 int cc;
2071 cc = write_count;
2073 cc = sendmsg(sock->fd, &msghdr, 0);
2079 if (cc < 0) {
2143 if (cc == 0) {
2155 dev->n += cc;
2156 if ((size_t)cc != write_count)
4259 int cc;
4289 cc = kevent(manager->kqueue_fd, NULL, 0,
4292 cc = epoll_wait(manager->epoll_fd, manager->events,
4320 cc = ioctl(manager->devpoll_fd, DP_POLL, &dvp);
4321 if (cc == -1 && errno == EINVAL) {
4343 cc = select(maxfd, manager->read_fds_copy,
4347 if (cc < 0 && !SOFT_ERROR(errno)) {
4358 if (cc == 0) {
4363 } else if (cc > 0) {
4382 } while (cc < 0);
4385 done = process_fds(manager, manager->events, cc);
5857 int cc;
5905 cc = connect(sock->fd, &addr->type.sa, addr->length);
5906 if (cc < 0) {
5914 cc = 0;
5965 if (cc == 0) {
6011 int cc;
6054 optlen = sizeof(cc);
6056 (void *)&cc, (void *)&optlen) != 0)
6057 cc = errno;
6059 errno = cc;