#include <coded_stream.h>
arena_t NULL
Definition: jemalloc_internal.h:624
static const int32 kint32max
Definition: common.h:197
google::protobuf::io::CodedInputStream::CodedInputStream |
( |
const uint8 * |
buffer, |
|
|
int |
size |
|
) |
| |
|
inlineexplicit |
arena_t NULL
Definition: jemalloc_internal.h:624
google::protobuf::io::CodedInputStream::~CodedInputStream |
( |
| ) |
|
void google::protobuf::io::CodedInputStream::Advance |
( |
int |
amount | ) |
|
|
inlineprivate |
void google::protobuf::io::CodedInputStream::BackUpInputToCurrentPosition |
( |
| ) |
|
|
private |
int google::protobuf::io::CodedInputStream::BufferSize |
( |
| ) |
const |
|
inlineprivate |
int google::protobuf::io::CodedInputStream::BytesUntilLimit |
( |
| ) |
const |
int google::protobuf::io::CodedInputStream::BytesUntilTotalBytesLimit |
( |
| ) |
const |
bool google::protobuf::io::CodedInputStream::ConsumedEntireMessage |
( |
| ) |
|
|
inline |
int google::protobuf::io::CodedInputStream::CurrentPosition |
( |
| ) |
const |
|
inline |
void google::protobuf::io::CodedInputStream::DecrementRecursionDepth |
( |
| ) |
|
|
inline |
bool google::protobuf::io::CodedInputStream::ExpectAtEnd |
( |
| ) |
|
|
inline |
bool google::protobuf::io::CodedInputStream::ExpectTag |
( |
uint32 |
expected | ) |
|
|
inline |
937 if (expected < (1 << 7)) {
944 }
else if (expected < (1 << 14)) {
946 buffer_[0] == static_cast<uint8>(expected | 0x80) &&
947 buffer_[1] == static_cast<uint8>(expected >> 7)) {
#define GOOGLE_PREDICT_TRUE
Definition: common.h:235
961 if (expected < (1 << 7)) {
962 if (buffer[0] == expected) {
965 }
else if (expected < (1 << 14)) {
966 if (buffer[0] == static_cast<uint8>(expected | 0x80) &&
967 buffer[1] == static_cast<uint8>(expected >> 7)) {
arena_t NULL
Definition: jemalloc_internal.h:624
bool google::protobuf::io::CodedInputStream::GetDirectBufferPointer |
( |
const void ** |
data, |
|
|
int * |
size |
|
) |
| |
void google::protobuf::io::CodedInputStream::GetDirectBufferPointerInline |
( |
const void ** |
data, |
|
|
int * |
size |
|
) |
| |
|
inline |
MessageFactory * google::protobuf::io::CodedInputStream::GetExtensionFactory |
( |
| ) |
|
|
inline |
google::protobuf::io::CodedInputStream::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS |
( |
CodedInputStream |
| ) |
|
|
private |
bool google::protobuf::io::CodedInputStream::IncrementRecursionDepth |
( |
| ) |
|
|
inline |
bool google::protobuf::io::CodedInputStream::InternalReadStringInline |
( |
string * |
buffer, |
|
|
int |
size |
|
) |
| |
|
inline |
50 if (size < 0)
return false;
void STLStringResizeUninitialized(string *s, size_t new_size)
Definition: stl_util.h:67
char * mutable_string_data(string *s)
Definition: zero_copy_stream_impl_lite.h:340
bool google::protobuf::io::CodedInputStream::IsFlat |
( |
| ) |
const |
|
inline |
arena_t NULL
Definition: jemalloc_internal.h:624
bool google::protobuf::io::CodedInputStream::LastTagWas |
( |
uint32 |
expected | ) |
|
|
inline |
void google::protobuf::io::CodedInputStream::PopLimit |
( |
Limit |
limit | ) |
|
void google::protobuf::io::CodedInputStream::PrintTotalBytesLimitError |
( |
| ) |
|
|
private |
Limit google::protobuf::io::CodedInputStream::PushLimit |
( |
int |
byte_limit | ) |
|
bool google::protobuf::io::CodedInputStream::ReadLittleEndian32 |
( |
uint32 * |
value | ) |
|
|
inline |
851 #if defined(PROTOBUF_LITTLE_ENDIAN)
#define GOOGLE_PREDICT_TRUE
Definition: common.h:235
const FieldDescriptor value
Definition: descriptor.h:1522
bool google::protobuf::io::CodedInputStream::ReadLittleEndian32Fallback |
( |
uint32 * |
value | ) |
|
|
private |
817 #if defined(PROTOBUF_LITTLE_ENDIAN)
819 return buffer +
sizeof(*value);
821 *value = (
static_cast<uint32>(buffer[0]) ) |
822 (
static_cast<uint32>(buffer[1]) << 8) |
823 (
static_cast<uint32>(buffer[2]) << 16) |
824 (
static_cast<uint32>(buffer[3]) << 24);
825 return buffer +
sizeof(*value);
uint32_t uint32
Definition: Define.h:150
const FieldDescriptor value
Definition: descriptor.h:1522
bool google::protobuf::io::CodedInputStream::ReadLittleEndian64 |
( |
uint64 * |
value | ) |
|
|
inline |
865 #if defined(PROTOBUF_LITTLE_ENDIAN)
#define GOOGLE_PREDICT_TRUE
Definition: common.h:235
const FieldDescriptor value
Definition: descriptor.h:1522
bool google::protobuf::io::CodedInputStream::ReadLittleEndian64Fallback |
( |
uint64 * |
value | ) |
|
|
private |
832 #if defined(PROTOBUF_LITTLE_ENDIAN)
834 return buffer +
sizeof(*value);
837 (
static_cast<uint32>(buffer[1]) << 8) |
838 (
static_cast<uint32>(buffer[2]) << 16) |
839 (
static_cast<uint32>(buffer[3]) << 24);
841 (
static_cast<uint32>(buffer[5]) << 8) |
842 (
static_cast<uint32>(buffer[6]) << 16) |
843 (
static_cast<uint32>(buffer[7]) << 24);
844 *value =
static_cast<uint64>(part0) |
845 (static_cast<uint64>(part1) << 32);
846 return buffer +
sizeof(*value);
uint32_t uint32
Definition: Define.h:150
uint64_t uint64
Definition: Define.h:149
const FieldDescriptor value
Definition: descriptor.h:1522
bool google::protobuf::io::CodedInputStream::ReadRaw |
( |
void * |
buffer, |
|
|
int |
size |
|
) |
| |
bool google::protobuf::io::CodedInputStream::ReadString |
( |
string * |
buffer, |
|
|
int |
size |
|
) |
| |
bool google::protobuf::io::CodedInputStream::ReadStringFallback |
( |
string * |
buffer, |
|
|
int |
size |
|
) |
| |
|
private |
uint32 google::protobuf::io::CodedInputStream::ReadTag |
( |
| ) |
|
|
inline |
#define GOOGLE_PREDICT_TRUE
Definition: common.h:235
uint32 google::protobuf::io::CodedInputStream::ReadTagFallback |
( |
| ) |
|
|
private |
uint32 google::protobuf::io::CodedInputStream::ReadTagSlow |
( |
| ) |
|
|
private |
std::pair< uint32, bool > google::protobuf::io::CodedInputStream::ReadTagWithCutoff |
( |
uint32 |
cutoff | ) |
|
|
inline |
898 if (static_cast<int8>(
buffer_[0]) > 0) {
899 const uint32 kMax1ByteVarint = 0x7f;
902 return make_pair(tag, cutoff >= kMax1ByteVarint || tag <= cutoff);
907 if (cutoff >= 0x80 &&
910 const uint32 kMax2ByteVarint = (0x7f << 7) + 0x7f;
919 bool at_or_below_cutoff = cutoff >= kMax2ByteVarint || tag <= cutoff;
920 return make_pair(tag, at_or_below_cutoff);
#define GOOGLE_PREDICT_TRUE
Definition: common.h:235
uint32_t uint32
Definition: Define.h:150
bool google::protobuf::io::CodedInputStream::ReadVarint32 |
( |
uint32 * |
value | ) |
|
|
inline |
#define GOOGLE_PREDICT_TRUE
Definition: common.h:235
const FieldDescriptor value
Definition: descriptor.h:1522
bool google::protobuf::io::CodedInputStream::ReadVarint32Fallback |
( |
uint32 * |
value | ) |
|
|
private |
bool google::protobuf::io::CodedInputStream::ReadVarint32Slow |
( |
uint32 * |
value | ) |
|
|
private |
bool google::protobuf::io::CodedInputStream::ReadVarint64 |
( |
uint64 * |
value | ) |
|
|
inline |
#define GOOGLE_PREDICT_TRUE
Definition: common.h:235
const FieldDescriptor value
Definition: descriptor.h:1522
bool google::protobuf::io::CodedInputStream::ReadVarint64Fallback |
( |
uint64 * |
value | ) |
|
|
private |
bool google::protobuf::io::CodedInputStream::ReadVarint64Slow |
( |
uint64 * |
value | ) |
|
|
private |
void google::protobuf::io::CodedInputStream::RecomputeBufferLimits |
( |
| ) |
|
|
private |
bool google::protobuf::io::CodedInputStream::Refresh |
( |
| ) |
|
|
private |
void google::protobuf::io::CodedInputStream::SetRecursionLimit |
( |
int |
limit | ) |
|
|
inline |
void google::protobuf::io::CodedInputStream::SetTotalBytesLimit |
( |
int |
total_bytes_limit, |
|
|
int |
warning_threshold |
|
) |
| |
bool google::protobuf::io::CodedInputStream::Skip |
( |
int |
count | ) |
|
bool google::protobuf::io::CodedInputStream::aliasing_enabled_ |
|
private |
const uint8* google::protobuf::io::CodedInputStream::buffer_ |
|
private |
const uint8* google::protobuf::io::CodedInputStream::buffer_end_ |
|
private |
int google::protobuf::io::CodedInputStream::buffer_size_after_limit_ |
|
private |
Limit google::protobuf::io::CodedInputStream::current_limit_ |
|
private |
int google::protobuf::io::CodedInputStream::default_recursion_limit_ |
|
staticprivate |
MessageFactory* google::protobuf::io::CodedInputStream::extension_factory_ |
|
private |
const int google::protobuf::io::CodedInputStream::kDefaultTotalBytesLimit = 64 << 20 |
|
staticprivate |
const int google::protobuf::io::CodedInputStream::kDefaultTotalBytesWarningThreshold = 32 << 20 |
|
staticprivate |
uint32 google::protobuf::io::CodedInputStream::last_tag_ |
|
private |
bool google::protobuf::io::CodedInputStream::legitimate_message_end_ |
|
private |
int google::protobuf::io::CodedInputStream::overflow_bytes_ |
|
private |
int google::protobuf::io::CodedInputStream::recursion_depth_ |
|
private |
int google::protobuf::io::CodedInputStream::recursion_limit_ |
|
private |
int google::protobuf::io::CodedInputStream::total_bytes_limit_ |
|
private |
int google::protobuf::io::CodedInputStream::total_bytes_read_ |
|
private |
int google::protobuf::io::CodedInputStream::total_bytes_warning_threshold_ |
|
private |
The documentation for this class was generated from the following files: