Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_primitive_field.cc198 (*variables)["type"] = BoxedPrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables()
200 (*variables)["type"] = PrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables()
239 (*variables)["boxed_type"] = BoxedPrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables()
338 JavaType java_type = GetJavaType(descriptor_); in GenerateSerializationConditional()
394 JavaType java_type = GetJavaType(descriptor_); in GenerateEqualsCode()
471 JavaType java_type = GetJavaType(descriptor_); in GenerateHashCodeCode()
559 if (IsReferenceType(GetJavaType(descriptor_))) { in GenerateMembers()
612 switch (GetJavaType(descriptor_)) { in GenerateEqualsCode()
664 switch (GetJavaType(descriptor_)) { in GenerateHashCodeCode()
737 if (GetJavaType(descriptor_) == JAVATYPE_BYTES) { in GenerateMergingCode()
[all …]
Djavanano_helpers.h130 JavaType GetJavaType(FieldDescriptor::Type field_type);
132 inline JavaType GetJavaType(const FieldDescriptor* field) { in GetJavaType() function
133 return GetJavaType(field->type()); in GetJavaType()
Djavanano_field.cc96 JavaType java_type = GetJavaType(field); in MakeGenerator()
Djavanano_extension.cc87 JavaType java_type = GetJavaType(descriptor->type()); in SetVariables()
Djavanano_helpers.cc283 JavaType GetJavaType(FieldDescriptor::Type field_type) { in GetJavaType() function
370 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/protobuf/src/google/protobuf/compiler/java/
Djava_primitive_field.cc163 (*variables)["type"] = PrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables()
164 (*variables)["boxed_type"] = BoxedPrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables()
170 if (IsReferenceType(GetJavaType(descriptor))) { in SetPrimitiveVariables()
221 JavaType type = GetJavaType(descriptor_); in GenerateBuilderMembers()
278 return BoxedPrimitiveTypeName(GetJavaType(descriptor_)); in GetBoxedType()
459 return BoxedPrimitiveTypeName(GetJavaType(descriptor_)); in GetBoxedType()
Djava_field.cc77 switch (GetJavaType(field)) { in MakeGenerator()
86 switch (GetJavaType(field)) { in MakeGenerator()
Djava_extension.cc97 JavaType java_type = GetJavaType(descriptor_); in Generate()
145 JavaType java_type = GetJavaType(descriptor_); in GenerateInitializationCode()
Djava_helpers.h113 JavaType GetJavaType(const FieldDescriptor* field);
Djava_message.cc130 if (GetJavaType(field) == JAVATYPE_MESSAGE) { in HasRequiredFields()
924 if (GetJavaType(field) == JAVATYPE_MESSAGE && in GenerateIsInitialized()
Djava_helpers.cc186 JavaType GetJavaType(const FieldDescriptor* field) { in GetJavaType() function
Djava_file.cc67 if (GetJavaType(fields[i]) == JAVATYPE_MESSAGE) { in UsesExtensions()
/external/chromium_org/mojo/public/tools/bindings/generators/
Dmojom_java_generator.py186 params.append('%s.MANAGER' % GetJavaType(context, kind))
188 params.append('%s.MANAGER' % GetJavaType(context, kind.kind))
236 unboxed_type = GetJavaType(context, kind, False)
242 def GetJavaType(context, kind, boxed=False): function
251 return '%s[]' % GetJavaType(context, kind.kind)
261 return 'new %s()' % GetJavaType(context, field.kind)
263 GetJavaType(context, field.kind),
269 GetJavaType(context, constant.kind),
276 return 'new %s[%s]' % (GetJavaType(context, kind.kind), size)
283 return GetJavaType(context, named_value.parent_kind) + '.' + entity_name
[all …]
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_primitive_field.cc167 (*variables)["type"] = PrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables()
168 (*variables)["boxed_type"] = BoxedPrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables()
180 if (IsReferenceType(GetJavaType(descriptor))) { in SetPrimitiveVariables()
309 JavaType type = GetJavaType(descriptor_); in GenerateBuilderMembers()
390 switch (GetJavaType(descriptor_)) { in GenerateEqualsCode()
430 switch (GetJavaType(descriptor_)) { in GenerateHashCode()
473 return BoxedPrimitiveTypeName(GetJavaType(descriptor_)); in GetBoxedType()
781 return BoxedPrimitiveTypeName(GetJavaType(descriptor_)); in GetBoxedType()
Djava_field.cc90 switch (GetJavaType(field)) { in MakeGenerator()
105 switch (GetJavaType(field)) { in MakeGenerator()
Djava_extension.cc108 JavaType java_type = GetJavaType(descriptor); in InitTemplateVars()
Djava_helpers.h111 JavaType GetJavaType(const FieldDescriptor* field);
Djava_helpers.cc209 JavaType GetJavaType(const FieldDescriptor* field) { in GetJavaType() function
Djava_file.cc74 if (GetJavaType(fields[i]) == JAVATYPE_MESSAGE) { in CollectExtensions()
Djava_message.cc136 if (GetJavaType(field) == JAVATYPE_MESSAGE) { in HasRequiredFields()
1068 if (GetJavaType(field) == JAVATYPE_MESSAGE && in GenerateIsInitialized()