#include <google/protobuf/wire_format.h>
#include <stack>
#include <string>
#include <vector>
#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/io/zero_copy_stream.h>
#include <google/protobuf/io/zero_copy_stream_impl.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/dynamic_message.h>
#include <google/protobuf/map_field.h>
#include <google/protobuf/map_field_inl.h>
#include <google/protobuf/message.h>
#include <google/protobuf/message_lite.h>
#include <google/protobuf/parse_context.h>
#include <google/protobuf/unknown_field_set.h>
#include <google/protobuf/port_def.inc>
const size_t kMapEntryTagByteSize = …;
namespace google {
namespace protobuf {
namespace internal {
static size_t MapValueRefDataOnlyByteSize(const FieldDescriptor* field,
const MapValueConstRef& value);
bool UnknownFieldSetFieldSkipper::SkipField(io::CodedInputStream* input,
uint32_t tag) { … }
bool UnknownFieldSetFieldSkipper::SkipMessage(io::CodedInputStream* input) { … }
void UnknownFieldSetFieldSkipper::SkipUnknownEnum(int field_number, int value) { … }
bool WireFormat::SkipField(io::CodedInputStream* input, uint32_t tag,
UnknownFieldSet* unknown_fields) { … }
bool WireFormat::SkipMessage(io::CodedInputStream* input,
UnknownFieldSet* unknown_fields) { … }
bool WireFormat::ReadPackedEnumPreserveUnknowns(io::CodedInputStream* input,
uint32_t field_number,
bool (*is_valid)(int),
UnknownFieldSet* unknown_fields,
RepeatedField<int>* values) { … }
uint8_t* WireFormat::InternalSerializeUnknownFieldsToArray(
const UnknownFieldSet& unknown_fields, uint8_t* target,
io::EpsCopyOutputStream* stream) { … }
uint8_t* WireFormat::InternalSerializeUnknownMessageSetItemsToArray(
const UnknownFieldSet& unknown_fields, uint8_t* target,
io::EpsCopyOutputStream* stream) { … }
size_t WireFormat::ComputeUnknownFieldsSize(
const UnknownFieldSet& unknown_fields) { … }
size_t WireFormat::ComputeUnknownMessageSetItemsSize(
const UnknownFieldSet& unknown_fields) { … }
bool WireFormat::ParseAndMergePartial(io::CodedInputStream* input,
Message* message) { … }
bool WireFormat::SkipMessageSetField(io::CodedInputStream* input,
uint32_t field_number,
UnknownFieldSet* unknown_fields) { … }
bool WireFormat::ParseAndMergeMessageSetField(uint32_t field_number,
const FieldDescriptor* field,
Message* message,
io::CodedInputStream* input) { … }
static bool StrictUtf8Check(const FieldDescriptor* field) { … }
bool WireFormat::ParseAndMergeField(
uint32_t tag,
const FieldDescriptor* field,
Message* message, io::CodedInputStream* input) { … }
bool WireFormat::ParseAndMergeMessageSetItem(io::CodedInputStream* input,
Message* message) { … }
struct WireFormat::MessageSetParser { … };
const char* WireFormat::_InternalParse(Message* msg, const char* ptr,
internal::ParseContext* ctx) { … }
const char* WireFormat::_InternalParseAndMergeField(
Message* msg, const char* ptr, internal::ParseContext* ctx, uint64_t tag,
const Reflection* reflection, const FieldDescriptor* field) { … }
uint8_t* WireFormat::_InternalSerialize(const Message& message, uint8_t* target,
io::EpsCopyOutputStream* stream) { … }
uint8_t* SerializeMapKeyWithCachedSizes(const FieldDescriptor* field,
const MapKey& value, uint8_t* target,
io::EpsCopyOutputStream* stream) { … }
static uint8_t* SerializeMapValueRefWithCachedSizes(
const FieldDescriptor* field, const MapValueConstRef& value,
uint8_t* target, io::EpsCopyOutputStream* stream) { … }
class MapKeySorter { … };
static uint8_t* InternalSerializeMapEntry(const FieldDescriptor* field,
const MapKey& key,
const MapValueConstRef& value,
uint8_t* target,
io::EpsCopyOutputStream* stream) { … }
uint8_t* WireFormat::InternalSerializeField(const FieldDescriptor* field,
const Message& message,
uint8_t* target,
io::EpsCopyOutputStream* stream) { … }
uint8_t* WireFormat::InternalSerializeMessageSetItem(
const FieldDescriptor* field, const Message& message, uint8_t* target,
io::EpsCopyOutputStream* stream) { … }
size_t WireFormat::ByteSize(const Message& message) { … }
size_t WireFormat::FieldByteSize(const FieldDescriptor* field,
const Message& message) { … }
size_t MapKeyDataOnlyByteSize(const FieldDescriptor* field,
const MapKey& value) { … }
static size_t MapValueRefDataOnlyByteSize(const FieldDescriptor* field,
const MapValueConstRef& value) { … }
size_t WireFormat::FieldDataOnlyByteSize(const FieldDescriptor* field,
const Message& message) { … }
size_t WireFormat::MessageSetItemByteSize(const FieldDescriptor* field,
const Message& message) { … }
size_t ComputeUnknownFieldsSize(const InternalMetadata& metadata,
size_t total_size, CachedSize* cached_size) { … }
}
}
}
#include <google/protobuf/port_undef.inc>