Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
google::protobuf::io::CodedInputStream Class Reference

#include <coded_stream.h>

Public Types

typedef int Limit
 
typedef int Limit
 

Public Member Functions

int BytesUntilLimit () const
 
int BytesUntilLimit () const
 
int BytesUntilTotalBytesLimit () const
 
int BytesUntilTotalBytesLimit () const
 
bool CheckEntireMessageConsumedAndPopLimit (Limit limit)
 
bool CheckEntireMessageConsumedAndPopLimit (Limit limit)
 
 CodedInputStream (const uint8 *buffer, int size)
 
 CodedInputStream (const uint8_t *buffer, int size)
 
 CodedInputStream (ZeroCopyInputStream *input)
 
 CodedInputStream (ZeroCopyInputStream *input)
 
bool ConsumedEntireMessage ()
 
bool ConsumedEntireMessage ()
 
int CurrentPosition () const
 
int CurrentPosition () const
 
void DecrementRecursionDepth ()
 
void DecrementRecursionDepth ()
 
bool DecrementRecursionDepthAndPopLimit (Limit limit)
 
bool DecrementRecursionDepthAndPopLimit (Limit limit)
 
bool ExpectAtEnd ()
 
bool ExpectAtEnd ()
 
PROTOBUF_ALWAYS_INLINE bool ExpectTag (uint32 expected)
 
PROTOBUF_ALWAYS_INLINE bool ExpectTag (uint32_t expected)
 
bool GetDirectBufferPointer (const void **data, int *size)
 
bool GetDirectBufferPointer (const void **data, int *size)
 
PROTOBUF_ALWAYS_INLINE void GetDirectBufferPointerInline (const void **data, int *size)
 
PROTOBUF_ALWAYS_INLINE void GetDirectBufferPointerInline (const void **data, int *size)
 
MessageFactoryGetExtensionFactory ()
 
MessageFactoryGetExtensionFactory ()
 
const DescriptorPoolGetExtensionPool ()
 
const DescriptorPoolGetExtensionPool ()
 
bool IncrementRecursionDepth ()
 
bool IncrementRecursionDepth ()
 
std::pair< CodedInputStream::Limit, intIncrementRecursionDepthAndPushLimit (int byte_limit)
 
std::pair< CodedInputStream::Limit, intIncrementRecursionDepthAndPushLimit (int byte_limit)
 
bool IsFlat () const
 
bool IsFlat () const
 
bool LastTagWas (uint32 expected)
 
bool LastTagWas (uint32_t expected)
 
void PopLimit (Limit limit)
 
void PopLimit (Limit limit)
 
 PROTOBUF_DEPRECATED_MSG ("Please use the single parameter version of SetTotalBytesLimit(). The " "second parameter is ignored.") void SetTotalBytesLimit(int total_bytes_limit
 
Limit PushLimit (int byte_limit)
 
Limit PushLimit (int byte_limit)
 
Limit ReadLengthAndPushLimit ()
 
Limit ReadLengthAndPushLimit ()
 
bool ReadLittleEndian32 (uint32 *value)
 
bool ReadLittleEndian32 (uint32_t *value)
 
bool ReadLittleEndian64 (uint64 *value)
 
bool ReadLittleEndian64 (uint64_t *value)
 
bool ReadRaw (void *buffer, int size)
 
bool ReadRaw (void *buffer, int size)
 
bool ReadString (std::string *buffer, int size)
 
bool ReadString (std::string *buffer, int size)
 
PROTOBUF_ALWAYS_INLINE uint32 ReadTag ()
 
PROTOBUF_ALWAYS_INLINE uint32_t ReadTag ()
 
PROTOBUF_ALWAYS_INLINE uint32 ReadTagNoLastTag ()
 
PROTOBUF_ALWAYS_INLINE uint32_t ReadTagNoLastTag ()
 
PROTOBUF_ALWAYS_INLINE std::pair< uint32, boolReadTagWithCutoff (uint32 cutoff)
 
PROTOBUF_ALWAYS_INLINE std::pair< uint32_t, boolReadTagWithCutoff (uint32_t cutoff)
 
PROTOBUF_ALWAYS_INLINE std::pair< uint32, boolReadTagWithCutoffNoLastTag (uint32 cutoff)
 
PROTOBUF_ALWAYS_INLINE std::pair< uint32_t, boolReadTagWithCutoffNoLastTag (uint32_t cutoff)
 
bool ReadVarint32 (uint32 *value)
 
bool ReadVarint32 (uint32_t *value)
 
bool ReadVarint64 (uint64 *value)
 
bool ReadVarint64 (uint64_t *value)
 
bool ReadVarintSizeAsInt (int *value)
 
bool ReadVarintSizeAsInt (int *value)
 
int RecursionBudget ()
 
int RecursionBudget ()
 
void SetConsumed ()
 
void SetConsumed ()
 
void SetExtensionRegistry (const DescriptorPool *pool, MessageFactory *factory)
 
void SetExtensionRegistry (const DescriptorPool *pool, MessageFactory *factory)
 
void SetLastTag (uint32 tag)
 
void SetLastTag (uint32_t tag)
 
void SetRecursionLimit (int limit)
 
void SetRecursionLimit (int limit)
 
void SetTotalBytesLimit (int total_bytes_limit)
 
void SetTotalBytesLimit (int total_bytes_limit)
 
bool Skip (int count)
 
bool Skip (int count)
 
void UnsafeDecrementRecursionDepth ()
 
void UnsafeDecrementRecursionDepth ()
 
 ~CodedInputStream ()
 
 ~CodedInputStream ()
 

Static Public Member Functions

static const PROTOBUF_ALWAYS_INLINE uint8ExpectTagFromArray (const uint8 *buffer, uint32 expected)
 
static const PROTOBUF_ALWAYS_INLINE uint8_tExpectTagFromArray (const uint8_t *buffer, uint32_t expected)
 
static int GetDefaultRecursionLimit ()
 
static int GetDefaultRecursionLimit ()
 
static const uint8ReadLittleEndian32FromArray (const uint8 *buffer, uint32 *value)
 
static const uint8_tReadLittleEndian32FromArray (const uint8_t *buffer, uint32_t *value)
 
static const uint8ReadLittleEndian64FromArray (const uint8 *buffer, uint64 *value)
 
static const uint8_tReadLittleEndian64FromArray (const uint8_t *buffer, uint64_t *value)
 

Public Attributes

 int
 

Private Member Functions

void Advance (int amount)
 
void Advance (int amount)
 
void BackUpInputToCurrentPosition ()
 
void BackUpInputToCurrentPosition ()
 
int BufferSize () const
 
int BufferSize () const
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (CodedInputStream)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (CodedInputStream)
 
void PrintTotalBytesLimitError ()
 
void PrintTotalBytesLimitError ()
 
bool ReadLittleEndian32Fallback (uint32 *value)
 
bool ReadLittleEndian32Fallback (uint32_t *value)
 
bool ReadLittleEndian64Fallback (uint64 *value)
 
bool ReadLittleEndian64Fallback (uint64_t *value)
 
bool ReadStringFallback (std::string *buffer, int size)
 
bool ReadStringFallback (std::string *buffer, int size)
 
uint32 ReadTagFallback (uint32 first_byte_or_zero)
 
uint32_t ReadTagFallback (uint32_t first_byte_or_zero)
 
uint32 ReadTagSlow ()
 
uint32_t ReadTagSlow ()
 
int64 ReadVarint32Fallback (uint32 first_byte_or_zero)
 
int64_t ReadVarint32Fallback (uint32_t first_byte_or_zero)
 
bool ReadVarint32Slow (uint32 *value)
 
bool ReadVarint32Slow (uint32_t *value)
 
std::pair< uint64, boolReadVarint64Fallback ()
 
std::pair< uint64_t, boolReadVarint64Fallback ()
 
bool ReadVarint64Slow (uint64 *value)
 
bool ReadVarint64Slow (uint64_t *value)
 
int ReadVarintSizeAsIntFallback ()
 
int ReadVarintSizeAsIntFallback ()
 
int ReadVarintSizeAsIntSlow ()
 
int ReadVarintSizeAsIntSlow ()
 
void RecomputeBufferLimits ()
 
void RecomputeBufferLimits ()
 
bool Refresh ()
 
bool Refresh ()
 
bool SkipFallback (int count, int original_buffer_size)
 
bool SkipFallback (int count, int original_buffer_size)
 

Private Attributes

bool aliasing_enabled_
 
const uint8buffer_
 
const uint8_tbuffer_
 
const uint8buffer_end_
 
const uint8_tbuffer_end_
 
int buffer_size_after_limit_
 
Limit current_limit_
 
MessageFactoryextension_factory_
 
const DescriptorPoolextension_pool_
 
ZeroCopyInputStreaminput_
 
uint32 last_tag_
 
uint32_t last_tag_
 
bool legitimate_message_end_
 
int overflow_bytes_
 
int recursion_budget_
 
int recursion_limit_
 
int total_bytes_limit_
 
int total_bytes_read_
 

Static Private Attributes

static int default_recursion_limit_ = 100
 
static const int kDefaultTotalBytesLimit = INT_MAX
 

Friends

class google::protobuf::internal::EpsCopyByteStream
 
class google::protobuf::ZeroCopyCodedInputStream
 

Detailed Description

Definition at line 180 of file bloaty/third_party/protobuf/src/google/protobuf/io/coded_stream.h.

Member Typedef Documentation

◆ Limit [1/2]

◆ Limit [2/2]

Constructor & Destructor Documentation

◆ CodedInputStream() [1/4]

google::protobuf::io::CodedInputStream::CodedInputStream ( ZeroCopyInputStream input)
inlineexplicit

◆ CodedInputStream() [2/4]

google::protobuf::io::CodedInputStream::CodedInputStream ( const uint8 buffer,
int  size 
)
inlineexplicit

◆ ~CodedInputStream() [1/2]

google::protobuf::io::CodedInputStream::~CodedInputStream ( )

◆ CodedInputStream() [3/4]

google::protobuf::io::CodedInputStream::CodedInputStream ( ZeroCopyInputStream input)
explicit

◆ CodedInputStream() [4/4]

google::protobuf::io::CodedInputStream::CodedInputStream ( const uint8_t buffer,
int  size 
)
explicit

◆ ~CodedInputStream() [2/2]

google::protobuf::io::CodedInputStream::~CodedInputStream ( )

Member Function Documentation

◆ Advance() [1/2]

void google::protobuf::io::CodedInputStream::Advance ( int  amount)
inlineprivate

◆ Advance() [2/2]

void google::protobuf::io::CodedInputStream::Advance ( int  amount)
private

◆ BackUpInputToCurrentPosition() [1/2]

void google::protobuf::io::CodedInputStream::BackUpInputToCurrentPosition ( )
private

◆ BackUpInputToCurrentPosition() [2/2]

void google::protobuf::io::CodedInputStream::BackUpInputToCurrentPosition ( )
private

◆ BufferSize() [1/2]

int google::protobuf::io::CodedInputStream::BufferSize ( ) const
inlineprivate

◆ BufferSize() [2/2]

int google::protobuf::io::CodedInputStream::BufferSize ( ) const
private

◆ BytesUntilLimit() [1/2]

int google::protobuf::io::CodedInputStream::BytesUntilLimit ( ) const

◆ BytesUntilLimit() [2/2]

int google::protobuf::io::CodedInputStream::BytesUntilLimit ( ) const

◆ BytesUntilTotalBytesLimit() [1/2]

int google::protobuf::io::CodedInputStream::BytesUntilTotalBytesLimit ( ) const

◆ BytesUntilTotalBytesLimit() [2/2]

int google::protobuf::io::CodedInputStream::BytesUntilTotalBytesLimit ( ) const

◆ CheckEntireMessageConsumedAndPopLimit() [1/2]

bool google::protobuf::io::CodedInputStream::CheckEntireMessageConsumedAndPopLimit ( Limit  limit)

◆ CheckEntireMessageConsumedAndPopLimit() [2/2]

bool google::protobuf::io::CodedInputStream::CheckEntireMessageConsumedAndPopLimit ( Limit  limit)

◆ ConsumedEntireMessage() [1/2]

bool google::protobuf::io::CodedInputStream::ConsumedEntireMessage ( )
inline

◆ ConsumedEntireMessage() [2/2]

bool google::protobuf::io::CodedInputStream::ConsumedEntireMessage ( )

◆ CurrentPosition() [1/2]

int google::protobuf::io::CodedInputStream::CurrentPosition ( ) const
inline

◆ CurrentPosition() [2/2]

int google::protobuf::io::CodedInputStream::CurrentPosition ( ) const

◆ DecrementRecursionDepth() [1/2]

void google::protobuf::io::CodedInputStream::DecrementRecursionDepth ( )
inline

◆ DecrementRecursionDepth() [2/2]

void google::protobuf::io::CodedInputStream::DecrementRecursionDepth ( )

◆ DecrementRecursionDepthAndPopLimit() [1/2]

bool google::protobuf::io::CodedInputStream::DecrementRecursionDepthAndPopLimit ( Limit  limit)

◆ DecrementRecursionDepthAndPopLimit() [2/2]

bool google::protobuf::io::CodedInputStream::DecrementRecursionDepthAndPopLimit ( Limit  limit)

◆ ExpectAtEnd() [1/2]

bool google::protobuf::io::CodedInputStream::ExpectAtEnd ( )
inline

◆ ExpectAtEnd() [2/2]

bool google::protobuf::io::CodedInputStream::ExpectAtEnd ( )

◆ ExpectTag() [1/2]

bool google::protobuf::io::CodedInputStream::ExpectTag ( uint32  expected)
inline

◆ ExpectTag() [2/2]

PROTOBUF_ALWAYS_INLINE bool google::protobuf::io::CodedInputStream::ExpectTag ( uint32_t  expected)

◆ ExpectTagFromArray() [1/2]

const uint8_t * google::protobuf::io::CodedInputStream::ExpectTagFromArray ( const uint8 buffer,
uint32  expected 
)
inlinestatic

◆ ExpectTagFromArray() [2/2]

static const PROTOBUF_ALWAYS_INLINE uint8_t* google::protobuf::io::CodedInputStream::ExpectTagFromArray ( const uint8_t buffer,
uint32_t  expected 
)
static

◆ GetDefaultRecursionLimit() [1/2]

static int google::protobuf::io::CodedInputStream::GetDefaultRecursionLimit ( )
inlinestatic

◆ GetDefaultRecursionLimit() [2/2]

static int google::protobuf::io::CodedInputStream::GetDefaultRecursionLimit ( )
inlinestatic

◆ GetDirectBufferPointer() [1/2]

bool google::protobuf::io::CodedInputStream::GetDirectBufferPointer ( const void **  data,
int size 
)

◆ GetDirectBufferPointer() [2/2]

bool google::protobuf::io::CodedInputStream::GetDirectBufferPointer ( const void **  data,
int size 
)

◆ GetDirectBufferPointerInline() [1/2]

void google::protobuf::io::CodedInputStream::GetDirectBufferPointerInline ( const void **  data,
int size 
)
inline

◆ GetDirectBufferPointerInline() [2/2]

PROTOBUF_ALWAYS_INLINE void google::protobuf::io::CodedInputStream::GetDirectBufferPointerInline ( const void **  data,
int size 
)

◆ GetExtensionFactory() [1/2]

MessageFactory * google::protobuf::io::CodedInputStream::GetExtensionFactory ( )
inline

◆ GetExtensionFactory() [2/2]

MessageFactory* google::protobuf::io::CodedInputStream::GetExtensionFactory ( )

◆ GetExtensionPool() [1/2]

const DescriptorPool * google::protobuf::io::CodedInputStream::GetExtensionPool ( )
inline

◆ GetExtensionPool() [2/2]

const DescriptorPool* google::protobuf::io::CodedInputStream::GetExtensionPool ( )

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [1/2]

google::protobuf::io::CodedInputStream::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( CodedInputStream  )
private

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [2/2]

google::protobuf::io::CodedInputStream::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( CodedInputStream  )
private

◆ IncrementRecursionDepth() [1/2]

bool google::protobuf::io::CodedInputStream::IncrementRecursionDepth ( )
inline

◆ IncrementRecursionDepth() [2/2]

bool google::protobuf::io::CodedInputStream::IncrementRecursionDepth ( )

◆ IncrementRecursionDepthAndPushLimit() [1/2]

std::pair< CodedInputStream::Limit, int > google::protobuf::io::CodedInputStream::IncrementRecursionDepthAndPushLimit ( int  byte_limit)

◆ IncrementRecursionDepthAndPushLimit() [2/2]

std::pair<CodedInputStream::Limit, int> google::protobuf::io::CodedInputStream::IncrementRecursionDepthAndPushLimit ( int  byte_limit)

◆ IsFlat() [1/2]

bool google::protobuf::io::CodedInputStream::IsFlat ( ) const
inline

◆ IsFlat() [2/2]

bool google::protobuf::io::CodedInputStream::IsFlat ( ) const
inline

◆ LastTagWas() [1/2]

bool google::protobuf::io::CodedInputStream::LastTagWas ( uint32  expected)
inline

◆ LastTagWas() [2/2]

bool google::protobuf::io::CodedInputStream::LastTagWas ( uint32_t  expected)

◆ PopLimit() [1/2]

void google::protobuf::io::CodedInputStream::PopLimit ( Limit  limit)

◆ PopLimit() [2/2]

void google::protobuf::io::CodedInputStream::PopLimit ( Limit  limit)

◆ PrintTotalBytesLimitError() [1/2]

void google::protobuf::io::CodedInputStream::PrintTotalBytesLimitError ( )
private

◆ PrintTotalBytesLimitError() [2/2]

void google::protobuf::io::CodedInputStream::PrintTotalBytesLimitError ( )
private

◆ PROTOBUF_DEPRECATED_MSG()

google::protobuf::io::CodedInputStream::PROTOBUF_DEPRECATED_MSG ( "Please use the single parameter version of SetTotalBytesLimit(). The " "second parameter is ignored."  )

◆ PushLimit() [1/2]

CodedInputStream::Limit google::protobuf::io::CodedInputStream::PushLimit ( int  byte_limit)

◆ PushLimit() [2/2]

Limit google::protobuf::io::CodedInputStream::PushLimit ( int  byte_limit)

◆ ReadLengthAndPushLimit() [1/2]

CodedInputStream::Limit google::protobuf::io::CodedInputStream::ReadLengthAndPushLimit ( )

◆ ReadLengthAndPushLimit() [2/2]

Limit google::protobuf::io::CodedInputStream::ReadLengthAndPushLimit ( )

◆ ReadLittleEndian32() [1/2]

bool google::protobuf::io::CodedInputStream::ReadLittleEndian32 ( uint32 value)
inline

◆ ReadLittleEndian32() [2/2]

bool google::protobuf::io::CodedInputStream::ReadLittleEndian32 ( uint32_t value)

◆ ReadLittleEndian32Fallback() [1/2]

bool google::protobuf::io::CodedInputStream::ReadLittleEndian32Fallback ( uint32 value)
private

◆ ReadLittleEndian32Fallback() [2/2]

bool google::protobuf::io::CodedInputStream::ReadLittleEndian32Fallback ( uint32_t value)
private

◆ ReadLittleEndian32FromArray() [1/2]

const uint8_t * google::protobuf::io::CodedInputStream::ReadLittleEndian32FromArray ( const uint8 buffer,
uint32 value 
)
inlinestatic

◆ ReadLittleEndian32FromArray() [2/2]

static const uint8_t* google::protobuf::io::CodedInputStream::ReadLittleEndian32FromArray ( const uint8_t buffer,
uint32_t value 
)
static

◆ ReadLittleEndian64() [1/2]

bool google::protobuf::io::CodedInputStream::ReadLittleEndian64 ( uint64 value)
inline

◆ ReadLittleEndian64() [2/2]

bool google::protobuf::io::CodedInputStream::ReadLittleEndian64 ( uint64_t value)

◆ ReadLittleEndian64Fallback() [1/2]

bool google::protobuf::io::CodedInputStream::ReadLittleEndian64Fallback ( uint64 value)
private

◆ ReadLittleEndian64Fallback() [2/2]

bool google::protobuf::io::CodedInputStream::ReadLittleEndian64Fallback ( uint64_t value)
private

◆ ReadLittleEndian64FromArray() [1/2]

const uint8_t * google::protobuf::io::CodedInputStream::ReadLittleEndian64FromArray ( const uint8 buffer,
uint64 value 
)
inlinestatic

◆ ReadLittleEndian64FromArray() [2/2]

static const uint8_t* google::protobuf::io::CodedInputStream::ReadLittleEndian64FromArray ( const uint8_t buffer,
uint64_t value 
)
static

◆ ReadRaw() [1/2]

bool google::protobuf::io::CodedInputStream::ReadRaw ( void *  buffer,
int  size 
)

◆ ReadRaw() [2/2]

bool google::protobuf::io::CodedInputStream::ReadRaw ( void *  buffer,
int  size 
)

◆ ReadString() [1/2]

bool google::protobuf::io::CodedInputStream::ReadString ( std::string *  buffer,
int  size 
)

◆ ReadString() [2/2]

bool google::protobuf::io::CodedInputStream::ReadString ( std::string *  buffer,
int  size 
)

◆ ReadStringFallback() [1/2]

bool google::protobuf::io::CodedInputStream::ReadStringFallback ( std::string *  buffer,
int  size 
)
private

◆ ReadStringFallback() [2/2]

bool google::protobuf::io::CodedInputStream::ReadStringFallback ( std::string *  buffer,
int  size 
)
private

◆ ReadTag() [1/2]

PROTOBUF_ALWAYS_INLINE uint32 google::protobuf::io::CodedInputStream::ReadTag ( )
inline

◆ ReadTag() [2/2]

PROTOBUF_ALWAYS_INLINE uint32_t google::protobuf::io::CodedInputStream::ReadTag ( )
inline

◆ ReadTagFallback() [1/2]

uint32_t google::protobuf::io::CodedInputStream::ReadTagFallback ( uint32  first_byte_or_zero)
private

◆ ReadTagFallback() [2/2]

uint32_t google::protobuf::io::CodedInputStream::ReadTagFallback ( uint32_t  first_byte_or_zero)
private

◆ ReadTagNoLastTag() [1/2]

uint32_t google::protobuf::io::CodedInputStream::ReadTagNoLastTag ( )
inline

◆ ReadTagNoLastTag() [2/2]

PROTOBUF_ALWAYS_INLINE uint32_t google::protobuf::io::CodedInputStream::ReadTagNoLastTag ( )

◆ ReadTagSlow() [1/2]

uint32_t google::protobuf::io::CodedInputStream::ReadTagSlow ( )
private

◆ ReadTagSlow() [2/2]

uint32_t google::protobuf::io::CodedInputStream::ReadTagSlow ( )
private

◆ ReadTagWithCutoff() [1/2]

PROTOBUF_ALWAYS_INLINE std::pair<uint32, bool> google::protobuf::io::CodedInputStream::ReadTagWithCutoff ( uint32  cutoff)
inline

◆ ReadTagWithCutoff() [2/2]

PROTOBUF_ALWAYS_INLINE std::pair<uint32_t, bool> google::protobuf::io::CodedInputStream::ReadTagWithCutoff ( uint32_t  cutoff)
inline

◆ ReadTagWithCutoffNoLastTag() [1/2]

std::pair< uint32_t, bool > google::protobuf::io::CodedInputStream::ReadTagWithCutoffNoLastTag ( uint32  cutoff)
inline

◆ ReadTagWithCutoffNoLastTag() [2/2]

PROTOBUF_ALWAYS_INLINE std::pair<uint32_t, bool> google::protobuf::io::CodedInputStream::ReadTagWithCutoffNoLastTag ( uint32_t  cutoff)

◆ ReadVarint32() [1/2]

bool google::protobuf::io::CodedInputStream::ReadVarint32 ( uint32 value)
inline

◆ ReadVarint32() [2/2]

bool google::protobuf::io::CodedInputStream::ReadVarint32 ( uint32_t value)

◆ ReadVarint32Fallback() [1/2]

int64_t google::protobuf::io::CodedInputStream::ReadVarint32Fallback ( uint32  first_byte_or_zero)
private

◆ ReadVarint32Fallback() [2/2]

int64_t google::protobuf::io::CodedInputStream::ReadVarint32Fallback ( uint32_t  first_byte_or_zero)
private

◆ ReadVarint32Slow() [1/2]

bool google::protobuf::io::CodedInputStream::ReadVarint32Slow ( uint32 value)
private

◆ ReadVarint32Slow() [2/2]

bool google::protobuf::io::CodedInputStream::ReadVarint32Slow ( uint32_t value)
private

◆ ReadVarint64() [1/2]

bool google::protobuf::io::CodedInputStream::ReadVarint64 ( uint64 value)
inline

◆ ReadVarint64() [2/2]

bool google::protobuf::io::CodedInputStream::ReadVarint64 ( uint64_t value)

◆ ReadVarint64Fallback() [1/2]

std::pair< uint64_t, bool > google::protobuf::io::CodedInputStream::ReadVarint64Fallback ( )
private

◆ ReadVarint64Fallback() [2/2]

std::pair<uint64_t, bool> google::protobuf::io::CodedInputStream::ReadVarint64Fallback ( )
private

◆ ReadVarint64Slow() [1/2]

bool google::protobuf::io::CodedInputStream::ReadVarint64Slow ( uint64 value)
private

◆ ReadVarint64Slow() [2/2]

bool google::protobuf::io::CodedInputStream::ReadVarint64Slow ( uint64_t value)
private

◆ ReadVarintSizeAsInt() [1/2]

bool google::protobuf::io::CodedInputStream::ReadVarintSizeAsInt ( int value)
inline

◆ ReadVarintSizeAsInt() [2/2]

bool google::protobuf::io::CodedInputStream::ReadVarintSizeAsInt ( int value)

◆ ReadVarintSizeAsIntFallback() [1/2]

int google::protobuf::io::CodedInputStream::ReadVarintSizeAsIntFallback ( )
private

◆ ReadVarintSizeAsIntFallback() [2/2]

int google::protobuf::io::CodedInputStream::ReadVarintSizeAsIntFallback ( )
private

◆ ReadVarintSizeAsIntSlow() [1/2]

int google::protobuf::io::CodedInputStream::ReadVarintSizeAsIntSlow ( )
private

◆ ReadVarintSizeAsIntSlow() [2/2]

int google::protobuf::io::CodedInputStream::ReadVarintSizeAsIntSlow ( )
private

◆ RecomputeBufferLimits() [1/2]

void google::protobuf::io::CodedInputStream::RecomputeBufferLimits ( )
inlineprivate

◆ RecomputeBufferLimits() [2/2]

void google::protobuf::io::CodedInputStream::RecomputeBufferLimits ( )
private

◆ RecursionBudget() [1/2]

int google::protobuf::io::CodedInputStream::RecursionBudget ( )
inline

◆ RecursionBudget() [2/2]

int google::protobuf::io::CodedInputStream::RecursionBudget ( )
inline

◆ Refresh() [1/2]

bool google::protobuf::io::CodedInputStream::Refresh ( )
private

◆ Refresh() [2/2]

bool google::protobuf::io::CodedInputStream::Refresh ( )
private

◆ SetConsumed() [1/2]

void google::protobuf::io::CodedInputStream::SetConsumed ( )
inline

◆ SetConsumed() [2/2]

void google::protobuf::io::CodedInputStream::SetConsumed ( )
inline

◆ SetExtensionRegistry() [1/2]

void google::protobuf::io::CodedInputStream::SetExtensionRegistry ( const DescriptorPool pool,
MessageFactory factory 
)
inline

◆ SetExtensionRegistry() [2/2]

void google::protobuf::io::CodedInputStream::SetExtensionRegistry ( const DescriptorPool pool,
MessageFactory factory 
)

◆ SetLastTag() [1/2]

void google::protobuf::io::CodedInputStream::SetLastTag ( uint32  tag)
inline

◆ SetLastTag() [2/2]

void google::protobuf::io::CodedInputStream::SetLastTag ( uint32_t  tag)
inline

◆ SetRecursionLimit() [1/2]

void google::protobuf::io::CodedInputStream::SetRecursionLimit ( int  limit)
inline

◆ SetRecursionLimit() [2/2]

void google::protobuf::io::CodedInputStream::SetRecursionLimit ( int  limit)

◆ SetTotalBytesLimit() [1/2]

void google::protobuf::io::CodedInputStream::SetTotalBytesLimit ( int  total_bytes_limit)

◆ SetTotalBytesLimit() [2/2]

void google::protobuf::io::CodedInputStream::SetTotalBytesLimit ( int  total_bytes_limit)

◆ Skip() [1/2]

bool google::protobuf::io::CodedInputStream::Skip ( int  count)
inline

◆ Skip() [2/2]

bool google::protobuf::io::CodedInputStream::Skip ( int  count)
inline

◆ SkipFallback() [1/2]

bool google::protobuf::io::CodedInputStream::SkipFallback ( int  count,
int  original_buffer_size 
)
private

◆ SkipFallback() [2/2]

bool google::protobuf::io::CodedInputStream::SkipFallback ( int  count,
int  original_buffer_size 
)
private

◆ UnsafeDecrementRecursionDepth() [1/2]

void google::protobuf::io::CodedInputStream::UnsafeDecrementRecursionDepth ( )
inline

◆ UnsafeDecrementRecursionDepth() [2/2]

void google::protobuf::io::CodedInputStream::UnsafeDecrementRecursionDepth ( )

Friends And Related Function Documentation

◆ google::protobuf::internal::EpsCopyByteStream

google::protobuf::internal::EpsCopyByteStream
friend

◆ google::protobuf::ZeroCopyCodedInputStream

Member Data Documentation

◆ aliasing_enabled_

bool google::protobuf::io::CodedInputStream::aliasing_enabled_
private

◆ buffer_ [1/2]

const uint8* google::protobuf::io::CodedInputStream::buffer_
private

◆ buffer_ [2/2]

const uint8_t* google::protobuf::io::CodedInputStream::buffer_
private

◆ buffer_end_ [1/2]

const uint8* google::protobuf::io::CodedInputStream::buffer_end_
private

◆ buffer_end_ [2/2]

const uint8_t* google::protobuf::io::CodedInputStream::buffer_end_
private

◆ buffer_size_after_limit_

int google::protobuf::io::CodedInputStream::buffer_size_after_limit_
private

◆ current_limit_

Limit google::protobuf::io::CodedInputStream::current_limit_
private

◆ default_recursion_limit_

static int google::protobuf::io::CodedInputStream::default_recursion_limit_ = 100
staticprivate

◆ extension_factory_

MessageFactory * google::protobuf::io::CodedInputStream::extension_factory_
private

◆ extension_pool_

const DescriptorPool * google::protobuf::io::CodedInputStream::extension_pool_
private

◆ input_

ZeroCopyInputStream * google::protobuf::io::CodedInputStream::input_
private

◆ int

google::protobuf::io::CodedInputStream::int
Initial value:
{
SetTotalBytesLimit(total_bytes_limit)

Definition at line 396 of file bloaty/third_party/protobuf/src/google/protobuf/io/coded_stream.h.

◆ kDefaultTotalBytesLimit

static const int google::protobuf::io::CodedInputStream::kDefaultTotalBytesLimit = INT_MAX
staticprivate

◆ last_tag_ [1/2]

uint32 google::protobuf::io::CodedInputStream::last_tag_
private

◆ last_tag_ [2/2]

uint32_t google::protobuf::io::CodedInputStream::last_tag_
private

◆ legitimate_message_end_

bool google::protobuf::io::CodedInputStream::legitimate_message_end_
private

◆ overflow_bytes_

int google::protobuf::io::CodedInputStream::overflow_bytes_
private

◆ recursion_budget_

int google::protobuf::io::CodedInputStream::recursion_budget_
private

◆ recursion_limit_

int google::protobuf::io::CodedInputStream::recursion_limit_
private

◆ total_bytes_limit_

int google::protobuf::io::CodedInputStream::total_bytes_limit_
private

◆ total_bytes_read_

int google::protobuf::io::CodedInputStream::total_bytes_read_
private

The documentation for this class was generated from the following files:
google::protobuf::io::CodedInputStream::SetTotalBytesLimit
void SetTotalBytesLimit(int total_bytes_limit)
Definition: bloaty/third_party/protobuf/src/google/protobuf/io/coded_stream.cc:179


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