• Home
  • Raw
  • Download

Lines Matching refs:recvlen

3495     Py_ssize_t recvlen, outlen;  in sock_recv()  local
3499 if (!PyArg_ParseTuple(args, "n|i:recv", &recvlen, &flags)) in sock_recv()
3502 if (recvlen < 0) { in sock_recv()
3509 buf = PyBytes_FromStringAndSize((char *) 0, recvlen); in sock_recv()
3514 outlen = sock_recv_guts(s, PyBytes_AS_STRING(buf), recvlen, flags); in sock_recv()
3521 if (outlen != recvlen) { in sock_recv()
3549 Py_ssize_t buflen, readlen, recvlen = 0; in sock_recv_into() local
3553 &pbuf, &recvlen, &flags)) in sock_recv_into()
3558 if (recvlen < 0) { in sock_recv_into()
3564 if (recvlen == 0) { in sock_recv_into()
3566 recvlen = buflen; in sock_recv_into()
3570 if (buflen < recvlen) { in sock_recv_into()
3578 readlen = sock_recv_guts(s, buf, recvlen, flags); in sock_recv_into()
3683 Py_ssize_t recvlen, outlen; in sock_recvfrom() local
3685 if (!PyArg_ParseTuple(args, "n|i:recvfrom", &recvlen, &flags)) in sock_recvfrom()
3688 if (recvlen < 0) { in sock_recvfrom()
3694 buf = PyBytes_FromStringAndSize((char *) 0, recvlen); in sock_recvfrom()
3699 recvlen, flags, &addr); in sock_recvfrom()
3704 if (outlen != recvlen) { in sock_recvfrom()
3736 Py_ssize_t readlen, buflen, recvlen = 0; in sock_recvfrom_into() local
3742 &recvlen, &flags)) in sock_recvfrom_into()
3747 if (recvlen < 0) { in sock_recvfrom_into()
3753 if (recvlen == 0) { in sock_recvfrom_into()
3755 recvlen = buflen; in sock_recvfrom_into()
3756 } else if (recvlen > buflen) { in sock_recvfrom_into()
3763 readlen = sock_recvfrom_guts(s, buf, recvlen, flags, &addr); in sock_recvfrom_into()