Home
last modified time | relevance | path

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

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DWireFormat.java79 public enum JavaType { enum in WireFormat
90 JavaType(final Object defaultDefault) { in JavaType() method in WireFormat.JavaType
110 DOUBLE (JavaType.DOUBLE , WIRETYPE_FIXED64 ),
111 FLOAT (JavaType.FLOAT , WIRETYPE_FIXED32 ),
112 INT64 (JavaType.LONG , WIRETYPE_VARINT ),
113 UINT64 (JavaType.LONG , WIRETYPE_VARINT ),
114 INT32 (JavaType.INT , WIRETYPE_VARINT ),
115 FIXED64 (JavaType.LONG , WIRETYPE_FIXED64 ),
116 FIXED32 (JavaType.INT , WIRETYPE_FIXED32 ),
117 BOOL (JavaType.BOOLEAN , WIRETYPE_VARINT ),
[all …]
DDescriptors.java941 public JavaType getJavaType() { return type.getJavaType(); } in getJavaType()
945 public WireFormat.JavaType getLiteJavaType() { in getLiteJavaType()
1035 if (getJavaType() == JavaType.MESSAGE) { in getDefaultValue()
1090 if (getJavaType() != JavaType.MESSAGE) { in getMessageType()
1100 if (getJavaType() != JavaType.ENUM) { in getEnumType()
1149 DOUBLE (JavaType.DOUBLE ),
1150 FLOAT (JavaType.FLOAT ),
1151 INT64 (JavaType.LONG ),
1152 UINT64 (JavaType.LONG ),
1153 INT32 (JavaType.INT ),
[all …]
DExtensionRegistry.java253 FieldDescriptor.JavaType.MESSAGE) { in newExtensionInfo()
268 if (type.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in add()
280 if (type.getJavaType() != FieldDescriptor.JavaType.MESSAGE) { in add()
DGeneratedMessage.java156 if (getBytesForString && field.getJavaType() == FieldDescriptor.JavaType.STRING) { in getAllFieldsMutable()
175 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in isInitialized()
631 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
888 FieldDescriptor.JavaType.MESSAGE) {
1016 WireFormat.JavaType.MESSAGE &&
1100 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
1267 FieldDescriptor.JavaType.MESSAGE) {
1486 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
1853 if (descriptor.getJavaType() == FieldDescriptor.JavaType.MESSAGE ||
1854 descriptor.getJavaType() == FieldDescriptor.JavaType.ENUM) {
[all …]
DDynamicMessage.java203 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in getField()
453 if (field.getJavaType() != FieldDescriptor.JavaType.MESSAGE) {
500 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
531 && field.getJavaType() != FieldDescriptor.JavaType.MESSAGE
DFieldSet.java60 WireFormat.JavaType getLiteJavaType(); in getLiteJavaType()
455 if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE) { in isInitialized()
538 } else if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE) { in mergeFromField()
617 if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE && in writeMessageSetTo()
783 if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE in getMessageSetSerializedSize()
DGeneratedMessageV3.java157 if (getBytesForString && field.getJavaType() == FieldDescriptor.JavaType.STRING) { in getAllFieldsMutable()
176 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in isInitialized()
632 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
889 FieldDescriptor.JavaType.MESSAGE) {
1017 WireFormat.JavaType.MESSAGE &&
1101 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
1268 FieldDescriptor.JavaType.MESSAGE) {
1487 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
1752 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
1760 } else if (field.getJavaType() == FieldDescriptor.JavaType.ENUM) {
[all …]
DMapEntry.java321 || field.getJavaType() != FieldDescriptor.JavaType.MESSAGE) { in newBuilderForField()
435 if (metadata.valueType.getJavaType() == WireFormat.JavaType.MESSAGE) { in isInitialized()
DMessageReflection.java144 if (field.getJavaType() == Descriptors.FieldDescriptor.JavaType.MESSAGE) { in isInitialized()
198 if (field.getJavaType() == Descriptors.FieldDescriptor.JavaType.MESSAGE) { in findMissingFields()
762 == Descriptors.FieldDescriptor.JavaType.MESSAGE) { in mergeFieldFrom()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/
Djavanano_helpers.h120 enum JavaType { enum
132 JavaType GetJavaType(FieldDescriptor::Type field_type);
134 inline JavaType GetJavaType(const FieldDescriptor* field) { in GetJavaType()
138 string PrimitiveTypeName(JavaType type);
143 string BoxedPrimitiveTypeName(JavaType type);
Djavanano_primitive_field.cc57 bool IsReferenceType(JavaType type) { in IsReferenceType()
77 bool IsArrayType(JavaType type) { in IsArrayType()
317 JavaType java_type = GetJavaType(descriptor_); in GenerateSerializationConditional()
381 JavaType java_type = GetJavaType(descriptor_); in GenerateEqualsCode()
458 JavaType java_type = GetJavaType(descriptor_); in GenerateHashCodeCode()
Djavanano_helpers.cc297 JavaType GetJavaType(FieldDescriptor::Type field_type) { in GetJavaType()
343 string PrimitiveTypeName(JavaType type) { in PrimitiveTypeName()
363 string BoxedPrimitiveTypeName(JavaType type) { in BoxedPrimitiveTypeName()
Djavanano_extension.cc87 JavaType java_type = GetJavaType(descriptor->type()); in SetVariables()
Djavanano_field.cc97 JavaType java_type = GetJavaType(field); in MakeGenerator()
Djavanano_map_field.cc47 JavaType java_type = GetJavaType(field); in TypeName()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/
Djava_helpers.h183 enum JavaType { enum
195 JavaType GetJavaType(const FieldDescriptor* field);
197 const char* PrimitiveTypeName(JavaType type);
202 const char* BoxedPrimitiveTypeName(JavaType type);
303 bool IsReferenceType(JavaType type);
Djava_helpers.cc277 JavaType GetJavaType(const FieldDescriptor* field) { in GetJavaType()
323 const char* PrimitiveTypeName(JavaType type) { in PrimitiveTypeName()
343 const char* BoxedPrimitiveTypeName(JavaType type) { in BoxedPrimitiveTypeName()
621 bool IsReferenceType(JavaType type) { in IsReferenceType()
Djava_extension.cc84 JavaType java_type = GetJavaType(descriptor); in InitTemplateVars()
Djava_map_field.cc91 const JavaType keyJavaType = GetJavaType(key); in SetMessageVariables()
92 const JavaType valueJavaType = GetJavaType(value); in SetMessageVariables()
Djava_map_field_lite.cc91 const JavaType keyJavaType = GetJavaType(key); in SetMessageVariables()
92 const JavaType valueJavaType = GetJavaType(value); in SetMessageVariables()
Djava_primitive_field_lite.cc66 JavaType javaType = GetJavaType(descriptor); in SetPrimitiveVariables()
246 JavaType type = GetJavaType(descriptor_); in GenerateMembers()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDescriptorsTest.java215 assertEquals(FieldDescriptor.JavaType.INT, primitiveField.getJavaType()); in testFieldDescriptor()
223 assertEquals(FieldDescriptor.JavaType.ENUM, enumField.getJavaType()); in testFieldDescriptor()
229 assertEquals(FieldDescriptor.JavaType.MESSAGE, messageField.getJavaType()); in testFieldDescriptor()
234 assertEquals(FieldDescriptor.JavaType.STRING, cordField.getJavaType()); in testFieldDescriptor()
246 assertEquals(FieldDescriptor.JavaType.INT, extension.getJavaType()); in testFieldDescriptor()
416 FieldDescriptor.JavaType[] values1 = FieldDescriptor.JavaType.values(); in testJavaTypeTablesMatch()
417 WireFormat.JavaType[] values2 = WireFormat.JavaType.values(); in testJavaTypeTablesMatch()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java216 assertEquals(FieldDescriptor.JavaType.INT, primitiveField.getJavaType()); in testFieldDescriptor()
224 assertEquals(FieldDescriptor.JavaType.ENUM, enumField.getJavaType()); in testFieldDescriptor()
230 assertEquals(FieldDescriptor.JavaType.MESSAGE, messageField.getJavaType()); in testFieldDescriptor()
235 assertEquals(FieldDescriptor.JavaType.STRING, cordField.getJavaType()); in testFieldDescriptor()
247 assertEquals(FieldDescriptor.JavaType.INT, extension.getJavaType()); in testFieldDescriptor()
438 FieldDescriptor.JavaType[] values1 = FieldDescriptor.JavaType.values(); in testJavaTypeTablesMatch()
439 WireFormat.JavaType[] values2 = WireFormat.JavaType.values(); in testJavaTypeTablesMatch()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DFieldMaskTree.java234 if (field.isRepeated() || field.getJavaType() != FieldDescriptor.JavaType.MESSAGE) { in merge()
260 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in merge()
DFieldMaskUtil.java226 if (!field.isRepeated() && field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in isValid()

12