Classes | Namespaces | Macros | Functions | Variables
bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc File Reference
#include <google/protobuf/descriptor.h>
#include <algorithm>
#include <functional>
#include <limits>
#include <map>
#include <memory>
#include <set>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/stubs/stringprintf.h>
#include <google/protobuf/stubs/strutil.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/io/tokenizer.h>
#include <google/protobuf/io/zero_copy_stream_impl.h>
#include <google/protobuf/descriptor_database.h>
#include <google/protobuf/dynamic_message.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/text_format.h>
#include <google/protobuf/unknown_field_set.h>
#include <google/protobuf/wire_format.h>
#include <google/protobuf/stubs/casts.h>
#include <google/protobuf/stubs/substitute.h>
#include <google/protobuf/io/strtod.h>
#include <google/protobuf/stubs/map_util.h>
#include <google/protobuf/stubs/stl_util.h>
#include <google/protobuf/stubs/hash.h>
#include <google/protobuf/port_def.inc>
Include dependency graph for bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc:

Go to the source code of this file.

Classes

class  google::protobuf::DescriptorBuilder::OptionInterpreter::AggregateOptionFinder
 
struct  google::protobuf.descriptor_pool.DescriptorPool::Tables::CheckPoint
 
class  google::protobuf::DescriptorBuilder
 
class  google::protobuf::FileDescriptorTables
 
class  google::protobuf::DescriptorBuilder::OptionInterpreter
 
class  google::protobuf::Symbol
 
class  google::protobuf::DescriptorPool::Tables
 

Namespaces

 google
 
 google::protobuf
 
 google.protobuf.internal
 

Macros

#define BUILD_ARRAY(INPUT, OUTPUT, NAME, METHOD, PARENT)
 
#define CONSTRUCTOR(TYPE, TYPE_CONSTANT, FIELD)
 
#define HASH_FXN   hash
 
#define HASH_MAP   std::unordered_map
 
#define HASH_SET   std::unordered_set
 
#define VALIDATE_OPTIONS_FROM_ARRAY(descriptor, array_name, type)
 

Functions

static bool google::protobuf::ExistingFileMatchesProto (const FileDescriptor *existing_file, const FileDescriptorProto &proto)
 
static bool google::protobuf::IsLite (const FileDescriptor *file)
 
static std::string google::protobuf::ToLowercaseWithoutUnderscores (const std::string &name)
 
static bool google::protobuf::ValidateQualifiedName (const std::string &name)
 

Variables

static const char *const google::protobuf::kNonLinkedWeakMessageReplacementName = "google.protobuf.Empty"
 

Macro Definition Documentation

◆ BUILD_ARRAY

#define BUILD_ARRAY (   INPUT,
  OUTPUT,
  NAME,
  METHOD,
  PARENT 
)
Value:
OUTPUT->NAME##_count_ = INPUT.NAME##_size(); \
AllocateArray(INPUT.NAME##_size(), &OUTPUT->NAME##s_); \
for (int i = 0; i < INPUT.NAME##_size(); i++) { \
METHOD(INPUT.NAME(i), PARENT, OUTPUT->NAME##s_ + i); \
}

Definition at line 4140 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc.

◆ CONSTRUCTOR

#define CONSTRUCTOR (   TYPE,
  TYPE_CONSTANT,
  FIELD 
)
Value:
inline explicit Symbol(const TYPE* value) { \
type = TYPE_CONSTANT; \
this->FIELD = value; \
}

Definition at line 109 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc.

◆ HASH_FXN

#define HASH_FXN   hash

◆ HASH_MAP

#define HASH_MAP   std::unordered_map

◆ HASH_SET

#define HASH_SET   std::unordered_set

◆ VALIDATE_OPTIONS_FROM_ARRAY

#define VALIDATE_OPTIONS_FROM_ARRAY (   descriptor,
  array_name,
  type 
)
Value:
for (int i = 0; i < descriptor->array_name##_count(); ++i) { \
Validate##type##Options(descriptor->array_name##s_ + i, \
proto.array_name(i)); \
}

Definition at line 5769 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc.

Variable Documentation

◆ element_name

std::string element_name

◆ element_path

std::vector<int> element_path

◆ error_

std::string error_

◆ have_source_loc_

bool have_source_loc_
private

◆ name_scope

std::string name_scope

◆ options

Message* options

◆ options_

DebugStringOptions options_
private

◆ original_options

const Message* original_options

◆ prefix_

std::string prefix_
private

◆ source_loc_

SourceLocation source_loc_
private
value
const char * value
Definition: hpack_parser_table.cc:165
autogen_x86imm.OUTPUT
OUTPUT
Definition: autogen_x86imm.py:7
TYPE
#define TYPE(u, l)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:8202
asyncio_get_stats.type
type
Definition: asyncio_get_stats.py:37
descriptor
static const char descriptor[1336]
Definition: certs.upbdefs.c:16
i
uint64_t i
Definition: abseil-cpp/absl/container/btree_benchmark.cc:230
s_
std::string s_
Definition: abseil-cpp/absl/container/btree_test.cc:1031


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:10