Home
last modified time | relevance | path

Searched refs:GetJavaType (Results 1 – 18 of 18) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/
Djava_map_field_lite.cc63 if (GetJavaType(field) == JAVATYPE_MESSAGE) { in TypeName()
65 } else if (GetJavaType(field) == JAVATYPE_ENUM) { in TypeName()
68 return boxed ? BoxedPrimitiveTypeName(GetJavaType(field)) in TypeName()
69 : PrimitiveTypeName(GetJavaType(field)); in TypeName()
91 const JavaType keyJavaType = GetJavaType(key); in SetMessageVariables()
92 const JavaType valueJavaType = GetJavaType(value); in SetMessageVariables()
103 if (GetJavaType(value) == JAVATYPE_ENUM) { in SetMessageVariables()
175 if (GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateInterfaceMembers()
303 if (GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateMembers()
456 if (GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateMembers()
[all …]
Djava_map_field.cc63 if (GetJavaType(field) == JAVATYPE_MESSAGE) { in TypeName()
65 } else if (GetJavaType(field) == JAVATYPE_ENUM) { in TypeName()
68 return boxed ? BoxedPrimitiveTypeName(GetJavaType(field)) in TypeName()
69 : PrimitiveTypeName(GetJavaType(field)); in TypeName()
91 const JavaType keyJavaType = GetJavaType(key); in SetMessageVariables()
92 const JavaType valueJavaType = GetJavaType(value); in SetMessageVariables()
187 if (GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateInterfaceMembers()
297 if (GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateMembers()
354 if (GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateBuilderMembers()
474 if (GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateMapGetters()
[all …]
Djava_field.cc74 switch (GetJavaType(field)) { in MakeImmutableGenerator()
100 switch (GetJavaType(field)) { in MakeImmutableGenerator()
120 switch (GetJavaType(field)) { in MakeImmutableGenerator()
147 switch (GetJavaType(field)) { in MakeImmutableLiteGenerator()
173 switch (GetJavaType(field)) { in MakeImmutableLiteGenerator()
193 switch (GetJavaType(field)) { in MakeImmutableLiteGenerator()
Djava_primitive_field.cc67 (*variables)["type"] = PrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables()
68 (*variables)["boxed_type"] = BoxedPrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables()
81 if (IsReferenceType(GetJavaType(descriptor))) { in SetPrimitiveVariables()
237 JavaType type = GetJavaType(descriptor_); in GenerateBuilderMembers()
328 switch (GetJavaType(descriptor_)) { in GenerateEqualsCode()
372 switch (GetJavaType(descriptor_)) { in GenerateHashCode()
417 return BoxedPrimitiveTypeName(GetJavaType(descriptor_)); in GetBoxedType()
854 return BoxedPrimitiveTypeName(GetJavaType(descriptor_)); in GetBoxedType()
Djava_primitive_field_lite.cc66 JavaType javaType = GetJavaType(descriptor); in SetPrimitiveVariables()
246 JavaType type = GetJavaType(descriptor_); in GenerateMembers()
367 switch (GetJavaType(descriptor_)) { in GenerateEqualsCode()
411 switch (GetJavaType(descriptor_)) { in GenerateHashCode()
456 return BoxedPrimitiveTypeName(GetJavaType(descriptor_)); in GetBoxedType()
908 return BoxedPrimitiveTypeName(GetJavaType(descriptor_)); in GetBoxedType()
Djava_helpers.cc277 JavaType GetJavaType(const FieldDescriptor* field) { in GetJavaType() function
513 return GetJavaType(field) == JAVATYPE_BYTES && in IsByteStringWithCustomDefaultValue()
748 if (GetJavaType(field) == JAVATYPE_MESSAGE) { in HasRequiredFields()
Djava_extension.cc84 JavaType java_type = GetJavaType(descriptor); in InitTemplateVars()
Djava_message_builder.cc226 if (GetJavaType(field) == JAVATYPE_MESSAGE && in GenerateDescriptorMethods()
656 if (GetJavaType(field) == JAVATYPE_MESSAGE && in GenerateIsInitialized()
Djava_message.cc805 if (GetJavaType(field) == JAVATYPE_MESSAGE && in GenerateDescriptorMethods()
892 if (GetJavaType(field) == JAVATYPE_MESSAGE && in GenerateIsInitialized()
986 return GetJavaType(field) == JAVATYPE_MESSAGE && in CheckHasBitsForEqualsAndHashCode()
Djava_helpers.h195 JavaType GetJavaType(const FieldDescriptor* field);
Djava_message_lite.cc708 if (GetJavaType(field) == JAVATYPE_MESSAGE && in GenerateDynamicMethodIsInitialized()
1039 return GetJavaType(field) == JAVATYPE_MESSAGE && in CheckHasBitsForEqualsAndHashCode()
Djava_file.cc99 if (GetJavaType(fields[i]) == JAVATYPE_MESSAGE) { in CollectExtensions()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/
Djavanano_primitive_field.cc177 (*variables)["type"] = BoxedPrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables()
179 (*variables)["type"] = PrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables()
218 (*variables)["boxed_type"] = BoxedPrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables()
317 JavaType java_type = GetJavaType(descriptor_); in GenerateSerializationConditional()
381 JavaType java_type = GetJavaType(descriptor_); in GenerateEqualsCode()
458 JavaType java_type = GetJavaType(descriptor_); in GenerateHashCodeCode()
546 if (IsReferenceType(GetJavaType(descriptor_))) { in GenerateMembers()
599 switch (GetJavaType(descriptor_)) { in GenerateEqualsCode()
651 switch (GetJavaType(descriptor_)) { in GenerateHashCodeCode()
795 if (GetJavaType(descriptor_) == JAVATYPE_BYTES) { in GenerateMergingCode()
[all …]
Djavanano_field.cc97 JavaType java_type = GetJavaType(field); in MakeGenerator()
174 if (GetJavaType(descriptor) == JAVATYPE_BYTES) { in GenerateOneofFieldEquals()
195 if (GetJavaType(descriptor) == JAVATYPE_BYTES) { in GenerateOneofFieldHashCode()
Djavanano_helpers.h132 JavaType GetJavaType(FieldDescriptor::Type field_type);
134 inline JavaType GetJavaType(const FieldDescriptor* field) { in GetJavaType() function
135 return GetJavaType(field->type()); in GetJavaType()
Djavanano_extension.cc87 JavaType java_type = GetJavaType(descriptor->type()); in SetVariables()
Djavanano_map_field.cc47 JavaType java_type = GetJavaType(field); in TypeName()
Djavanano_helpers.cc297 JavaType GetJavaType(FieldDescriptor::Type field_type) { in GetJavaType() function
384 switch (GetJavaType(field)) { in EmptyArrayName()