Classes | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
google::protobuf::DescriptorPool::Tables Class Reference

Classes

struct  FieldNamesResult
 

Public Member Functions

void AddCheckpoint ()
 
void AddCheckpoint ()
 
bool AddExtension (const FieldDescriptor *field)
 
bool AddExtension (const FieldDescriptor *field)
 
bool AddFile (const FileDescriptor *file)
 
bool AddFile (const FileDescriptor *file)
 
bool AddSymbol (const std::string &full_name, Symbol symbol)
 
bool AddSymbol (const std::string &full_name, Symbol symbol)
 
template<typename Type >
TypeAllocate ()
 
template<typename Type >
TypeAllocate ()
 
template<typename Type >
TypeAllocateArray (int count)
 
template<typename Type >
TypeAllocateArray (int count)
 
std::string * AllocateEmptyString ()
 
FieldNamesResult AllocateFieldNames (const std::string &name, const std::string &scope, const std::string *opt_json_name)
 
FileDescriptorTablesAllocateFileTables ()
 
FileDescriptorTablesAllocateFileTables ()
 
template<typename Type >
TypeAllocateMessage (Type *dummy=nullptr)
 
template<typename Type >
TypeAllocateMessage (Type *dummy=nullptr)
 
internal::once_flagAllocateOnceDynamic ()
 
std::string * AllocateString (const std::string &value)
 
const std::string * AllocateString (StringPiece value)
 
template<typename... In>
const std::string * AllocateStringArray (In &&... values)
 
void ClearLastCheckpoint ()
 
void ClearLastCheckpoint ()
 
template<typename Type >
TypeCreate ()
 
void FindAllExtensions (const Descriptor *extendee, std::vector< const FieldDescriptor * > *out) const
 
void FindAllExtensions (const Descriptor *extendee, std::vector< const FieldDescriptor * > *out) const
 
Symbol FindByNameHelper (const DescriptorPool *pool, const std::string &name)
 
Symbol FindByNameHelper (const DescriptorPool *pool, StringPiece name)
 
const FieldDescriptorFindExtension (const Descriptor *extendee, int number) const
 
const FieldDescriptorFindExtension (const Descriptor *extendee, int number) const
 
const FileDescriptorFindFile (const std::string &key) const
 
const FileDescriptorFindFile (StringPiece key) const
 
Symbol FindSymbol (const std::string &key) const
 
Symbol FindSymbol (StringPiece key) const
 
void RollbackToLastCheckpoint ()
 
void RollbackToLastCheckpoint ()
 
const char * Strdup (StringPiece value)
 
 Tables ()
 
 Tables ()
 
 ~Tables ()
 
 ~Tables ()
 

Public Attributes

HASH_SET< const Descriptor * > extensions_loaded_from_db_
 
HASH_SET< std::string > known_bad_files_
 
HASH_SET< std::string > known_bad_symbols_
 
std::vector< std::string > pending_files_
 
HASH_MAP< std::string, Descriptor::WellKnownTypewell_known_types_
 

Private Member Functions

void * AllocateBytes (int size)
 
void * AllocateBytes (int size)
 

Private Attributes

std::vector< std::unique_ptr< char[]> > allocations_
 
TableArena arena_
 
std::vector< CheckPoint > checkpoints_
 
ExtensionsGroupedByDescriptorMap extensions_
 
std::vector< DescriptorIntPair > extensions_after_checkpoint_
 
std::vector< std::unique_ptr< FileDescriptorTables > > file_tables_
 
std::vector< const char * > files_after_checkpoint_
 
FilesByNameMap files_by_name_
 
std::vector< std::unique_ptr< Message > > messages_
 
std::vector< std::unique_ptr< internal::once_flag > > once_dynamics_
 
std::vector< std::unique_ptr< std::string > > strings_
 
std::vector< const char * > symbols_after_checkpoint_
 
SymbolsByNameMap symbols_by_name_
 
SymbolsByNameSet symbols_by_name_
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Tables() [1/2]

google::protobuf::DescriptorPool::Tables::Tables ( )

◆ ~Tables() [1/2]

google::protobuf::DescriptorPool::Tables::~Tables ( )

◆ Tables() [2/2]

google::protobuf::DescriptorPool::Tables::Tables ( )

◆ ~Tables() [2/2]

google::protobuf::DescriptorPool::Tables::~Tables ( )

Member Function Documentation

◆ AddCheckpoint() [1/2]

void google::protobuf::DescriptorPool::Tables::AddCheckpoint ( )

◆ AddCheckpoint() [2/2]

void google::protobuf::DescriptorPool::Tables::AddCheckpoint ( )

◆ AddExtension() [1/2]

bool google::protobuf::DescriptorPool::Tables::AddExtension ( const FieldDescriptor field)

◆ AddExtension() [2/2]

bool google::protobuf::DescriptorPool::Tables::AddExtension ( const FieldDescriptor field)

◆ AddFile() [1/2]

bool google::protobuf::DescriptorPool::Tables::AddFile ( const FileDescriptor file)

◆ AddFile() [2/2]

bool google::protobuf::DescriptorPool::Tables::AddFile ( const FileDescriptor file)

◆ AddSymbol() [1/2]

bool google::protobuf::DescriptorPool::Tables::AddSymbol ( const std::string &  full_name,
Symbol  symbol 
)

◆ AddSymbol() [2/2]

bool google::protobuf::DescriptorPool::Tables::AddSymbol ( const std::string &  full_name,
Symbol  symbol 
)

◆ Allocate() [1/2]

template<typename Type >
Type * google::protobuf::DescriptorPool::Tables::Allocate ( )

◆ Allocate() [2/2]

template<typename Type >
Type* google::protobuf::DescriptorPool::Tables::Allocate ( )

◆ AllocateArray() [1/2]

template<typename Type >
Type * google::protobuf::DescriptorPool::Tables::AllocateArray ( int  count)

◆ AllocateArray() [2/2]

template<typename Type >
Type* google::protobuf::DescriptorPool::Tables::AllocateArray ( int  count)

◆ AllocateBytes() [1/2]

void * google::protobuf::DescriptorPool::Tables::AllocateBytes ( int  size)
private

◆ AllocateBytes() [2/2]

void* google::protobuf::DescriptorPool::Tables::AllocateBytes ( int  size)
private

◆ AllocateEmptyString()

std::string * google::protobuf::DescriptorPool::Tables::AllocateEmptyString ( )

◆ AllocateFieldNames()

DescriptorPool::Tables::FieldNamesResult google::protobuf::DescriptorPool::Tables::AllocateFieldNames ( const std::string &  name,
const std::string &  scope,
const std::string *  opt_json_name 
)

Definition at line 1785 of file protobuf/src/google/protobuf/descriptor.cc.

◆ AllocateFileTables() [1/2]

FileDescriptorTables * google::protobuf::DescriptorPool::Tables::AllocateFileTables ( )

◆ AllocateFileTables() [2/2]

FileDescriptorTables* google::protobuf::DescriptorPool::Tables::AllocateFileTables ( )

◆ AllocateMessage() [1/2]

template<typename Type >
Type * google::protobuf::DescriptorPool::Tables::AllocateMessage ( Type dummy = nullptr)

◆ AllocateMessage() [2/2]

template<typename Type >
Type* google::protobuf::DescriptorPool::Tables::AllocateMessage ( Type dummy = nullptr)

◆ AllocateOnceDynamic()

internal::once_flag * google::protobuf::DescriptorPool::Tables::AllocateOnceDynamic ( )

◆ AllocateString() [1/2]

std::string * google::protobuf::DescriptorPool::Tables::AllocateString ( const std::string &  value)

◆ AllocateString() [2/2]

const std::string * google::protobuf::DescriptorPool::Tables::AllocateString ( StringPiece  value)

Definition at line 1765 of file protobuf/src/google/protobuf/descriptor.cc.

◆ AllocateStringArray()

template<typename... In>
const std::string * google::protobuf::DescriptorPool::Tables::AllocateStringArray ( In &&...  values)

Definition at line 1778 of file protobuf/src/google/protobuf/descriptor.cc.

◆ ClearLastCheckpoint() [1/2]

void google::protobuf::DescriptorPool::Tables::ClearLastCheckpoint ( )

◆ ClearLastCheckpoint() [2/2]

void google::protobuf::DescriptorPool::Tables::ClearLastCheckpoint ( )

◆ Create()

template<typename Type >
Type * google::protobuf::DescriptorPool::Tables::Create ( )

Definition at line 1858 of file protobuf/src/google/protobuf/descriptor.cc.

◆ FindAllExtensions() [1/2]

void google::protobuf::DescriptorPool::Tables::FindAllExtensions ( const Descriptor extendee,
std::vector< const FieldDescriptor * > *  out 
) const
inline

◆ FindAllExtensions() [2/2]

void google::protobuf::DescriptorPool::Tables::FindAllExtensions ( const Descriptor extendee,
std::vector< const FieldDescriptor * > *  out 
) const
inline

◆ FindByNameHelper() [1/2]

Symbol google::protobuf::DescriptorPool::Tables::FindByNameHelper ( const DescriptorPool pool,
const std::string &  name 
)

◆ FindByNameHelper() [2/2]

Symbol google::protobuf::DescriptorPool::Tables::FindByNameHelper ( const DescriptorPool pool,
StringPiece  name 
)

Definition at line 1445 of file protobuf/src/google/protobuf/descriptor.cc.

◆ FindExtension() [1/2]

const FieldDescriptor * google::protobuf::DescriptorPool::Tables::FindExtension ( const Descriptor extendee,
int  number 
) const
inline

◆ FindExtension() [2/2]

const FieldDescriptor* google::protobuf::DescriptorPool::Tables::FindExtension ( const Descriptor extendee,
int  number 
) const
inline

◆ FindFile() [1/2]

const FileDescriptor * google::protobuf::DescriptorPool::Tables::FindFile ( const std::string &  key) const
inline

◆ FindFile() [2/2]

const FileDescriptor * google::protobuf::DescriptorPool::Tables::FindFile ( StringPiece  key) const
inline

Definition at line 1477 of file protobuf/src/google/protobuf/descriptor.cc.

◆ FindSymbol() [1/2]

Symbol google::protobuf::DescriptorPool::Tables::FindSymbol ( const std::string &  key) const
inline

◆ FindSymbol() [2/2]

Symbol google::protobuf::DescriptorPool::Tables::FindSymbol ( StringPiece  key) const
inline

Definition at line 1429 of file protobuf/src/google/protobuf/descriptor.cc.

◆ RollbackToLastCheckpoint() [1/2]

void google::protobuf::DescriptorPool::Tables::RollbackToLastCheckpoint ( )

◆ RollbackToLastCheckpoint() [2/2]

void google::protobuf::DescriptorPool::Tables::RollbackToLastCheckpoint ( )

◆ Strdup()

const char * google::protobuf::DescriptorPool::Tables::Strdup ( StringPiece  value)

Definition at line 1770 of file protobuf/src/google/protobuf/descriptor.cc.

Member Data Documentation

◆ allocations_

std::vector<std::unique_ptr<char[]> > google::protobuf::DescriptorPool::Tables::allocations_
private

◆ arena_

TableArena google::protobuf::DescriptorPool::Tables::arena_
private

Definition at line 1217 of file protobuf/src/google/protobuf/descriptor.cc.

◆ checkpoints_

std::vector< CheckPoint > google::protobuf::DescriptorPool::Tables::checkpoints_
private

◆ extensions_

ExtensionsGroupedByDescriptorMap google::protobuf::DescriptorPool::Tables::extensions_
private

◆ extensions_after_checkpoint_

std::vector< DescriptorIntPair > google::protobuf::DescriptorPool::Tables::extensions_after_checkpoint_
private

◆ extensions_loaded_from_db_

HASH_SET< const Descriptor * > google::protobuf::DescriptorPool::Tables::extensions_loaded_from_db_

◆ file_tables_

std::vector<std::unique_ptr<FileDescriptorTables> > google::protobuf::DescriptorPool::Tables::file_tables_
private

◆ files_after_checkpoint_

std::vector< const char * > google::protobuf::DescriptorPool::Tables::files_after_checkpoint_
private

◆ files_by_name_

FilesByNameMap google::protobuf::DescriptorPool::Tables::files_by_name_
private

◆ known_bad_files_

HASH_SET< std::string > google::protobuf::DescriptorPool::Tables::known_bad_files_

◆ known_bad_symbols_

HASH_SET< std::string > google::protobuf::DescriptorPool::Tables::known_bad_symbols_

◆ messages_

std::vector<std::unique_ptr<Message> > google::protobuf::DescriptorPool::Tables::messages_
private

◆ once_dynamics_

std::vector<std::unique_ptr<internal::once_flag> > google::protobuf::DescriptorPool::Tables::once_dynamics_
private

◆ pending_files_

std::vector< std::string > google::protobuf::DescriptorPool::Tables::pending_files_

◆ strings_

std::vector<std::unique_ptr<std::string> > google::protobuf::DescriptorPool::Tables::strings_
private

◆ symbols_after_checkpoint_

std::vector< const char * > google::protobuf::DescriptorPool::Tables::symbols_after_checkpoint_
private

◆ symbols_by_name_ [1/2]

SymbolsByNameMap google::protobuf::DescriptorPool::Tables::symbols_by_name_
private

◆ symbols_by_name_ [2/2]

SymbolsByNameSet google::protobuf::DescriptorPool::Tables::symbols_by_name_
private

Definition at line 1219 of file protobuf/src/google/protobuf/descriptor.cc.

◆ well_known_types_

HASH_MAP<std::string, Descriptor::WellKnownType> google::protobuf::DescriptorPool::Tables::well_known_types_

Definition at line 1122 of file protobuf/src/google/protobuf/descriptor.cc.


The documentation for this class was generated from the following file:


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