/external/protobuf/java/src/test/java/com/google/protobuf/ |
UnknownFieldSetTest.java | 58 UnknownFieldSet.Field getField(String name) { 68 UnknownFieldSet.Builder bizarroFields = UnknownFieldSet.newBuilder(); 70 UnknownFieldSet.Field varintField = 71 UnknownFieldSet.Field.newBuilder().addVarint(1).build(); 72 UnknownFieldSet.Field fixed32Field = 73 UnknownFieldSet.Field.newBuilder().addFixed32(1).build(); 75 for (Map.Entry<Integer, UnknownFieldSet.Field> entry : 96 UnknownFieldSet unknownFields; 101 UnknownFieldSet.Field field = getField("optional_int32") [all...] |
TextFormatTest.java | 142 UnknownFieldSet.newBuilder() 144 UnknownFieldSet.Field.newBuilder() 150 UnknownFieldSet.newBuilder() 152 UnknownFieldSet.Field.newBuilder() 158 UnknownFieldSet.Field.newBuilder() 164 UnknownFieldSet.Field.newBuilder()
|
WireFormatTest.java | 342 UnknownFieldSet.newBuilder() 344 UnknownFieldSet.Field.newBuilder() 419 UnknownFieldSet unknownFields = messageSet.getUnknownFields(); 423 UnknownFieldSet.Field field = unknownFields.getField(UNKNOWN_TYPE_ID);
|
DynamicMessageTest.java | 214 builder.setUnknownFields(UnknownFieldSet.newBuilder() 216 UnknownFieldSet.Field.newBuilder()
|
AbstractMessageTest.java | 90 public UnknownFieldSet getUnknownFields() { 163 public UnknownFieldSet getUnknownFields() { 166 public Builder setUnknownFields(UnknownFieldSet unknownFields) { 407 // is an {@link UnknownFieldSet.Field}.
|
CodedInputStreamTest.java | 301 UnknownFieldSet.Builder unknownFields = UnknownFieldSet.newBuilder();
|
/external/protobuf/src/google/protobuf/ |
unknown_field_set.h | 51 // An UnknownFieldSet contains fields that were encountered while parsing a 58 // To get the UnknownFieldSet attached to any message, call 63 class LIBPROTOBUF_EXPORT UnknownFieldSet { 65 UnknownFieldSet(); 66 ~UnknownFieldSet(); 74 // Merge the contents of some other UnknownFieldSet with this one. 75 void MergeFrom(const UnknownFieldSet& other); 77 // Swaps the contents of some other UnknownFieldSet with this one. 78 inline void Swap(UnknownFieldSet* x); 88 // Returns the number of fields present in the UnknownFieldSet [all...] |
unknown_field_set.cc | 46 UnknownFieldSet::UnknownFieldSet() 49 UnknownFieldSet::~UnknownFieldSet() { 54 void UnknownFieldSet::ClearFallback() { 62 void UnknownFieldSet::MergeFrom(const UnknownFieldSet& other) { 68 int UnknownFieldSet::SpaceUsedExcludingSelf() const { 89 int UnknownFieldSet::SpaceUsed() const { 93 void UnknownFieldSet::AddVarint(int number, uint64 value) [all...] |
wire_format.h | 59 class UnknownFieldSet; // unknown_field_set.h 133 UnknownFieldSet* unknown_fields); 138 UnknownFieldSet* unknown_fields); 140 // Write the contents of an UnknownFieldSet to the output. 141 static void SerializeUnknownFields(const UnknownFieldSet& unknown_fields, 149 const UnknownFieldSet& unknown_fields, 155 const UnknownFieldSet& unknown_fields, 163 const UnknownFieldSet& unknown_fields, 166 // Compute the size of the UnknownFieldSet on the wire. 167 static int ComputeUnknownFieldsSize(const UnknownFieldSet& unknown_fields) [all...] |
text_format.h | 63 // Print the fields in an UnknownFieldSet. They are printed by tag number 66 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, 175 // Print the fields in an UnknownFieldSet. They are printed by tag number 178 void PrintUnknownFields(const UnknownFieldSet& unknown_fields,
|
descriptor.pb.h | 164 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 168 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 220 ::google::protobuf::UnknownFieldSet _unknown_fields_; 258 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 262 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 393 ::google::protobuf::UnknownFieldSet _unknown_fields_; 440 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 444 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 498 ::google::protobuf::UnknownFieldSet _unknown_fields_; 537 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const [all...] |
unknown_field_set_unittest.cc | 35 // This test is testing a lot more than just the UnknownFieldSet class. It 84 UnknownFieldSet* bizarro_unknown_fields = 107 UnknownFieldSet* unknown_fields_; 205 // Check that serializing the UnknownFieldSet produces the original data 217 // Make sure fields are properly parsed to the UnknownFieldSet when parsing 230 // Make sure fields are properly written from the UnknownFieldSet when 354 // Make sure fields are properly parsed to the UnknownFieldSet even when 406 UnknownFieldSet* unknown_fields = empty_message.mutable_unknown_fields(); 424 const UnknownFieldSet& unknown_fields = message.unknown_fields(); 454 const UnknownFieldSet& unknown_fields = message.unknown_fields() [all...] |
message.h | 164 class UnknownFieldSet; // unknown_field_set.h 227 // the tag and value are stored in the message's UnknownFieldSet and 385 // Get the UnknownFieldSet for the message. This contains fields which 388 virtual const UnknownFieldSet& GetUnknownFields( 390 // Get a mutable pointer to the UnknownFieldSet for the message. This 393 virtual UnknownFieldSet* MutableUnknownFields(Message* message) const = 0; [all...] |
dynamic_message.cc | 236 new(OffsetToPointer(type_info_->unknown_fields_offset)) UnknownFieldSet; 308 reinterpret_cast<UnknownFieldSet*>( 309 OffsetToPointer(type_info_->unknown_fields_offset))->~UnknownFieldSet(); 522 // Add the UnknownFieldSet to the end. 525 size += sizeof(UnknownFieldSet);
|
wire_format.cc | 83 UnknownFieldSet* unknown_fields) { 143 UnknownFieldSet* unknown_fields) { 162 void WireFormat::SerializeUnknownFields(const UnknownFieldSet& unknown_fields, 200 const UnknownFieldSet& unknown_fields, 235 const UnknownFieldSet& unknown_fields, 263 const UnknownFieldSet& unknown_fields, 299 const UnknownFieldSet& unknown_fields) { 347 const UnknownFieldSet& unknown_fields) { 558 // UnknownFieldSet. [all...] |
generated_message_reflection.h | 111 // unknown_fields_offset: Offset in the message of the UnknownFieldSet for 135 const UnknownFieldSet& GetUnknownFields(const Message& message) const; 136 UnknownFieldSet* MutableUnknownFields(Message* message) const;
|
text_format.cc | 868 const UnknownFieldSet& unknown_fields, 888 const UnknownFieldSet& unknown_fields, [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
UnknownFieldSet.java | 46 * {@code UnknownFieldSet} is used to keep track of fields which were seen when 52 * <p>Every {@link Message} contains an {@code UnknownFieldSet} (and every 59 public final class UnknownFieldSet implements MessageLite { 60 private UnknownFieldSet() {} 71 public static Builder newBuilder(final UnknownFieldSet copyFrom) { 75 /** Get an empty {@code UnknownFieldSet}. */ 76 public static UnknownFieldSet getDefaultInstance() { 79 public UnknownFieldSet getDefaultInstanceForType() { 82 private static final UnknownFieldSet defaultInstance = 83 new UnknownFieldSet(Collections.<Integer, Field>emptyMap()) [all...] |
Message.java | 112 /** Get the {@link UnknownFieldSet} for this message. */ 113 UnknownFieldSet getUnknownFields(); 265 /** Get the {@link UnknownFieldSet} for this message. */ 266 UnknownFieldSet getUnknownFields(); 268 /** Set the {@link UnknownFieldSet} for this message. */ 269 Builder setUnknownFields(UnknownFieldSet unknownFields); 272 * Merge some unknown fields into the {@link UnknownFieldSet} for this 275 Builder mergeUnknownFields(UnknownFieldSet unknownFields);
|
DynamicMessage.java | 49 private final UnknownFieldSet unknownFields; 56 UnknownFieldSet unknownFields) { 68 UnknownFieldSet.getDefaultInstance()); 182 public UnknownFieldSet getUnknownFields() { 255 private UnknownFieldSet unknownFields; 261 this.unknownFields = UnknownFieldSet.getDefaultInstance(); 413 public UnknownFieldSet getUnknownFields() { 417 public Builder setUnknownFields(UnknownFieldSet unknownFields) { 422 public Builder mergeUnknownFields(UnknownFieldSet unknownFields) { 424 UnknownFieldSet.newBuilder(this.unknownFields [all...] |
AbstractMessage.java | 105 final UnknownFieldSet unknownFields = getUnknownFields(); 139 final UnknownFieldSet unknownFields = getUnknownFields(); 252 final UnknownFieldSet.Builder unknownFields = 253 UnknownFieldSet.newBuilder(getUnknownFields()); 271 * Like {@link #mergeFrom(CodedInputStream, UnknownFieldSet.Builder, 280 final UnknownFieldSet.Builder unknownFields, 430 final UnknownFieldSet.Builder unknownFields, 498 UnknownFieldSet.Field.newBuilder() 513 UnknownFieldSet.Field.newBuilder() 536 public BuilderType mergeUnknownFields(final UnknownFieldSet unknownFields) [all...] |
TextFormat.java | 71 public static void print(final UnknownFieldSet fields, 98 public static String printToString(final UnknownFieldSet fields) { 248 private static void printUnknownFields(final UnknownFieldSet unknownFields, 251 for (final Map.Entry<Integer, UnknownFieldSet.Field> entry : 254 final UnknownFieldSet.Field field = entry.getValue(); 280 for (final UnknownFieldSet value : field.getGroupList()) { [all...] |
GeneratedMessage.java | 58 private UnknownFieldSet unknownFields = UnknownFieldSet.getDefaultInstance(); 143 public final UnknownFieldSet getUnknownFields() { 237 public final UnknownFieldSet getUnknownFields() { 242 final UnknownFieldSet unknownFields) { 249 final UnknownFieldSet unknownFields) { 252 UnknownFieldSet.newBuilder(result.unknownFields) 268 final UnknownFieldSet.Builder unknownFields, 652 final UnknownFieldSet.Builder unknownFields, [all...] |
/external/protobuf/src/google/protobuf/compiler/ |
plugin.pb.h | 56 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 60 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 138 ::google::protobuf::UnknownFieldSet _unknown_fields_; 179 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 183 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 253 ::google::protobuf::UnknownFieldSet _unknown_fields_; 296 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 300 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 364 ::google::protobuf::UnknownFieldSet _unknown_fields_;
|
/hardware/ril/mock-ril/src/cpp/ |
msgheader.pb.h | 51 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 55 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 123 ::google::protobuf::UnknownFieldSet _unknown_fields_;
|