Classes | Namespaces | Macros | Functions
extension_set_heavy.cc File Reference
#include <google/protobuf/extension_set.h>
#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/io/zero_copy_stream_impl_lite.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/message.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 dependency graph for 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, CAMELCASE, LOWERCASE)
 
#define HANDLE_TYPE(UPPERCASE, CAMELCASE, LOWERCASE)
 
#define HANDLE_TYPE(UPPERCASE, CAMELCASE, LOWERCASE)
 
#define HANDLE_TYPE(UPPERCASE, CAMELCASE, VALUE)
 
#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 extension_set_heavy.cc.

◆ HANDLE_TYPE [1/5]

#define HANDLE_TYPE (   UPPERCASE,
  CAMELCASE,
  LOWERCASE 
)
Value:
case FieldDescriptor::TYPE_##UPPERCASE: \
for (int i = 0; i < repeated_##LOWERCASE##_value->size(); i++) { \
target = WireFormatLite::Write##CAMELCASE##NoTagToArray( \
repeated_##LOWERCASE##_value->Get(i), target); \
} \
break

◆ HANDLE_TYPE [2/5]

#define HANDLE_TYPE (   UPPERCASE,
  CAMELCASE,
  LOWERCASE 
)
Value:
case FieldDescriptor::TYPE_##UPPERCASE: \
for (int i = 0; i < repeated_##LOWERCASE##_value->size(); i++) { \
target = WireFormatLite::Write##CAMELCASE##ToArray( \
number, repeated_##LOWERCASE##_value->Get(i), target); \
} \
break

◆ HANDLE_TYPE [3/5]

#define HANDLE_TYPE (   UPPERCASE,
  CAMELCASE,
  LOWERCASE 
)
Value:
case FieldDescriptor::TYPE_##UPPERCASE: \
for (int i = 0; i < repeated_##LOWERCASE##_value->size(); i++) { \
target = WireFormatLite::InternalWrite##CAMELCASE##ToArray( \
number, repeated_##LOWERCASE##_value->Get(i), target); \
} \
break

◆ HANDLE_TYPE [4/5]

#define HANDLE_TYPE (   UPPERCASE,
  CAMELCASE,
  VALUE 
)
Value:
case FieldDescriptor::TYPE_##UPPERCASE: \
target = WireFormatLite::Write##CAMELCASE##ToArray(number, VALUE, target); \
break

◆ HANDLE_TYPE [5/5]

#define HANDLE_TYPE (   UPPERCASE,
  LOWERCASE 
)
Value:
case FieldDescriptor::CPPTYPE_##UPPERCASE: \
total_size += sizeof(*repeated_##LOWERCASE##_value) + \
repeated_##LOWERCASE##_value->SpaceUsedExcludingSelfLong(); \
break
target
GLenum target
Definition: glcorearb.h:3739
i
int i
Definition: gmock-matchers_test.cc:764
type
GLenum type
Definition: glcorearb.h:2695
testing::internal::posix::Write
int Write(int fd, const void *buf, unsigned int count)
Definition: gtest-port.h:2129
number
double number
Definition: cJSON.h:326
google::protobuf.internal::cpp_type
FieldDescriptor::CppType cpp_type(FieldType type)
Definition: extension_set_heavy.cc:133
GOOGLE_DCHECK_EQ
#define GOOGLE_DCHECK_EQ
Definition: logging.h:196


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:02