/third_party/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_message.cc | 178 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 …]
|
D | objectivec_field.cc | 413 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()
|
D | objectivec_message.h | 86 FieldGeneratorMap field_generators_; variable
|
D | objectivec_field.h | 182 std::vector<std::unique_ptr<FieldGenerator>> field_generators_; variable
|
/third_party/protobuf/src/google/protobuf/compiler/java/ |
D | java_message_builder.cc | 75 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()
|
D | java_message.cc | 94 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 …]
|
D | java_message_lite.cc | 72 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()
|
D | java_field.cc | 208 : 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()
|
D | java_message_builder_lite.cc | 66 field_generators_(descriptor, context_) { in MessageBuilderLiteGenerator() 120 field_generators_.get(descriptor_->field(i)) in Generate()
|
D | java_field.h | 127 std::vector<std::unique_ptr<FieldGeneratorType>> field_generators_; variable 136 return *field_generators_[field->index()]; in get()
|
D | java_message_builder_lite.h | 75 FieldGeneratorMap<ImmutableFieldLiteGenerator> field_generators_; variable
|
D | java_message_builder.h | 78 FieldGeneratorMap<ImmutableFieldGenerator> field_generators_; variable
|
D | java_message_lite.h | 72 FieldGeneratorMap<ImmutableFieldLiteGenerator> field_generators_; variable
|
D | java_message.h | 135 FieldGeneratorMap<ImmutableFieldGenerator> field_generators_; variable
|
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_message.cc | 574 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 …]
|
D | cpp_field.cc | 119 : descriptor_(descriptor), field_generators_(descriptor->field_count()) { in FieldGeneratorMap() 122 field_generators_[i].reset( in FieldGeneratorMap() 189 return *field_generators_[field->index()]; in get()
|
D | cpp_field.h | 208 field_generators_[i]->SetHasBitIndex(has_bit_indices_[i]); in SetHasBitIndices() 214 std::vector<std::unique_ptr<FieldGenerator>> field_generators_; variable
|
D | cpp_message.h | 194 FieldGeneratorMap field_generators_; variable
|