Home
last modified time | relevance | path

Searched refs:n_bytes_read (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/pigweed/pw_bluetooth_sapphire/fuchsia/host/socket/public/pw_bluetooth_sapphire/fuchsia/host/socket/
H A Dsocket_channel_relay.h446 size_t n_bytes_read = 0; in CopyFromSocketToChannel() local
448 0, read_buf_.mutable_data(), read_buf_.size(), &n_bytes_read); in CopyFromSocketToChannel()
453 PW_CHECK(n_bytes_read <= read_buf_.size(), in CopyFromSocketToChannel()
455 n_bytes_read, in CopyFromSocketToChannel()
470 PW_CHECK(n_bytes_read > 0); in CopyFromSocketToChannel()
472 if (n_bytes_read > channel_->max_tx_sdu_size()) { in CopyFromSocketToChannel()
476 n_bytes_read, in CopyFromSocketToChannel()
485 std::make_unique<DynamicByteBuffer>(read_buf_.view(0, n_bytes_read))); in CopyFromSocketToChannel()
490 n_bytes_read, in CopyFromSocketToChannel()
/aosp_15_r20/external/pigweed/pw_bluetooth_sapphire/fuchsia/host/socket/
H A Dsocket_channel_relay_test.cc341 size_t n_bytes_read = 0; in ReadDatagramFromSocket() local
346 &n_bytes_read); in ReadDatagramFromSocket()
354 return DynamicByteBuffer(BufferView(socket_read_buffer, n_bytes_read)); in ReadDatagramFromSocket()