Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_field.h54 class FieldGenerator {
57 FieldGenerator(const Params& params) : params_(params) {} in FieldGenerator() function
58 virtual ~FieldGenerator();
71 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FieldGenerator);
80 const FieldGenerator& get(const FieldDescriptor* field) const;
81 const FieldGenerator& get_extension(int index) const;
85 scoped_array<scoped_ptr<FieldGenerator> > field_generators_;
86 scoped_array<scoped_ptr<FieldGenerator> > extension_generators_;
88 static FieldGenerator* MakeGenerator(const FieldDescriptor* field, const Params &params);
Djavamicro_field.cc47 FieldGenerator::~FieldGenerator() {} in ~FieldGenerator()
52 new scoped_ptr<FieldGenerator>[descriptor->field_count()]), in FieldGeneratorMap()
54 new scoped_ptr<FieldGenerator>[descriptor->extension_count()]) { in FieldGeneratorMap()
65 FieldGenerator* FieldGeneratorMap::MakeGenerator(const FieldDescriptor* field, const Params &params… in MakeGenerator()
89 const FieldGenerator& FieldGeneratorMap::get( in get()
95 const FieldGenerator& FieldGeneratorMap::get_extension(int index) const { in get_extension()
Djavamicro_primitive_field.h47 class PrimitiveFieldGenerator : public FieldGenerator {
68 class RepeatedPrimitiveFieldGenerator : public FieldGenerator {
Djavamicro_enum_field.h47 class EnumFieldGenerator : public FieldGenerator {
68 class RepeatedEnumFieldGenerator : public FieldGenerator {
Djavamicro_message_field.h47 class MessageFieldGenerator : public FieldGenerator {
68 class RepeatedMessageFieldGenerator : public FieldGenerator {
Djavamicro_message_field.cc74 : FieldGenerator(params), descriptor_(descriptor) { in MessageFieldGenerator()
155 : FieldGenerator(params), descriptor_(descriptor) { in RepeatedMessageFieldGenerator()
Djavamicro_enum_field.cc75 : FieldGenerator(params), descriptor_(descriptor) { in EnumFieldGenerator()
140 : FieldGenerator(params), descriptor_(descriptor) { in RepeatedEnumFieldGenerator()
Djavamicro_primitive_field.cc218 : FieldGenerator(params), descriptor_(descriptor) { in PrimitiveFieldGenerator()
334 : FieldGenerator(params), descriptor_(descriptor) { in RepeatedPrimitiveFieldGenerator()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_field.cc47 FieldGenerator::~FieldGenerator() {} in ~FieldGenerator()
49 bool FieldGenerator::SavedDefaultNeeded() const { in SavedDefaultNeeded()
56 void FieldGenerator::GenerateInitSavedDefaultCode(io::Printer* printer) const { in GenerateInitSavedDefaultCode()
62 void FieldGenerator::GenerateMergingCodeFromPacked(io::Printer* printer) const { in GenerateMergingCodeFromPacked()
78 new scoped_ptr<FieldGenerator>[descriptor->field_count()]) { in FieldGeneratorMap()
84 FieldGenerator* field_generator = MakeGenerator( in FieldGeneratorMap()
94 FieldGenerator* FieldGeneratorMap::MakeGenerator(const FieldDescriptor* field, in MakeGenerator()
134 const FieldGenerator& FieldGeneratorMap::get( in get()
Djavanano_field.h54 class FieldGenerator {
56 FieldGenerator(const Params& params) : params_(params) {} in FieldGenerator() function
57 virtual ~FieldGenerator();
90 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FieldGenerator);
99 const FieldGenerator& get(const FieldDescriptor* field) const;
105 scoped_array<scoped_ptr<FieldGenerator> > field_generators_;
109 static FieldGenerator* MakeGenerator(const FieldDescriptor* field,
Djavanano_enum_field.h48 class EnumFieldGenerator : public FieldGenerator {
71 class AccessorEnumFieldGenerator : public FieldGenerator {
94 class RepeatedEnumFieldGenerator : public FieldGenerator {
Djavanano_primitive_field.h47 class PrimitiveFieldGenerator : public FieldGenerator {
75 class AccessorPrimitiveFieldGenerator : public FieldGenerator {
99 class RepeatedPrimitiveFieldGenerator : public FieldGenerator {
Djavanano_message_field.h47 class MessageFieldGenerator : public FieldGenerator {
70 class RepeatedMessageFieldGenerator : public FieldGenerator {
Djavanano_message_field.cc78 : FieldGenerator(params), descriptor_(descriptor) { in MessageFieldGenerator()
162 : FieldGenerator(params), descriptor_(descriptor) { in RepeatedMessageFieldGenerator()
Djavanano_enum_field.cc114 : FieldGenerator(params), descriptor_(descriptor) { in EnumFieldGenerator()
267 : FieldGenerator(params), descriptor_(descriptor) { in AccessorEnumFieldGenerator()
377 : FieldGenerator(params), descriptor_(descriptor) { in RepeatedEnumFieldGenerator()
Djavanano_primitive_field.cc260 : FieldGenerator(params), descriptor_(descriptor) { in PrimitiveFieldGenerator()
582 : FieldGenerator(params), descriptor_(descriptor) { in AccessorPrimitiveFieldGenerator()
773 : FieldGenerator(params), descriptor_(descriptor) { in RepeatedPrimitiveFieldGenerator()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_field.h67 class FieldGenerator {
69 FieldGenerator() {} in FieldGenerator() function
70 virtual ~FieldGenerator();
158 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FieldGenerator);
167 const FieldGenerator& get(const FieldDescriptor* field) const;
171 scoped_array<scoped_ptr<FieldGenerator> > field_generators_;
173 static FieldGenerator* MakeGenerator(const FieldDescriptor* field,
Dcpp_field.cc79 FieldGenerator::~FieldGenerator() {} in ~FieldGenerator()
81 void FieldGenerator::
97 new scoped_ptr<FieldGenerator>[descriptor->field_count()]) { in FieldGeneratorMap()
104 FieldGenerator* FieldGeneratorMap::MakeGenerator(const FieldDescriptor* field, in MakeGenerator()
156 const FieldGenerator& FieldGeneratorMap::get( in get()
Dcpp_enum_field.h47 class EnumFieldGenerator : public FieldGenerator {
90 class RepeatedEnumFieldGenerator : public FieldGenerator {
Dcpp_primitive_field.h47 class PrimitiveFieldGenerator : public FieldGenerator {
91 class RepeatedPrimitiveFieldGenerator : public FieldGenerator {
Dcpp_message_field.h47 class MessageFieldGenerator : public FieldGenerator {
90 class RepeatedMessageFieldGenerator : public FieldGenerator {
Dcpp_string_field.h47 class StringFieldGenerator : public FieldGenerator {
96 class RepeatedStringFieldGenerator : public FieldGenerator {
Dcpp_message.cc855 const FieldGenerator& generator = field_generators_.get(field); in GenerateClassDefinition()
2054 const FieldGenerator& field_generator = field_generators_.get(field); in GenerateMergeFromCodedStream()