Classes | Namespaces | Macros | Functions
protobuf/src/google/protobuf/extension_set_heavy.cc File Reference
#include <google/protobuf/stubs/casts.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/extension_set_inl.h>
#include <google/protobuf/parse_context.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/message.h>
#include <google/protobuf/message_lite.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/unknown_field_set.h>
#include <google/protobuf/wire_format.h>
#include <google/protobuf/wire_format_lite.h>
#include <google/protobuf/port_def.inc>
#include <google/protobuf/port_undef.inc>
Include dependency graph for protobuf/src/google/protobuf/extension_set_heavy.cc:

Go to the source code of this file.

Classes

class  google::protobuf.internal::DescriptorPoolExtensionFinder
 
class  google::protobuf.internal::MessageSetFieldSkipper
 

Namespaces

 google
 
 google::protobuf
 
 google.protobuf.internal
 

Macros

#define GOOGLE_DCHECK_TYPE(EXTENSION, LABEL, CPPTYPE)
 
#define HANDLE_TYPE(UPPERCASE, LOWERCASE)
 

Functions

FieldDescriptor::CppType google.protobuf.internal::cpp_type (FieldType type)
 
WireFormatLite::FieldType google.protobuf.internal::field_type (FieldType type)
 
FieldDescriptor::Type google.protobuf.internal::real_type (FieldType type)
 
static bool google.protobuf.internal::ValidateEnumUsingDescriptor (const void *arg, int number)
 

Macro Definition Documentation

◆ GOOGLE_DCHECK_TYPE

#define GOOGLE_DCHECK_TYPE (   EXTENSION,
  LABEL,
  CPPTYPE 
)
Value:
GOOGLE_DCHECK_EQ((EXTENSION).is_repeated ? FieldDescriptor::LABEL_REPEATED \
: FieldDescriptor::LABEL_OPTIONAL, \
FieldDescriptor::LABEL_##LABEL); \
GOOGLE_DCHECK_EQ(cpp_type((EXTENSION).type), FieldDescriptor::CPPTYPE_##CPPTYPE)

Definition at line 143 of file protobuf/src/google/protobuf/extension_set_heavy.cc.

◆ HANDLE_TYPE

#define HANDLE_TYPE (   UPPERCASE,
  LOWERCASE 
)
Value:
case FieldDescriptor::CPPTYPE_##UPPERCASE: \
total_size += sizeof(*repeated_##LOWERCASE##_value) + \
repeated_##LOWERCASE##_value->SpaceUsedExcludingSelfLong(); \
break
GOOGLE_DCHECK_EQ
#define GOOGLE_DCHECK_EQ
Definition: bloaty/third_party/protobuf/src/google/protobuf/stubs/logging.h:196
asyncio_get_stats.type
type
Definition: asyncio_get_stats.py:37
google::protobuf.internal::cpp_type
FieldDescriptor::CppType cpp_type(FieldType type)
Definition: bloaty/third_party/protobuf/src/google/protobuf/extension_set_heavy.cc:133


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:12