Home
last modified time | relevance | path

Searched refs:vwrite (Results 1 – 25 of 26) sorted by relevance

12

/src/contrib/netcat/
H A Dsocks.c168 cnt = atomicio(vwrite, proxyfd, buf, 3); in socks_connect()
221 cnt = atomicio(vwrite, proxyfd, buf, wlen); in socks_connect()
257 cnt = atomicio(vwrite, proxyfd, buf, wlen); in socks_connect()
287 cnt = atomicio(vwrite, proxyfd, buf, r); in socks_connect()
306 if ((cnt = atomicio(vwrite, proxyfd, buf, r)) != r) in socks_connect()
311 if ((cnt = atomicio(vwrite, proxyfd, "\r\n", 2)) != 2) in socks_connect()
H A Datomicio.h37 #define vwrite (ssize_t (*)(int, void *, size_t))write macro
H A Dnetcat.c1196 if (atomicio(vwrite, nfd, obuf, 3) != 3) in atelnet()
/src/crypto/openssh/
H A Dmsg.c54 if (atomicio(vwrite, fd, buf, sizeof(buf)) != sizeof(buf)) { in ssh_msg_send()
58 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(m), mlen) != mlen) { in ssh_msg_send()
H A Dscp.c750 (void) atomicio(vwrite, fd, buf, strlen(buf)); in do_times()
1452 (void) atomicio(vwrite, remout, buf, strlen(buf)); in source()
1478 (void)atomicio(vwrite, remout, bp->buf, amt); in source()
1482 if (atomicio6(vwrite, remout, bp->buf, amt, scpio, in source()
1494 (void) atomicio(vwrite, remout, "", 1); in source()
1529 (void) atomicio(vwrite, remout, path, strlen(path)); in rsource()
1548 (void) atomicio(vwrite, remout, "E\n", 2); in rsource()
1698 (void) atomicio(vwrite, remout, "", 1);
1728 (void) atomicio(vwrite, STDERR_FILENO,
1737 (void) atomicio(vwrite, remout, "", 1);
[all …]
H A Dprogressmeter.c233 atomicio(vwrite, STDOUT_FILENO, obuf, strlen(obuf)); in refresh_progress_meter()
278 atomicio(vwrite, STDOUT_FILENO, "\n", 1); in stop_progress_meter()
H A Datomicio.h42 #define vwrite (ssize_t (*)(int, void *, size_t))write macro
H A Dsshbuf-io.c107 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(buf), in sshbuf_write_file()
H A Dloginrec.c902 if (atomicio(vwrite, fd, ut, sizeof(*ut)) != sizeof(*ut)) { in utmp_write_direct()
1096 if (atomicio(vwrite, fd, ut, sizeof(*ut)) != sizeof(*ut)) { in wtmp_write()
1269 if (atomicio(vwrite, fd, utx, sizeof(*utx)) != sizeof(*utx)) { in wtmpx_write()
1605 if (atomicio(vwrite, fd, &last, sizeof(last)) != sizeof(last)) { in lastlog_write_entry()
1754 if (atomicio(vwrite, fd, &ut, sizeof(ut)) != sizeof(ut)) { in record_failed_login()
H A Dauthfd.c149 if (atomicio(vwrite, sock, buf, 4) != 4 || in ssh_request_reply()
150 atomicio(vwrite, sock, sshbuf_mutable_ptr(request), in ssh_request_reply()
H A Dssh-pkcs11-client.c193 if (atomicio(vwrite, fd, buf, 4) != 4 || in send_msg()
194 atomicio(vwrite, fd, sshbuf_mutable_ptr(m), in send_msg()
H A Dmonitor_wrap.c108 if (atomicio(vwrite, mon->m_log_sendfd, in mm_log_handler()
157 if (atomicio(vwrite, sock, buf, sizeof(buf)) != sizeof(buf) || in mm_request_send()
158 atomicio(vwrite, sock, sshbuf_mutable_ptr(m), mlen) != mlen) { in mm_request_send()
H A Dkex.c1222 if (atomicio(vwrite, ssh_packet_get_connection_out(ssh), in send_error()
1224 atomicio(vwrite, ssh_packet_get_connection_out(ssh), in send_error()
1262 if (atomicio(vwrite, ssh_packet_get_connection_out(ssh), in kex_exchange_identification()
H A Dsshd-session.c1076 (void)atomicio(vwrite, startup_pipe, "\0", 1); in main()
1322 (void)atomicio(vwrite, startup_pipe, "\001", 1); in main()
H A Dsshkey-xmss.c624 if (atomicio(vwrite, fd, buf, sizeof(buf)) != sizeof(buf)) { in sshkey_xmss_update_state()
630 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(enc), sshbuf_len(enc)) != in sshkey_xmss_update_state()
H A Dssh-keyscan.c482 if (atomicio(vwrite, s, buf, n) != (size_t)n) { in congreet()
H A Dclientloop.c210 (void)atomicio(vwrite, STDERR_FILENO, msg, strlen(msg)); in quit_message()
769 atomicio(vwrite, fileno(stdout), sshbuf_mutable_ptr(bout), in client_suspend_self()
772 atomicio(vwrite, fileno(stderr), sshbuf_mutable_ptr(berr), in client_suspend_self()
H A Dsshd.c814 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(config), mlen) != mlen) in send_rexec_state()
819 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(keys), mlen) != mlen) in send_rexec_state()
H A Dsftp-server.c1679 ret = atomicio(vwrite, write_fd, buf, len); in process_extended_copy_data()
H A Dsession.c284 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(info), in prepare_auth_info_file()
H A Dsftp-client.c1753 atomicio(vwrite, local_fd, data, len) != len) && in sftp_download()
/src/crypto/openssh/regress/
H A Dnetcat.c1090 if (atomicio(vwrite, nfd, obuf, 3) != 3) in atelnet()
1513 cnt = atomicio(vwrite, proxyfd, buf, 3); in socks_connect()
1566 cnt = atomicio(vwrite, proxyfd, buf, wlen); in socks_connect()
1602 cnt = atomicio(vwrite, proxyfd, buf, wlen); in socks_connect()
1632 cnt = atomicio(vwrite, proxyfd, buf, r); in socks_connect()
1651 if ((cnt = atomicio(vwrite, proxyfd, buf, r)) != (size_t)r) in socks_connect()
1656 if ((r = atomicio(vwrite, proxyfd, "\r\n", 2)) != 2) in socks_connect()
/src/crypto/openssh/openbsd-compat/
H A Dport-prngd.c119 if (atomicio(vwrite, fd, msg, sizeof(msg)) != sizeof(msg)) { in get_random_bytes_prngd()
/src/crypto/openssh/regress/unittests/test_helper/
H A Dfuzz.c207 atomicio(vwrite, STDERR_FILENO, buf, strlen(buf)); in siginfo()
210 atomicio(vwrite, STDERR_FILENO, buf, strlen(buf)); in siginfo()
H A Dtest_helper.c243 atomicio(vwrite, STDERR_FILENO, buf, strlen(buf)); in siginfo()

12