Lines Matching refs:UnknownField

99     fields_ = new vector<UnknownField>();  in InternalMergeFrom()
110 if (fields_ == NULL) fields_ = new vector<UnknownField>(); in MergeFrom()
123 if (fields_ == NULL) fields_ = new vector<UnknownField>(); in MergeFromAndDestroy()
136 int total_size = sizeof(*fields_) + sizeof(UnknownField) * fields_->size(); in SpaceUsedExcludingSelf()
139 const UnknownField& field = (*fields_)[i]; in SpaceUsedExcludingSelf()
141 case UnknownField::TYPE_LENGTH_DELIMITED: in SpaceUsedExcludingSelf()
146 case UnknownField::TYPE_GROUP: in SpaceUsedExcludingSelf()
161 UnknownField field; in AddVarint()
163 field.SetType(UnknownField::TYPE_VARINT); in AddVarint()
165 if (fields_ == NULL) fields_ = new vector<UnknownField>(); in AddVarint()
170 UnknownField field; in AddFixed32()
172 field.SetType(UnknownField::TYPE_FIXED32); in AddFixed32()
174 if (fields_ == NULL) fields_ = new vector<UnknownField>(); in AddFixed32()
179 UnknownField field; in AddFixed64()
181 field.SetType(UnknownField::TYPE_FIXED64); in AddFixed64()
183 if (fields_ == NULL) fields_ = new vector<UnknownField>(); in AddFixed64()
188 UnknownField field; in AddLengthDelimited()
190 field.SetType(UnknownField::TYPE_LENGTH_DELIMITED); in AddLengthDelimited()
192 if (fields_ == NULL) fields_ = new vector<UnknownField>(); in AddLengthDelimited()
199 UnknownField field; in AddGroup()
201 field.SetType(UnknownField::TYPE_GROUP); in AddGroup()
203 if (fields_ == NULL) fields_ = new vector<UnknownField>(); in AddGroup()
208 void UnknownFieldSet::AddField(const UnknownField& field) { in AddField()
209 if (fields_ == NULL) fields_ = new vector<UnknownField>(); in AddField()
238 UnknownField* field = &(*fields_)[i]; in DeleteByNumber()
283 void UnknownField::Delete() { in Delete()
285 case UnknownField::TYPE_LENGTH_DELIMITED: in Delete()
288 case UnknownField::TYPE_GROUP: in Delete()
298 void UnknownField::Reset() { in Reset()
300 case UnknownField::TYPE_LENGTH_DELIMITED: in Reset()
303 case UnknownField::TYPE_GROUP: { in Reset()
312 void UnknownField::DeepCopy(const UnknownField& other) { in DeepCopy()
314 case UnknownField::TYPE_LENGTH_DELIMITED: in DeepCopy()
318 case UnknownField::TYPE_GROUP: { in DeepCopy()
330 void UnknownField::SerializeLengthDelimitedNoTag( in SerializeLengthDelimitedNoTag()
338 uint8* UnknownField::SerializeLengthDelimitedNoTagToArray(uint8* target) const { in SerializeLengthDelimitedNoTagToArray()