/external/protobuf/src/google/protobuf/ |
H A D | repeated_field_reflection.h | 51 // 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 D | extension_set_heavy.cc | 128 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 D | reflection.h | 98 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 D | message.cc | 417 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 D | extension_set.cc | 56 inline WireFormatLite::CppType cpp_type(FieldType type) { function in namespace:google::protobuf::internal::__anon19016 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 D | descriptor.h | 540 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 D | generated_message_reflection.cc | 123 " 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/perfetto/src/protozero/protoc_plugin/ |
H A D | protozero_generator.cc | 336 std::string cpp_type; local 341 cpp_type = "bool"; 346 cpp_type = "int32_t"; 351 cpp_type = "int64_t"; 356 cpp_type = "uint32_t"; 361 cpp_type = "uint64_t"; 366 cpp_type = "int32_t"; 371 cpp_type = "int64_t"; 376 cpp_type = "uint32_t"; 381 cpp_type [all...] |
/external/flatbuffers/src/ |
H A D | idl_gen_cpp.cpp | 1275 auto cpp_type = field.attributes.Lookup("cpp_type"); local 1276 auto full_type = (cpp_type ? cpp_type->constant + " *" : type + " "); 1292 auto cpp_type = field.attributes.Lookup("cpp_type"); local 1311 } else if (cpp_type) { 1961 auto cpp_type = field.attributes.Lookup("cpp_type"); local 1962 if (cpp_type) { [all...] |
H A D | idl_parser.cpp | 652 auto cpp_type = field->attributes.Lookup("cpp_type"); local 653 if (cpp_type) { 655 return Error("cpp_type can only be used with a hashed field");
|