/external/openssh/ |
D | msg.c | 53 if (atomicio(vwrite, fd, buf, sizeof(buf)) != sizeof(buf)) { in ssh_msg_send() 57 if (atomicio(vwrite, fd, buffer_ptr(m), mlen) != mlen) { in ssh_msg_send() 72 if (atomicio(read, fd, buf, sizeof(buf)) != sizeof(buf)) { in ssh_msg_recv() 84 if (atomicio(read, fd, buffer_ptr(m), msg_len) != msg_len) { in ssh_msg_recv()
|
D | scp.c | 786 (void) atomicio(vwrite, remout, buf, strlen(buf)); in source() 797 (void) atomicio(vwrite, remout, buf, strlen(buf)); in source() 815 if (atomicio(read, fd, bp->buf, amt) != amt) in source() 820 (void)atomicio(vwrite, remout, bp->buf, amt); in source() 837 (void) atomicio(vwrite, remout, "", 1); in source() 864 (void) atomicio(vwrite, remout, path, strlen(path)); in rsource() 874 (void) atomicio(vwrite, remout, path, strlen(path)); in rsource() 893 (void) atomicio(vwrite, remout, "E\n", 2); in rsource() 931 (void) atomicio(vwrite, remout, "", 1); 936 if (atomicio(read, remin, cp, 1) != 1) [all …]
|
D | ssh-pkcs11-client.c | 55 if (atomicio(vwrite, fd, buf, 4) != 4 || in send_msg() 56 atomicio(vwrite, fd, buffer_ptr(m), in send_msg() 68 if ((len = atomicio(read, fd, buf, 4)) != 4) { in recv_msg() 81 if (atomicio(read, fd, buf, l) != l) { in recv_msg()
|
D | sandbox-systrace.c | 103 if (atomicio(vwrite, box->child_sock, &whatever, 1) != 1) in ssh_sandbox_child() 106 if (atomicio(read, box->child_sock, &whatever, 1) != 1) in ssh_sandbox_child() 124 if (atomicio(read, box->parent_sock, &whatever, 1) != 1) in ssh_sandbox_parent() 177 if (atomicio(vwrite, box->parent_sock, &whatever, 1) != 1) in ssh_sandbox_parent()
|
D | roaming_common.c | 186 size_t ret = atomicio(f, fd, buf, count); in roaming_atomicio() 212 atomicio(vwrite, fd, out_buf + out_buf_size - chunkend, in resend_bytes() 214 atomicio(vwrite, fd, out_buf, out_last); in resend_bytes() 216 atomicio(vwrite, fd, out_buf + (out_last - needed), needed); in resend_bytes()
|
D | entropy.c | 133 if (atomicio(vwrite, fd, msg, sizeof(msg)) != sizeof(msg)) { in get_random_bytes_prngd() 144 if (atomicio(read, fd, buf, len) != (size_t)len) { in get_random_bytes_prngd()
|
D | loginrec.c | 890 if (atomicio(read, fd, &old_ut, sizeof(old_ut)) == sizeof(old_ut) && in utmp_write_direct() 907 if (atomicio(vwrite, fd, ut, sizeof(*ut)) != sizeof(*ut)) { in utmp_write_direct() 1101 if (atomicio(vwrite, fd, ut, sizeof(*ut)) != sizeof(*ut)) { in wtmp_write() 1209 if (atomicio(read, fd, &ut, sizeof(ut)) != sizeof(ut)) { in wtmp_get_entry() 1274 if (atomicio(vwrite, fd, utx, sizeof(*utx)) != sizeof(*utx)) { in wtmpx_write() 1374 if (atomicio(read, fd, &utx, sizeof(utx)) != sizeof(utx)) { in wtmpx_get_entry() 1552 if (atomicio(vwrite, fd, &last, sizeof(last)) != sizeof(last)) { in lastlog_write_entry() 1595 ret = atomicio(read, fd, &last, sizeof(last)); in lastlog_get_entry() 1720 if (atomicio(vwrite, fd, &ut, sizeof(ut)) != sizeof(ut)) in record_failed_login()
|
D | atomicio.h | 38 size_t atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t);
|
D | progressmeter.c | 225 atomicio(vwrite, STDOUT_FILENO, buf, win_size - 1); in refresh_progress_meter() 281 atomicio(vwrite, STDOUT_FILENO, "\n", 1); in stop_progress_meter()
|
D | authfd.c | 137 if (atomicio(vwrite, auth->fd, buf, 4) != 4 || in ssh_request_reply() 138 atomicio(vwrite, auth->fd, buffer_ptr(request), in ssh_request_reply() 147 if (atomicio(read, auth->fd, buf, 4) != 4) { in ssh_request_reply() 163 if (atomicio(read, auth->fd, buf, l) != l) { in ssh_request_reply()
|
D | atomicio.c | 87 atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n) in atomicio() function
|
D | ssh-keyscan.c | 411 (n = atomicio(read, s, cp, 1)) == 1 && *cp != '\n') { in congreet() 464 if (atomicio(vwrite, s, buf, n) != (size_t)n) { in congreet() 488 n = atomicio(read, s, c->c_data + c->c_off, c->c_len - c->c_off); in conread()
|
/external/dropbear/ |
D | scp.c | 646 (void) atomicio(vwrite, remout, buf, strlen(buf)); in source() 657 (void) atomicio(vwrite, remout, buf, strlen(buf)); in source() 677 result = atomicio(read, fd, bp->buf, amt); in source() 682 (void) atomicio(vwrite, remout, bp->buf, amt); in source() 684 result = atomicio(vwrite, remout, bp->buf, amt); in source() 705 (void) atomicio(vwrite, remout, "", 1); in source() 732 (void) atomicio(vwrite, remout, path, strlen(path)); in rsource() 742 (void) atomicio(vwrite, remout, path, strlen(path)); in rsource() 761 (void) atomicio(vwrite, remout, "E\n", 2); in rsource() 854 (void) atomicio(vwrite, remout, "", 1); [all …]
|
D | Android.mk | 9 atomicio.c compat.c fake-rfc2553.c 37 scp.c progressmeter.c atomicio.c scpmisc.c
|
D | atomicio.h | 36 ssize_t atomicio(ssize_t (*)(), int, void *, size_t);
|
D | loginrec.c | 718 if (atomicio(read, fd, &old_ut, sizeof(old_ut)) == sizeof(old_ut) && in utmp_write_direct() 726 if (atomicio(write, fd, ut, sizeof(*ut)) != sizeof(*ut)) in utmp_write_direct() 915 if (atomicio(write, fd, ut, sizeof(*ut)) != sizeof(*ut)) { in wtmp_write() 1022 if (atomicio(read, fd, &ut, sizeof(ut)) != sizeof(ut)) { in wtmp_get_entry() 1082 if (atomicio(write, fd, utx, sizeof(*utx)) != sizeof(*utx)) { in wtmpx_write() 1178 if (atomicio(read, fd, &utx, sizeof(utx)) != sizeof(utx)) { in wtmpx_get_entry() 1371 if (atomicio(write, fd, &last, sizeof(last)) != sizeof(last)) { in lastlog_perform_login()
|
D | atomicio.c | 36 atomicio(f, fd, _s, n)
|
D | LICENSE | 52 atomicio.h 53 atomicio.c 57 loginrec is written primarily by Andre Lucas, atomicio.c by Theo de Raadt.
|
D | NOTICE | 52 atomicio.h 53 atomicio.c 57 loginrec is written primarily by Andre Lucas, atomicio.c by Theo de Raadt.
|
D | progressmeter.c | 215 atomicio(vwrite, STDOUT_FILENO, buf, win_size - 1); in refresh_progress_meter() 270 atomicio(vwrite, STDOUT_FILENO, "\n", 1); in stop_progress_meter()
|
D | Makefile.in | 23 atomicio.o compat.o fake-rfc2553.o 43 SCPOBJS=scp.o progressmeter.o atomicio.o scpmisc.o 49 loginrec.h atomicio.h x11fwd.h agentfwd.h tcpfwd.h compat.h \
|
/external/netcat/ |
D | atomicio.h | 35 size_t atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t);
|
D | Android.mk | 6 atomicio.c
|
D | atomicio.c | 41 atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n) in atomicio() function
|
D | NOTICE | 1 /* $OpenBSD: atomicio.c,v 1.10 2011/01/08 00:47:19 jeremy Exp $ */ 29 /* $OpenBSD: atomicio.h,v 1.2 2007/09/07 14:50:44 tobias Exp $ */
|