Home
last modified time | relevance | path

Searched refs:FieldGenerator (Results 1 – 21 of 21) sorted by relevance

/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_field.cc121 FieldGenerator* FieldGenerator::Make(const FieldDescriptor* field, in Make()
123 FieldGenerator* result = NULL; in Make()
163 FieldGenerator::FieldGenerator(const FieldDescriptor* descriptor, in FieldGenerator() function in google::protobuf::compiler::objectivec::FieldGenerator
169 FieldGenerator::~FieldGenerator() {} in ~FieldGenerator()
171 void FieldGenerator::GenerateFieldNumberConstant(io::Printer* printer) const { in GenerateFieldNumberConstant()
177 void FieldGenerator::GenerateCFunctionDeclarations( in GenerateCFunctionDeclarations()
182 void FieldGenerator::GenerateCFunctionImplementations( in GenerateCFunctionImplementations()
187 void FieldGenerator::DetermineForwardDeclarations( in DetermineForwardDeclarations()
192 void FieldGenerator::DetermineObjectiveCClassDefinitions( in DetermineObjectiveCClassDefinitions()
197 void FieldGenerator::GenerateFieldDescription( in GenerateFieldDescription()
[all …]
Dobjectivec_field.h45 class FieldGenerator {
47 static FieldGenerator* Make(const FieldDescriptor* field,
50 virtual ~FieldGenerator();
52 FieldGenerator(const FieldGenerator&) = delete;
53 FieldGenerator& operator=(const FieldGenerator&) = delete;
96 FieldGenerator(const FieldDescriptor* descriptor, const Options& options);
105 class SingleFieldGenerator : public FieldGenerator {
169 const FieldGenerator& get(const FieldDescriptor* field) const;
170 const FieldGenerator& get_extension(int index) const;
182 std::vector<std::unique_ptr<FieldGenerator>> field_generators_;
[all …]
Dobjectivec_primitive_field.h44 friend FieldGenerator* FieldGenerator::Make(const FieldDescriptor* field,
62 friend FieldGenerator* FieldGenerator::Make(const FieldDescriptor* field,
76 friend FieldGenerator* FieldGenerator::Make(const FieldDescriptor* field,
Dobjectivec_enum_field.h44 friend FieldGenerator* FieldGenerator::Make(const FieldDescriptor* field,
61 friend FieldGenerator* FieldGenerator::Make(const FieldDescriptor* field,
Dobjectivec_message_field.h44 friend FieldGenerator* FieldGenerator::Make(const FieldDescriptor* field,
62 friend FieldGenerator* FieldGenerator::Make(const FieldDescriptor* field,
Dobjectivec_map_field.h44 friend FieldGenerator* FieldGenerator::Make(const FieldDescriptor* field,
61 std::unique_ptr<FieldGenerator> value_field_generator_;
Dobjectivec_map_field.cc91 value_field_generator_.reset(FieldGenerator::Make(value_descriptor, options)); in MapFieldGenerator()
Dobjectivec_message.cc490 const FieldGenerator& field_generator = in GenerateSource()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_field.h71 class FieldGenerator {
73 explicit FieldGenerator(const FieldDescriptor* descriptor, in FieldGenerator() function
76 virtual ~FieldGenerator();
194 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FieldGenerator);
204 const FieldGenerator& get(const FieldDescriptor* field) const;
214 std::vector<std::unique_ptr<FieldGenerator>> field_generators_;
216 static FieldGenerator* MakeGoogleInternalGenerator(
219 static FieldGenerator* MakeGenerator(const FieldDescriptor* field,
Dcpp_field.cc92 void FieldGenerator::SetHasBitIndex(int32 has_bit_index) { in SetHasBitIndex()
114 FieldGenerator::~FieldGenerator() {} in ~FieldGenerator()
127 FieldGenerator* FieldGeneratorMap::MakeGoogleInternalGenerator( in MakeGoogleInternalGenerator()
134 FieldGenerator* FieldGeneratorMap::MakeGenerator( in MakeGenerator()
137 FieldGenerator* generator = in MakeGenerator()
186 const FieldGenerator& FieldGeneratorMap::get( in get()
Dcpp_primitive_field.h47 class PrimitiveFieldGenerator : public FieldGenerator {
85 class RepeatedPrimitiveFieldGenerator : public FieldGenerator {
Dcpp_enum_field.h47 class EnumFieldGenerator : public FieldGenerator {
84 class RepeatedEnumFieldGenerator : public FieldGenerator {
Dcpp_string_field.h47 class StringFieldGenerator : public FieldGenerator {
103 class RepeatedStringFieldGenerator : public FieldGenerator {
Dcpp_message_field.h48 class MessageFieldGenerator : public FieldGenerator {
102 class RepeatedMessageFieldGenerator : public FieldGenerator {
Dcpp_enum_field.cc64 : FieldGenerator(descriptor, options) { in EnumFieldGenerator()
221 : FieldGenerator(descriptor, options) { in RepeatedEnumFieldGenerator()
Dcpp_map_field.h44 class MapFieldGenerator : public FieldGenerator {
Dcpp_primitive_field.cc122 : FieldGenerator(descriptor, options) { in PrimitiveFieldGenerator()
280 : FieldGenerator(descriptor, options) { in RepeatedPrimitiveFieldGenerator()
Dcpp_string_field.cc89 : FieldGenerator(descriptor, options), in StringFieldGenerator()
853 : FieldGenerator(descriptor, options) { in RepeatedStringFieldGenerator()
Dcpp_message_field.cc87 : FieldGenerator(descriptor, options), in MessageFieldGenerator()
676 : FieldGenerator(descriptor, options), in RepeatedMessageFieldGenerator()
Dcpp_map_field.cc95 : FieldGenerator(descriptor, options) { in MapFieldGenerator()
Dcpp_message.cc1559 const FieldGenerator& generator = field_generators_.get(field); in GenerateClassDefinition()
1739 uint32 CalcFieldNum(const FieldGenerator& generator, in CalcFieldNum()
1793 const FieldGenerator& generator = field_generators_.get(field); in GenerateFieldMetadata()
1889 const FieldGenerator& generator = field_generators_.get(field); in GenerateFieldMetadata()
2224 const FieldGenerator& generator = field_generators_.get(field); in GenerateParseOffsets()
3240 const FieldGenerator& generator = field_generators_.get(field); in GenerateClassSpecificMergeFrom()
3861 const FieldGenerator& generator = field_generators_.get(field); in GenerateByteSize()