Home | History | Annotate | Download | only in protobuf

Lines Matching defs:Rep

234   // RepeatedPtrFieldBase's struct Rep):
245 struct Rep {
249 // We can not use sizeof(Rep) - sizeof(Element) due to the trailing padding on
256 Rep* rep_;
279 void InternalDeallocate(Rep* rep, int size) {
280 if (rep != NULL) {
281 Element* e = &rep->elements[0];
282 Element* limit = &rep->elements[size];
286 if (rep->arena == NULL) {
287 delete[] reinterpret_cast<char*>(rep);
295 reinterpret_cast<size_t>(&reinterpret_cast<Rep*>(16)->elements[0]) - 16;
510 // We use an indirected approach, with struct Rep, to keep
512 // was added, namely, 3 8-byte machine words on x86-64. An instance of Rep is
522 struct Rep {
526 static const size_t kRepHeaderSize = sizeof(Rep) - sizeof(void*);
529 Rep* rep_;
991 rep_ = reinterpret_cast<Rep*>(
1262 Rep* old_rep = rep_;
1271 rep_ = reinterpret_cast<Rep*>(
1274 rep_ = reinterpret_cast<Rep*>(