Home
last modified time | relevance | path

Searched refs:unknown_field (Results 1 – 5 of 5) sorted by relevance

/external/protobuf/src/google/protobuf/
Dunknown_field_set_unittest.cc88 const UnknownField& unknown_field = unknown_fields_->field(i); in GetBizarroData() local
89 if (unknown_field.type() == UnknownField::TYPE_VARINT) { in GetBizarroData()
90 bizarro_unknown_fields->AddFixed32(unknown_field.number(), 1); in GetBizarroData()
92 bizarro_unknown_fields->AddVarint(unknown_field.number(), 1); in GetBizarroData()
Ddescriptor.cc5814 const UnknownField* unknown_field = &unknown_fields.field(i); in ExamineIfOptionIsSet() local
5819 if (unknown_field->type() == UnknownField::TYPE_LENGTH_DELIMITED) { in ExamineIfOptionIsSet()
5822 unknown_field->length_delimited()) && in ExamineIfOptionIsSet()
5833 if (unknown_field->type() == UnknownField::TYPE_GROUP) { in ExamineIfOptionIsSet()
5837 unknown_field->group())) { in ExamineIfOptionIsSet()
/external/protobuf/src/google/protobuf/util/
Dmessage_differencer.cc1539 const UnknownField* unknown_field = &unknown_fields->field( in PrintValue() local
1543 PrintUnknownFieldValue(unknown_field); in PrintValue()
1548 StreamReporter::PrintUnknownFieldValue(const UnknownField* unknown_field) { in PrintUnknownFieldValue() argument
1549 GOOGLE_CHECK(unknown_field != NULL) << " Cannot print NULL unknown_field."; in PrintUnknownFieldValue()
1552 switch (unknown_field->type()) { in PrintUnknownFieldValue()
1554 output = SimpleItoa(unknown_field->varint()); in PrintUnknownFieldValue()
1557 output = StrCat("0x", strings::Hex(unknown_field->fixed32(), in PrintUnknownFieldValue()
1561 output = StrCat("0x", strings::Hex(unknown_field->fixed64(), in PrintUnknownFieldValue()
1566 CEscape(unknown_field->length_delimited()).c_str()); in PrintUnknownFieldValue()
Dmessage_differencer.h629 virtual void PrintUnknownFieldValue(const UnknownField* unknown_field);
/external/python/apitools/apitools/base/py/
Dencoding.py419 for unknown_field in message.all_unrecognized_fields():
424 value, _ = message.get_unrecognized_field_info(unknown_field)
431 new_pair = pair_type(key=str(unknown_field), value=decoded_value)