/external/libprotobuf-mutator/src/ |
field_instance.h | 168 protobuf::FieldDescriptor::CppType cpp_type() const { function in class:protobuf_mutator::ConstFieldInstance 169 return descriptor_->cpp_type(); 390 switch (field.cpp_type()) {
|
/external/protobuf/src/google/protobuf/ |
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
|
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)) {
|
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...] |
extension_set.cc | 56 inline WireFormatLite::CppType cpp_type(FieldType type) { function in namespace:google::protobuf::internal::__anon36268 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(extension->type), WireFormatLite::CPPTYPE_MESSAGE) [all...] |
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() == CPPTYPE_STRING. If n 1858 inline FieldDescriptor::CppType FieldDescriptor::cpp_type() const { function in class:google::protobuf::FieldDescriptor [all...] |
/external/perfetto/src/protozero/protoc_plugin/ |
protozero_generator.cc | 346 std::string cpp_type; local 351 cpp_type = "bool"; 356 cpp_type = "int32_t"; 361 cpp_type = "int64_t"; 366 cpp_type = "uint32_t"; 371 cpp_type = "uint64_t"; 376 cpp_type = "int32_t"; 381 cpp_type = "int64_t"; 386 cpp_type = "uint32_t"; 391 cpp_type = "uint64_t" 504 std::string cpp_type; local [all...] |
/external/flatbuffers/src/ |
idl_gen_cpp.cpp | 1461 auto cpp_type = field.attributes.Lookup("cpp_type"); local 1482 auto cpp_type = field.attributes.Lookup("cpp_type"); local 2179 auto cpp_type = field.attributes.Lookup("cpp_type"); local 2247 auto cpp_type = field.attributes.Lookup("cpp_type"); local [all...] |
idl_parser.cpp | 741 auto cpp_type = field->attributes.Lookup("cpp_type"); local 742 if (cpp_type) { 744 return Error("cpp_type can only be used with a hashed field"); 749 val->type = cpp_type->type; [all...] |