webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Namespaces | Macros | Functions
message.cc File Reference
#include <iostream>
#include <stack>
#include <google/protobuf/stubs/hash.h>
#include <google/protobuf/message.h>
#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/mutex.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/reflection_internal.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/io/zero_copy_stream_impl.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/map_field.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/reflection_ops.h>
#include <google/protobuf/wire_format.h>
#include <google/protobuf/stubs/strutil.h>
#include <google/protobuf/stubs/map_util.h>
#include <google/protobuf/stubs/singleton.h>
#include <google/protobuf/stubs/stl_util.h>

Namespaces

 google
 
 google::protobuf
 
 google.protobuf.internal
 

Macros

#define HANDLE_TYPE(TYPE, CPPTYPE, CTYPE)
 
#define HANDLE_PRIMITIVE_TYPE(TYPE, type)
 

Functions

 google::protobuf::HANDLE_TYPE (int32, FieldDescriptor::CPPTYPE_INT32, -1)
 
 google::protobuf::HANDLE_TYPE (int64, FieldDescriptor::CPPTYPE_INT64, -1)
 
 google::protobuf::HANDLE_TYPE (uint32, FieldDescriptor::CPPTYPE_UINT32, -1)
 
 google::protobuf::HANDLE_TYPE (uint64, FieldDescriptor::CPPTYPE_UINT64, -1)
 
 google::protobuf::HANDLE_TYPE (float, FieldDescriptor::CPPTYPE_FLOAT, -1)
 
 google::protobuf::HANDLE_TYPE (double, FieldDescriptor::CPPTYPE_DOUBLE, -1)
 
 google::protobuf::HANDLE_TYPE (bool, FieldDescriptor::CPPTYPE_BOOL, -1)
 

Macro Definition Documentation

◆ HANDLE_PRIMITIVE_TYPE

#define HANDLE_PRIMITIVE_TYPE (   TYPE,
  type 
)
Value:
case FieldDescriptor::CPPTYPE_ ## TYPE: \
return internal::Singleton<internal::RepeatedFieldPrimitiveAccessor<type> >::get();
EGLSetBlobFuncANDROID EGLGetBlobFuncANDROID get
Definition: eglext.h:426
#define TYPE(u, l)
Definition: upb.c:9296

◆ HANDLE_TYPE

#define HANDLE_TYPE (   TYPE,
  CPPTYPE,
  CTYPE 
)
Value:
template<> \
const RepeatedField<TYPE>& Reflection::GetRepeatedField<TYPE>( \
const Message& message, const FieldDescriptor* field) const { \
return *static_cast<RepeatedField<TYPE>* >( \
MutableRawRepeatedField(const_cast<Message*>(&message), \
field, CPPTYPE, CTYPE, NULL)); \
} \
\
template<> \
RepeatedField<TYPE>* Reflection::MutableRepeatedField<TYPE>( \
Message* message, const FieldDescriptor* field) const { \
return static_cast<RepeatedField<TYPE>* >( \
MutableRawRepeatedField(message, field, CPPTYPE, CTYPE, NULL)); \
}
const FieldDescriptor * field
Definition: parser_unittest.cc:2279
Message
Definition: peerconnection_unittest.cc:105
Definition: protobuf.h:85
Definition: protobuf.h:347
GLuint GLsizei const GLchar * message
Definition: gl2ext.h:137