Home
last modified time | relevance | path

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

/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_message.cc178 field_generators_(descriptor, options), in MessageGenerator()
224 field_generators_.get(fieldDescriptor) in DetermineForwardDeclarations()
238 field_generators_.get(fieldDescriptor) in DetermineObjectiveCClassDefinitions()
316 field_generators_.get(sorted_fields[i]) in GenerateMessageHeader()
354 field_generators_.get(field).GeneratePropertyDeclaration(printer); in GenerateMessageHeader()
360 field_generators_.get(descriptor_->field(i)) in GenerateMessageHeader()
408 field_generators_.get(descriptor_->field(i)) in GenerateSource()
431 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()
[all …]
Dobjectivec_field.cc413 field_generators_(descriptor->field_count()), in FieldGeneratorMap()
417 field_generators_[i].reset( in FieldGeneratorMap()
431 return *field_generators_[field->index()]; in get()
441 if (field_generators_[i]->RuntimeUsesHasBit()) { in CalculateHasBits()
442 field_generators_[i]->SetRuntimeHasBit(total_bits); in CalculateHasBits()
445 field_generators_[i]->SetNoHasBit(); in CalculateHasBits()
447 int extra_bits = field_generators_[i]->ExtraRuntimeHasBitsNeeded(); in CalculateHasBits()
449 field_generators_[i]->SetExtraRuntimeHasBitsBase(total_bits); in CalculateHasBits()
458 field_generators_[i]->SetOneofIndexBase(index_base); in SetOneofIndexBase()
Dobjectivec_message.h86 FieldGeneratorMap field_generators_; variable
Dobjectivec_field.h182 std::vector<std::unique_ptr<FieldGenerator>> field_generators_; variable
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_message_builder.cc75 field_generators_(descriptor, context_) { in MessageBuilderGenerator()
154 field_generators_.get(descriptor_->field(i)).GetNumBitsForBuilder(); in Generate()
164 field_generators_.get(descriptor_->field(i)) in Generate()
315 field_generators_.get(descriptor_->field(i)) in GenerateCommonBuilderMethods()
335 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()
540 field_generators_.get(descriptor_->field(i)) in GenerateCommonBuilderMethods()
556 field_generators_.get(field).GenerateMergingCode(printer); in GenerateCommonBuilderMethods()
Djava_message.cc94 field_generators_(descriptor, context_) { in ImmutableMessageGenerator()
276 field_generators_.get(descriptor_->field(i)) in GenerateInterface()
401 field_generators_.get(descriptor_->field(i)).GetNumBitsForMessage(); in Generate()
494 field_generators_.get(descriptor_->field(i)).GenerateMembers(printer); in Generate()
646 field_generators_.get(sorted_fields[i]).GenerateSerializedSizeCode(printer); in GenerateMessageSerializationMethods()
756 field_generators_.get(field).GenerateSerializationCode(printer); in GenerateSerializeOneField()
1019 field_generators_.get(field).GenerateEqualsCode(printer); in GenerateEqualsAndHashCode()
1042 field_generators_.get(field).GenerateEqualsCode(printer); in GenerateEqualsAndHashCode()
1098 field_generators_.get(field).GenerateHashCode(printer); in GenerateEqualsAndHashCode()
1116 field_generators_.get(field).GenerateHashCode(printer); in GenerateEqualsAndHashCode()
[all …]
Djava_message_lite.cc72 field_generators_(descriptor, context_) { in ImmutableMessageLiteGenerator()
139 field_generators_.get(descriptor_->field(i)) in GenerateInterface()
220 field_generators_.get(descriptor_->field(i)).GetNumBitsForMessage(); in Generate()
307 field_generators_.get(descriptor_->field(i)).GenerateMembers(printer); in Generate()
506 field_generators_.get(descriptor_->field(i)).GetNumBitsForMessage(); in GenerateDynamicMethodNewBuildMessageInfo()
547 field_generators_.get(field).GenerateFieldInfo(printer, &chars); in GenerateDynamicMethodNewBuildMessageInfo()
720 field_generators_.get(descriptor_->field(i)) in GenerateInitializers()
Djava_field.cc208 : descriptor_(descriptor), field_generators_(descriptor->field_count()) { in FieldGeneratorMap()
216 field_generators_[i].reset(generator); in FieldGeneratorMap()
228 : descriptor_(descriptor), field_generators_(descriptor->field_count()) { in FieldGeneratorMap()
235 field_generators_[i].reset(generator); in FieldGeneratorMap()
Djava_message_builder_lite.cc66 field_generators_(descriptor, context_) { in MessageBuilderLiteGenerator()
120 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.h135 FieldGeneratorMap<ImmutableFieldGenerator> field_generators_; variable
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc574 field_generators_(descriptor, options, scc_analyzer), in MessageGenerator()
618 field_generators_.SetHasBitIndices(has_bit_indices_); in MessageGenerator()
751 field_generators_.get(field).GenerateAccessorDeclarations(printer); in GenerateFieldAccessorDeclarations()
929 field_generators_.get(field).GenerateClearingCode(format.printer()); in GenerateFieldClear()
934 field_generators_.get(field).GenerateClearingCode(format.printer()); in GenerateFieldClear()
1002 field_generators_.get(field).GenerateInlineAccessorDefinitions(printer); in GenerateFieldAccessorDefinitions()
1559 const FieldGenerator& generator = field_generators_.get(field); in GenerateClassDefinition()
1576 field_generators_.get(field).GeneratePrivateMembers(printer); in GenerateClassDefinition()
1583 field_generators_.get(field).GenerateStaticMembers(printer); in GenerateClassDefinition()
1654 field_generators_.get(field).GeneratePrivateMembers(printer); in GenerateExtraDefaultFields()
[all …]
Dcpp_field.cc119 : descriptor_(descriptor), field_generators_(descriptor->field_count()) { in FieldGeneratorMap()
122 field_generators_[i].reset( in FieldGeneratorMap()
189 return *field_generators_[field->index()]; in get()
Dcpp_field.h208 field_generators_[i]->SetHasBitIndex(has_bit_indices_[i]); in SetHasBitIndices()
214 std::vector<std::unique_ptr<FieldGenerator>> field_generators_; variable
Dcpp_message.h194 FieldGeneratorMap field_generators_; variable