webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Namespaces | Macros | Functions
text_format.cc File Reference
#include <algorithm>
#include <float.h>
#include <math.h>
#include <stdio.h>
#include <stack>
#include <limits>
#include <vector>
#include <google/protobuf/text_format.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/dynamic_message.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/wire_format_lite.h>
#include <google/protobuf/io/strtod.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/io/zero_copy_stream.h>
#include <google/protobuf/io/zero_copy_stream_impl.h>
#include <google/protobuf/unknown_field_set.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/io/tokenizer.h>
#include <google/protobuf/any.h>
#include <google/protobuf/stubs/stringprintf.h>
#include <google/protobuf/stubs/strutil.h>
#include <google/protobuf/stubs/map_util.h>
#include <google/protobuf/stubs/stl_util.h>

Classes

class  google::protobuf::TextFormat::Parser::ParserImpl
 
class  webkitpy.test.printer.Printer::TextGenerator
 
class  google::protobuf::MapEntryMessageComparator
 

Namespaces

 google
 
 google::protobuf
 

Macros

#define DO(STATEMENT)   if (STATEMENT) {} else return false
 
#define SET_FIELD(CPPTYPE, VALUE)
 
#define OUTPUT_FIELD(CPPTYPE, METHOD)
 

Functions

void google::protobuf::CheckFieldIndex (const FieldDescriptor *field, int index)
 

Macro Definition Documentation

◆ DO

#define DO (   STATEMENT)    if (STATEMENT) {} else return false

◆ OUTPUT_FIELD

#define OUTPUT_FIELD (   CPPTYPE,
  METHOD 
)
Value:
case FieldDescriptor::CPPTYPE_##CPPTYPE: \
generator.Print(printer->Print##METHOD(field->is_repeated() \
? reflection->GetRepeated##METHOD(message, field, index) \
: reflection->Get##METHOD(message, field))); \
break
const FieldDescriptor * field
Definition: parser_unittest.cc:2279
GLuint index
Definition: gl2.h:383
GLuint GLsizei const GLchar * message
Definition: gl2ext.h:137

◆ SET_FIELD

#define SET_FIELD (   CPPTYPE,
  VALUE 
)
Value:
if (field->is_repeated()) { \
reflection->Add##CPPTYPE(message, field, VALUE); \
} else { \
reflection->Set##CPPTYPE(message, field, VALUE); \
} \
const FieldDescriptor * field
Definition: parser_unittest.cc:2279
GLuint GLsizei const GLchar * message
Definition: gl2ext.h:137