Home
last modified time | relevance | path

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

12

/external/protobuf/src/google/protobuf/compiler/java/
Dmap_field.cc64 ClassNameResolver* name_resolver, bool boxed) { in TypeName() argument
66 return name_resolver->GetImmutableClassName(field->message_type()); in TypeName()
68 return name_resolver->GetImmutableClassName(field->enum_type()); in TypeName()
76 ClassNameResolver* name_resolver) { in KotlinTypeName() argument
78 return name_resolver->GetImmutableClassName(field->message_type()); in KotlinTypeName()
80 return name_resolver->GetImmutableClassName(field->enum_type()); in KotlinTypeName()
96 ClassNameResolver* name_resolver = context->GetNameResolver(); in SetMessageVariables() local
99 name_resolver->GetImmutableClassName(descriptor->message_type()); in SetMessageVariables()
107 (*variables)["key_type"] = TypeName(key, name_resolver, false); in SetMessageVariables()
108 std::string boxed_key_type = TypeName(key, name_resolver, true); in SetMessageVariables()
[all …]
Dmap_field_lite.cc66 ClassNameResolver* name_resolver, bool boxed) { in TypeName() argument
68 return name_resolver->GetImmutableClassName(field->message_type()); in TypeName()
70 return name_resolver->GetImmutableClassName(field->enum_type()); in TypeName()
78 ClassNameResolver* name_resolver) { in KotlinTypeName() argument
80 return name_resolver->GetImmutableClassName(field->message_type()); in KotlinTypeName()
82 return name_resolver->GetImmutableClassName(field->enum_type()); in KotlinTypeName()
99 ClassNameResolver* name_resolver = context->GetNameResolver(); in SetMessageVariables() local
101 name_resolver->GetImmutableClassName(descriptor->message_type()); in SetMessageVariables()
109 (*variables)["key_type"] = TypeName(key, name_resolver, false); in SetMessageVariables()
110 (*variables)["boxed_key_type"] = TypeName(key, name_resolver, true); in SetMessageVariables()
[all …]
Dextension.cc68 ClassNameResolver* name_resolver, in InitTemplateVars() argument
74 name_resolver->GetClassName(descriptor->containing_type(), immutable); in InitTemplateVars()
80 : DefaultValue(descriptor, immutable, name_resolver); in InitTemplateVars()
91 name_resolver->GetClassName(descriptor->message_type(), immutable); in InitTemplateVars()
96 name_resolver->GetClassName(descriptor->enum_type(), immutable); in InitTemplateVars()
Dhelpers.cc295 ClassNameResolver name_resolver; in FileClassName() local
296 return name_resolver.GetFileClassName(file, immutable); in FileClassName()
326 ClassNameResolver name_resolver; in ClassName() local
327 return name_resolver.GetClassName(descriptor, true); in ClassName()
331 ClassNameResolver name_resolver; in ClassName() local
332 return name_resolver.GetClassName(descriptor, true); in ClassName()
336 ClassNameResolver name_resolver; in ClassName() local
337 return name_resolver.GetClassName(descriptor, true); in ClassName()
341 ClassNameResolver name_resolver; in ClassName() local
342 return name_resolver.GetClassName(descriptor, true); in ClassName()
[all …]
Dhelpers.h254 ClassNameResolver* name_resolver);
256 ClassNameResolver* name_resolver) { in ImmutableDefaultValue() argument
257 return DefaultValue(field, true, name_resolver); in ImmutableDefaultValue()
Denum_field_lite.cc70 ClassNameResolver* name_resolver, in SetEnumVariables() argument
75 name_resolver->GetImmutableClassName(descriptor->enum_type()); in SetEnumVariables()
78 name_resolver->GetMutableClassName(descriptor->enum_type()); in SetEnumVariables()
79 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetEnumVariables()
Denum_field.cc63 ClassNameResolver* name_resolver, in SetEnumVariables() argument
68 name_resolver->GetImmutableClassName(descriptor->enum_type()); in SetEnumVariables()
71 name_resolver->GetMutableClassName(descriptor->enum_type()); in SetEnumVariables()
72 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetEnumVariables()
Dmessage_field_lite.cc61 ClassNameResolver* name_resolver, in SetMessageVariables() argument
66 name_resolver->GetImmutableClassName(descriptor->message_type()); in SetMessageVariables()
69 name_resolver->GetMutableClassName(descriptor->message_type()); in SetMessageVariables()
Dextension.h84 bool immutable, ClassNameResolver* name_resolver,
Dstring_field_lite.cc65 ClassNameResolver* name_resolver, in SetPrimitiveVariables() argument
72 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables()
74 "= " + ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables()
Dstring_field.cc65 ClassNameResolver* name_resolver, in SetPrimitiveVariables() argument
71 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables()
73 "= " + ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables()
Dprimitive_field.cc63 ClassNameResolver* name_resolver, in SetPrimitiveVariables() argument
109 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables()
113 : ("= " + ImmutableDefaultValue(descriptor, name_resolver)); in SetPrimitiveVariables()
/external/cronet/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_map_field.cc61 ClassNameResolver* name_resolver, bool boxed) { in TypeName() argument
63 return name_resolver->GetImmutableClassName(field->message_type()); in TypeName()
65 return name_resolver->GetImmutableClassName(field->enum_type()); in TypeName()
73 ClassNameResolver* name_resolver) { in KotlinTypeName() argument
75 return name_resolver->GetImmutableClassName(field->message_type()); in KotlinTypeName()
77 return name_resolver->GetImmutableClassName(field->enum_type()); in KotlinTypeName()
93 ClassNameResolver* name_resolver = context->GetNameResolver(); in SetMessageVariables() local
96 name_resolver->GetImmutableClassName(descriptor->message_type()); in SetMessageVariables()
104 (*variables)["key_type"] = TypeName(key, name_resolver, false); in SetMessageVariables()
105 std::string boxed_key_type = TypeName(key, name_resolver, true); in SetMessageVariables()
[all …]
Djava_map_field_lite.cc63 ClassNameResolver* name_resolver, bool boxed) { in TypeName() argument
65 return name_resolver->GetImmutableClassName(field->message_type()); in TypeName()
67 return name_resolver->GetImmutableClassName(field->enum_type()); in TypeName()
75 ClassNameResolver* name_resolver) { in KotlinTypeName() argument
77 return name_resolver->GetImmutableClassName(field->message_type()); in KotlinTypeName()
79 return name_resolver->GetImmutableClassName(field->enum_type()); in KotlinTypeName()
96 ClassNameResolver* name_resolver = context->GetNameResolver(); in SetMessageVariables() local
98 name_resolver->GetImmutableClassName(descriptor->message_type()); in SetMessageVariables()
106 (*variables)["key_type"] = TypeName(key, name_resolver, false); in SetMessageVariables()
107 (*variables)["boxed_key_type"] = TypeName(key, name_resolver, true); in SetMessageVariables()
[all …]
Djava_extension.cc65 ClassNameResolver* name_resolver, in InitTemplateVars() argument
71 name_resolver->GetClassName(descriptor->containing_type(), immutable); in InitTemplateVars()
77 : DefaultValue(descriptor, immutable, name_resolver); in InitTemplateVars()
88 name_resolver->GetClassName(descriptor->message_type(), immutable); in InitTemplateVars()
93 name_resolver->GetClassName(descriptor->enum_type(), immutable); in InitTemplateVars()
Djava_helpers.cc293 ClassNameResolver name_resolver; in FileClassName() local
294 return name_resolver.GetFileClassName(file, immutable); in FileClassName()
324 ClassNameResolver name_resolver; in ClassName() local
325 return name_resolver.GetClassName(descriptor, true); in ClassName()
329 ClassNameResolver name_resolver; in ClassName() local
330 return name_resolver.GetClassName(descriptor, true); in ClassName()
334 ClassNameResolver name_resolver; in ClassName() local
335 return name_resolver.GetClassName(descriptor, true); in ClassName()
339 ClassNameResolver name_resolver; in ClassName() local
340 return name_resolver.GetClassName(descriptor, true); in ClassName()
[all …]
Djava_helpers.h254 ClassNameResolver* name_resolver);
256 ClassNameResolver* name_resolver) { in ImmutableDefaultValue() argument
257 return DefaultValue(field, true, name_resolver); in ImmutableDefaultValue()
Djava_enum_field_lite.cc67 ClassNameResolver* name_resolver, in SetEnumVariables() argument
72 name_resolver->GetImmutableClassName(descriptor->enum_type()); in SetEnumVariables()
75 name_resolver->GetMutableClassName(descriptor->enum_type()); in SetEnumVariables()
76 (*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()
68 name_resolver->GetMutableClassName(descriptor->enum_type()); in SetEnumVariables()
69 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetEnumVariables()
Djava_message_field_lite.cc58 ClassNameResolver* name_resolver, in SetMessageVariables() argument
63 name_resolver->GetImmutableClassName(descriptor->message_type()); in SetMessageVariables()
66 name_resolver->GetMutableClassName(descriptor->message_type()); in SetMessageVariables()
Djava_extension.h84 bool immutable, ClassNameResolver* name_resolver,
Djava_string_field_lite.cc65 ClassNameResolver* name_resolver, in SetPrimitiveVariables() argument
72 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables()
74 "= " + ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables()
Djava_string_field.cc65 ClassNameResolver* name_resolver, in SetPrimitiveVariables() argument
71 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables()
73 "= " + ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables()
Djava_primitive_field.cc63 ClassNameResolver* name_resolver, in SetPrimitiveVariables() argument
109 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables()
113 : ("= " + ImmutableDefaultValue(descriptor, name_resolver)); in SetPrimitiveVariables()
Djava_message_field.cc58 ClassNameResolver* name_resolver, in SetMessageVariables() argument
63 name_resolver->GetImmutableClassName(descriptor->message_type()); in SetMessageVariables()
66 name_resolver->GetMutableClassName(descriptor->message_type()); in SetMessageVariables()

12