| /src/external/ibm-public/postfix/dist/src/util/ |
| inet_trigger.c | 120 if (write_buf(fd, buf, len, timeout) < 0 121 || write_buf(fd, "", 1, timeout) < 0)
|
| nbbio.h | 37 char *write_buf; /* start of buffer */ member in struct:__anon23259 64 #define NBBIO_WRITE_BUF(np) ((np)->write_buf + 0) /* Read-only */
|
| stream_trigger.c | 120 if (write_buf(fd, buf, len, timeout) < 0 121 || write_buf(fd, "", 1, timeout) < 0)
|
| unix_trigger.c | 121 if (write_buf(fd, buf, len, timeout) < 0 122 || write_buf(fd, "", 1, timeout) < 0)
|
| iostuff.h | 25 extern ssize_t write_buf(int, const char *, ssize_t, int);
|
| write_buf.c | 1 /* $NetBSD: write_buf.c,v 1.1.1.1 2009/06/23 10:09:01 tron Exp $ */ 5 /* write_buf 3 11 /* ssize_t write_buf(fd, buf, len, timeout) 17 /* write_buf() writes a buffer to the named stream in as many 33 /* write_buf() returns -1 in case of trouble. The global \fIerrno\fR 58 /* write_buf - write buffer or bust */ 60 ssize_t write_buf(int fd, const char *buf, ssize_t len, int timeout) function
|
| pass_trigger.c | 141 if (write_buf(pass_fd[1], buf, len, timeout) < 0 142 || write_buf(pass_fd[1], "", 1, timeout) < 0)
|
| nbbio.c | 217 count = write(np->fd, np->write_buf, np->write_pend); 221 memmove(np->write_buf, np->write_buf + count, np->write_pend); 368 np->write_buf = mymalloc(bufsize); 382 myfree(np->write_buf);
|
| fifo_trigger.c | 91 if (write_buf(fd, buf, len, timeout) < 0)
|
| vstream.c | 733 VSTREAM_SAVE_STATE(stream, write_buf, write_fd); 889 VSTREAM_RESTORE_STATE(stream, write_buf, write_fd); 894 VSTREAM_SAVE_STATE(stream, write_buf, write_fd); 927 VSTREAM_SAVE_STATE(stream, write_buf, write_fd); 962 && stream->write_buf.len > stream->write_buf.cnt) 1055 VSTREAM_RESTORE_STATE(stream, write_buf, write_fd); 1112 VSTREAM_RESTORE_STATE(stream, write_buf, write_fd); 1175 VSTREAM_MAYBE_PURGE_WRITE(direction, &stream->write_buf); 1181 VSTREAM_MAYBE_PURGE_WRITE(direction, &stream->write_buf); [all...] |
| /src/lib/libisns/ |
| isns_task.c | 46 static struct iovec write_buf[2 + (ISNS_MAX_PDU_PAYLOAD / ISNS_BUF_SIZE) + variable in typeref:struct:iovec 229 write_buf[0].iov_base = &(pdu_p->hdr); 230 write_buf[0].iov_len = sizeof(pdu_p->hdr); 231 bytes_to_write = write_buf[0].iov_len; 236 write_buf[iovcnt].iov_base = isns_buffer_data(buf_p,0); 237 write_buf[iovcnt].iov_len = buf_p->cur_len; 238 bytes_to_write += write_buf[iovcnt].iov_len; 247 iovp = &(write_buf[cur_iovec]); 269 if ((unsigned)count >= write_buf[ 271 count -= write_buf[cur_iovec] [all...] |
| /src/tests/kernel/ |
| t_memfd_create.c | 46 char *write_buf; variable 57 REQUIRE_LIBC(write_buf = calloc(1, rwbuf_size), NULL); 117 tests_makegarbage(write_buf, rwbuf_size); 119 RL(write(fd, write_buf, rwbuf_size)); 134 ATF_REQUIRE_EQ_MSG(read_buf[i], write_buf[i], 154 tests_makegarbage(write_buf, rwbuf_size); 157 RL(write(fd, write_buf, rwbuf_size)); 180 ATF_REQUIRE_EQ_MSG(read_buf[i], write_buf[i], 279 rv = write(fd, write_buf, rwbuf_size); 385 ATF_REQUIRE_EQ_MSG(write(fd, write_buf, rwbuf_size), -1 [all...] |
| /src/external/gpl3/gdb.old/dist/gdb/guile/ |
| scm-ports.c | 458 pt->write_buf 460 pt->write_pos = pt->write_buf; 465 pt->write_buf = pt->write_pos = &pt->shortbuf; 468 pt->write_end = pt->write_buf + pt->write_buf_size; 774 size_t to_write = pt->write_pos - pt->write_buf; 788 if (target_write_memory (iomem->start + iomem->current, pt->write_buf, 793 pt->write_pos = pt->write_buf; 821 size_t delta = pt->write_pos - pt->write_buf; 906 if (pt->write_buf == &pt->shortbuf) 970 if (pt->write_buf != &pt->shortbuf [all...] |
| /src/external/gpl3/gdb/dist/gdb/guile/ |
| scm-ports.c | 464 pt->write_buf 466 pt->write_pos = pt->write_buf; 471 pt->write_buf = pt->write_pos = &pt->shortbuf; 474 pt->write_end = pt->write_buf + pt->write_buf_size; 780 size_t to_write = pt->write_pos - pt->write_buf; 794 if (target_write_memory (iomem->start + iomem->current, pt->write_buf, 799 pt->write_pos = pt->write_buf; 827 size_t delta = pt->write_pos - pt->write_buf; 912 if (pt->write_buf == &pt->shortbuf) 976 if (pt->write_buf != &pt->shortbuf [all...] |
| /src/lib/librefuse/refuse/ |
| v29.h | 91 int (*write_buf) (const char *, struct fuse_bufvec *, off_t, struct fuse_file_info *); member in struct:fuse_operations_v29
|
| v34.h | 83 int (*write_buf) (const char *, struct fuse_bufvec *, off_t, struct fuse_file_info *); member in struct:fuse_operations_v34
|
| v35.h | 84 int (*write_buf) (const char *, struct fuse_bufvec *, off_t, struct fuse_file_info *); member in struct:fuse_operations_v35
|
| v30.h | 96 int (*write_buf) (const char *, struct fuse_bufvec *, off_t, struct fuse_file_info *); member in struct:fuse_operations_v30
|
| v38.h | 83 int (*write_buf) (const char *, struct fuse_bufvec *, off_t, struct fuse_file_info *); member in struct:fuse_operations_v38
|
| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/ |
| dc_link_ddc.h | 95 uint8_t *write_buf,
|
| /src/external/gpl3/gdb.old/dist/gdb/ |
| inf-child.h | 79 int fileio_pwrite (int fd, const gdb_byte *write_buf, int len,
|
| inf-child.c | 260 inf_child_target::fileio_pwrite (int fd, const gdb_byte *write_buf, int len, 266 ret = pwrite (fd, write_buf, len, (long) offset); 275 ret = write (fd, write_buf, len);
|
| /src/external/gpl3/gdb/dist/gdb/ |
| inf-child.h | 79 int fileio_pwrite (int fd, const gdb_byte *write_buf, int len,
|
| inf-child.c | 260 inf_child_target::fileio_pwrite (int fd, const gdb_byte *write_buf, int len, 266 ret = pwrite (fd, write_buf, len, (long) offset); 275 ret = write (fd, write_buf, len);
|
| /src/lib/libkvm/ |
| kvm.c | 623 clear_gap(kvm_t *kd, bool (*write_buf)(void *, const void *, size_t), 633 if (!(*write_buf)(cookie, buf, len)) { 644 * Write the dump header by calling write_buf with cookie as first argument. 647 kvm_dump_header(kvm_t *kd, bool (*write_buf)(void *, const void *, size_t), 663 if (!(*write_buf)(cookie, kd->kcore_hdr, sizeof(kcore_hdr_t))) { 669 if (clear_gap(kd, write_buf, cookie, gap) == -1) 677 if (!(*write_buf)(cookie, &seghdr, sizeof(seghdr))) { 683 if (clear_gap(kd, write_buf, cookie, gap) == -1) 686 if (!(*write_buf)(cookie, kd->cpu_data, kd->cpu_dsize)) { 692 if (clear_gap(kd, write_buf, cookie, gap) == -1 [all...] |