/external/openssh/ |
D | msg.c | 54 if (atomicio(vwrite, fd, buf, sizeof(buf)) != sizeof(buf)) { in ssh_msg_send() 58 if (atomicio(vwrite, fd, (u_char *)sshbuf_ptr(m), mlen) != mlen) { in ssh_msg_send() 74 if (atomicio(read, fd, buf, sizeof(buf)) != sizeof(buf)) { in ssh_msg_recv() 89 if (atomicio(read, fd, p, msg_len) != msg_len) { in ssh_msg_recv()
|
D | scp.c | 568 (void) atomicio(vwrite, fd, buf, strlen(buf)); in do_times() 806 (void) atomicio(vwrite, remout, buf, strlen(buf)); in source() 824 if ((nr = atomicio(read, fd, in source() 832 (void)atomicio(vwrite, remout, bp->buf, amt); in source() 850 (void) atomicio(vwrite, remout, "", 1); in source() 883 (void) atomicio(vwrite, remout, path, strlen(path)); in rsource() 902 (void) atomicio(vwrite, remout, "E\n", 2); in rsource() 941 (void) atomicio(vwrite, remout, "", 1); 946 if (atomicio(read, remin, cp, 1) != 1) 951 if (atomicio(read, remin, &ch, sizeof(ch)) != sizeof(ch)) [all …]
|
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 | ssh-pkcs11-client.c | 57 if (atomicio(vwrite, fd, buf, 4) != 4 || in send_msg() 58 atomicio(vwrite, fd, buffer_ptr(m), in send_msg() 70 if ((len = atomicio(read, fd, buf, 4)) != 4) { in recv_msg() 83 if (atomicio(read, fd, buf, l) != l) { in recv_msg()
|
D | loginrec.c | 889 if (atomicio(read, fd, &old_ut, sizeof(old_ut)) == sizeof(old_ut) && in utmp_write_direct() 906 if (atomicio(vwrite, fd, ut, sizeof(*ut)) != sizeof(*ut)) { in utmp_write_direct() 1100 if (atomicio(vwrite, fd, ut, sizeof(*ut)) != sizeof(*ut)) { in wtmp_write() 1208 if (atomicio(read, fd, &ut, sizeof(ut)) != sizeof(ut)) { in wtmp_get_entry() 1273 if (atomicio(vwrite, fd, utx, sizeof(*utx)) != sizeof(*utx)) { in wtmpx_write() 1373 if (atomicio(read, fd, &utx, sizeof(utx)) != sizeof(utx)) { in wtmpx_get_entry() 1551 if (atomicio(vwrite, fd, &last, sizeof(last)) != sizeof(last)) { in lastlog_write_entry() 1594 ret = atomicio(read, fd, &last, sizeof(last)); in lastlog_get_entry() 1719 if (atomicio(vwrite, fd, &ut, sizeof(ut)) != sizeof(ut)) in record_failed_login()
|
D | entropy.c | 137 if (atomicio(vwrite, fd, msg, sizeof(msg)) != sizeof(msg)) { in get_random_bytes_prngd() 148 if (atomicio(read, fd, buf, len) != (size_t)len) { in get_random_bytes_prngd()
|
D | progressmeter.c | 226 atomicio(vwrite, STDOUT_FILENO, buf, win_size - 1); in refresh_progress_meter() 283 atomicio(vwrite, STDOUT_FILENO, "\n", 1); in stop_progress_meter()
|
D | atomicio.h | 38 size_t atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t);
|
D | authfd.c | 136 if (atomicio(vwrite, sock, buf, 4) != 4 || in ssh_request_reply() 137 atomicio(vwrite, sock, (u_char *)sshbuf_ptr(request), in ssh_request_reply() 144 if (atomicio(read, sock, buf, 4) != 4) in ssh_request_reply() 158 if (atomicio(read, sock, buf, l) != l) in ssh_request_reply()
|
D | monitor_wrap.c | 115 if (atomicio(vwrite, mon->m_log_sendfd, buffer_ptr(&log_msg), in mm_log_handler() 141 if (atomicio(vwrite, sock, buf, sizeof(buf)) != sizeof(buf)) in mm_request_send() 143 if (atomicio(vwrite, sock, buffer_ptr(m), mlen) != mlen) in mm_request_send() 155 if (atomicio(read, sock, buf, sizeof(buf)) != sizeof(buf)) { in mm_request_receive() 167 if (atomicio(read, sock, buffer_ptr(m), msg_len) != msg_len) in mm_request_receive()
|
D | atomicio.c | 92 atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n) in atomicio() function
|
D | authfile.c | 63 if (atomicio(vwrite, fd, (u_char *)sshbuf_ptr(keybuf), in sshkey_save_private_blob() 111 if ((len = atomicio(read, fd, buf, sizeof(buf))) == 0) { in sshkey_load_file()
|
D | ssh-keyscan.c | 443 (n = atomicio(read, s, cp, 1)) == 1 && *cp != '\n') { in congreet() 500 if (atomicio(vwrite, s, buf, n) != (size_t)n) { in congreet() 524 n = atomicio(read, s, c->c_data + c->c_off, c->c_len - c->c_off); in conread()
|
D | clientloop.c | 691 atomicio(vwrite, fileno(stdout), buffer_ptr(bout), in client_suspend_self() 694 atomicio(vwrite, fileno(stderr), buffer_ptr(berr), in client_suspend_self() 1707 len = atomicio(vwrite, fileno(stdout), in client_loop() 1717 len = atomicio(vwrite, fileno(stderr), in client_loop()
|
D | Android.mk | 10 atomicio.c \
|
D | auth2.c | 124 n = atomicio(read, fd, banner, len); in auth2_read_banner()
|
D | monitor.c | 518 if (atomicio(read, pmonitor->m_log_recvfd, in monitor_read_log() 536 if (atomicio(read, pmonitor->m_log_recvfd, in monitor_read_log()
|
D | sshd.c | 477 (void) atomicio(vwrite, sock_out, s, strlen(s)); in sshd_exchange_identification() 546 (void) atomicio(vwrite, sock_out, s, strlen(s)); in sshd_exchange_identification()
|
D | sftp-client.c | 1322 atomicio(vwrite, local_fd, data, len) != len) && in do_download()
|
D | ssh-keygen.c | 2159 if (atomicio(vwrite, fd, (void *)sshbuf_ptr(kbuf), sshbuf_len(kbuf)) != in do_gen_krl()
|
/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 $ */
|
D | netcat.c | 800 if (atomicio(vwrite, lfd, buf, n) != n) in readwrite() 813 if (atomicio(vwrite, nfd, buf, n) != n) in readwrite() 846 if (atomicio(vwrite, nfd, obuf, 3) != 3) in atelnet()
|