Lines Matching refs:bytes_read
249 int bytes_read; in read_data_into_auth() local
255 bytes_read = _dbus_read_socket (socket_transport->fd, in read_data_into_auth()
259 bytes_read > 0 ? bytes_read : 0); in read_data_into_auth()
261 if (bytes_read > 0) in read_data_into_auth()
263 _dbus_verbose (" read %d bytes in auth phase\n", bytes_read); in read_data_into_auth()
267 else if (bytes_read < 0) in read_data_into_auth()
288 _dbus_assert (bytes_read == 0); in read_data_into_auth()
699 int bytes_read; in do_reading() local
740 bytes_read = _dbus_string_get_length (&socket_transport->encoded_incoming); in do_reading()
742 bytes_read = _dbus_read_socket (socket_transport->fd, in do_reading()
747 bytes_read); in do_reading()
749 if (bytes_read > 0) in do_reading()
797 bytes_read = _dbus_read_socket_with_unix_fds(socket_transport->fd, in do_reading()
802 if (bytes_read >= 0 && n_fds > 0) in do_reading()
805 _dbus_message_loader_return_unix_fds(transport->loader, fds, bytes_read < 0 ? 0 : n_fds); in do_reading()
810 bytes_read = _dbus_read_socket (socket_transport->fd, in do_reading()
816 bytes_read < 0 ? 0 : bytes_read); in do_reading()
819 if (bytes_read < 0) in do_reading()
839 else if (bytes_read == 0) in do_reading()
847 _dbus_verbose (" read %d bytes\n", bytes_read); in do_reading()
849 total += bytes_read; in do_reading()