Home
last modified time | relevance | path

Searched refs:kHeaderLength (Results 1 – 25 of 25) sorted by relevance

/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Dfec_test_helper.cc47 const int kHeaderLength = packet->header.header.headerLength; in BuildMediaRedPacket() local
53 memcpy(red_packet->data, packet->data, kHeaderLength); in BuildMediaRedPacket()
54 SetRedHeader(red_packet, red_packet->data[1] & 0x7f, kHeaderLength); in BuildMediaRedPacket()
55 memcpy(red_packet->data + kHeaderLength + 1, packet->data + kHeaderLength, in BuildMediaRedPacket()
56 packet->length - kHeaderLength); in BuildMediaRedPacket()
68 const int kHeaderLength = red_packet->header.header.headerLength; in BuildFecRedPacket() local
69 SetRedHeader(red_packet, kFecPayloadType, kHeaderLength); in BuildFecRedPacket()
70 memcpy(red_packet->data + kHeaderLength + 1, packet->data, packet->length); in BuildFecRedPacket()
71 red_packet->length = kHeaderLength + 1 + packet->length; in BuildFecRedPacket()
Drtp_format_vp8_unittest.cc409 const uint8_t kHeaderLength = 1; in TEST_F() local
417 ExpectPacket(packet + kHeaderLength, sizeof(packet) - kHeaderLength); in TEST_F()
461 const uint8_t kHeaderLength = 3; in TEST_F() local
471 ExpectPacket(packet + kHeaderLength, sizeof(packet) - kHeaderLength); in TEST_F()
480 const uint8_t kHeaderLength = 3; in TEST_F() local
489 ExpectPacket(packet + kHeaderLength, sizeof(packet) - kHeaderLength); in TEST_F()
498 const uint8_t kHeaderLength = 3; in TEST_F() local
508 ExpectPacket(packet + kHeaderLength, sizeof(packet) - kHeaderLength); in TEST_F()
517 const uint8_t kHeaderLength = 6; in TEST_F() local
529 ExpectPacket(packet + kHeaderLength, sizeof(packet) - kHeaderLength); in TEST_F()
[all …]
Dreceive_statistics_unittest.cc260 const uint32_t kHeaderLength = 20; in TEST_F() local
264 header1_.headerLength = kHeaderLength; in TEST_F()
266 header1_, kPacketSize1 + kHeaderLength, false); in TEST_F()
274 header1_, kPacketSize1 + kHeaderLength + kPaddingLength, false); in TEST_F()
280 header1_, kPacketSize1 + kHeaderLength + kPaddingLength, true); in TEST_F()
289 header1_, kPacketSize1 + kHeaderLength, false); in TEST_F()
300 header1_, kPacketSize1 + kHeaderLength, true); in TEST_F()
309 const uint32_t kHeaderLength = 20; in TEST_F() local
315 header1_.headerLength = kHeaderLength; in TEST_F()
317 header1_, kPacketSize1 + kHeaderLength, false); in TEST_F()
Drtcp_packet.h72 RtcpPacket() : kHeaderLength(4) {} in RtcpPacket()
77 const size_t kHeaderLength; variable
305 return kHeaderLength + 4 * ij_items_.size(); in BlockLength()
403 return kHeaderLength + 4 * source_count; in BlockLength()
Drtp_sender.cc1121 const uint32_t kHeaderLength = kRtpOneByteHeaderLength; in BuildRTPHeaderExtension() local
1135 data_buffer + kHeaderLength + total_block_length); in BuildRTPHeaderExtension()
1139 data_buffer + kHeaderLength + total_block_length); in BuildRTPHeaderExtension()
1143 data_buffer + kHeaderLength + total_block_length); in BuildRTPHeaderExtension()
1160 return kHeaderLength + total_block_length; in BuildRTPHeaderExtension()
Drtcp_packet.cc845 size_t length = kHeaderLength; in BlockLength()
/external/chromium_org/content/browser/speech/
Dchunked_byte_buffer.cc15 static const size_t kHeaderLength = sizeof(uint32); variable
17 COMPILE_ASSERT(sizeof(size_t) >= kHeaderLength,
51 if (partial_chunk_->header.size() < kHeaderLength) { in Append()
53 kHeaderLength - partial_chunk_->header.size(); in Append()
78 DCHECK_EQ(partial_chunk_->header.size(), kHeaderLength); in Append()
111 DCHECK_EQ(chunk->header.size(), kHeaderLength); in PopChunk()
114 total_bytes_stored_ -= kHeaderLength; in PopChunk()
132 DCHECK_EQ(header.size(), kHeaderLength); in ExpectedContentLength()
/external/chromium_org/components/proximity_auth/
Dwire_message.cc23 const size_t kHeaderLength = 3; variable
39 if (serialized_message.size() < kHeaderLength) { in ParseHeader()
44 COMPILE_ASSERT(kHeaderLength > 2, header_length_too_small); in ParseHeader()
55 size_t expected_message_length = kHeaderLength + expected_body_length; in ParseHeader()
83 base::JSONReader::Read(serialized_message.substr(kHeaderLength))); in Deserialize()
/external/chromium_org/ui/base/resource/
Ddata_pack.cc23 static const size_t kHeaderLength = 2 * sizeof(uint32) + sizeof(uint8); variable
108 if (kHeaderLength > mmap_->length()) { in LoadImpl()
146 if (kHeaderLength + (resource_count_ + 1) * sizeof(DataPackEntry) > in LoadImpl()
159 mmap_->data() + kHeaderLength + (i * sizeof(DataPackEntry))); in LoadImpl()
174 return !!bsearch(&resource_id, mmap_->data() + kHeaderLength, resource_count_, in HasResource()
192 bsearch(&resource_id, mmap_->data() + kHeaderLength, resource_count_, in GetStringPiece()
204 reinterpret_cast<const DataPackEntry*>(mmap_->data() + kHeaderLength); in GetStringPiece()
275 uint32 data_offset = kHeaderLength + index_length; in WritePack()
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/
Debsc_table.h32 kHeaderLength = kNumSizes + DataSize::kULONG, enumerator
33 kBitmapScaleTableStart = kHeaderLength,
Deblc_table.h36 kHeaderLength = kNumSizes + DataSize::kULONG, enumerator
39 kBitmapSizeTableArrayStart = kHeaderLength,
Debdt_table.cc75 int32_t size = Offset::kHeaderLength; in SubDataSizeToSerialize()
135 int start_offset = Offset::kHeaderLength; in GenerateLocaList()
Debdt_table.h32 kHeaderLength = DataSize::kFixed, enumerator
Deblc_table.cc212 int32_t size = Offset::kHeaderLength; in SubDataSizeToSerialize()
/external/sfntly/cpp/src/sfntly/table/bitmap/
Debsc_table.h32 kHeaderLength = kNumSizes + DataSize::kULONG, enumerator
33 kBitmapScaleTableStart = kHeaderLength,
Deblc_table.h36 kHeaderLength = kNumSizes + DataSize::kULONG, enumerator
39 kBitmapSizeTableArrayStart = kHeaderLength,
Debdt_table.cc75 int32_t size = Offset::kHeaderLength; in SubDataSizeToSerialize()
135 int start_offset = Offset::kHeaderLength; in GenerateLocaList()
Debdt_table.h32 kHeaderLength = DataSize::kFixed, enumerator
Deblc_table.cc212 int32_t size = Offset::kHeaderLength; in SubDataSizeToSerialize()
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Drtpdump.h63 static const size_t kHeaderLength = 16; member
97 static const size_t kHeaderLength = 8; member
Drtpdump.cc128 char header[RtpDumpPacket::kHeaderLength]; in ReadPacket()
174 char header[RtpDumpFileHeader::kHeaderLength]; in ReadFileHeader()
375 RtpDumpPacket::kHeaderLength + write_len)); in WritePacket()
/external/chromium_org/third_party/libjingle/source/talk/session/media/
Dmediarecorder_unittest.cc120 RtpDumpFileHeader::kHeaderLength + in TEST_F()
121 RtpDumpPacket::kHeaderLength + in TEST_F()
Dmediarecorder.cc83 current_size + RtpDumpPacket::kHeaderLength + size <= max_size_) { in OnPacket()
/external/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc506 int32_t image_data_offset = EbdtTable::Offset::kHeaderLength; in SubsetEBLC()
/external/chromium_org/third_party/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc506 int32_t image_data_offset = EbdtTable::Offset::kHeaderLength; in SubsetEBLC()