Home
last modified time | relevance | path

Searched refs:write_at (Results 1 – 10 of 10) sorted by relevance

/external/webrtc/modules/rtp_rtcp/source/
Drtp_packetizer_av1.cc365 uint8_t* write_at = rtp_payload; in NextPacket() local
367 *write_at++ = AggregationHeader(); in NextPacket()
374 write_at += WriteLeb128(fragment_size, write_at); in NextPacket()
376 *write_at++ = obu.header & ~kObuSizePresentBit; in NextPacket()
379 *write_at++ = obu.extension_header; in NextPacket()
384 memcpy(write_at, obu.payload.data() + payload_offset, payload_size); in NextPacket()
385 write_at += payload_size; in NextPacket()
395 write_at += WriteLeb128(fragment_size, write_at); in NextPacket()
398 *write_at++ = last_obu.header & ~kObuSizePresentBit; in NextPacket()
403 *write_at++ = last_obu.extension_header; in NextPacket()
[all …]
Dvideo_rtp_depacketizer.cc33 uint8_t* write_at = bitstream->data(); in AssembleFrame() local
35 memcpy(write_at, payload.data(), payload.size()); in AssembleFrame()
36 write_at += payload.size(); in AssembleFrame()
38 RTC_DCHECK_EQ(write_at - bitstream->data(), bitstream->size()); in AssembleFrame()
Dvideo_rtp_depacketizer_av1.cc355 uint8_t* write_at = bitstream->data(); in AssembleFrame() local
358 memcpy(write_at, obu_info.prefix.data(), obu_info.prefix_size); in AssembleFrame()
359 write_at += obu_info.prefix_size; in AssembleFrame()
361 obu_info.data.CopyTo(write_at, obu_info.payload_offset); in AssembleFrame()
362 write_at += obu_info.payload_size; in AssembleFrame()
364 RTC_CHECK_EQ(write_at - bitstream->data(), bitstream->size()); in AssembleFrame()
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Ddlrr.cc82 uint8_t* write_at = buffer + kBlockHeaderLength; in Create() local
84 ByteWriter<uint32_t>::WriteBigEndian(&write_at[0], sub_block.ssrc); in Create()
85 ByteWriter<uint32_t>::WriteBigEndian(&write_at[4], sub_block.last_rr); in Create()
86 ByteWriter<uint32_t>::WriteBigEndian(&write_at[8], in Create()
88 write_at += kSubBlockLength; in Create()
90 RTC_DCHECK_EQ(buffer + BlockLength(), write_at); in Create()
/external/rust/crates/rusqlite/src/blob/
Dpos_io.rs28 pub fn write_at(&mut self, buf: &[u8], write_start: usize) -> Result<()> { in write_at() method
65 self.write_at(buf, write_start) in write_all_at()
220 blob.write_at(&one2ten, 0).unwrap(); in test_pos_io()
253 assert!(blob.write_at(&[100, 99, 98, 97, 96], 6).is_err()); in test_pos_io()
255 .write_at(&[100, 99, 98, 97, 96], i32::MAX as usize) in test_pos_io()
258 .write_at(&[100, 99, 98, 97, 96], i32::MAX as usize + 1) in test_pos_io()
/external/crosvm/fuse/src/
Dworker.rs40 let written = f.write_at(&buf[..end], off)?; in read_to()
80 fn write_at<F>(&mut self, offset: usize, f: F) -> io::Result<usize> in write_at() method
Dserver.rs42 fn write_at<F>(&mut self, offset: usize, f: F) -> io::Result<usize> in write_at() method
589 match w.write_at(size_of::<OutHeader>(), |writer| { in read()
1022 let result = w.write_at(size_of::<OutHeader>(), |cursor| { in readdir()
1113 let result = w.write_at(size_of::<OutHeader>(), |cursor| { in readdirplus()
/external/crosvm/sys_util/src/
Dwrite_zeroes.rs104 nwritten += self.write_at(&buf[0..write_size], offset + nwritten as u64)?; in write_zeroes_at()
/external/crosvm/devices/src/virtio/fs/
Dworker.rs22 fn write_at<F>(&mut self, offset: usize, f: F) -> io::Result<usize> in write_at() method
/external/vm_tools/p9/src/server/
Dmod.rs598 let count = file.write_at(&write.data, write.offset)?; in write()