Searched defs:cpp_type (Results 1 - 9 of 9) sorted by relevance

/external/protobuf/src/google/protobuf/
H A Drepeated_field_reflection.h51 // of the value depends on the field's cpp_type. Following is a mapping from
52 // cpp_type to the type that should be used in this interface:
54 // field->cpp_type() T Actual type of void*
249 static const FieldDescriptor::CppType cpp_type = \
269 static const FieldDescriptor::CppType cpp_type = member in struct:google::protobuf::internal::RefTypeTraits
270 PrimitiveTraits<T>::cpp_type;
285 static const FieldDescriptor::CppType cpp_type = member in struct:google::protobuf::internal::RefTypeTraits
300 static const FieldDescriptor::CppType cpp_type = member in struct:google::protobuf::internal::RefTypeTraits
328 static const FieldDescriptor::CppType cpp_type = member in struct:google::protobuf::internal::RefTypeTraits
H A Dextension_set_heavy.cc128 inline FieldDescriptor::CppType cpp_type(FieldType type) { function in namespace:google::protobuf::internal
142 GOOGLE_DCHECK_EQ(cpp_type((EXTENSION).type), FieldDescriptor::CPPTYPE_##CPPTYPE)
167 GOOGLE_DCHECK_EQ(cpp_type(extension->type), FieldDescriptor::CPPTYPE_MESSAGE);
220 GOOGLE_DCHECK_EQ(cpp_type(extension->type), FieldDescriptor::CPPTYPE_MESSAGE);
274 if (extension->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
280 } else if (extension->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) {
339 switch (cpp_type(type)) {
367 switch (cpp_type(type)) {
H A Dreflection.h98 internal::RefTypeTraits<T>::cpp_type, NULL);
163 message, field, internal::RefTypeTraits<T>::cpp_type, NULL);
220 internal::RefTypeTraits<T>::cpp_type,
295 message, field, internal::RefTypeTraits<T>::cpp_type,
313 // of the value depends on the field's cpp_type. Following is a mapping from
314 // cpp_type to the type that should be used in this interface:
316 // field->cpp_type() T Actual type of void*
511 static const FieldDescriptor::CppType cpp_type = \
531 static const FieldDescriptor::CppType cpp_type = member in struct:google::protobuf::internal::RefTypeTraits
532 PrimitiveTraits<T>::cpp_type;
547 static const FieldDescriptor::CppType cpp_type = member in struct:google::protobuf::internal::RefTypeTraits
562 static const FieldDescriptor::CppType cpp_type = member in struct:google::protobuf::internal::RefTypeTraits
590 static const FieldDescriptor::CppType cpp_type = member in struct:google::protobuf::internal::RefTypeTraits
[all...]
H A Dmessage.cc417 FieldDescriptor::CppType cpp_type,
431 switch (field->cpp_type()) {
415 RepeatedFieldData( Message* message, const FieldDescriptor* field, FieldDescriptor::CppType cpp_type, const Descriptor* message_type) const argument
H A Dextension_set.cc56 inline WireFormatLite::CppType cpp_type(FieldType type) { function in namespace:google::protobuf::internal::__anon16411
259 GOOGLE_DCHECK_EQ(cpp_type((EXTENSION).type), WireFormatLite::CPPTYPE_##CPPTYPE)
283 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_##UPPERCASE); \
313 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_##UPPERCASE); \
438 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_ENUM);
467 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_ENUM);
499 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_STRING);
528 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_STRING);
569 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_MESSAGE);
602 GOOGLE_DCHECK_EQ(cpp_type(extensio
[all...]
H A Ddescriptor.h540 CppType cpp_type() const; // C++ type of this field.
561 // Get the field default value if cpp_type() == CPPTYPE_INT32. If no
564 // Get the field default value if cpp_type() == CPPTYPE_INT64. If no
567 // Get the field default value if cpp_type() == CPPTYPE_UINT32. If no
570 // Get the field default value if cpp_type() == CPPTYPE_UINT64. If no
573 // Get the field default value if cpp_type() == CPPTYPE_FLOAT. If no
576 // Get the field default value if cpp_type() == CPPTYPE_DOUBLE. If no
579 // Get the field default value if cpp_type() == CPPTYPE_BOOL. If no
582 // Get the field default value if cpp_type() == CPPTYPE_ENUM. If no
587 // Get the field default value if cpp_type()
1858 inline FieldDescriptor::CppType FieldDescriptor::cpp_type() const { function in class:google::protobuf::FieldDescriptor
1874 CppTypeName(CppType cpp_type) argument
[all...]
H A Dgenerated_message_reflection.cc123 " Field type: " << cpptype_names_[field->cpp_type()];
148 if (field->cpp_type() != FieldDescriptor::CPPTYPE_##CPPTYPE) \
294 switch (field->cpp_type()) {
339 switch (field->cpp_type()) {
397 switch (field->cpp_type()) {
439 GOOGLE_LOG(FATAL) << "Unimplemented type: " << field->cpp_type();
442 switch (field->cpp_type()) {
508 GOOGLE_LOG(FATAL) << "Unimplemented type: " << field->cpp_type();
536 switch (field1->cpp_type()) {
560 GOOGLE_LOG(FATAL) << "Unimplemented type: " << field1->cpp_type();
2234 RepeatedFieldData( Message* message, const FieldDescriptor* field, FieldDescriptor::CppType cpp_type, const Descriptor* message_type) const argument
[all...]
/external/flatbuffers/src/
H A Didl_gen_cpp.cpp907 auto cpp_type = field.attributes.Lookup("cpp_type"); local
908 auto full_type = (cpp_type ? cpp_type->constant + " *" : type + " ");
924 auto cpp_type = field.attributes.Lookup("cpp_type"); local
943 } else if (cpp_type) {
1466 auto cpp_type = field.attributes.Lookup("cpp_type"); local
1467 if (cpp_type) {
[all...]
H A Didl_parser.cpp680 auto cpp_type = field->attributes.Lookup("cpp_type"); local
681 if (cpp_type) {
683 return Error("cpp_type can only be used with a hashed field");

Completed in 287 milliseconds