Lines Matching refs:start_size
215 size_t start_size = packet->size();
216 DCHECK_LT(start_size + 32, kMaxIpPacketSize) << "Not enough buffer space";
217 if (start_size + 32 > kMaxIpPacketSize)
221 packet->resize(start_size + 8);
224 reinterpret_cast<char*>(&((*packet)[start_size])), 8);
237 size_t start_size = packet->size();
238 DCHECK_LT(start_size + 24, kMaxIpPacketSize) << "Not enough buffer space";
239 if (start_size + 24 > kMaxIpPacketSize)
242 packet->resize(start_size + 24);
245 reinterpret_cast<char*>(&((*packet)[start_size])), 24);
266 size_t start_size = packet->size();
267 DCHECK_LT(start_size + 12 + c_name_.length(), kMaxIpPacketSize)
269 if (start_size + 12 > kMaxIpPacketSize)
273 packet->resize(start_size + 10);
276 reinterpret_cast<char*>(&((*packet)[start_size])), 10);
282 uint32 sdes_length_position = static_cast<uint32>(start_size) + 3;
311 size_t start_size = packet->size();
312 DCHECK_LT(start_size + 12, kMaxIpPacketSize) << "Not enough buffer space";
313 if (start_size + 12 > kMaxIpPacketSize)
316 packet->resize(start_size + 12);
319 reinterpret_cast<char*>(&((*packet)[start_size])), 12);
338 size_t start_size = packet->size();
339 DCHECK_LT(start_size + 24, kMaxIpPacketSize) << "Not enough buffer space";
340 if (start_size + 24 > kMaxIpPacketSize)
343 packet->resize(start_size + 24);
346 reinterpret_cast<char*>(&((*packet)[start_size])), 24);
392 size_t start_size = packet->size();
394 DCHECK_LT(start_size + remb_size, kMaxIpPacketSize)
396 if (start_size + remb_size > kMaxIpPacketSize)
399 packet->resize(start_size + remb_size);
402 reinterpret_cast<char*>(&((*packet)[start_size])), remb_size);
433 size_t start_size = packet->size();
434 DCHECK_LT(start_size + 16, kMaxIpPacketSize) << "Not enough buffer space";
435 if (start_size + 16 > kMaxIpPacketSize)
438 packet->resize(start_size + 16);
441 reinterpret_cast<char*>(&((*packet)[start_size])), 16);
447 size_t nack_size_pos = start_size + 3;
474 start_size = packet->size();
475 DCHECK_LT(start_size + 4, kMaxIpPacketSize) << "Not enough buffer space";
476 if (start_size + 4 > kMaxIpPacketSize)
479 packet->resize(start_size + 4);
481 reinterpret_cast<char*>(&((*packet)[start_size])), 4);
491 size_t start_size = packet->size();
492 DCHECK_LT(start_size + 8, kMaxIpPacketSize) << "Not enough buffer space";
493 if (start_size + 8 > kMaxIpPacketSize)
496 packet->resize(start_size + 8);
499 reinterpret_cast<char*>(&((*packet)[start_size])), 8);
508 size_t start_size = packet->size();
509 DCHECK_LT(start_size + 20, kMaxIpPacketSize) << "Not enough buffer space";
510 if (start_size + 20 > kMaxIpPacketSize)
513 packet->resize(start_size + 20);
516 reinterpret_cast<char*>(&((*packet)[start_size])), 20);
534 size_t start_size = packet->size();
535 DCHECK_LT(start_size + 20, kMaxIpPacketSize) << "Not enough buffer space";
536 if (start_size + 20 > kMaxIpPacketSize)
539 packet->resize(start_size + 20);
542 reinterpret_cast<char*>(&((*packet)[start_size])), 20);
547 size_t cast_size_pos = start_size + 3; // Save length position.
553 size_t cast_loss_field_pos = start_size + 17; // Save loss field position.
572 start_size = packet->size();
573 packet->resize(start_size + 4);
575 reinterpret_cast<char*>(&((*packet)[start_size])), 4);
586 start_size = packet->size();
587 packet->resize(start_size + 4);
589 reinterpret_cast<char*>(&((*packet)[start_size])), 4);
712 size_t start_size,
718 std::min(kMaxReceiverLogBytes, kMaxIpPacketSize - start_size);
815 DCHECK_GE(kMaxIpPacketSize, start_size + *rtcp_log_size)