Home
last modified time | relevance | path

Searched refs:UnknownFieldSetLite (Results 1 – 12 of 12) sorted by relevance

/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DUnknownFieldSetLiteSchema.java36 extends UnknownFieldSchema<UnknownFieldSetLite, UnknownFieldSetLite> {
47 UnknownFieldSetLite newBuilder() { in newBuilder()
48 return UnknownFieldSetLite.newInstance(); in newBuilder()
52 void addVarint(UnknownFieldSetLite fields, int number, long value) { in addVarint()
57 void addFixed32(UnknownFieldSetLite fields, int number, int value) { in addFixed32()
62 void addFixed64(UnknownFieldSetLite fields, int number, long value) { in addFixed64()
67 void addLengthDelimited(UnknownFieldSetLite fields, int number, ByteString value) { in addLengthDelimited()
72 void addGroup(UnknownFieldSetLite fields, int number, UnknownFieldSetLite subFieldSet) { in addGroup()
77 UnknownFieldSetLite toImmutable(UnknownFieldSetLite fields) { in toImmutable()
83 void setToMessage(Object message, UnknownFieldSetLite fields) { in setToMessage()
[all …]
DUnknownFieldSetLite.java46 public final class UnknownFieldSetLite { class
52 private static final UnknownFieldSetLite DEFAULT_INSTANCE =
53 new UnknownFieldSetLite(0, new int[0], new Object[0], /* isMutable= */ false);
60 public static UnknownFieldSetLite getDefaultInstance() { in getDefaultInstance()
65 static UnknownFieldSetLite newInstance() { in newInstance()
66 return new UnknownFieldSetLite(); in newInstance()
73 static UnknownFieldSetLite mutableCopyOf(UnknownFieldSetLite first, UnknownFieldSetLite second) { in mutableCopyOf()
79 return new UnknownFieldSetLite(count, tags, objects, /* isMutable= */ true); in mutableCopyOf()
98 private UnknownFieldSetLite() { in UnknownFieldSetLite() method in UnknownFieldSetLite
103 private UnknownFieldSetLite(int count, int[] tags, Object[] objects, boolean isMutable) { in UnknownFieldSetLite() method in UnknownFieldSetLite
[all …]
DArrayDecoders.java751 UnknownFieldSchema<UnknownFieldSetLite, UnknownFieldSetLite> unknownFieldSchema, in decodeExtensionOrUnknownField() argument
775 UnknownFieldSchema<UnknownFieldSetLite, UnknownFieldSetLite> unknownFieldSchema, in decodeExtension() argument
853 UnknownFieldSetLite unknownFields = message.unknownFields; in decodeExtension()
854 if (unknownFields == UnknownFieldSetLite.getDefaultInstance()) { in decodeExtension()
881 UnknownFieldSetLite unknownFields = ((GeneratedMessageLite) message).unknownFields; in decodeExtension()
882 if (unknownFields == UnknownFieldSetLite.getDefaultInstance()) { in decodeExtension()
883 unknownFields = UnknownFieldSetLite.newInstance(); in decodeExtension()
988 UnknownFieldSetLite unknownFields, in decodeUnknownField()
1019 final UnknownFieldSetLite child = UnknownFieldSetLite.newInstance(); in decodeUnknownField()
DMessageSetSchema.java135 UnknownFieldSetLite unknownFields = ((GeneratedMessageLite) message).unknownFields; in mergeFrom()
136 if (unknownFields == UnknownFieldSetLite.getDefaultInstance()) { in mergeFrom()
137 unknownFields = UnknownFieldSetLite.newInstance(); in mergeFrom()
DGeneratedMessageLite.java66 protected UnknownFieldSetLite unknownFields = UnknownFieldSetLite.getDefaultInstance();
141 if (unknownFields == UnknownFieldSetLite.getDefaultInstance()) { in ensureUnknownFieldsInitialized()
142 unknownFields = UnknownFieldSetLite.newInstance(); in ensureUnknownFieldsInitialized()
331 protected final void mergeUnknownFields(UnknownFieldSetLite unknownFields) { in mergeUnknownFields()
332 this.unknownFields = UnknownFieldSetLite.mutableCopyOf(this.unknownFields, unknownFields); in mergeUnknownFields()
DMessageSchema.java4343 static UnknownFieldSetLite getMutableUnknownFields(Object message) { in getMutableUnknownFields()
4344 UnknownFieldSetLite unknownFields = ((GeneratedMessageLite) message).unknownFields; in getMutableUnknownFields()
4345 if (unknownFields == UnknownFieldSetLite.getDefaultInstance()) { in getMutableUnknownFields()
4346 unknownFields = UnknownFieldSetLite.newInstance(); in getMutableUnknownFields()
4604 UnknownFieldSetLite unknownFields = ((GeneratedMessageLite) message).unknownFields; in parseRepeatedField()
4605 if (unknownFields == UnknownFieldSetLite.getDefaultInstance()) { in parseRepeatedField()
4618 (UnknownFieldSchema<UnknownFieldSetLite, UnknownFieldSetLite>) unknownFieldSchema); in parseRepeatedField()
5149 (UnknownFieldSchema<UnknownFieldSetLite, UnknownFieldSetLite>) unknownFieldSchema, in parseProto2Message()
5159 UnknownFieldSetLite unknownFields = null; in parseProto2Message()
5166 (UnknownFieldSchema<UnknownFieldSetLite, UnknownFieldSetLite>) unknownFieldSchema); in parseProto2Message()
[all …]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DArrayDecodersTest.java166 UnknownFieldSetLite.newInstance(), in testException_decodeUnknownField()
180 TAG, badBytes, 0, badBytes.length, UnknownFieldSetLite.newInstance(), registers); in testException_decodeHugeField()
DProto2ExtensionLookupSchemaTest.java83 UnknownFieldSetLite unknowns = UnknownFieldSetLite.newInstance(); in testUnknownEnum()
DAbstractProto2LiteSchemaTest.java142 UnknownFieldSetLite unknowns = UnknownFieldSetLite.newInstance(); in unknownEnum()
DAbstractProto2SchemaTest.java137 UnknownFieldSetLite unknowns = UnknownFieldSetLite.newInstance(); in unknownEnum()
/third_party/protobuf/java/core/
DBUILD85 "src/main/java/com/google/protobuf/UnknownFieldSetLite.java",
/third_party/protobuf/
DMakefile.am394 java/core/src/main/java/com/google/protobuf/UnknownFieldSetLite.java \