Home
last modified time | relevance | path

Searched refs:name_resolver (Results 1 – 18 of 18) sorted by relevance

/external/protobuf/src/google/protobuf/compiler/java/
Djava_map_field.cc61 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 …]
Djava_map_field_lite.cc61 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 …]
Djava_helpers.cc164 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 …]
Djava_extension.cc67 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()
Djava_helpers.h166 ClassNameResolver* name_resolver);
168 ClassNameResolver* name_resolver) { in ImmutableDefaultValue() argument
169 return DefaultValue(field, true, name_resolver); in ImmutableDefaultValue()
Djava_message_builder_lite.cc72 ClassNameResolver* name_resolver) { in MapValueImmutableClassdName() argument
75 return name_resolver->GetImmutableClassName(value_field->message_type()); in MapValueImmutableClassdName()
Djava_enum_field_lite.cc60 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()
Djava_enum_field.cc60 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()
Djava_string_field_lite.cc64 ClassNameResolver* name_resolver, in SetPrimitiveVariables() argument
71 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables()
73 "= " + ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables()
Djava_string_field.cc64 ClassNameResolver* name_resolver, in SetPrimitiveVariables() argument
70 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables()
72 "= " + ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables()
Djava_message_field_lite.cc58 ClassNameResolver* name_resolver, in SetMessageVariables() argument
63 name_resolver->GetImmutableClassName(descriptor->message_type()); in SetMessageVariables()
65 name_resolver->GetMutableClassName(descriptor->message_type()); in SetMessageVariables()
Djava_primitive_field.cc63 ClassNameResolver* name_resolver, in SetPrimitiveVariables() argument
73 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables()
75 "" : ("= " + ImmutableDefaultValue(descriptor, name_resolver)); in SetPrimitiveVariables()
Djava_primitive_field_lite.cc63 ClassNameResolver* name_resolver, in SetPrimitiveVariables() argument
70 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables()
72 "" : ("= " + ImmutableDefaultValue(descriptor, name_resolver)); in SetPrimitiveVariables()
Djava_extension.h81 ClassNameResolver* name_resolver,
Djava_message_field.cc58 ClassNameResolver* name_resolver, in SetMessageVariables() argument
63 name_resolver->GetImmutableClassName(descriptor->message_type()); in SetMessageVariables()
65 name_resolver->GetMutableClassName(descriptor->message_type()); in SetMessageVariables()
Djava_message_builder.cc72 ClassNameResolver* name_resolver) { in MapValueImmutableClassdName() argument
75 return name_resolver->GetImmutableClassName(value_field->message_type()); in MapValueImmutableClassdName()
Djava_message_lite.cc77 ClassNameResolver* name_resolver) { in MapValueImmutableClassdName() argument
80 return name_resolver->GetImmutableClassName(value_field->message_type()); in MapValueImmutableClassdName()
Djava_message.cc77 ClassNameResolver* name_resolver) { in MapValueImmutableClassdName() argument
80 return name_resolver->GetImmutableClassName(value_field->message_type()); in MapValueImmutableClassdName()