Lines Matching refs:out_buf
664 buffer *in_buf, *out_buf;
670 out_buf = PR_NEW(buffer);
671 if (out_buf == NULL) {
700 memset(out_buf->data, ((PRInt32) (&netaddr)) + i + j, bytes);
708 if (writen(sockfd, out_buf->data, bytes) < bytes) {
713 DPRINTF(("TCP Client [0x%lx]: out_buf = 0x%lx out_buf[0] = 0x%lx\n",
714 PR_GetCurrentThread(), out_buf, (*((int *) out_buf->data))));
723 if (memcmp(in_buf->data, out_buf->data, bytes) != 0) {
739 PR_DELETE(out_buf);
767 buffer *in_buf, *out_buf;
773 out_buf = PR_NEW(buffer);
774 if (out_buf == NULL) {
831 DPRINTF(("UDP_Client [0x%lx]: out_buf = 0x%lx bytes = 0x%lx\n",
832 PR_GetCurrentThread(), out_buf->data, bytes));
833 memset(out_buf->data, ((PRInt32) (&netaddr)) + i, bytes);
838 rv = PR_Send(sockfd, out_buf->data, bytes, 0,
841 rv = PR_SendTo(sockfd, out_buf->data, bytes, 0, &netaddr,
846 DPRINTF(("UDP_Client [0x%lx]: out_buf = 0x%lx out_buf[0] = 0x%lx\n",
847 PR_GetCurrentThread(), out_buf, (*((int *) out_buf->data))));
862 if (memcmp(in_buf->data, out_buf->data, bytes) != 0) {
871 PR_DELETE(out_buf);