Searched refs:kRepHeaderSize (Results 1 – 2 of 2) sorted by relevance
59 GOOGLE_CHECK_LE(new_size, (std::numeric_limits<size_t>::max() - kRepHeaderSize) / in InternalExtend()62 size_t bytes = kRepHeaderSize + sizeof(old_rep->elements[0]) * new_size; in InternalExtend()82 old_total_size * sizeof(rep_->elements[0]) + kRepHeaderSize; in InternalExtend()
294 static const size_t kRepHeaderSize; variable353 const size_t bytes = size * sizeof(*e) + kRepHeaderSize; in InternalDeallocate()364 const size_t RepeatedField<Element>::kRepHeaderSize =614 static const size_t kRepHeaderSize = sizeof(Rep) - sizeof(void*);1398 return total_size_ > 0 ? (total_size_ * sizeof(Element) + kRepHeaderSize) : 0;1413 (std::numeric_limits<size_t>::max() - kRepHeaderSize) / sizeof(Element))1416 kRepHeaderSize + sizeof(Element) * static_cast<size_t>(new_size);1507 const size_t size = total_size_ * sizeof(elements[0]) + kRepHeaderSize;1736 allocated_bytes += kRepHeaderSize;