/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_map_field_lite.cc | 63 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()
|
D | java_map_field.cc | 63 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()
|
D | java_primitive_field_lite.cc | 67 (*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()
|
D | java_field.cc | 74 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()
|
D | java_primitive_field.cc | 67 (*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()
|
D | java_extension.cc | 84 JavaType java_type = GetJavaType(descriptor); in InitTemplateVars()
|
D | java_message_builder.cc | 212 if (GetJavaType(field) == JAVATYPE_MESSAGE && in GenerateDescriptorMethods() 581 if (GetJavaType(field) == JAVATYPE_MESSAGE && in GenerateIsInitialized()
|
D | java_helpers.cc | 263 JavaType GetJavaType(const FieldDescriptor* field) { in GetJavaType() function 729 if (GetJavaType(field) == JAVATYPE_MESSAGE) { in HasRequiredFields()
|
D | java_message.cc | 789 if (GetJavaType(field) == JAVATYPE_MESSAGE && in GenerateDescriptorMethods() 875 if (GetJavaType(field) == JAVATYPE_MESSAGE && in GenerateIsInitialized() 969 return GetJavaType(field) == JAVATYPE_MESSAGE && in CheckHasBitsForEqualsAndHashCode()
|
D | java_helpers.h | 150 JavaType GetJavaType(const FieldDescriptor* field);
|
D | java_message_lite.cc | 703 if (GetJavaType(field) == JAVATYPE_MESSAGE && in GenerateDynamicMethodIsInitialized() 1034 return GetJavaType(field) == JAVATYPE_MESSAGE && in CheckHasBitsForEqualsAndHashCode()
|
D | java_file.cc | 99 if (GetJavaType(fields[i]) == JAVATYPE_MESSAGE) { in CollectExtensions()
|
/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() 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 …]
|
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/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/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 …]
|