• Home
  • Raw
  • Download

Lines Matching refs:WriteAt

134     WriteAt(1, data()[1] | 0x80);  in SetMarker()
136 WriteAt(1, data()[1] & 0x7F); in SetMarker()
143 WriteAt(1, (data()[1] & 0x80) | payload_type); in SetPayloadType()
148 ByteWriter<uint16_t>::WriteBigEndian(WriteAt(2), seq_no); in SetSequenceNumber()
153 ByteWriter<uint32_t>::WriteBigEndian(WriteAt(4), timestamp); in SetTimestamp()
158 ByteWriter<uint32_t>::WriteBigEndian(WriteAt(8), ssrc); in SetSsrc()
173 WriteAt(extension.offset + in ZeroMutableExtensions()
185 memset(WriteAt(extension.offset), 0, extension.length); in ZeroMutableExtensions()
215 WriteAt(0, (data()[0] & 0xF0) | rtc::dchecked_cast<uint8_t>(csrcs.size())); in SetCsrcs()
218 ByteWriter<uint32_t>::WriteBigEndian(WriteAt(offset), csrc); in SetCsrcs()
233 return rtc::MakeArrayView(WriteAt(extension_entry->offset), length); in AllocateRawExtension()
305 WriteAt(0, data()[0] | 0x10); // Set extension bit. in AllocateRawExtension()
306 ByteWriter<uint16_t>::WriteBigEndian(WriteAt(extensions_offset - 4), in AllocateRawExtension()
313 WriteAt(extensions_offset + extensions_size_, one_byte_header); in AllocateRawExtension()
317 WriteAt(extensions_offset + extensions_size_, extension_id); in AllocateRawExtension()
319 WriteAt(extensions_offset + extensions_size_ + 1, extension_length); in AllocateRawExtension()
334 return rtc::MakeArrayView(WriteAt(extension_info_offset), in AllocateRawExtension()
357 memmove(WriteAt(write_index), data() + read_index, extension_entry->length); in PromoteToTwoByteHeaderExtension()
359 WriteAt(--write_index, extension_entry->length); in PromoteToTwoByteHeaderExtension()
360 WriteAt(--write_index, extension_entry->id); in PromoteToTwoByteHeaderExtension()
365 ByteWriter<uint16_t>::WriteBigEndian(WriteAt(extensions_offset - 4), in PromoteToTwoByteHeaderExtension()
379 ByteWriter<uint16_t>::WriteBigEndian(WriteAt(extensions_offset - 2), in SetExtensionLengthMaybeAddZeroPadding()
383 memset(WriteAt(extensions_offset + extensions_size_), 0, in SetExtensionLengthMaybeAddZeroPadding()
403 return WriteAt(payload_offset_); in SetPayloadSize()
419 memset(WriteAt(padding_offset), 0, padding_size_ - 1); in SetPadding()
420 WriteAt(padding_end - 1, padding_size_); in SetPadding()
421 WriteAt(0, data()[0] | 0x20); // Set padding bit. in SetPadding()
423 WriteAt(0, data()[0] & ~0x20); // Clear padding bit. in SetPadding()
440 memset(WriteAt(0), 0, kFixedHeaderSize); in Clear()
442 WriteAt(0, kRtpVersion << 6); in Clear()