Home
last modified time | relevance | path

Searched refs:UnknownFieldSet (Results 1 – 25 of 68) sorted by relevance

123

/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
DUnknownFieldSetTest.java58 UnknownFieldSet.Field getField(String name) { in getField()
68 UnknownFieldSet.Builder bizarroFields = UnknownFieldSet.newBuilder(); in getBizarroData()
70 UnknownFieldSet.Field varintField = in getBizarroData()
71 UnknownFieldSet.Field.newBuilder().addVarint(1).build(); in getBizarroData()
72 UnknownFieldSet.Field fixed32Field = in getBizarroData()
73 UnknownFieldSet.Field.newBuilder().addFixed32(1).build(); in getBizarroData()
75 for (Map.Entry<Integer, UnknownFieldSet.Field> entry : in getBizarroData()
96 UnknownFieldSet unknownFields;
101 UnknownFieldSet.Field field = getField("optional_int32"); in testVarint()
108 UnknownFieldSet.Field field = getField("optional_fixed32"); in testFixed32()
[all …]
DTextFormatTest.java149 private UnknownFieldSet makeUnknownFieldSet() { in makeUnknownFieldSet()
150 return UnknownFieldSet.newBuilder() in makeUnknownFieldSet()
152 UnknownFieldSet.Field.newBuilder() in makeUnknownFieldSet()
158 UnknownFieldSet.newBuilder() in makeUnknownFieldSet()
160 UnknownFieldSet.Field.newBuilder() in makeUnknownFieldSet()
166 UnknownFieldSet.Field.newBuilder() in makeUnknownFieldSet()
172 UnknownFieldSet.Field.newBuilder() in makeUnknownFieldSet()
780 TextFormat.printToUnicodeString(UnknownFieldSet.newBuilder() in testPrintToUnicodeString_unknown()
782 UnknownFieldSet.Field.newBuilder() in testPrintToUnicodeString_unknown()
DDynamicMessageTest.java88 builder.setUnknownFields(UnknownFieldSet.newBuilder() in testUnknownFields()
89 .addField(1, UnknownFieldSet.Field.newBuilder().addVarint(1).build()) in testUnknownFields()
90 .addField(2, UnknownFieldSet.Field.newBuilder().addFixed32(1).build()) in testUnknownFields()
252 builder.setUnknownFields(UnknownFieldSet.newBuilder() in testToBuilder()
254 UnknownFieldSet.Field.newBuilder() in testToBuilder()
/external/protobuf/java/src/test/java/com/google/protobuf/
DUnknownFieldSetTest.java58 UnknownFieldSet.Field getField(String name) { in getField()
68 UnknownFieldSet.Builder bizarroFields = UnknownFieldSet.newBuilder(); in getBizarroData()
70 UnknownFieldSet.Field varintField = in getBizarroData()
71 UnknownFieldSet.Field.newBuilder().addVarint(1).build(); in getBizarroData()
72 UnknownFieldSet.Field fixed32Field = in getBizarroData()
73 UnknownFieldSet.Field.newBuilder().addFixed32(1).build(); in getBizarroData()
75 for (Map.Entry<Integer, UnknownFieldSet.Field> entry : in getBizarroData()
96 UnknownFieldSet unknownFields;
101 UnknownFieldSet.Field field = getField("optional_int32"); in testVarint()
108 UnknownFieldSet.Field field = getField("optional_fixed32"); in testFixed32()
[all …]
DTextFormatTest.java142 UnknownFieldSet.newBuilder() in testPrintUnknownFields()
144 UnknownFieldSet.Field.newBuilder() in testPrintUnknownFields()
150 UnknownFieldSet.newBuilder() in testPrintUnknownFields()
152 UnknownFieldSet.Field.newBuilder() in testPrintUnknownFields()
158 UnknownFieldSet.Field.newBuilder() in testPrintUnknownFields()
164 UnknownFieldSet.Field.newBuilder() in testPrintUnknownFields()
/external/protobuf/src/google/protobuf/
Dunknown_field_set.cc46 UnknownFieldSet::UnknownFieldSet() in UnknownFieldSet() function in google::protobuf::UnknownFieldSet
49 UnknownFieldSet::~UnknownFieldSet() { in ~UnknownFieldSet()
54 void UnknownFieldSet::ClearFallback() { in ClearFallback()
62 void UnknownFieldSet::MergeFrom(const UnknownFieldSet& other) { in MergeFrom()
68 int UnknownFieldSet::SpaceUsedExcludingSelf() const { in SpaceUsedExcludingSelf()
89 int UnknownFieldSet::SpaceUsed() const { in SpaceUsed()
93 void UnknownFieldSet::AddVarint(int number, uint64 value) { in AddVarint()
102 void UnknownFieldSet::AddFixed32(int number, uint32 value) { in AddFixed32()
111 void UnknownFieldSet::AddFixed64(int number, uint64 value) { in AddFixed64()
120 string* UnknownFieldSet::AddLengthDelimited(int number) { in AddLengthDelimited()
[all …]
Dunknown_field_set.h63 class LIBPROTOBUF_EXPORT UnknownFieldSet {
65 UnknownFieldSet();
66 ~UnknownFieldSet();
75 void MergeFrom(const UnknownFieldSet& other);
78 inline void Swap(UnknownFieldSet* x);
105 UnknownFieldSet* AddGroup(int number);
126 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(UnknownFieldSet);
153 inline const UnknownFieldSet& group() const;
160 inline UnknownFieldSet* mutable_group();
163 friend class UnknownFieldSet;
[all …]
Dwire_format.h59 class UnknownFieldSet; // unknown_field_set.h variable
133 UnknownFieldSet* unknown_fields);
138 UnknownFieldSet* unknown_fields);
141 static void SerializeUnknownFields(const UnknownFieldSet& unknown_fields,
149 const UnknownFieldSet& unknown_fields,
155 const UnknownFieldSet& unknown_fields,
163 const UnknownFieldSet& unknown_fields,
167 static int ComputeUnknownFieldsSize(const UnknownFieldSet& unknown_fields);
172 const UnknownFieldSet& unknown_fields);
247 UnknownFieldSetFieldSkipper(UnknownFieldSet* unknown_fields) in UnknownFieldSetFieldSkipper()
[all …]
Dtext_format.h66 static bool PrintUnknownFields(const UnknownFieldSet& unknown_fields,
73 static bool PrintUnknownFieldsToString(const UnknownFieldSet& unknown_fields,
95 bool PrintUnknownFields(const UnknownFieldSet& unknown_fields,
100 bool PrintUnknownFieldsToString(const UnknownFieldSet& unknown_fields,
178 void PrintUnknownFields(const UnknownFieldSet& unknown_fields,
Dunknown_field_set_unittest.cc84 UnknownFieldSet* bizarro_unknown_fields = in GetBizarroData()
107 UnknownFieldSet* unknown_fields_;
406 UnknownFieldSet* unknown_fields = empty_message.mutable_unknown_fields(); in TEST_F()
424 const UnknownFieldSet& unknown_fields = message.unknown_fields(); in TEST_F()
454 const UnknownFieldSet& unknown_fields = message.unknown_fields(); in TEST_F()
477 UnknownFieldSet* unknown_fields = empty_message.mutable_unknown_fields(); in TEST_F()
493 UnknownFieldSet* group = unknown_fields->AddGroup(1); in TEST_F()
502 UnknownFieldSet unknown_fields; in TEST_F()
Ddescriptor.pb.h164 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields()
168 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { in mutable_unknown_fields()
220 ::google::protobuf::UnknownFieldSet _unknown_fields_;
258 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields()
262 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { in mutable_unknown_fields()
393 ::google::protobuf::UnknownFieldSet _unknown_fields_;
440 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields()
444 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { in mutable_unknown_fields()
498 ::google::protobuf::UnknownFieldSet _unknown_fields_;
537 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields()
[all …]
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Dunknown_field_set.cc63 UnknownFieldSet::UnknownFieldSet() in UnknownFieldSet() function in google::protobuf::UnknownFieldSet
66 UnknownFieldSet::~UnknownFieldSet() { in ~UnknownFieldSet()
71 void UnknownFieldSet::ClearFallback() { in ClearFallback()
79 void UnknownFieldSet::ClearAndFreeMemory() { in ClearAndFreeMemory()
87 void UnknownFieldSet::MergeFrom(const UnknownFieldSet& other) { in MergeFrom()
93 int UnknownFieldSet::SpaceUsedExcludingSelf() const { in SpaceUsedExcludingSelf()
115 int UnknownFieldSet::SpaceUsed() const { in SpaceUsed()
119 void UnknownFieldSet::AddVarint(int number, uint64 value) { in AddVarint()
128 void UnknownFieldSet::AddFixed32(int number, uint32 value) { in AddFixed32()
137 void UnknownFieldSet::AddFixed64(int number, uint64 value) { in AddFixed64()
[all …]
Dunknown_field_set.h75 class LIBPROTOBUF_EXPORT UnknownFieldSet {
77 UnknownFieldSet();
78 ~UnknownFieldSet();
90 void MergeFrom(const UnknownFieldSet& other);
93 inline void Swap(UnknownFieldSet* x);
120 UnknownFieldSet* AddGroup(int number);
151 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(UnknownFieldSet);
178 inline const UnknownFieldSet& group() const;
185 inline UnknownFieldSet* mutable_group();
197 friend class UnknownFieldSet;
[all …]
Dwire_format_lite.h52 class UnknownFieldSet; variable
169 UnknownFieldSet *unknown_fields);
174 UnknownFieldSet* unknown_fields);
236 static void SerializeUnknownFields(const UnknownFieldSet& unknown_fields,
244 const UnknownFieldSet& unknown_fields,
250 const UnknownFieldSet& unknown_fields,
258 const UnknownFieldSet& unknown_fields,
262 static int ComputeUnknownFieldsSize(const UnknownFieldSet& unknown_fields);
267 const UnknownFieldSet& unknown_fields);
546 FieldSkipper(UnknownFieldSet* unknown_fields) in FieldSkipper()
[all …]
Dtext_format.h69 static bool PrintUnknownFields(const UnknownFieldSet& unknown_fields,
76 static bool PrintUnknownFieldsToString(const UnknownFieldSet& unknown_fields,
98 bool PrintUnknownFields(const UnknownFieldSet& unknown_fields,
103 bool PrintUnknownFieldsToString(const UnknownFieldSet& unknown_fields,
180 void PrintUnknownFields(const UnknownFieldSet& unknown_fields,
Dunknown_field_set_unittest.cc82 UnknownFieldSet* bizarro_unknown_fields = in GetBizarroData()
105 UnknownFieldSet* unknown_fields_;
415 UnknownFieldSet* unknown_fields = empty_message.mutable_unknown_fields(); in TEST_F()
433 const UnknownFieldSet& unknown_fields = message.unknown_fields(); in TEST_F()
463 const UnknownFieldSet& unknown_fields = message.unknown_fields(); in TEST_F()
486 UnknownFieldSet* unknown_fields = empty_message.mutable_unknown_fields(); in TEST_F()
502 UnknownFieldSet* group = unknown_fields->AddGroup(1); in TEST_F()
512 UnknownFieldSet unknown_fields; in TEST_F()
527 UnknownFieldSet unknown; in TEST_F()
549 UnknownFieldSet unknown_fields; in CheckDeleteByNumber()
Dwire_format_lite.cc131 UnknownFieldSet* unknown_fields) { in SkipField()
191 UnknownFieldSet* unknown_fields) { in SkipMessage()
210 void WireFormatLite::SerializeUnknownFields(const UnknownFieldSet& unknown_fields, in SerializeUnknownFields()
248 const UnknownFieldSet& unknown_fields, in SerializeUnknownFieldsToArray()
283 const UnknownFieldSet& unknown_fields, in SerializeUnknownMessageSetItems()
311 const UnknownFieldSet& unknown_fields, in SerializeUnknownMessageSetItemsToArray()
347 const UnknownFieldSet& unknown_fields) { in ComputeUnknownFieldsSize()
395 const UnknownFieldSet& unknown_fields) { in ComputeUnknownMessageSetItemsSize()
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
DUnknownFieldSet.java59 public final class UnknownFieldSet implements MessageLite { class
60 private UnknownFieldSet() {} in UnknownFieldSet() method in UnknownFieldSet
71 public static Builder newBuilder(final UnknownFieldSet copyFrom) { in newBuilder()
76 public static UnknownFieldSet getDefaultInstance() { in getDefaultInstance()
79 public UnknownFieldSet getDefaultInstanceForType() { in getDefaultInstanceForType()
82 private static final UnknownFieldSet defaultInstance =
83 new UnknownFieldSet(Collections.<Integer, Field>emptyMap());
89 private UnknownFieldSet(final Map<Integer, Field> fields) { in UnknownFieldSet() method in UnknownFieldSet
99 return (other instanceof UnknownFieldSet) && in equals()
100 fields.equals(((UnknownFieldSet) other).fields); in equals()
[all …]
DDynamicMessage.java50 private final UnknownFieldSet unknownFields;
57 UnknownFieldSet unknownFields) { in DynamicMessage()
69 UnknownFieldSet.getDefaultInstance()); in getDefaultInstance()
185 public UnknownFieldSet getUnknownFields() { in getUnknownFields()
281 private UnknownFieldSet unknownFields;
287 this.unknownFields = UnknownFieldSet.getDefaultInstance();
300 unknownFields = UnknownFieldSet.getDefaultInstance();
443 public UnknownFieldSet getUnknownFields() {
447 public Builder setUnknownFields(UnknownFieldSet unknownFields) {
453 public Builder mergeUnknownFields(UnknownFieldSet unknownFields) {
[all …]
DAbstractMessage.java126 final UnknownFieldSet unknownFields = getUnknownFields(); in writeTo()
160 final UnknownFieldSet unknownFields = getUnknownFields(); in getSerializedSize()
345 final UnknownFieldSet.Builder unknownFields = in mergeFrom()
346 UnknownFieldSet.newBuilder(getUnknownFields()); in mergeFrom()
440 UnknownFieldSet.Builder unknownFields, in mergeFieldFrom()
597 UnknownFieldSet.Builder unknownFields, in mergeMessageSetExtensionFromCodedStream()
674 unknownFields.mergeField(typeId, UnknownFieldSet.Field.newBuilder() in mergeMessageSetExtensionFromCodedStream()
751 public BuilderType mergeUnknownFields(final UnknownFieldSet unknownFields) { in mergeUnknownFields()
753 UnknownFieldSet.newBuilder(getUnknownFields()) in mergeUnknownFields()
/external/protobuf/java/src/main/java/com/google/protobuf/
DUnknownFieldSet.java59 public final class UnknownFieldSet implements MessageLite { class
60 private UnknownFieldSet() {} in UnknownFieldSet() method in UnknownFieldSet
71 public static Builder newBuilder(final UnknownFieldSet copyFrom) { in newBuilder()
76 public static UnknownFieldSet getDefaultInstance() { in getDefaultInstance()
79 public UnknownFieldSet getDefaultInstanceForType() { in getDefaultInstanceForType()
82 private static final UnknownFieldSet defaultInstance =
83 new UnknownFieldSet(Collections.<Integer, Field>emptyMap());
89 private UnknownFieldSet(final Map<Integer, Field> fields) { in UnknownFieldSet() method in UnknownFieldSet
99 return (other instanceof UnknownFieldSet) && in equals()
100 fields.equals(((UnknownFieldSet) other).fields); in equals()
[all …]
DDynamicMessage.java49 private final UnknownFieldSet unknownFields;
56 UnknownFieldSet unknownFields) { in DynamicMessage()
68 UnknownFieldSet.getDefaultInstance()); in getDefaultInstance()
182 public UnknownFieldSet getUnknownFields() { in getUnknownFields()
255 private UnknownFieldSet unknownFields;
261 this.unknownFields = UnknownFieldSet.getDefaultInstance(); in Builder()
413 public UnknownFieldSet getUnknownFields() { in getUnknownFields()
417 public Builder setUnknownFields(UnknownFieldSet unknownFields) { in setUnknownFields()
422 public Builder mergeUnknownFields(UnknownFieldSet unknownFields) { in mergeUnknownFields()
424 UnknownFieldSet.newBuilder(this.unknownFields) in mergeUnknownFields()
DMessage.java113 UnknownFieldSet getUnknownFields(); in getUnknownFields()
266 UnknownFieldSet getUnknownFields(); in getUnknownFields()
269 Builder setUnknownFields(UnknownFieldSet unknownFields); in setUnknownFields()
275 Builder mergeUnknownFields(UnknownFieldSet unknownFields); in mergeUnknownFields()
DAbstractMessage.java105 final UnknownFieldSet unknownFields = getUnknownFields(); in writeTo()
139 final UnknownFieldSet unknownFields = getUnknownFields(); in getSerializedSize()
252 final UnknownFieldSet.Builder unknownFields = in mergeFrom()
253 UnknownFieldSet.newBuilder(getUnknownFields()); in mergeFrom()
280 final UnknownFieldSet.Builder unknownFields, in mergeFieldFrom()
430 final UnknownFieldSet.Builder unknownFields, in mergeMessageSetExtensionFromCodedStream()
498 UnknownFieldSet.Field.newBuilder() in mergeMessageSetExtensionFromCodedStream()
513 UnknownFieldSet.Field.newBuilder() in mergeMessageSetExtensionFromCodedStream()
536 public BuilderType mergeUnknownFields(final UnknownFieldSet unknownFields) { in mergeUnknownFields()
538 UnknownFieldSet.newBuilder(getUnknownFields()) in mergeUnknownFields()
/external/protobuf/src/google/protobuf/compiler/
Dplugin.pb.h56 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields()
60 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { in mutable_unknown_fields()
138 ::google::protobuf::UnknownFieldSet _unknown_fields_;
179 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields()
183 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { in mutable_unknown_fields()
253 ::google::protobuf::UnknownFieldSet _unknown_fields_;
296 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields()
300 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { in mutable_unknown_fields()
364 ::google::protobuf::UnknownFieldSet _unknown_fields_;

123