/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_message.cc | 84 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 …]
|
D | javanano_field.cc | 78 field_generators_( in FieldGeneratorMap() 89 field_generators_[i].reset(field_generator); in FieldGeneratorMap() 150 return *field_generators_[field->index()]; in get()
|
D | javanano_message.h | 87 FieldGeneratorMap field_generators_; variable
|
D | javanano_field.h | 106 std::unique_ptr<std::unique_ptr<FieldGenerator>[]> field_generators_; variable
|
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_message.cc | 181 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 …]
|
D | objectivec_field.cc | 412 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()
|
D | objectivec_message.h | 85 FieldGeneratorMap field_generators_; variable
|
D | objectivec_field.h | 183 std::vector<std::unique_ptr<FieldGenerator>> field_generators_; variable
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_message_builder.cc | 77 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()
|
D | java_message.cc | 90 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 …]
|
D | java_message_lite.cc | 74 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()
|
D | java_field.cc | 209 : 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()
|
D | java_message_builder_lite.cc | 67 field_generators_(descriptor, context_) { in MessageBuilderLiteGenerator() 118 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 | 134 FieldGeneratorMap<ImmutableFieldGenerator> field_generators_; variable
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_field.cc | 51 field_generators_( in FieldGeneratorMap() 58 field_generators_[i].reset(MakeGenerator(descriptor->field(i), params)); in FieldGeneratorMap() 92 return *field_generators_[field->index()]; in get()
|
D | javamicro_message.cc | 144 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()
|
D | javamicro_message.h | 83 FieldGeneratorMap field_generators_; variable
|
D | javamicro_field.h | 85 std::unique_ptr<std::unique_ptr<FieldGenerator>[]> field_generators_; variable
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_message.cc | 613 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 …]
|
D | cpp_field.cc | 130 : descriptor_(descriptor), field_generators_(descriptor->field_count()) { in FieldGeneratorMap() 133 field_generators_[i].reset( in FieldGeneratorMap() 200 return *field_generators_[field->index()]; in get()
|
D | cpp_field.h | 224 field_generators_[i]->SetHasBitIndex(has_bit_indices_[i]); in SetHasBitIndices() 230 std::vector<std::unique_ptr<FieldGenerator>> field_generators_; variable
|