Home
last modified time | relevance | path

Searched refs:field_generators_ (Results 1 – 25 of 26) sorted by relevance

12

/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_message.cc84 field_generators_(descriptor, params) { in MessageGenerator()
255 int totalInts = (field_generators_.total_bits() + 31) / 32; in Generate()
268 field_generators_.get(descriptor_->field(i)).GenerateMembers( in Generate()
273 if (lazy_init && field_generators_.saved_defaults_needed()) { in Generate()
290 field_generators_.get(descriptor_->field(i)) in Generate()
384 field_generators_.get(sorted_fields[i]).GenerateSerializedSizeCode(printer); in GenerateMessageSerializationMethods()
452 field_generators_.get(field).GenerateMergingCode(printer); in GenerateMergeFromMethods()
469 field_generators_.get(field).GenerateMergingCodeFromPacked(printer); in GenerateMergeFromMethods()
509 field_generators_.get(field).GenerateSerializationCode(printer); in GenerateSerializeOneField()
532 int totalInts = (field_generators_.total_bits() + 31) / 32; in GenerateFieldInitializers()
[all …]
Djavanano_field.cc78 field_generators_( in FieldGeneratorMap()
89 field_generators_[i].reset(field_generator); in FieldGeneratorMap()
150 return *field_generators_[field->index()]; in get()
Djavanano_message.h87 FieldGeneratorMap field_generators_; variable
Djavanano_field.h106 scoped_array<scoped_ptr<FieldGenerator> > field_generators_; variable
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_field.cc413 field_generators_( in FieldGeneratorMap()
419 field_generators_[i].reset( in FieldGeneratorMap()
433 return *field_generators_[field->index()]; in get()
443 if (field_generators_[i]->RuntimeUsesHasBit()) { in CalculateHasBits()
444 field_generators_[i]->SetRuntimeHasBit(total_bits); in CalculateHasBits()
447 field_generators_[i]->SetNoHasBit(); in CalculateHasBits()
449 int extra_bits = field_generators_[i]->ExtraRuntimeHasBitsNeeded(); in CalculateHasBits()
451 field_generators_[i]->SetExtraRuntimeHasBitsBase(total_bits); in CalculateHasBits()
460 field_generators_[i]->SetOneofIndexBase(index_base); in SetOneofIndexBase()
Dobjectivec_message.cc182 field_generators_(descriptor, options), in MessageGenerator()
237 field_generators_.get(fieldDescriptor) in DetermineForwardDeclarations()
302 field_generators_.get(sorted_fields[i]) in GenerateMessageHeader()
340 field_generators_.get(field).GeneratePropertyDeclaration(printer); in GenerateMessageHeader()
346 field_generators_.get(descriptor_->field(i)) in GenerateMessageHeader()
392 field_generators_.get(descriptor_->field(i)) in GenerateSource()
414 size_t num_has_bits = field_generators_.CalculateHasBits(); in GenerateSource()
428 field_generators_.SetOneofIndexBase(sizeof_has_storage); in GenerateSource()
442 field_generators_.get(size_order_fields[i]) in GenerateSource()
459 bool need_defaults = field_generators_.DoesAnyFieldHaveNonZeroDefault(); in GenerateSource()
[all …]
Dobjectivec_message.h83 FieldGeneratorMap field_generators_; variable
Dobjectivec_field.h185 scoped_array<scoped_ptr<FieldGenerator> > field_generators_; variable
/external/protobuf/src/google/protobuf/compiler/java/
Djava_message_lite.cc89 field_generators_(descriptor, context_) { in ImmutableMessageLiteGenerator()
144 field_generators_.get(descriptor_->field(i)) in GenerateInterface()
223 totalBits += field_generators_.get(descriptor_->field(i)) in Generate()
319 field_generators_.get(descriptor_->field(i)).GenerateMembers(printer); in Generate()
537 field_generators_.get(sorted_fields[i]).GenerateSerializedSizeCode(printer); in GenerateMessageSerializationMethods()
635 field_generators_.get(field).GenerateSerializationCode(printer); in GenerateSerializeOneField()
801 field_generators_.get(descriptor_->field(i)) in GenerateDynamicMethodMakeImmutable()
828 field_generators_.get( in GenerateDynamicMethodVisit()
848 field_generators_.get(field).GenerateVisitCode(printer); in GenerateDynamicMethodVisit()
888 totalBits += field_generators_.get(descriptor_->field(i)) in GenerateDynamicMethodVisit()
[all …]
Djava_message_builder.cc83 field_generators_(descriptor, context_) { in MessageBuilderGenerator()
156 totalBits += field_generators_.get(descriptor_->field(i)) in Generate()
168 field_generators_.get(descriptor_->field(i)) in Generate()
311 field_generators_.get(descriptor_->field(i)) in GenerateCommonBuilderMethods()
330 field_generators_.get(descriptor_->field(i)) in GenerateCommonBuilderMethods()
389 field_generators_.get(descriptor_->field(i)); in GenerateCommonBuilderMethods()
413 field_generators_.get(descriptor_->field(i)).GenerateBuildingCode(printer); in GenerateCommonBuilderMethods()
466 field_generators_.get( in GenerateCommonBuilderMethods()
486 field_generators_.get(field).GenerateMergingCode(printer); in GenerateCommonBuilderMethods()
Djava_message.cc96 field_generators_(descriptor, context_) { in ImmutableMessageGenerator()
271 field_generators_.get(descriptor_->field(i)) in GenerateInterface()
386 totalBits += field_generators_.get(descriptor_->field(i)) in Generate()
481 field_generators_.get(descriptor_->field(i)).GenerateMembers(printer); in Generate()
627 field_generators_.get(sorted_fields[i]).GenerateSerializedSizeCode(printer); in GenerateMessageSerializationMethods()
731 field_generators_.get(field).GenerateSerializationCode(printer); in GenerateSerializeOneField()
1004 field_generators_.get(field).GenerateEqualsCode(printer); in GenerateEqualsAndHashCode()
1035 field_generators_.get(field).GenerateEqualsCode(printer); in GenerateEqualsAndHashCode()
1093 field_generators_.get(field).GenerateHashCode(printer); in GenerateEqualsAndHashCode()
1116 field_generators_.get(field).GenerateHashCode(printer); in GenerateEqualsAndHashCode()
[all …]
Djava_message_builder_lite.cc83 field_generators_(descriptor, context_) { in MessageBuilderLiteGenerator()
136 totalBits += field_generators_.get(descriptor_->field(i)) in Generate()
148 field_generators_.get(descriptor_->field(i)) in Generate()
Djava_field.cc249 field_generators_(new google::protobuf::scoped_ptr< in FieldGeneratorMap()
259 field_generators_[i].reset(generator); in FieldGeneratorMap()
272 field_generators_(new google::protobuf::scoped_ptr< in FieldGeneratorMap()
281 field_generators_[i].reset(generator); in FieldGeneratorMap()
Djava_field.h143 …oogle::protobuf::scoped_array<google::protobuf::scoped_ptr<FieldGeneratorType> > field_generators_; variable
152 return *field_generators_[field->index()]; in get()
Djava_message_builder_lite.h73 FieldGeneratorMap<ImmutableFieldLiteGenerator> field_generators_; variable
Djava_message_builder.h76 FieldGeneratorMap<ImmutableFieldGenerator> field_generators_; variable
Djava_message_lite.h83 FieldGeneratorMap<ImmutableFieldLiteGenerator> field_generators_; variable
Djava_message.h133 FieldGeneratorMap<ImmutableFieldGenerator> field_generators_; variable
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_field.cc51 field_generators_( in FieldGeneratorMap()
58 field_generators_[i].reset(MakeGenerator(descriptor->field(i), params)); in FieldGeneratorMap()
92 return *field_generators_[field->index()]; in get()
Djavamicro_message.cc144 field_generators_(descriptor, params) { in MessageGenerator()
213 field_generators_.get(descriptor_->field(i)).GenerateMembers(printer); in Generate()
276 field_generators_.get(sorted_fields[i]).GenerateSerializedSizeCode(printer); in GenerateMessageSerializationMethods()
337 field_generators_.get(field).GenerateParsingCode(printer); in GenerateMergeFromMethods()
377 field_generators_.get(field).GenerateSerializationCode(printer); in GenerateSerializeOneField()
Djavamicro_message.h83 FieldGeneratorMap field_generators_; variable
Djavamicro_field.h85 scoped_array<scoped_ptr<FieldGenerator> > field_generators_; variable
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc383 field_generators_(descriptor, options), in MessageGenerator()
485 field_generators_.get(field).GenerateDependentAccessorDeclarations(printer); in GenerateDependentFieldAccessorDeclarations()
537 field_generators_.get(field).GenerateAccessorDeclarations(printer); in GenerateFieldAccessorDeclarations()
601 field_generators_.get(field) in GenerateDependentFieldAccessorDefinitions()
722 field_generators_.get(field) in GenerateFieldClear()
729 field_generators_.get(field) in GenerateFieldClear()
794 field_generators_.get(field).GenerateInlineAccessorDefinitions(printer, in GenerateFieldAccessorDefinitions()
1348 const FieldGenerator& generator = field_generators_.get(field); in GenerateClassDefinition()
1375 field_generators_.get(descriptor_->oneof_decl(i)-> in GenerateClassDefinition()
1383 field_generators_.get(descriptor_->oneof_decl(i)-> in GenerateClassDefinition()
[all …]
Dcpp_field.cc127 field_generators_( in FieldGeneratorMap()
131 field_generators_[i].reset(MakeGenerator(descriptor->field(i), options)); in FieldGeneratorMap()
194 return *field_generators_[field->index()]; in get()
Dcpp_field.h215 google::protobuf::scoped_array<google::protobuf::scoped_ptr<FieldGenerator> > field_generators_; variable

12