Searched refs:our_size (Results 1 – 2 of 2) sorted by relevance
1082 size_t our_size = 0; in ByteSize() local1096 our_size += FieldByteSize(fields[i], message); in ByteSize()1100 our_size += ComputeUnknownMessageSetItemsSize( in ByteSize()1103 our_size += in ByteSize()1107 return our_size; in ByteSize()1132 size_t our_size = data_size; in FieldByteSize() local1138 our_size += TagSize(field->number(), FieldDescriptor::TYPE_STRING); in FieldByteSize()1139 our_size += io::CodedOutputStream::VarintSize32(data_size); in FieldByteSize()1142 our_size += count * TagSize(field->number(), field->type()); in FieldByteSize()1144 return our_size; in FieldByteSize()[all …]
2066 size_t our_size = WireFormatLite::kMessageSetItemTagsSize; in MessageSetItemByteSize() local2069 our_size += io::CodedOutputStream::VarintSize32(number); in MessageSetItemByteSize()2079 our_size += io::CodedOutputStream::VarintSize32(message_size); in MessageSetItemByteSize()2080 our_size += message_size; in MessageSetItemByteSize()2082 return our_size; in MessageSetItemByteSize()