Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
318 field_generators_.get(sorted_fields[i]) in GenerateMessageHeader()
356 field_generators_.get(field).GeneratePropertyDeclaration(printer); in GenerateMessageHeader()
362 field_generators_.get(descriptor_->field(i)) in GenerateMessageHeader()
408 field_generators_.get(descriptor_->field(i)) in GenerateSource()
430 size_t num_has_bits = field_generators_.CalculateHasBits(); in GenerateSource()
444 field_generators_.SetOneofIndexBase(sizeof_has_storage); in GenerateSource()
458 field_generators_.get(size_order_fields[i]) in GenerateSource()
475 bool need_defaults = field_generators_.DoesAnyFieldHaveNonZeroDefault(); in GenerateSource()
[all …]
Dobjectivec_message.h86 FieldGeneratorMap field_generators_; variable
Dobjectivec_field.h185 scoped_array<scoped_ptr<FieldGenerator> > field_generators_; variable
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/
Djava_message_builder.cc83 field_generators_(descriptor, context_) { in MessageBuilderGenerator()
158 totalBits += field_generators_.get(descriptor_->field(i)) in Generate()
170 field_generators_.get(descriptor_->field(i)) in Generate()
329 field_generators_.get(descriptor_->field(i)) in GenerateCommonBuilderMethods()
348 field_generators_.get(descriptor_->field(i)) in GenerateCommonBuilderMethods()
407 field_generators_.get(descriptor_->field(i)); in GenerateCommonBuilderMethods()
431 field_generators_.get(descriptor_->field(i)).GenerateBuildingCode(printer); in GenerateCommonBuilderMethods()
540 field_generators_.get( in GenerateCommonBuilderMethods()
560 field_generators_.get(field).GenerateMergingCode(printer); in GenerateCommonBuilderMethods()
Djava_message_lite.cc89 field_generators_(descriptor, context_) { in ImmutableMessageLiteGenerator()
149 field_generators_.get(descriptor_->field(i)) in GenerateInterface()
228 totalBits += field_generators_.get(descriptor_->field(i)) in Generate()
324 field_generators_.get(descriptor_->field(i)).GenerateMembers(printer); in Generate()
542 field_generators_.get(sorted_fields[i]).GenerateSerializedSizeCode(printer); in GenerateMessageSerializationMethods()
640 field_generators_.get(field).GenerateSerializationCode(printer); in GenerateSerializeOneField()
806 field_generators_.get(descriptor_->field(i)) in GenerateDynamicMethodMakeImmutable()
833 field_generators_.get( in GenerateDynamicMethodVisit()
853 field_generators_.get(field).GenerateVisitCode(printer); in GenerateDynamicMethodVisit()
893 totalBits += field_generators_.get(descriptor_->field(i)) in GenerateDynamicMethodVisit()
[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_message.cc96 field_generators_(descriptor, context_) { in ImmutableMessageGenerator()
277 field_generators_.get(descriptor_->field(i)) in GenerateInterface()
401 totalBits += field_generators_.get(descriptor_->field(i)) in Generate()
496 field_generators_.get(descriptor_->field(i)).GenerateMembers(printer); in Generate()
641 field_generators_.get(sorted_fields[i]).GenerateSerializedSizeCode(printer); in GenerateMessageSerializationMethods()
746 field_generators_.get(field).GenerateSerializationCode(printer); in GenerateSerializeOneField()
1021 field_generators_.get(field).GenerateEqualsCode(printer); in GenerateEqualsAndHashCode()
1052 field_generators_.get(field).GenerateEqualsCode(printer); in GenerateEqualsAndHashCode()
1110 field_generators_.get(field).GenerateHashCode(printer); in GenerateEqualsAndHashCode()
1133 field_generators_.get(field).GenerateHashCode(printer); in GenerateEqualsAndHashCode()
[all …]
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_message_builder_lite.h73 FieldGeneratorMap<ImmutableFieldLiteGenerator> field_generators_; variable
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.h76 FieldGeneratorMap<ImmutableFieldGenerator> field_generators_; variable
Djava_message_lite.h82 FieldGeneratorMap<ImmutableFieldLiteGenerator> field_generators_; variable
Djava_message.h132 FieldGeneratorMap<ImmutableFieldGenerator> field_generators_; variable
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/
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_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()
1364 const FieldGenerator& generator = field_generators_.get(field); in GenerateClassDefinition()
1391 field_generators_.get(descriptor_->oneof_decl(i)-> in GenerateClassDefinition()
1399 field_generators_.get(descriptor_->oneof_decl(i)-> in GenerateClassDefinition()
[all …]
Dcpp_field.h215 google::protobuf::scoped_array<google::protobuf::scoped_ptr<FieldGenerator> > field_generators_; variable
Dcpp_message.h191 FieldGeneratorMap field_generators_; variable