Home
last modified time | relevance | path

Searched refs:JavaType (Results 1 – 24 of 24) sorted by relevance

/external/protobuf/java/src/main/java/com/google/protobuf/
DWireFormat.java77 public enum JavaType { enum in WireFormat
88 JavaType(final Object defaultDefault) { in JavaType() method in WireFormat.JavaType
108 DOUBLE (JavaType.DOUBLE , WIRETYPE_FIXED64 ),
109 FLOAT (JavaType.FLOAT , WIRETYPE_FIXED32 ),
110 INT64 (JavaType.LONG , WIRETYPE_VARINT ),
111 UINT64 (JavaType.LONG , WIRETYPE_VARINT ),
112 INT32 (JavaType.INT , WIRETYPE_VARINT ),
113 FIXED64 (JavaType.LONG , WIRETYPE_FIXED64 ),
114 FIXED32 (JavaType.INT , WIRETYPE_FIXED32 ),
115 BOOL (JavaType.BOOLEAN , WIRETYPE_VARINT ),
[all …]
DDescriptors.java851 public JavaType getJavaType() { return type.getJavaType(); } in getJavaType()
854 public WireFormat.JavaType getLiteJavaType() { in getLiteJavaType()
914 if (getJavaType() == JavaType.MESSAGE) { in getDefaultValue()
969 if (getJavaType() != JavaType.MESSAGE) { in getMessageType()
978 if (getJavaType() != JavaType.ENUM) { in getEnumType()
1020 DOUBLE (JavaType.DOUBLE ),
1021 FLOAT (JavaType.FLOAT ),
1022 INT64 (JavaType.LONG ),
1023 UINT64 (JavaType.LONG ),
1024 INT32 (JavaType.INT ),
[all …]
DGeneratedMessage.java133 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in isInitialized()
459 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in isInitialized()
654 FieldDescriptor.JavaType.MESSAGE) { in getExtension()
734 WireFormat.JavaType.MESSAGE && in writeUntil()
807 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in getField()
971 FieldDescriptor.JavaType.MESSAGE) { in getExtension()
1092 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in getField()
1453 if (descriptor.getJavaType() == FieldDescriptor.JavaType.MESSAGE ||
1454 descriptor.getJavaType() == FieldDescriptor.JavaType.ENUM) {
1502 if (descriptor.getJavaType() == FieldDescriptor.JavaType.ENUM) {
[all …]
DExtensionRegistry.java248 FieldDescriptor.JavaType.MESSAGE) { in newExtensionInfo()
263 if (type.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in add()
275 if (type.getJavaType() != FieldDescriptor.JavaType.MESSAGE) { in add()
DGeneratedMessageLite.java291 WireFormat.JavaType.MESSAGE && in writeUntil()
701 public WireFormat.JavaType getLiteJavaType() { in getLiteJavaType()
845 if (descriptor.getLiteJavaType() == WireFormat.JavaType.ENUM) { in fromFieldSetType()
860 if (descriptor.getLiteJavaType() == WireFormat.JavaType.ENUM) { in singularFromFieldSetType()
870 if (descriptor.getLiteJavaType() == WireFormat.JavaType.ENUM) { in toFieldSetType()
885 if (descriptor.getLiteJavaType() == WireFormat.JavaType.ENUM) { in singularToFieldSetType()
DFieldSet.java60 WireFormat.JavaType getLiteJavaType(); in getLiteJavaType()
436 if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE) { in isInitialized()
519 } else if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE) { in mergeFromField()
627 if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE && in writeMessageSetTo()
786 if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE in getMessageSetSerializedSize()
DDynamicMessage.java196 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in getField()
433 if (field.getJavaType() != FieldDescriptor.JavaType.MESSAGE) {
475 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
DMessageReflection.java141 if (field.getJavaType() == Descriptors.FieldDescriptor.JavaType.MESSAGE) { in isInitialized()
195 if (field.getJavaType() == Descriptors.FieldDescriptor.JavaType.MESSAGE) { in findMissingFields()
713 == Descriptors.FieldDescriptor.JavaType.MESSAGE) { in mergeFieldFrom()
DTextFormat.java342 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in printSingleField()
355 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in printSingleField()
1402 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in mergeField()
1436 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in consumeFieldValue()
DAbstractMessage.java294 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in mergeFrom()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_helpers.h118 enum JavaType { enum
130 JavaType GetJavaType(FieldDescriptor::Type field_type);
132 inline JavaType GetJavaType(const FieldDescriptor* field) { in GetJavaType()
136 string PrimitiveTypeName(JavaType type);
141 string BoxedPrimitiveTypeName(JavaType type);
Djavanano_primitive_field.cc57 bool IsReferenceType(JavaType type) { in IsReferenceType()
77 bool IsArrayType(JavaType type) { in IsArrayType()
160 bool IsVariableLenType(JavaType type) { in IsVariableLenType()
291 JavaType java_type = GetJavaType(descriptor_); in GenerateMembers()
310 JavaType java_type = GetJavaType(descriptor_); in GenerateClearCode()
329 JavaType java_type = GetJavaType(descriptor_); in GenerateMergingCode()
363 JavaType java_type = GetJavaType(descriptor_); in GenerateSerializationConditional()
403 JavaType java_type = GetJavaType(descriptor_); in GenerateWriteCode()
429 JavaType java_type = GetJavaType(descriptor_); in GenerateComputeSizeCode()
455 JavaType java_type = GetJavaType(descriptor_); in GenerateEqualsCode()
[all …]
Djavanano_helpers.cc283 JavaType GetJavaType(FieldDescriptor::Type field_type) { in GetJavaType()
329 string PrimitiveTypeName(JavaType type) { in PrimitiveTypeName()
349 string BoxedPrimitiveTypeName(JavaType type) { in BoxedPrimitiveTypeName()
Djavanano_field.cc96 JavaType java_type = GetJavaType(field); in MakeGenerator()
Djavanano_extension.cc87 JavaType java_type = GetJavaType(descriptor->type()); in SetVariables()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_helpers.h108 enum JavaType { enum
120 JavaType GetJavaType(FieldDescriptor::Type field_type);
122 inline JavaType GetJavaType(const FieldDescriptor* field) { in GetJavaType()
129 const char* BoxedPrimitiveTypeName(JavaType type);
Djavamicro_primitive_field.cc55 const char* PrimitiveTypeName(JavaType type) { in PrimitiveTypeName()
75 bool IsReferenceType(JavaType type) { in IsReferenceType()
158 bool IsVariableLenType(JavaType type) { in IsVariableLenType()
Djavamicro_helpers.cc200 JavaType GetJavaType(FieldDescriptor::Type field_type) { in GetJavaType()
246 const char* BoxedPrimitiveTypeName(JavaType type) { in BoxedPrimitiveTypeName()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.h138 enum JavaType { enum
150 JavaType GetJavaType(const FieldDescriptor* field);
155 const char* BoxedPrimitiveTypeName(JavaType type);
276 bool IsReferenceType(JavaType type);
Djava_helpers.cc263 JavaType GetJavaType(const FieldDescriptor* field) { in GetJavaType()
309 const char* BoxedPrimitiveTypeName(JavaType type) { in BoxedPrimitiveTypeName()
582 bool IsReferenceType(JavaType type) { in IsReferenceType()
Djava_extension.cc84 JavaType java_type = GetJavaType(descriptor); in InitTemplateVars()
Djava_primitive_field.cc58 const char* PrimitiveTypeName(JavaType type) { in PrimitiveTypeName()
257 JavaType type = GetJavaType(descriptor_); in GenerateBuilderMembers()
/external/protobuf/java/src/test/java/com/google/protobuf/
DDescriptorsTest.java218 assertEquals(FieldDescriptor.JavaType.INT, primitiveField.getJavaType()); in testFieldDescriptor()
226 assertEquals(FieldDescriptor.JavaType.ENUM, enumField.getJavaType()); in testFieldDescriptor()
232 assertEquals(FieldDescriptor.JavaType.MESSAGE, messageField.getJavaType()); in testFieldDescriptor()
237 assertEquals(FieldDescriptor.JavaType.STRING, cordField.getJavaType()); in testFieldDescriptor()
249 assertEquals(FieldDescriptor.JavaType.INT, extension.getJavaType()); in testFieldDescriptor()
423 FieldDescriptor.JavaType[] values1 = FieldDescriptor.JavaType.values(); in testJavaTypeTablesMatch()
424 WireFormat.JavaType[] values2 = WireFormat.JavaType.values(); in testJavaTypeTablesMatch()
/external/google-tv-pairing-protocol/java/jar/
Dprotobuf-java-2.2.0-lite.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...