webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Namespaces | Macros | Functions
extension_set_heavy.cc File Reference
#include <google/protobuf/io/zero_copy_stream_impl_lite.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/wire_format.h>
#include <google/protobuf/wire_format_lite_inl.h>

Classes

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

Namespaces

 google
 
 google::protobuf
 
 google.protobuf.internal
 

Macros

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

Functions

FieldDescriptor::Type google.protobuf.internal::real_type (FieldType type)
 
FieldDescriptor::CppType google.protobuf.internal::cpp_type (FieldType type)
 
WireFormatLite::FieldType google.protobuf.internal::field_type (FieldType type)
 

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)
#define GOOGLE_DCHECK_EQ
Definition: logging.h:194
EGLenum type
Definition: eglext.h:63
FieldDescriptor::CppType cpp_type(FieldType type)
Definition: extension_set_heavy.cc:128

◆ HANDLE_TYPE [1/4]

#define HANDLE_TYPE (   UPPERCASE,
  LOWERCASE 
)
Value:
case FieldDescriptor::CPPTYPE_##UPPERCASE: \
total_size += sizeof(*repeated_##LOWERCASE##_value) + \
repeated_##LOWERCASE##_value->SpaceUsedExcludingSelf();\
break
Definition: RenderStyleConstants.h:421
Definition: RenderStyleConstants.h:421

◆ HANDLE_TYPE [2/4]

#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
EGLContext EGLenum target
Definition: eglext.h:192
Definition: RenderStyleConstants.h:421
int Write(int fd, const void *buf, unsigned int count)
Definition: gtest-port.h:1393
Definition: RenderStyleConstants.h:421
for i
Definition: complexityMeasures.m:24

◆ HANDLE_TYPE [3/4]

#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
EGLContext EGLenum target
Definition: eglext.h:192
Definition: RenderStyleConstants.h:421
int Write(int fd, const void *buf, unsigned int count)
Definition: gtest-port.h:1393
Definition: RenderStyleConstants.h:421
const AtomicString & number()
Definition: InputTypeNames.cpp:100
for i
Definition: complexityMeasures.m:24

◆ HANDLE_TYPE [4/4]

#define HANDLE_TYPE (   UPPERCASE,
  CAMELCASE,
  VALUE 
)
Value:
case FieldDescriptor::TYPE_##UPPERCASE: \
target = WireFormatLite::Write##CAMELCASE##ToArray( \
number, VALUE, target); \
break
EGLContext EGLenum target
Definition: eglext.h:192
int Write(int fd, const void *buf, unsigned int count)
Definition: gtest-port.h:1393
Definition: RenderStyleConstants.h:421
const AtomicString & number()
Definition: InputTypeNames.cpp:100