/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_map_field.cc | 61 ClassNameResolver* name_resolver, in TypeName() argument 64 return name_resolver->GetImmutableClassName(field->message_type()); in TypeName() 66 return name_resolver->GetImmutableClassName(field->enum_type()); in TypeName() 85 ClassNameResolver* name_resolver = context->GetNameResolver(); in SetMessageVariables() local 88 name_resolver->GetImmutableClassName(descriptor->message_type()); in SetMessageVariables() 91 (*variables)["key_type"] = TypeName(key, name_resolver, false); in SetMessageVariables() 92 (*variables)["boxed_key_type"] = TypeName(key, name_resolver, true); in SetMessageVariables() 94 (*variables)["key_default_value"] = DefaultValue(key, true, name_resolver); in SetMessageVariables() 101 DefaultValue(value, true, name_resolver) + ".getNumber()"; in SetMessageVariables() 103 (*variables)["value_enum_type"] = TypeName(value, name_resolver, false); in SetMessageVariables() [all …]
|
D | java_map_field_lite.cc | 61 ClassNameResolver* name_resolver, in TypeName() argument 64 return name_resolver->GetImmutableClassName(field->message_type()); in TypeName() 66 return name_resolver->GetImmutableClassName(field->enum_type()); in TypeName() 86 ClassNameResolver* name_resolver = context->GetNameResolver(); in SetMessageVariables() local 88 name_resolver->GetImmutableClassName(descriptor->message_type()); in SetMessageVariables() 91 (*variables)["key_type"] = TypeName(key, name_resolver, false); in SetMessageVariables() 92 (*variables)["boxed_key_type"] = TypeName(key, name_resolver, true); in SetMessageVariables() 94 (*variables)["key_default_value"] = DefaultValue(key, true, name_resolver); in SetMessageVariables() 101 DefaultValue(value, true, name_resolver) + ".getNumber()"; in SetMessageVariables() 103 (*variables)["value_enum_type"] = TypeName(value, name_resolver, false); in SetMessageVariables() [all …]
|
D | java_helpers.cc | 164 ClassNameResolver name_resolver; in FileClassName() local 165 return name_resolver.GetFileClassName(file, immutable); in FileClassName() 215 ClassNameResolver name_resolver; in ClassName() local 216 return name_resolver.GetClassName(descriptor, true); in ClassName() 220 ClassNameResolver name_resolver; in ClassName() local 221 return name_resolver.GetClassName(descriptor, true); in ClassName() 225 ClassNameResolver name_resolver; in ClassName() local 226 return name_resolver.GetClassName(descriptor, true); in ClassName() 230 ClassNameResolver name_resolver; in ClassName() local 231 return name_resolver.GetClassName(descriptor, true); in ClassName() [all …]
|
D | java_extension.cc | 67 ClassNameResolver* name_resolver, in InitTemplateVars() argument 73 name_resolver->GetClassName(descriptor->containing_type(), immutable); in InitTemplateVars() 78 "" : DefaultValue(descriptor, immutable, name_resolver); in InitTemplateVars() 88 singular_type = name_resolver->GetClassName(descriptor->message_type(), in InitTemplateVars() 93 singular_type = name_resolver->GetClassName(descriptor->enum_type(), in InitTemplateVars()
|
D | java_helpers.h | 166 ClassNameResolver* name_resolver); 168 ClassNameResolver* name_resolver) { in ImmutableDefaultValue() argument 169 return DefaultValue(field, true, name_resolver); in ImmutableDefaultValue()
|
D | java_message_builder_lite.cc | 72 ClassNameResolver* name_resolver) { in MapValueImmutableClassdName() argument 75 return name_resolver->GetImmutableClassName(value_field->message_type()); in MapValueImmutableClassdName()
|
D | java_enum_field_lite.cc | 60 ClassNameResolver* name_resolver, in SetEnumVariables() argument 65 name_resolver->GetImmutableClassName(descriptor->enum_type()); in SetEnumVariables() 67 name_resolver->GetMutableClassName(descriptor->enum_type()); in SetEnumVariables() 68 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetEnumVariables()
|
D | java_enum_field.cc | 60 ClassNameResolver* name_resolver, in SetEnumVariables() argument 65 name_resolver->GetImmutableClassName(descriptor->enum_type()); in SetEnumVariables() 67 name_resolver->GetMutableClassName(descriptor->enum_type()); in SetEnumVariables() 68 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetEnumVariables()
|
D | java_string_field_lite.cc | 64 ClassNameResolver* name_resolver, in SetPrimitiveVariables() argument 71 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables() 73 "= " + ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables()
|
D | java_string_field.cc | 64 ClassNameResolver* name_resolver, in SetPrimitiveVariables() argument 70 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables() 72 "= " + ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables()
|
D | java_message_field_lite.cc | 58 ClassNameResolver* name_resolver, in SetMessageVariables() argument 63 name_resolver->GetImmutableClassName(descriptor->message_type()); in SetMessageVariables() 65 name_resolver->GetMutableClassName(descriptor->message_type()); in SetMessageVariables()
|
D | java_primitive_field.cc | 63 ClassNameResolver* name_resolver, in SetPrimitiveVariables() argument 73 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables() 75 "" : ("= " + ImmutableDefaultValue(descriptor, name_resolver)); in SetPrimitiveVariables()
|
D | java_primitive_field_lite.cc | 63 ClassNameResolver* name_resolver, in SetPrimitiveVariables() argument 70 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables() 72 "" : ("= " + ImmutableDefaultValue(descriptor, name_resolver)); in SetPrimitiveVariables()
|
D | java_extension.h | 81 ClassNameResolver* name_resolver,
|
D | java_message_field.cc | 58 ClassNameResolver* name_resolver, in SetMessageVariables() argument 63 name_resolver->GetImmutableClassName(descriptor->message_type()); in SetMessageVariables() 65 name_resolver->GetMutableClassName(descriptor->message_type()); in SetMessageVariables()
|
D | java_message_builder.cc | 72 ClassNameResolver* name_resolver) { in MapValueImmutableClassdName() argument 75 return name_resolver->GetImmutableClassName(value_field->message_type()); in MapValueImmutableClassdName()
|
D | java_message_lite.cc | 77 ClassNameResolver* name_resolver) { in MapValueImmutableClassdName() argument 80 return name_resolver->GetImmutableClassName(value_field->message_type()); in MapValueImmutableClassdName()
|
D | java_message.cc | 77 ClassNameResolver* name_resolver) { in MapValueImmutableClassdName() argument 80 return name_resolver->GetImmutableClassName(value_field->message_type()); in MapValueImmutableClassdName()
|