Lines Matching refs:recv_buf
1462 char *recv_buf; local
1478 recv_buf = emalloc(len + 1);
1479 memset(recv_buf, 0, len + 1);
1481 if ((retval = recv(php_sock->bsd_socket, recv_buf, len, flags)) < 1) {
1482 efree(recv_buf);
1487 recv_buf[retval] = '\0';
1492 Z_STRVAL_P(buf) = recv_buf;
1548 char *recv_buf, *address; local
1561 recv_buf = emalloc(arg3 + 2);
1562 memset(recv_buf, 0, arg3 + 2);
1568 …retval = recvfrom(php_sock->bsd_socket, recv_buf, arg3, arg4, (struct sockaddr *)&s_un, (socklen_t…
1571 efree(recv_buf);
1579 ZVAL_STRINGL(arg2, recv_buf, retval, 0);
1589 efree(recv_buf);
1593 …retval = recvfrom(php_sock->bsd_socket, recv_buf, arg3, arg4, (struct sockaddr *)&sin, (socklen_t …
1596 efree(recv_buf);
1607 ZVAL_STRINGL(arg2, recv_buf, retval, 0);
1618 efree(recv_buf);
1622 …retval = recvfrom(php_sock->bsd_socket, recv_buf, arg3, arg4, (struct sockaddr *)&sin6, (socklen_t…
1625 efree(recv_buf);
1637 ZVAL_STRINGL(arg2, recv_buf, retval, 0);