Home
last modified time | relevance | path

Searched refs:bytes_read (Results 1 – 5 of 5) sorted by relevance

/webrtc/media/src/io/ivf_reader/
H A Dmod.rs42 bytes_read: usize, field
51 bytes_read: 0, in new()
63 self.reader = reset(self.bytes_read); in reset_reader()
81 self.bytes_read += IVF_FRAME_HEADER_SIZE + header.frame_size as usize; in parse_next_frame()
122 self.bytes_read += IVF_FILE_HEADER_SIZE; in parse_file_header()
H A Divf_reader_test.rs90 reader.bytes_read, in test_ivf_reader_parse_valid_frames()
93 let previous_bytes_read = reader.bytes_read; in test_ivf_reader_parse_valid_frames()
108 reader.bytes_read, in test_ivf_reader_parse_valid_frames()
/webrtc/media/src/io/ogg_reader/
H A Dmod.rs24 bytes_read: usize, field
61 bytes_read: 0, in new()
179 self.reader = reset(self.bytes_read); in reset_reader()
/webrtc/data/src/data_channel/
H A Ddata_channel_test.rs581 let mut bytes_read = 0; in test_stats() localVariable
585 bytes_read += n; in test_stats()
587 assert_eq!(dc1.bytes_received(), bytes_read); in test_stats()
592 bytes_read += n; in test_stats()
594 assert_eq!(dc1.bytes_received(), bytes_read); in test_stats()
599 bytes_read += n; in test_stats()
601 assert_eq!(dc1.bytes_received(), bytes_read); in test_stats()
606 bytes_read += n; in test_stats()
608 assert_eq!(dc1.bytes_received(), bytes_read); in test_stats()
/webrtc/interceptor/src/stats/
H A Dinterceptor.rs725 let (bytes_read, attributes) = self.rtp_reader.read(buf, attributes).await?; in read()
728 let mut b = &buf[..bytes_read]; in read()
737 header_bytes: (bytes_read - packet.payload.len()) as u64, in read()
744 Ok((bytes_read, attributes)) in read()