Lines Matching refs:n

226     long n;  in evCmpTime()  local
230 n = a.tv_nsec - b.tv_nsec; in evCmpTime()
231 return SGN(n); in evCmpTime()
355 int n = dn_expand(buf, eom, cp, tname, sizeof tname); in res_nameinquery() local
356 if (n < 0) return (-1); in res_nameinquery()
357 cp += n; in res_nameinquery()
397 int n = dn_expand(buf1, eom1, cp, tname, sizeof tname); in res_queriesmatch() local
398 if (n < 0) return (-1); in res_queriesmatch()
399 cp += n; in res_queriesmatch()
667 int truncating, connreset, n; in send_vc() local
775 while ((n = read(statp->tcp_nssock, (char*)cp, (size_t)len)) > 0) { in send_vc()
776 cp += n; in send_vc()
777 if ((len -= n) == 0) break; in send_vc()
779 if (n <= 0) { in send_vc()
815 while (len != 0 && (n = read(statp->tcp_nssock, (char*)cp, (size_t)len)) > 0) { in send_vc()
816 cp += n; in send_vc()
817 len -= n; in send_vc()
819 if (n <= 0) { in send_vc()
835 n = read(statp->tcp_nssock, junk, (len > sizeof junk) ? sizeof junk : len); in send_vc()
836 if (n > 0) in send_vc()
837 len -= n; in send_vc()
908 int n = ppoll(&fds, 1, &timeout, /*__mask=*/NULL); in retrying_poll() local
909 if (n == 0) { in retrying_poll()
914 if (n < 0) { in retrying_poll()
917 return n; in retrying_poll()
928 LOG(INFO) << __func__ << ": " << sock << " retrying_poll returning " << n; in retrying_poll()
929 return n; in retrying_poll()
947 const int n = ppoll(fdset.data(), fdset.size(), &timeout, /*__mask=*/nullptr); in udpRetryingPoll() local
948 if (n <= 0) { in udpRetryingPoll()
949 if (errno == EINTR && n < 0) continue; in udpRetryingPoll()
950 if (n == 0) errno = ETIMEDOUT; in udpRetryingPoll()
972 if (int n = retrying_poll(statp->nssocks[ns], POLLIN, finish); n <= 0) { in udpRetryingPollWrapper() local