Home
last modified time | relevance | path

Searched refs:name_resolver_ (Results 1 – 25 of 88) sorted by relevance

1234

/external/protobuf/src/google/protobuf/compiler/java/
Dmessage_builder.cc80 name_resolver_(context->GetNameResolver()), in MessageBuilderGenerator()
103 "classname", name_resolver_->GetImmutableClassName(descriptor_), in Generate()
113 "classname", name_resolver_->GetImmutableClassName(descriptor_), in Generate()
212 "fileclass", name_resolver_->GetImmutableClassName(descriptor_->file()), in GenerateDescriptorMethods()
284 "classname", name_resolver_->GetImmutableClassName(descriptor_), in GenerateDescriptorMethods()
285 "fileclass", name_resolver_->GetImmutableClassName(descriptor_->file()), in GenerateDescriptorMethods()
317 "classname", name_resolver_->GetImmutableClassName(descriptor_), in GenerateCommonBuilderMethods()
326 "classname", name_resolver_->GetImmutableClassName(descriptor_), "ver", in GenerateCommonBuilderMethods()
385 "fileclass", name_resolver_->GetImmutableClassName(descriptor_->file()), in GenerateCommonBuilderMethods()
395 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in GenerateCommonBuilderMethods()
[all …]
Dmessage.cc98 name_resolver_(context->GetNameResolver()), in ImmutableMessageGenerator()
119 vars["classname"] = name_resolver_->GetImmutableClassName(descriptor_); in GenerateStaticVariables()
163 vars["classname"] = name_resolver_->GetImmutableClassName(descriptor_); in GenerateStaticVariableInitializers()
338 name_resolver_->GetImmutableClassName(descriptor_), in Generate()
528 name_resolver_->GetImmutableClassName(descriptor_)); in Generate()
534 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in Generate()
541 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in Generate()
550 "classname", name_resolver_->GetImmutableClassName(descriptor_), in Generate()
562 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in Generate()
612 "classname", name_resolver_->GetImmutableClassName(descriptor_), in GenerateMessageSerializationMethods()
[all …]
Dmessage_lite.cc75 name_resolver_(context->GetNameResolver()), in ImmutableMessageLiteGenerator()
189 name_resolver_->GetImmutableClassName(descriptor_)); in Generate()
335 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in Generate()
381 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in Generate()
412 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in Generate()
423 name_resolver_->GetImmutableClassName(descriptor_)); in Generate()
445 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in Generate()
454 "classname", name_resolver_->GetImmutableClassName(descriptor_), in Generate()
654 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in GenerateParseFromMethods()
668 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in GenerateBuilder()
[all …]
Dextension_lite.cc50 : descriptor_(descriptor), name_resolver_(context->GetNameResolver()) { in ImmutableExtensionLiteGenerator()
53 name_resolver_->GetImmutableClassName(descriptor_->extension_scope()); in ImmutableExtensionLiteGenerator()
55 scope_ = name_resolver_->GetImmutableClassName(descriptor_->file()); in ImmutableExtensionLiteGenerator()
64 InitTemplateVars(descriptor_, scope_, kUseImmutableNames, name_resolver_, in Generate()
Dservice.cc62 name_resolver_(context->GetNameResolver()) {} in ImmutableServiceGenerator()
94 "file", name_resolver_->GetImmutableClassName(descriptor_->file()), in Generate()
191 return name_resolver_->GetImmutableClassName(method->output_type()); in GetOutput()
217 vars["input"] = name_resolver_->GetImmutableClassName(method->input_type()); in GenerateCallMethod()
264 vars["input"] = name_resolver_->GetImmutableClassName(method->input_type()); in GenerateCallBlockingMethod()
310 ? name_resolver_->GetImmutableClassName(method->input_type()) in GenerateGetPrototype()
340 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in GenerateStub()
450 vars["input"] = name_resolver_->GetImmutableClassName(method->input_type()); in GenerateMethodSignature()
464 vars["input"] = name_resolver_->GetImmutableClassName(method->input_type()); in GenerateBlockingMethodSignature()
Dfile.cc195 name_resolver_(context_->GetNameResolver()), in FileGenerator()
198 classname_ = name_resolver_->GetFileClassName(file, immutable_api); in FileGenerator()
217 if (name_resolver_->HasConflictingClassName(file_, classname_, in Validate()
233 if (name_resolver_->HasConflictingClassName( in Validate()
478 name_resolver_->GetImmutableClassName(file_->dependency(i)); in GenerateDescriptorInitializationCodeForImmutable()
503 name_resolver_->GetDescriptorClassName(file_)); in GenerateDescriptorInitializationCodeForMutable()
533 "immutable_classname", name_resolver_->GetImmutableClassName(file_)); in GenerateDescriptorInitializationCodeForMutable()
547 scope = name_resolver_->GetMutableClassName(field->extension_scope()) + in GenerateDescriptorInitializationCodeForMutable()
551 name_resolver_->GetDescriptorClassName(field->file()) + in GenerateDescriptorInitializationCodeForMutable()
564 name_resolver_->GetImmutableClassName(field->message_type())); in GenerateDescriptorInitializationCodeForMutable()
[all …]
Dextension.cc54 : descriptor_(descriptor), name_resolver_(context->GetNameResolver()) { in ImmutableExtensionGenerator()
57 name_resolver_->GetImmutableClassName(descriptor_->extension_scope()); in ImmutableExtensionGenerator()
59 scope_ = name_resolver_->GetImmutableClassName(descriptor_->file()); in ImmutableExtensionGenerator()
118 InitTemplateVars(descriptor_, scope_, kUseImmutableNames, name_resolver_, in Generate()
Dmessage_builder_lite.cc68 name_resolver_(context->GetNameResolver()), in MessageBuilderLiteGenerator()
90 "classname", name_resolver_->GetImmutableClassName(descriptor_), in Generate()
146 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in GenerateCommonBuilderMethods()
Dshared_code_generator.cc54 : name_resolver_(new ClassNameResolver), file_(file), options_(options) {} in SharedCodeGenerator()
66 std::string classname = name_resolver_->GetDescriptorClassName(file_); in Generate()
168 name_resolver_->GetDescriptorClassName(file_->dependency(i)); in GenerateDescriptors()
Dmessage_field_lite.cc121 name_resolver_(context->GetNameResolver()) { in ImmutableMessageFieldLiteGenerator()
124 name_resolver_, &variables_); in ImmutableMessageFieldLiteGenerator()
340 return name_resolver_->GetImmutableClassName(descriptor_->message_type()); in GetBoxedType()
498 : descriptor_(descriptor), name_resolver_(context->GetNameResolver()) { in RepeatedImmutableMessageFieldLiteGenerator()
501 name_resolver_, &variables_); in RepeatedImmutableMessageFieldLiteGenerator()
796 return name_resolver_->GetImmutableClassName(descriptor_->message_type()); in GetBoxedType()
Denum_field_lite.cc142 name_resolver_(context->GetNameResolver()) { in ImmutableEnumFieldLiteGenerator()
144 context->GetFieldGeneratorInfo(descriptor), name_resolver_, in ImmutableEnumFieldLiteGenerator()
341 return name_resolver_->GetImmutableClassName(descriptor_->enum_type()); in GetBoxedType()
501 name_resolver_(context->GetNameResolver()) { in RepeatedImmutableEnumFieldLiteGenerator()
503 context->GetFieldGeneratorInfo(descriptor), name_resolver_, in RepeatedImmutableEnumFieldLiteGenerator()
915 return name_resolver_->GetImmutableClassName(descriptor_->enum_type()); in GetBoxedType()
Denum_field.cc143 : descriptor_(descriptor), name_resolver_(context->GetNameResolver()) { in ImmutableEnumFieldGenerator()
145 context->GetFieldGeneratorInfo(descriptor), name_resolver_, in ImmutableEnumFieldGenerator()
399 return name_resolver_->GetImmutableClassName(descriptor_->enum_type()); in GetBoxedType()
629 : descriptor_(descriptor), name_resolver_(context->GetNameResolver()) { in RepeatedImmutableEnumFieldGenerator()
631 context->GetFieldGeneratorInfo(descriptor), name_resolver_, in RepeatedImmutableEnumFieldGenerator()
1149 return name_resolver_->GetImmutableClassName(descriptor_->enum_type()); in GetBoxedType()
Dstring_field_lite.h85 ClassNameResolver* name_resolver_; variable
129 ClassNameResolver* name_resolver_; variable
/external/cronet/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_message_builder.cc77 name_resolver_(context->GetNameResolver()), in MessageBuilderGenerator()
100 "classname", name_resolver_->GetImmutableClassName(descriptor_), in Generate()
110 "classname", name_resolver_->GetImmutableClassName(descriptor_), in Generate()
209 "fileclass", name_resolver_->GetImmutableClassName(descriptor_->file()), in GenerateDescriptorMethods()
281 "classname", name_resolver_->GetImmutableClassName(descriptor_), in GenerateDescriptorMethods()
282 "fileclass", name_resolver_->GetImmutableClassName(descriptor_->file()), in GenerateDescriptorMethods()
314 "classname", name_resolver_->GetImmutableClassName(descriptor_), in GenerateCommonBuilderMethods()
323 "classname", name_resolver_->GetImmutableClassName(descriptor_), "ver", in GenerateCommonBuilderMethods()
382 "fileclass", name_resolver_->GetImmutableClassName(descriptor_->file()), in GenerateCommonBuilderMethods()
392 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in GenerateCommonBuilderMethods()
[all …]
Djava_message.cc95 name_resolver_(context->GetNameResolver()), in ImmutableMessageGenerator()
116 vars["classname"] = name_resolver_->GetImmutableClassName(descriptor_); in GenerateStaticVariables()
160 vars["classname"] = name_resolver_->GetImmutableClassName(descriptor_); in GenerateStaticVariableInitializers()
335 name_resolver_->GetImmutableClassName(descriptor_), in Generate()
525 name_resolver_->GetImmutableClassName(descriptor_)); in Generate()
531 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in Generate()
538 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in Generate()
547 "classname", name_resolver_->GetImmutableClassName(descriptor_), in Generate()
559 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in Generate()
609 "classname", name_resolver_->GetImmutableClassName(descriptor_), in GenerateMessageSerializationMethods()
[all …]
Djava_message_lite.cc72 name_resolver_(context->GetNameResolver()), in ImmutableMessageLiteGenerator()
186 name_resolver_->GetImmutableClassName(descriptor_)); in Generate()
332 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in Generate()
378 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in Generate()
409 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in Generate()
420 name_resolver_->GetImmutableClassName(descriptor_)); in Generate()
442 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in Generate()
451 "classname", name_resolver_->GetImmutableClassName(descriptor_), in Generate()
651 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in GenerateParseFromMethods()
665 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in GenerateBuilder()
[all …]
Djava_extension_lite.cc47 : descriptor_(descriptor), name_resolver_(context->GetNameResolver()) { in ImmutableExtensionLiteGenerator()
50 name_resolver_->GetImmutableClassName(descriptor_->extension_scope()); in ImmutableExtensionLiteGenerator()
52 scope_ = name_resolver_->GetImmutableClassName(descriptor_->file()); in ImmutableExtensionLiteGenerator()
61 InitTemplateVars(descriptor_, scope_, kUseImmutableNames, name_resolver_, in Generate()
Djava_service.cc59 name_resolver_(context->GetNameResolver()) {} in ImmutableServiceGenerator()
91 "file", name_resolver_->GetImmutableClassName(descriptor_->file()), in Generate()
188 return name_resolver_->GetImmutableClassName(method->output_type()); in GetOutput()
214 vars["input"] = name_resolver_->GetImmutableClassName(method->input_type()); in GenerateCallMethod()
261 vars["input"] = name_resolver_->GetImmutableClassName(method->input_type()); in GenerateCallBlockingMethod()
307 ? name_resolver_->GetImmutableClassName(method->input_type()) in GenerateGetPrototype()
337 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in GenerateStub()
447 vars["input"] = name_resolver_->GetImmutableClassName(method->input_type()); in GenerateMethodSignature()
461 vars["input"] = name_resolver_->GetImmutableClassName(method->input_type()); in GenerateBlockingMethodSignature()
Djava_file.cc192 name_resolver_(context_->GetNameResolver()), in FileGenerator()
195 classname_ = name_resolver_->GetFileClassName(file, immutable_api); in FileGenerator()
214 if (name_resolver_->HasConflictingClassName(file_, classname_, in Validate()
230 if (name_resolver_->HasConflictingClassName( in Validate()
475 name_resolver_->GetImmutableClassName(file_->dependency(i)); in GenerateDescriptorInitializationCodeForImmutable()
500 name_resolver_->GetDescriptorClassName(file_)); in GenerateDescriptorInitializationCodeForMutable()
530 "immutable_classname", name_resolver_->GetImmutableClassName(file_)); in GenerateDescriptorInitializationCodeForMutable()
544 scope = name_resolver_->GetMutableClassName(field->extension_scope()) + in GenerateDescriptorInitializationCodeForMutable()
548 name_resolver_->GetDescriptorClassName(field->file()) + in GenerateDescriptorInitializationCodeForMutable()
561 name_resolver_->GetImmutableClassName(field->message_type())); in GenerateDescriptorInitializationCodeForMutable()
[all …]
Djava_extension.cc51 : descriptor_(descriptor), name_resolver_(context->GetNameResolver()) { in ImmutableExtensionGenerator()
54 name_resolver_->GetImmutableClassName(descriptor_->extension_scope()); in ImmutableExtensionGenerator()
56 scope_ = name_resolver_->GetImmutableClassName(descriptor_->file()); in ImmutableExtensionGenerator()
115 InitTemplateVars(descriptor_, scope_, kUseImmutableNames, name_resolver_, in Generate()
Djava_message_builder_lite.cc65 name_resolver_(context->GetNameResolver()), in MessageBuilderLiteGenerator()
87 "classname", name_resolver_->GetImmutableClassName(descriptor_), in Generate()
143 "classname", name_resolver_->GetImmutableClassName(descriptor_)); in GenerateCommonBuilderMethods()
Djava_shared_code_generator.cc54 : name_resolver_(new ClassNameResolver), file_(file), options_(options) {} in SharedCodeGenerator()
66 std::string classname = name_resolver_->GetDescriptorClassName(file_); in Generate()
168 name_resolver_->GetDescriptorClassName(file_->dependency(i)); in GenerateDescriptors()
Djava_message_field_lite.cc118 name_resolver_(context->GetNameResolver()) { in ImmutableMessageFieldLiteGenerator()
121 name_resolver_, &variables_); in ImmutableMessageFieldLiteGenerator()
337 return name_resolver_->GetImmutableClassName(descriptor_->message_type()); in GetBoxedType()
495 : descriptor_(descriptor), name_resolver_(context->GetNameResolver()) { in RepeatedImmutableMessageFieldLiteGenerator()
498 name_resolver_, &variables_); in RepeatedImmutableMessageFieldLiteGenerator()
793 return name_resolver_->GetImmutableClassName(descriptor_->message_type()); in GetBoxedType()
Djava_enum_field_lite.cc139 name_resolver_(context->GetNameResolver()) { in ImmutableEnumFieldLiteGenerator()
141 context->GetFieldGeneratorInfo(descriptor), name_resolver_, in ImmutableEnumFieldLiteGenerator()
338 return name_resolver_->GetImmutableClassName(descriptor_->enum_type()); in GetBoxedType()
498 name_resolver_(context->GetNameResolver()) { in RepeatedImmutableEnumFieldLiteGenerator()
500 context->GetFieldGeneratorInfo(descriptor), name_resolver_, in RepeatedImmutableEnumFieldLiteGenerator()
912 return name_resolver_->GetImmutableClassName(descriptor_->enum_type()); in GetBoxedType()
Djava_enum_field.cc140 : descriptor_(descriptor), name_resolver_(context->GetNameResolver()) { in ImmutableEnumFieldGenerator()
142 context->GetFieldGeneratorInfo(descriptor), name_resolver_, in ImmutableEnumFieldGenerator()
396 return name_resolver_->GetImmutableClassName(descriptor_->enum_type()); in GetBoxedType()
626 : descriptor_(descriptor), name_resolver_(context->GetNameResolver()) { in RepeatedImmutableEnumFieldGenerator()
628 context->GetFieldGeneratorInfo(descriptor), name_resolver_, in RepeatedImmutableEnumFieldGenerator()
1146 return name_resolver_->GetImmutableClassName(descriptor_->enum_type()); in GetBoxedType()

1234