webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Namespaces | Enumerations | Functions | Variables
cpp_helpers.cc File Reference
#include <limits>
#include <map>
#include <vector>
#include <google/protobuf/stubs/hash.h>
#include <google/protobuf/compiler/cpp/cpp_helpers.h>
#include <google/protobuf/io/printer.h>
#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/strutil.h>
#include <google/protobuf/stubs/substitute.h>

Namespaces

 google
 
 google::protobuf
 
 google::protobuf::compiler
 
 google::protobuf::compiler::cpp
 

Enumerations

enum  google::protobuf::compiler::cpp::Utf8CheckMode { google::protobuf::compiler::cpp::STRICT = 0, google::protobuf::compiler::cpp::VERIFY = 1, google::protobuf::compiler::cpp::NONE = 2 }
 

Functions

string google::protobuf::compiler::cpp::UnderscoresToCamelCase (const string &input, bool cap_next_letter)
 
string google::protobuf::compiler::cpp::ClassName (const Descriptor *descriptor, bool qualified)
 
string google::protobuf::compiler::cpp::ClassName (const EnumDescriptor *enum_descriptor, bool qualified)
 
string google::protobuf::compiler::cpp::DependentBaseClassTemplateName (const Descriptor *descriptor)
 
string google::protobuf::compiler::cpp::SuperClassName (const Descriptor *descriptor, const Options &options)
 
string google::protobuf::compiler::cpp::DependentBaseDownCast ()
 
string google::protobuf::compiler::cpp::DependentBaseConstDownCast ()
 
string google::protobuf::compiler::cpp::FieldName (const FieldDescriptor *field)
 
string google::protobuf::compiler::cpp::EnumValueName (const EnumValueDescriptor *enum_value)
 
string google::protobuf::compiler::cpp::FieldConstantName (const FieldDescriptor *field)
 
bool google::protobuf::compiler::cpp::IsFieldDependent (const FieldDescriptor *field)
 
string google::protobuf::compiler::cpp::DependentTypeName (const FieldDescriptor *field)
 
string google::protobuf::compiler::cpp::FieldMessageTypeName (const FieldDescriptor *field)
 
string google::protobuf::compiler::cpp::StripProto (const string &filename)
 
const char * google::protobuf::compiler::cpp::PrimitiveTypeName (FieldDescriptor::CppType type)
 
const char * google::protobuf::compiler::cpp::DeclaredTypeMethodName (FieldDescriptor::Type type)
 
string google::protobuf::compiler::cpp::Int32ToString (int number)
 
string google::protobuf::compiler::cpp::Int64ToString (int64 number)
 
string google::protobuf::compiler::cpp::DefaultValue (const FieldDescriptor *field)
 
string google::protobuf::compiler::cpp::FilenameIdentifier (const string &filename)
 
string google::protobuf::compiler::cpp::GlobalAddDescriptorsName (const string &filename)
 
string google::protobuf::compiler::cpp::GlobalAssignDescriptorsName (const string &filename)
 
string google::protobuf::compiler::cpp::GlobalShutdownFileName (const string &filename)
 
string google::protobuf::compiler::cpp::QualifiedFileLevelSymbol (const string &package, const string &name)
 
string google::protobuf::compiler::cpp::EscapeTrigraphs (const string &to_escape)
 
string google::protobuf::compiler::cpp::SafeFunctionName (const Descriptor *descriptor, const FieldDescriptor *field, const string &prefix)
 
bool google::protobuf::compiler::cpp::StaticInitializersForced (const FileDescriptor *file, const Options &options)
 
void google::protobuf::compiler::cpp::PrintHandlingOptionalStaticInitializers (const FileDescriptor *file, const Options &options, io::Printer *printer, const char *with_static_init, const char *without_static_init, const char *var1, const string &val1, const char *var2, const string &val2)
 
void google::protobuf::compiler::cpp::PrintHandlingOptionalStaticInitializers (const map< string, string > &vars, const FileDescriptor *file, const Options &options, io::Printer *printer, const char *with_static_init, const char *without_static_init)
 
bool google::protobuf::compiler::cpp::HasMapFields (const FileDescriptor *file)
 
bool google::protobuf::compiler::cpp::HasEnumDefinitions (const FileDescriptor *file)
 
bool google::protobuf::compiler::cpp::IsStringOrMessage (const FieldDescriptor *field)
 
FieldOptions::CType google::protobuf::compiler::cpp::EffectiveStringCType (const FieldDescriptor *field)
 
bool google::protobuf::compiler::cpp::IsAnyMessage (const FileDescriptor *descriptor)
 
bool google::protobuf::compiler::cpp::IsAnyMessage (const Descriptor *descriptor)
 
bool google::protobuf::compiler::cpp::IsWellKnownMessage (const FileDescriptor *descriptor)
 
void google::protobuf::compiler::cpp::GenerateUtf8CheckCodeForString (const FieldDescriptor *field, const Options &options, bool for_parse, const map< string, string > &variables, const char *parameters, io::Printer *printer)
 
void google::protobuf::compiler::cpp::GenerateUtf8CheckCodeForCord (const FieldDescriptor *field, const Options &options, bool for_parse, const map< string, string > &variables, const char *parameters, io::Printer *printer)
 

Variables

const char google::protobuf::compiler::cpp::kThickSeparator []
 
const char google::protobuf::compiler::cpp::kThinSeparator []