/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_map_field_lite.cc | 62 if (GetJavaType(field) == JAVATYPE_MESSAGE) { in TypeName() 64 } else if (GetJavaType(field) == JAVATYPE_ENUM) { in TypeName() 67 return boxed ? BoxedPrimitiveTypeName(GetJavaType(field)) in TypeName() 68 : PrimitiveTypeName(GetJavaType(field)); in TypeName() 88 const JavaType keyJavaType = GetJavaType(key); in SetMessageVariables() 89 const JavaType valueJavaType = GetJavaType(value); in SetMessageVariables() 104 if (GetJavaType(value) == JAVATYPE_ENUM) { in SetMessageVariables() 168 if (GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateInterfaceMembers() 301 if (GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateMembers() 475 if (GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateMembers() [all …]
|
D | java_map_field.cc | 62 if (GetJavaType(field) == JAVATYPE_MESSAGE) { in TypeName() 64 } else if (GetJavaType(field) == JAVATYPE_ENUM) { in TypeName() 67 return boxed ? BoxedPrimitiveTypeName(GetJavaType(field)) in TypeName() 68 : PrimitiveTypeName(GetJavaType(field)); in TypeName() 88 const JavaType keyJavaType = GetJavaType(key); in SetMessageVariables() 89 const JavaType valueJavaType = GetJavaType(value); in SetMessageVariables() 185 if (GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateInterfaceMembers() 297 if (GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateMembers() 365 if (GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateBuilderMembers() 492 if (GetJavaType(ValueField(descriptor_)) == JAVATYPE_ENUM) { in GenerateMapGetters() [all …]
|
D | java_field.cc | 71 switch (GetJavaType(field)) { in MakeImmutableGenerator() 92 switch (GetJavaType(field)) { in MakeImmutableGenerator() 107 switch (GetJavaType(field)) { in MakeImmutableGenerator() 128 switch (GetJavaType(field)) { in MakeImmutableLiteGenerator() 149 switch (GetJavaType(field)) { in MakeImmutableLiteGenerator() 164 switch (GetJavaType(field)) { in MakeImmutableLiteGenerator()
|
D | java_primitive_field.cc | 66 JavaType javaType = GetJavaType(descriptor); in SetPrimitiveVariables() 119 if (IsReferenceType(GetJavaType(descriptor))) { in SetPrimitiveVariables() 278 JavaType type = GetJavaType(descriptor_); in GenerateBuilderMembers() 380 switch (GetJavaType(descriptor_)) { in GenerateEqualsCode() 424 switch (GetJavaType(descriptor_)) { in GenerateHashCode() 473 return BoxedPrimitiveTypeName(GetJavaType(descriptor_)); in GetBoxedType() 591 if (GetJavaType(descriptor_) == JAVATYPE_BYTES) { in GenerateSerializationCode() 609 if (GetJavaType(descriptor_) == JAVATYPE_BYTES) { in GenerateSerializedSizeCode() 952 return BoxedPrimitiveTypeName(GetJavaType(descriptor_)); in GetBoxedType()
|
D | java_helpers.cc | 321 JavaType GetJavaType(const FieldDescriptor* field) { in GetJavaType() function 397 return PrimitiveTypeName(GetJavaType(descriptor)); in PrimitiveTypeName() 430 return BoxedPrimitiveTypeName(GetJavaType(descriptor)); in BoxedPrimitiveTypeName() 434 const JavaType javaType = GetJavaType(field); in GetOneofStoredType() 613 return GetJavaType(field) == JAVATYPE_BYTES && in IsByteStringWithCustomDefaultValue() 867 if (GetJavaType(field) == JAVATYPE_MESSAGE) { in HasRequiredFields() 972 if (field->is_required() || (GetJavaType(field) == JAVATYPE_MESSAGE && in GetExperimentalJavaFieldType() 981 if (GetJavaType(value) == JAVATYPE_ENUM) { in GetExperimentalJavaFieldType()
|
D | java_primitive_field_lite.cc | 73 JavaType javaType = GetJavaType(descriptor); in SetPrimitiveVariables() 251 JavaType type = GetJavaType(descriptor_); in GenerateMembers() 327 return BoxedPrimitiveTypeName(GetJavaType(descriptor_)); in GetBoxedType() 627 return BoxedPrimitiveTypeName(GetJavaType(descriptor_)); in GetBoxedType()
|
D | java_extension.cc | 84 JavaType java_type = GetJavaType(descriptor); in InitTemplateVars()
|
D | java_message.cc | 533 "field_type", PrimitiveTypeName(GetJavaType(descriptor_->field(0)))); in Generate() 809 if (GetJavaType(field) == JAVATYPE_MESSAGE && in GenerateDescriptorMethods() 897 if (GetJavaType(field) == JAVATYPE_MESSAGE && in GenerateIsInitialized() 989 return GetJavaType(field) == JAVATYPE_MESSAGE && in CheckHasBitsForEqualsAndHashCode()
|
D | java_message_lite.cc | 452 "field_type", PrimitiveTypeName(GetJavaType(descriptor_->field(0)))); in Generate() 540 (GetJavaType(descriptor_->field(i)) == JAVATYPE_MESSAGE && in GenerateDynamicMethodNewBuildMessageInfo()
|
D | java_message_builder.cc | 211 if (GetJavaType(field) == JAVATYPE_MESSAGE && in GenerateDescriptorMethods() 647 if (GetJavaType(field) == JAVATYPE_MESSAGE && in GenerateIsInitialized()
|
D | java_helpers.h | 217 JavaType GetJavaType(const FieldDescriptor* field);
|
D | java_file.cc | 97 if (GetJavaType(fields[i]) == JAVATYPE_MESSAGE) { in CollectExtensions()
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_primitive_field.cc | 181 && (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()
|
D | javamicro_helpers.h | 120 JavaType GetJavaType(FieldDescriptor::Type field_type); 122 inline JavaType GetJavaType(const FieldDescriptor* field) { in GetJavaType() function 123 return GetJavaType(field->type()); in GetJavaType()
|
D | javamicro_field.cc | 67 switch (GetJavaType(field)) { in MakeGenerator() 76 switch (GetJavaType(field)) { in MakeGenerator()
|
D | javamicro_helpers.cc | 200 JavaType GetJavaType(FieldDescriptor::Type field_type) { in GetJavaType() function
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_primitive_field.cc | 177 (*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 …]
|
D | javanano_field.cc | 97 JavaType java_type = GetJavaType(field); in MakeGenerator() 174 if (GetJavaType(descriptor) == JAVATYPE_BYTES) { in GenerateOneofFieldEquals() 195 if (GetJavaType(descriptor) == JAVATYPE_BYTES) { in GenerateOneofFieldHashCode()
|
D | javanano_helpers.h | 132 JavaType GetJavaType(FieldDescriptor::Type field_type); 134 inline JavaType GetJavaType(const FieldDescriptor* field) { in GetJavaType() function 135 return GetJavaType(field->type()); in GetJavaType()
|
D | javanano_extension.cc | 87 JavaType java_type = GetJavaType(descriptor->type()); in SetVariables()
|
D | javanano_map_field.cc | 47 JavaType java_type = GetJavaType(field); in TypeName()
|
D | javanano_helpers.cc | 297 JavaType GetJavaType(FieldDescriptor::Type field_type) { in GetJavaType() function 384 switch (GetJavaType(field)) { in EmptyArrayName()
|
/external/libchrome/mojo/public/tools/bindings/generators/ |
D | mojom_java_generator.py | 201 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 …]
|