/external/cronet/third_party/protobuf/src/google/protobuf/ |
D | unknown_field_set.h | 72 class UnknownField; // below variable 133 inline const UnknownField& field(int index) const; 137 inline UnknownField* mutable_field(int index); 149 void AddField(const UnknownField& field); 184 friend class UnknownField; 211 std::vector<UnknownField> fields_; 235 class PROTOBUF_EXPORT UnknownField { 276 void DeepCopy(const UnknownField& other); 321 inline const UnknownField& UnknownFieldSet::field(int index) const { in field() 324 inline UnknownField* UnknownFieldSet::mutable_field(int index) { in mutable_field() [all …]
|
D | unknown_field_set.cc | 114 size_t total_size = sizeof(fields_) + sizeof(UnknownField) * fields_.size(); in SpaceUsedExcludingSelfLong() 116 for (const UnknownField& field : fields_) { in SpaceUsedExcludingSelfLong() 118 case UnknownField::TYPE_LENGTH_DELIMITED: in SpaceUsedExcludingSelfLong() 123 case UnknownField::TYPE_GROUP: in SpaceUsedExcludingSelfLong() 138 UnknownField field; in AddVarint() 140 field.SetType(UnknownField::TYPE_VARINT); in AddVarint() 146 UnknownField field; in AddFixed32() 148 field.SetType(UnknownField::TYPE_FIXED32); in AddFixed32() 154 UnknownField field; in AddFixed64() 156 field.SetType(UnknownField::TYPE_FIXED64); in AddFixed64() [all …]
|
D | unknown_field_set_unittest.cc | 74 const UnknownField* GetField(const std::string& name) { in GetField() 93 const UnknownField& unknown_field = unknown_fields_->field(i); in GetBizarroData() 94 if (unknown_field.type() == UnknownField::TYPE_VARINT) { in GetBizarroData() 148 const UnknownField* field = GetField("optional_int32"); in TEST_F() 151 ASSERT_EQ(UnknownField::TYPE_VARINT, field->type()); in TEST_F() 156 const UnknownField* field = GetField("optional_fixed32"); in TEST_F() 159 ASSERT_EQ(UnknownField::TYPE_FIXED32, field->type()); in TEST_F() 164 const UnknownField* field = GetField("optional_fixed64"); in TEST_F() 167 ASSERT_EQ(UnknownField::TYPE_FIXED64, field->type()); in TEST_F() 172 const UnknownField* field = GetField("optional_string"); in TEST_F() [all …]
|
D | wire_format.cc | 196 const UnknownField& field = unknown_fields.field(i); in InternalSerializeUnknownFieldsToArray() 200 case UnknownField::TYPE_VARINT: in InternalSerializeUnknownFieldsToArray() 204 case UnknownField::TYPE_FIXED32: in InternalSerializeUnknownFieldsToArray() 208 case UnknownField::TYPE_FIXED64: in InternalSerializeUnknownFieldsToArray() 212 case UnknownField::TYPE_LENGTH_DELIMITED: in InternalSerializeUnknownFieldsToArray() 216 case UnknownField::TYPE_GROUP: in InternalSerializeUnknownFieldsToArray() 234 const UnknownField& field = unknown_fields.field(i); in InternalSerializeUnknownMessageSetItemsToArray() 238 if (field.type() == UnknownField::TYPE_LENGTH_DELIMITED) { in InternalSerializeUnknownMessageSetItemsToArray() 270 const UnknownField& field = unknown_fields.field(i); in ComputeUnknownFieldsSize() 273 case UnknownField::TYPE_VARINT: in ComputeUnknownFieldsSize() [all …]
|
/external/protobuf/src/google/protobuf/ |
D | unknown_field_set.h | 72 class UnknownField; // below variable 133 inline const UnknownField& field(int index) const; 137 inline UnknownField* mutable_field(int index); 149 void AddField(const UnknownField& field); 184 friend class UnknownField; 211 std::vector<UnknownField> fields_; 235 class PROTOBUF_EXPORT UnknownField { 276 void DeepCopy(const UnknownField& other); 321 inline const UnknownField& UnknownFieldSet::field(int index) const { in field() 324 inline UnknownField* UnknownFieldSet::mutable_field(int index) { in mutable_field() [all …]
|
D | unknown_field_set.cc | 114 size_t total_size = sizeof(UnknownField) * fields_.capacity(); in SpaceUsedExcludingSelfLong() 116 for (const UnknownField& field : fields_) { in SpaceUsedExcludingSelfLong() 118 case UnknownField::TYPE_LENGTH_DELIMITED: in SpaceUsedExcludingSelfLong() 123 case UnknownField::TYPE_GROUP: in SpaceUsedExcludingSelfLong() 138 UnknownField field; in AddVarint() 140 field.SetType(UnknownField::TYPE_VARINT); in AddVarint() 146 UnknownField field; in AddFixed32() 148 field.SetType(UnknownField::TYPE_FIXED32); in AddFixed32() 154 UnknownField field; in AddFixed64() 156 field.SetType(UnknownField::TYPE_FIXED64); in AddFixed64() [all …]
|
D | unknown_field_set_unittest.cc | 77 const UnknownField* GetField(const std::string& name) { in GetField() 96 const UnknownField& unknown_field = unknown_fields_->field(i); in GetBizarroData() 97 if (unknown_field.type() == UnknownField::TYPE_VARINT) { in GetBizarroData() 151 const UnknownField* field = GetField("optional_int32"); in TEST_F() 154 ASSERT_EQ(UnknownField::TYPE_VARINT, field->type()); in TEST_F() 159 const UnknownField* field = GetField("optional_fixed32"); in TEST_F() 162 ASSERT_EQ(UnknownField::TYPE_FIXED32, field->type()); in TEST_F() 167 const UnknownField* field = GetField("optional_fixed64"); in TEST_F() 170 ASSERT_EQ(UnknownField::TYPE_FIXED64, field->type()); in TEST_F() 175 const UnknownField* field = GetField("optional_string"); in TEST_F() [all …]
|
D | wire_format.cc | 196 const UnknownField& field = unknown_fields.field(i); in InternalSerializeUnknownFieldsToArray() 200 case UnknownField::TYPE_VARINT: in InternalSerializeUnknownFieldsToArray() 204 case UnknownField::TYPE_FIXED32: in InternalSerializeUnknownFieldsToArray() 208 case UnknownField::TYPE_FIXED64: in InternalSerializeUnknownFieldsToArray() 212 case UnknownField::TYPE_LENGTH_DELIMITED: in InternalSerializeUnknownFieldsToArray() 216 case UnknownField::TYPE_GROUP: in InternalSerializeUnknownFieldsToArray() 234 const UnknownField& field = unknown_fields.field(i); in InternalSerializeUnknownMessageSetItemsToArray() 238 if (field.type() == UnknownField::TYPE_LENGTH_DELIMITED) { in InternalSerializeUnknownMessageSetItemsToArray() 270 const UnknownField& field = unknown_fields.field(i); in ComputeUnknownFieldsSize() 273 case UnknownField::TYPE_VARINT: in ComputeUnknownFieldsSize() [all …]
|
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/ |
D | UnknownFieldSet.cs | 52 private readonly IDictionary<int, UnknownField> fields; 59 this.fields = new Dictionary<int, UnknownField>(); in UnknownFieldSet() 92 foreach (KeyValuePair<int, UnknownField> entry in fields) in WriteTo() 104 foreach (KeyValuePair<int, UnknownField> entry in fields) in CalculateSize() 121 IDictionary<int, UnknownField> otherFields = otherSet.fields; in Equals() 126 foreach (KeyValuePair<int, UnknownField> leftEntry in fields) in Equals() 128 UnknownField rightValue; in Equals() 147 foreach (KeyValuePair<int, UnknownField> field in fields) in GetHashCode() 160 private UnknownField lastField; 162 private UnknownField GetOrAddField(int number) in GetOrAddField() [all …]
|
D | UnknownField.cs | 52 internal sealed class UnknownField class 63 public UnknownField() in UnknownField() method in Google.Protobuf.UnknownField 76 UnknownField otherField = other as UnknownField; in Equals() 199 internal UnknownField MergeFrom(UnknownField other) in MergeFrom() 236 internal UnknownField AddVarint(ulong value) in AddVarint() 245 internal UnknownField AddFixed32(uint value) in AddFixed32() 254 internal UnknownField AddFixed64(ulong value) in AddFixed64() 263 internal UnknownField AddLengthDelimited(ByteString value) in AddLengthDelimited() 269 internal UnknownField AddGroup(UnknownFieldSet value) in AddGroup()
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | UnknownFieldSet.cs | 52 private readonly IDictionary<int, UnknownField> fields; 59 this.fields = new Dictionary<int, UnknownField>(); in UnknownFieldSet() 92 foreach (KeyValuePair<int, UnknownField> entry in fields) in WriteTo() 104 foreach (KeyValuePair<int, UnknownField> entry in fields) in CalculateSize() 121 IDictionary<int, UnknownField> otherFields = otherSet.fields; in Equals() 126 foreach (KeyValuePair<int, UnknownField> leftEntry in fields) in Equals() 128 UnknownField rightValue; in Equals() 147 foreach (KeyValuePair<int, UnknownField> field in fields) in GetHashCode() 160 private UnknownField lastField; 162 private UnknownField GetOrAddField(int number) in GetOrAddField() [all …]
|
D | UnknownField.cs | 52 internal sealed class UnknownField class 63 public UnknownField() in UnknownField() method in Google.Protobuf.UnknownField 76 UnknownField otherField = other as UnknownField; in Equals() 199 internal UnknownField MergeFrom(UnknownField other) in MergeFrom() 236 internal UnknownField AddVarint(ulong value) in AddVarint() 245 internal UnknownField AddFixed32(uint value) in AddFixed32() 254 internal UnknownField AddFixed64(ulong value) in AddFixed64() 263 internal UnknownField AddLengthDelimited(ByteString value) in AddLengthDelimited() 269 internal UnknownField AddGroup(UnknownFieldSet value) in AddGroup()
|
/external/protobuf/python/google/protobuf/pyext/ |
D | unknown_fields.cc | 219 const UnknownField* GetUnknownField(PyUnknownFieldRef* self) { in GetUnknownField() 238 const UnknownField* unknown_field = GetUnknownField(self); in GetFieldNumber() 247 const UnknownField* unknown_field = GetUnknownField(self); in GetWireType() 256 case UnknownField::TYPE_VARINT: in GetWireType() 259 case UnknownField::TYPE_FIXED32: in GetWireType() 262 case UnknownField::TYPE_FIXED64: in GetWireType() 265 case UnknownField::TYPE_LENGTH_DELIMITED: in GetWireType() 268 case UnknownField::TYPE_GROUP: in GetWireType() 276 const UnknownField* field = GetUnknownField(self); in GetData() 282 case UnknownField::TYPE_VARINT: in GetData() [all …]
|
D | unknown_field_set.cc | 216 const UnknownField* GetUnknownField(PyUnknownField* self) { in GetUnknownField() 231 const UnknownField* unknown_field = GetUnknownField(self); in GetFieldNumber() 240 const UnknownField* unknown_field = GetUnknownField(self); in GetWireType() 249 case UnknownField::TYPE_VARINT: in GetWireType() 252 case UnknownField::TYPE_FIXED32: in GetWireType() 255 case UnknownField::TYPE_FIXED64: in GetWireType() 258 case UnknownField::TYPE_LENGTH_DELIMITED: in GetWireType() 261 case UnknownField::TYPE_GROUP: in GetWireType() 269 const UnknownField* field = GetUnknownField(self); in GetData() 275 case UnknownField::TYPE_VARINT: in GetData() [all …]
|
D | unknown_field_set.h | 45 class UnknownField; variable
|
D | unknown_fields.h | 45 class UnknownField; variable
|
/external/cronet/third_party/protobuf/python/google/protobuf/pyext/ |
D | unknown_fields.cc | 219 const UnknownField* GetUnknownField(PyUnknownFieldRef* self) { in GetUnknownField() 238 const UnknownField* unknown_field = GetUnknownField(self); in GetFieldNumber() 247 const UnknownField* unknown_field = GetUnknownField(self); in GetWireType() 256 case UnknownField::TYPE_VARINT: in GetWireType() 259 case UnknownField::TYPE_FIXED32: in GetWireType() 262 case UnknownField::TYPE_FIXED64: in GetWireType() 265 case UnknownField::TYPE_LENGTH_DELIMITED: in GetWireType() 268 case UnknownField::TYPE_GROUP: in GetWireType() 276 const UnknownField* field = GetUnknownField(self); in GetData() 282 case UnknownField::TYPE_VARINT: in GetData() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | UnknownFieldSetTest.cs | 66 UnknownField field = new UnknownField(); in MergeUnknownFieldSet() 144 var unknownVarintField = new UnknownField(); in TestClone_LengthDelimited() 147 var unknownLengthDelimitedField1 = new UnknownField(); in TestClone_LengthDelimited() 150 var unknownLengthDelimitedField2 = new UnknownField(); in TestClone_LengthDelimited()
|
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | UnknownFieldSetTest.cs | 66 UnknownField field = new UnknownField(); in MergeUnknownFieldSet() 144 var unknownVarintField = new UnknownField(); in TestClone_LengthDelimited() 147 var unknownLengthDelimitedField1 = new UnknownField(); in TestClone_LengthDelimited() 150 var unknownLengthDelimitedField2 = new UnknownField(); in TestClone_LengthDelimited()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | TextFormat.java | 1726 static final class UnknownField { class in TextFormat.Parser 1734 UnknownField(String message, Type type) { in UnknownField() method in TextFormat.Parser.UnknownField 1742 private void checkUnknownFields(final List<UnknownField> unknownFields) throws ParseException { in checkUnknownFields() 1748 for (UnknownField field : unknownFields) { in checkUnknownFields() 1760 for (UnknownField field : unknownFields) { in checkUnknownFields() 1761 if (field.type == UnknownField.Type.FIELD) { in checkUnknownFields() 1790 List<UnknownField> unknownFields = new ArrayList<UnknownField>(); in merge() 1804 List<UnknownField> unknownFields) in mergeField() 1820 List<UnknownField> unknownFields) in mergeField() 1854 unknownFields.add(new UnknownField(message, UnknownField.Type.EXTENSION)); in mergeField() [all …]
|
/external/cronet/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | TextFormat.java | 1737 static final class UnknownField { class in TextFormat.Parser 1745 UnknownField(String message, Type type) { in UnknownField() method in TextFormat.Parser.UnknownField 1753 private void checkUnknownFields(final List<UnknownField> unknownFields) throws ParseException { in checkUnknownFields() 1759 for (UnknownField field : unknownFields) { in checkUnknownFields() 1771 for (UnknownField field : unknownFields) { in checkUnknownFields() 1772 if (field.type == UnknownField.Type.FIELD) { in checkUnknownFields() 1801 List<UnknownField> unknownFields = new ArrayList<UnknownField>(); in merge() 1816 List<UnknownField> unknownFields) in mergeField() 1832 List<UnknownField> unknownFields) in mergeField() 1866 unknownFields.add(new UnknownField(message, UnknownField.Type.EXTENSION)); in mergeField() [all …]
|
/external/protobuf/python/google/protobuf/ |
D | unknown_fields.py | 50 class UnknownField: class 83 unknown_field = UnknownField(field_number, wire_type, data)
|
/external/cronet/third_party/protobuf/src/google/protobuf/util/ |
D | message_differencer.cc | 1413 typedef std::pair<int, const UnknownField*> IndexUnknownFieldPair; 1501 const UnknownField* current_repeated = NULL; in CompareUnknownFields() 1520 const UnknownField* focus_field; in CompareUnknownFields() 1545 case UnknownField::TYPE_VARINT: in CompareUnknownFields() 1549 case UnknownField::TYPE_FIXED32: in CompareUnknownFields() 1553 case UnknownField::TYPE_FIXED64: in CompareUnknownFields() 1557 case UnknownField::TYPE_LENGTH_DELIMITED: in CompareUnknownFields() 1561 case UnknownField::TYPE_GROUP: in CompareUnknownFields() 2061 const UnknownField* unknown_field = in PrintValue() 2069 const UnknownField* unknown_field) { in PrintUnknownFieldValue() [all …]
|
/external/protobuf/src/google/protobuf/util/ |
D | message_differencer.cc | 1413 typedef std::pair<int, const UnknownField*> IndexUnknownFieldPair; 1501 const UnknownField* current_repeated = NULL; in CompareUnknownFields() 1520 const UnknownField* focus_field; in CompareUnknownFields() 1545 case UnknownField::TYPE_VARINT: in CompareUnknownFields() 1549 case UnknownField::TYPE_FIXED32: in CompareUnknownFields() 1553 case UnknownField::TYPE_FIXED64: in CompareUnknownFields() 1557 case UnknownField::TYPE_LENGTH_DELIMITED: in CompareUnknownFields() 1561 case UnknownField::TYPE_GROUP: in CompareUnknownFields() 2061 const UnknownField* unknown_field = in PrintValue() 2069 const UnknownField* unknown_field) { in PrintUnknownFieldValue() [all …]
|
/external/rust/crates/protobuf/src/text_format/ |
D | parse.rs | 26 UnknownField(String), enumerator 203 return Err(ParseErrorWithoutLoc::UnknownField(ident)); in read_map_entry() 256 return Err(ParseErrorWithoutLoc::UnknownField(field_name)); in merge_field()
|