Home
last modified time | relevance | path

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

/external/protobuf/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()
95 if (GetJavaType(value) == JAVATYPE_ENUM) { in SetMessageVariables()
160 if (GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateInterfaceMembers()
213 if (GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateMembers()
254 if (GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateMembers()
287 if (GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateBuilderMembers()
398 GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateParsingCode()
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()
95 if (GetJavaType(value) == JAVATYPE_ENUM) { in SetMessageVariables()
172 if (GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateInterfaceMembers()
221 if (GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateMembers()
288 if (GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateBuilderMembers()
413 GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateParsingCode()
Djava_primitive_field_lite.cc67 (*variables)["type"] = PrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables()
68 (*variables)["boxed_type"] = BoxedPrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables()
80 GetJavaType(descriptor)), true /* cap_next_letter */); in SetPrimitiveVariables()
81 switch (GetJavaType(descriptor)) { in SetPrimitiveVariables()
115 if (IsReferenceType(GetJavaType(descriptor))) { in SetPrimitiveVariables()
236 JavaType type = GetJavaType(descriptor_); in GenerateMembers()
353 switch (GetJavaType(descriptor_)) { in GenerateEqualsCode()
397 switch (GetJavaType(descriptor_)) { in GenerateHashCode()
442 return BoxedPrimitiveTypeName(GetJavaType(descriptor_)); in GetBoxedType()
894 return BoxedPrimitiveTypeName(GetJavaType(descriptor_)); in GetBoxedType()
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_extension.cc84 JavaType java_type = GetJavaType(descriptor); in InitTemplateVars()
Djava_message_builder.cc212 if (GetJavaType(field) == JAVATYPE_MESSAGE && in GenerateDescriptorMethods()
581 if (GetJavaType(field) == JAVATYPE_MESSAGE && in GenerateIsInitialized()
Djava_helpers.cc263 JavaType GetJavaType(const FieldDescriptor* field) { in GetJavaType() function
729 if (GetJavaType(field) == JAVATYPE_MESSAGE) { in HasRequiredFields()
Djava_message.cc789 if (GetJavaType(field) == JAVATYPE_MESSAGE && in GenerateDescriptorMethods()
875 if (GetJavaType(field) == JAVATYPE_MESSAGE && in GenerateIsInitialized()
969 return GetJavaType(field) == JAVATYPE_MESSAGE && in CheckHasBitsForEqualsAndHashCode()
Djava_helpers.h150 JavaType GetJavaType(const FieldDescriptor* field);
Djava_message_lite.cc703 if (GetJavaType(field) == JAVATYPE_MESSAGE && in GenerateDynamicMethodIsInitialized()
1034 return GetJavaType(field) == JAVATYPE_MESSAGE && in CheckHasBitsForEqualsAndHashCode()
Djava_file.cc99 if (GetJavaType(fields[i]) == JAVATYPE_MESSAGE) { in CollectExtensions()
/external/protobuf/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()
270 JavaType java_type = GetJavaType(descriptor_); in GenerateMembers()
289 JavaType java_type = GetJavaType(descriptor_); in GenerateClearCode()
308 JavaType java_type = GetJavaType(descriptor_); in GenerateMergingCode()
342 JavaType java_type = GetJavaType(descriptor_); in GenerateSerializationConditional()
382 JavaType java_type = GetJavaType(descriptor_); in GenerateWriteCode()
408 JavaType java_type = GetJavaType(descriptor_); in GenerateComputeSizeCode()
434 JavaType java_type = GetJavaType(descriptor_); in GenerateEqualsCode()
[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()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_primitive_field.cc181 && (GetJavaType(descriptor) == JAVATYPE_STRING)); in IsFastStringHandling()
191 (*variables)["type"] = PrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables()
193 (*variables)["boxed_type"] = BoxedPrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables()
198 if (IsReferenceType(GetJavaType(descriptor))) { in SetPrimitiveVariables()
247 if (IsVariableLenType(GetJavaType(descriptor_))) { in GenerateMembers()
327 return BoxedPrimitiveTypeName(GetJavaType(descriptor_)); in GetBoxedType()
408 if (IsReferenceType(GetJavaType(descriptor_))) { in GenerateMembers()
670 return BoxedPrimitiveTypeName(GetJavaType(descriptor_)); in GetBoxedType()
Djavamicro_helpers.h120 JavaType GetJavaType(FieldDescriptor::Type field_type);
122 inline JavaType GetJavaType(const FieldDescriptor* field) { in GetJavaType() function
123 return GetJavaType(field->type()); in GetJavaType()
Djavamicro_field.cc67 switch (GetJavaType(field)) { in MakeGenerator()
76 switch (GetJavaType(field)) { in MakeGenerator()
Djavamicro_helpers.cc200 JavaType GetJavaType(FieldDescriptor::Type field_type) { in GetJavaType() function
/external/libchrome/mojo/public/tools/bindings/generators/
Dmojom_java_generator.py201 params.append('%s.MANAGER' % GetJavaType(context, kind))
203 params.append('%s.MANAGER' % GetJavaType(context, kind.kind))
261 unboxed_type = GetJavaType(context, kind, False, with_generics)
267 def GetJavaType(context, kind, boxed=False, with_generics=True): function
289 return '%s[]' % GetJavaType(context, kind.kind, boxed, with_generics)
299 return 'new %s()' % GetJavaType(context, field.kind)
301 GetJavaType(context, field.kind),
307 GetJavaType(context, constant.kind),
315 GetJavaType(context, kind.kind, boxed=False, with_generics=False), size)
322 return GetJavaType(context, named_value.parent_kind) + '.' + entity_name
[all …]