Home
last modified time | relevance | path

Searched refs:kRepHeaderSize (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/src/google/protobuf/
Drepeated_field.cc58 (std::numeric_limits<size_t>::max() - kRepHeaderSize) / in InternalExtend()
63 new char[kRepHeaderSize + sizeof(old_rep->elements[0]) * new_size]); in InternalExtend()
67 kRepHeaderSize + sizeof(old_rep->elements[0]) * new_size)); in InternalExtend()
Drepeated_field.h253 static const size_t kRepHeaderSize; variable
294 const size_t RepeatedField<Element>::kRepHeaderSize =
526 static const size_t kRepHeaderSize = sizeof(Rep) - sizeof(void*);
992 ::google::protobuf::Arena::CreateArray<char>(arena, kRepHeaderSize));
1254 (total_size_ * sizeof(Element) + kRepHeaderSize) : 0;
1267 (std::numeric_limits<size_t>::max() - kRepHeaderSize) /
1272 new char[kRepHeaderSize + sizeof(Element) * new_size]);
1276 kRepHeaderSize + sizeof(Element) * new_size));
1569 allocated_bytes += kRepHeaderSize;