Home
last modified time | relevance | path

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

12

/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_field.cc113 FieldGenerator* FieldGenerator::Make(const FieldDescriptor* field, in Make()
115 FieldGenerator* result = NULL; in Make()
155 FieldGenerator::FieldGenerator(const FieldDescriptor* descriptor, in FieldGenerator() function in google::protobuf::compiler::objectivec::FieldGenerator
161 FieldGenerator::~FieldGenerator() {} in ~FieldGenerator()
163 void FieldGenerator::GenerateFieldNumberConstant(io::Printer* printer) const { in GenerateFieldNumberConstant()
169 void FieldGenerator::GenerateCFunctionDeclarations( in GenerateCFunctionDeclarations()
174 void FieldGenerator::GenerateCFunctionImplementations( in GenerateCFunctionImplementations()
179 void FieldGenerator::DetermineForwardDeclarations( in DetermineForwardDeclarations()
184 void FieldGenerator::GenerateFieldDescription( in GenerateFieldDescription()
215 void FieldGenerator::SetRuntimeHasBit(int has_index) { in SetRuntimeHasBit()
[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;
95 FieldGenerator(const FieldDescriptor* descriptor, const Options& options);
104 class SingleFieldGenerator : public FieldGenerator {
170 const FieldGenerator& get(const FieldDescriptor* field) const;
171 const FieldGenerator& get_extension(int index) const;
183 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,
60 std::unique_ptr<FieldGenerator> value_field_generator_;
/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 std::unique_ptr<std::unique_ptr<FieldGenerator>[]> field_generators_;
86 std::unique_ptr<std::unique_ptr<FieldGenerator>[]> extension_generators_;
88 static FieldGenerator* MakeGenerator(const FieldDescriptor* field, const Params &params);
Djavamicro_field.cc47 FieldGenerator::~FieldGenerator() {} in ~FieldGenerator()
52 new std::unique_ptr<FieldGenerator>[descriptor->field_count()]), in FieldGeneratorMap()
54 new std::unique_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()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_field.cc48 FieldGenerator::~FieldGenerator() {} in ~FieldGenerator()
50 bool FieldGenerator::SavedDefaultNeeded() const { in SavedDefaultNeeded()
57 void FieldGenerator::GenerateInitSavedDefaultCode(io::Printer* printer) const { in GenerateInitSavedDefaultCode()
63 void FieldGenerator::GenerateMergingCodeFromPacked(io::Printer* printer) const { in GenerateMergingCodeFromPacked()
79 new std::unique_ptr<FieldGenerator>[descriptor->field_count()]) { in FieldGeneratorMap()
85 FieldGenerator* field_generator = MakeGenerator( in FieldGeneratorMap()
95 FieldGenerator* FieldGeneratorMap::MakeGenerator(const FieldDescriptor* field, in MakeGenerator()
147 const FieldGenerator& FieldGeneratorMap::get( in get()
Djavanano_field.h55 class FieldGenerator {
57 FieldGenerator(const Params& params) : params_(params) {} in FieldGenerator() function
58 virtual ~FieldGenerator();
91 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FieldGenerator);
100 const FieldGenerator& get(const FieldDescriptor* field) const;
106 std::unique_ptr<std::unique_ptr<FieldGenerator>[]> field_generators_;
110 static FieldGenerator* MakeGenerator(const FieldDescriptor* field,
Djavanano_primitive_field.h47 class PrimitiveFieldGenerator : public FieldGenerator {
73 class AccessorPrimitiveFieldGenerator : public FieldGenerator {
97 class PrimitiveOneofFieldGenerator : public FieldGenerator {
119 class RepeatedPrimitiveFieldGenerator : public FieldGenerator {
Djavanano_message_field.h47 class MessageFieldGenerator : public FieldGenerator {
70 class MessageOneofFieldGenerator : public FieldGenerator {
93 class RepeatedMessageFieldGenerator : public FieldGenerator {
Djavanano_enum_field.h48 class EnumFieldGenerator : public FieldGenerator {
71 class AccessorEnumFieldGenerator : public FieldGenerator {
94 class RepeatedEnumFieldGenerator : public FieldGenerator {
Djavanano_message_field.cc78 : FieldGenerator(params), descriptor_(descriptor) { in MessageFieldGenerator()
161 : FieldGenerator(params), descriptor_(descriptor) { in MessageOneofFieldGenerator()
245 : FieldGenerator(params), descriptor_(descriptor) { in RepeatedMessageFieldGenerator()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_field.h71 class FieldGenerator {
73 explicit FieldGenerator(const FieldDescriptor* descriptor, in FieldGenerator() function
76 virtual ~FieldGenerator();
210 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FieldGenerator);
220 const FieldGenerator& get(const FieldDescriptor* field) const;
230 std::vector<std::unique_ptr<FieldGenerator>> field_generators_;
232 static FieldGenerator* MakeGoogleInternalGenerator(
235 static FieldGenerator* MakeGenerator(const FieldDescriptor* field,
Dcpp_field.cc93 void FieldGenerator::SetHasBitIndex(int32 has_bit_index) { in SetHasBitIndex()
114 FieldGenerator::~FieldGenerator() {} in ~FieldGenerator()
116 void FieldGenerator::GenerateMergeFromCodedStreamWithPacking( in GenerateMergeFromCodedStreamWithPacking()
138 FieldGenerator* FieldGeneratorMap::MakeGoogleInternalGenerator( in MakeGoogleInternalGenerator()
145 FieldGenerator* FieldGeneratorMap::MakeGenerator( in MakeGenerator()
148 FieldGenerator* generator = in MakeGenerator()
197 const FieldGenerator& FieldGeneratorMap::get( in get()
Dcpp_primitive_field.h47 class PrimitiveFieldGenerator : public FieldGenerator {
88 class RepeatedPrimitiveFieldGenerator : public FieldGenerator {
Dcpp_enum_field.h47 class EnumFieldGenerator : public FieldGenerator {
86 class RepeatedEnumFieldGenerator : public FieldGenerator {
Dcpp_message_field.h48 class MessageFieldGenerator : public FieldGenerator {
104 class RepeatedMessageFieldGenerator : public FieldGenerator {
Dcpp_string_field.h47 class StringFieldGenerator : public FieldGenerator {
107 class RepeatedStringFieldGenerator : public FieldGenerator {

12