Searched refs:out_buf (Results 1 - 3 of 3) sorted by relevance

/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dthrpool_client.c179 buffer *in_buf, *out_buf; local
186 out_buf = PR_NEW(buffer);
187 if (out_buf == NULL) {
220 memset(out_buf->data, ((PRInt32) (&netaddr)) + i + j, bytes);
224 if (writen(sockfd, out_buf->data, bytes) < bytes) {
230 DPRINTF(("TCP Client [0x%lx]: out_buf = 0x%lx out_buf[0] = 0x%lx\n",
231 PR_GetCurrentThread(), out_buf, (*((int *) out_buf->data))));
241 if (memcmp(in_buf->data, out_buf
[all...]
H A Dsocket.c664 buffer *in_buf, *out_buf; local
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
767 buffer *in_buf, *out_buf; local
[all...]
H A Dtestfile.c113 buffer *in_buf, *out_buf; variable
216 DPRINTF(("Write out_buf[0] = 0x%x\n",(*((int *) buf))));
349 len = PR_Write(fd_file, out_buf->data, CHUNK_SIZE);
413 len = PR_Write(fd_file, out_buf->data, CHUNK_SIZE);
468 out_buf = PR_NEW(buffer);
469 if (out_buf == NULL) {
491 fparamp->buf = out_buf->data + offset;
549 if (memcmp(in_buf->data, out_buf->data, offset) != 0) {

Completed in 142 milliseconds