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 std::unique_ptr<std::unique_ptr<FieldGenerator>[]> field_generators_; variable
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_message.cc181 field_generators_(descriptor, options), in MessageGenerator()
227 field_generators_.get(fieldDescriptor) in DetermineForwardDeclarations()
295 field_generators_.get(sorted_fields[i]) in GenerateMessageHeader()
332 field_generators_.get(field).GeneratePropertyDeclaration(printer); in GenerateMessageHeader()
338 field_generators_.get(descriptor_->field(i)) in GenerateMessageHeader()
386 field_generators_.get(descriptor_->field(i)) in GenerateSource()
408 size_t num_has_bits = field_generators_.CalculateHasBits(); in GenerateSource()
421 field_generators_.SetOneofIndexBase(sizeof_has_storage); in GenerateSource()
435 field_generators_.get(size_order_fields[i]) in GenerateSource()
452 bool need_defaults = field_generators_.DoesAnyFieldHaveNonZeroDefault(); in GenerateSource()
[all …]
Dobjectivec_field.cc412 field_generators_(descriptor->field_count()), in FieldGeneratorMap()
416 field_generators_[i].reset( in FieldGeneratorMap()
430 return *field_generators_[field->index()]; in get()
440 if (field_generators_[i]->RuntimeUsesHasBit()) { in CalculateHasBits()
441 field_generators_[i]->SetRuntimeHasBit(total_bits); in CalculateHasBits()
444 field_generators_[i]->SetNoHasBit(); in CalculateHasBits()
446 int extra_bits = field_generators_[i]->ExtraRuntimeHasBitsNeeded(); in CalculateHasBits()
448 field_generators_[i]->SetExtraRuntimeHasBitsBase(total_bits); in CalculateHasBits()
457 field_generators_[i]->SetOneofIndexBase(index_base); in SetOneofIndexBase()
Dobjectivec_message.h85 FieldGeneratorMap field_generators_; variable
Dobjectivec_field.h183 std::vector<std::unique_ptr<FieldGenerator>> field_generators_; variable
/external/protobuf/src/google/protobuf/compiler/java/
Djava_message_builder.cc77 field_generators_(descriptor, context_) { in MessageBuilderGenerator()
153 field_generators_.get(descriptor_->field(i)).GetNumBitsForBuilder(); in Generate()
163 field_generators_.get(descriptor_->field(i)) in Generate()
314 field_generators_.get(descriptor_->field(i)) in GenerateCommonBuilderMethods()
334 field_generators_.get(descriptor_->field(i)) in GenerateCommonBuilderMethods()
397 field_generators_.get(descriptor_->field(i)); in GenerateCommonBuilderMethods()
419 field_generators_.get(descriptor_->field(i)).GenerateBuildingCode(printer); in GenerateCommonBuilderMethods()
541 field_generators_.get(descriptor_->field(i)) in GenerateCommonBuilderMethods()
558 field_generators_.get(field).GenerateMergingCode(printer); in GenerateCommonBuilderMethods()
Djava_message.cc90 field_generators_(descriptor, context_) { in ImmutableMessageGenerator()
271 field_generators_.get(descriptor_->field(i)) in GenerateInterface()
398 field_generators_.get(descriptor_->field(i)).GetNumBitsForMessage(); in Generate()
487 field_generators_.get(descriptor_->field(i)).GenerateMembers(printer); in Generate()
639 field_generators_.get(sorted_fields[i]).GenerateSerializedSizeCode(printer); in GenerateMessageSerializationMethods()
749 field_generators_.get(field).GenerateSerializationCode(printer); in GenerateSerializeOneField()
1023 field_generators_.get(field).GenerateEqualsCode(printer); in GenerateEqualsAndHashCode()
1048 field_generators_.get(field).GenerateEqualsCode(printer); in GenerateEqualsAndHashCode()
1104 field_generators_.get(field).GenerateHashCode(printer); in GenerateEqualsAndHashCode()
1123 field_generators_.get(field).GenerateHashCode(printer); in GenerateEqualsAndHashCode()
[all …]
Djava_message_lite.cc74 field_generators_(descriptor, context_) { in ImmutableMessageLiteGenerator()
136 field_generators_.get(descriptor_->field(i)) in GenerateInterface()
219 field_generators_.get(descriptor_->field(i)).GetNumBitsForMessage(); in Generate()
308 field_generators_.get(descriptor_->field(i)).GenerateMembers(printer); in Generate()
508 field_generators_.get(descriptor_->field(i)).GetNumBitsForMessage(); in GenerateDynamicMethodNewBuildMessageInfo()
549 field_generators_.get(field).GenerateFieldInfo(printer, &chars); in GenerateDynamicMethodNewBuildMessageInfo()
722 field_generators_.get(descriptor_->field(i)) in GenerateInitializers()
Djava_field.cc209 : descriptor_(descriptor), field_generators_(descriptor->field_count()) { in FieldGeneratorMap()
217 field_generators_[i].reset(generator); in FieldGeneratorMap()
229 : descriptor_(descriptor), field_generators_(descriptor->field_count()) { in FieldGeneratorMap()
236 field_generators_[i].reset(generator); in FieldGeneratorMap()
Djava_message_builder_lite.cc67 field_generators_(descriptor, context_) { in MessageBuilderLiteGenerator()
118 field_generators_.get(descriptor_->field(i)) in Generate()
Djava_field.h127 std::vector<std::unique_ptr<FieldGeneratorType>> field_generators_; variable
136 return *field_generators_[field->index()]; in get()
Djava_message_builder_lite.h75 FieldGeneratorMap<ImmutableFieldLiteGenerator> field_generators_; variable
Djava_message_builder.h78 FieldGeneratorMap<ImmutableFieldGenerator> field_generators_; variable
Djava_message_lite.h72 FieldGeneratorMap<ImmutableFieldLiteGenerator> field_generators_; variable
Djava_message.h134 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 std::unique_ptr<std::unique_ptr<FieldGenerator>[]> field_generators_; variable
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc613 field_generators_(descriptor, options, scc_analyzer), in MessageGenerator()
653 field_generators_.SetHasBitIndices(has_bit_indices_); in MessageGenerator()
753 field_generators_.get(field).GenerateAccessorDeclarations(printer); in GenerateFieldAccessorDeclarations()
872 field_generators_.get(field).GenerateClearingCode(format.printer()); in GenerateFieldClear()
877 field_generators_.get(field).GenerateClearingCode(format.printer()); in GenerateFieldClear()
930 field_generators_.get(field).GenerateInlineAccessorDefinitions(printer); in GenerateFieldAccessorDefinitions()
1512 const FieldGenerator& generator = field_generators_.get(field); in GenerateClassDefinition()
1528 field_generators_.get(field).GeneratePrivateMembers(printer); in GenerateClassDefinition()
1533 field_generators_.get(field).GenerateStaticMembers(printer); in GenerateClassDefinition()
1601 field_generators_.get(field).GeneratePrivateMembers(printer); in GenerateExtraDefaultFields()
[all …]
Dcpp_field.cc130 : descriptor_(descriptor), field_generators_(descriptor->field_count()) { in FieldGeneratorMap()
133 field_generators_[i].reset( in FieldGeneratorMap()
200 return *field_generators_[field->index()]; in get()
Dcpp_field.h224 field_generators_[i]->SetHasBitIndex(has_bit_indices_[i]); in SetHasBitIndices()
230 std::vector<std::unique_ptr<FieldGenerator>> field_generators_; variable

12