Searched refs:n_bytes_read (Results 1 – 2 of 2) sorted by relevance
446 size_t n_bytes_read = 0; in CopyFromSocketToChannel() local448 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()
341 size_t n_bytes_read = 0; in ReadDatagramFromSocket() local346 &n_bytes_read); in ReadDatagramFromSocket()354 return DynamicByteBuffer(BufferView(socket_read_buffer, n_bytes_read)); in ReadDatagramFromSocket()