#include <google/protobuf/generated_message_util.h>
#include <atomic>
#include <limits>
#include <vector>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/io/zero_copy_stream_impl_lite.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/message_lite.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/wire_format_lite.h>
#include <google/protobuf/port_def.inc>
PROTOBUF_PRAGMA_INIT_SEG
namespace google {
namespace protobuf {
namespace internal {
void DestroyMessage(const void* message) { … }
void DestroyString(const void* s) { … }
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExplicitlyConstructedArenaString
fixed_address_empty_string{ … };
PROTOBUF_CONSTINIT bool init_protobuf_defaults_state{ … };
void InitProtobufDefaultsSlow() { … }
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 static std::true_type init_empty_string = …;
const std::string& GetEmptyString() { … }
size_t StringSpaceUsedExcludingSelfLong(const std::string& str) { … }
template <typename T>
const T& Get(const void* ptr) { … }
template <int type>
struct PrimitiveTypeHelper;
template <>
struct PrimitiveTypeHelper<WireFormatLite::TYPE_BOOL> { … };
template <>
struct PrimitiveTypeHelper<WireFormatLite::TYPE_INT32> { … };
template <>
struct PrimitiveTypeHelper<WireFormatLite::TYPE_SINT32> { … };
template <>
struct PrimitiveTypeHelper<WireFormatLite::TYPE_UINT32> { … };
template <>
struct PrimitiveTypeHelper<WireFormatLite::TYPE_INT64> { … };
template <>
struct PrimitiveTypeHelper<WireFormatLite::TYPE_SINT64> { … };
template <>
struct PrimitiveTypeHelper<WireFormatLite::TYPE_UINT64> { … };
template <>
struct PrimitiveTypeHelper<WireFormatLite::TYPE_FIXED32> { … };
template <>
struct PrimitiveTypeHelper<WireFormatLite::TYPE_FIXED64> { … };
template <>
struct PrimitiveTypeHelper<WireFormatLite::TYPE_ENUM>
: PrimitiveTypeHelper<WireFormatLite::TYPE_INT32> { … };
template <>
struct PrimitiveTypeHelper<WireFormatLite::TYPE_SFIXED32>
: PrimitiveTypeHelper<WireFormatLite::TYPE_FIXED32> { … };
template <>
struct PrimitiveTypeHelper<WireFormatLite::TYPE_SFIXED64>
: PrimitiveTypeHelper<WireFormatLite::TYPE_FIXED64> { … };
template <>
struct PrimitiveTypeHelper<WireFormatLite::TYPE_FLOAT>
: PrimitiveTypeHelper<WireFormatLite::TYPE_FIXED32> { … };
template <>
struct PrimitiveTypeHelper<WireFormatLite::TYPE_DOUBLE>
: PrimitiveTypeHelper<WireFormatLite::TYPE_FIXED64> { … };
template <>
struct PrimitiveTypeHelper<WireFormatLite::TYPE_STRING> { … };
template <>
struct PrimitiveTypeHelper<WireFormatLite::TYPE_BYTES>
: PrimitiveTypeHelper<WireFormatLite::TYPE_STRING> { … };
template <typename O, int type>
struct OutputHelper;
template <int type, typename O>
void SerializeTo(const void* ptr, O* output) { … }
template <typename O>
void WriteTagTo(uint32_t tag, O* output) { … }
template <typename O>
void WriteLengthTo(uint32_t length, O* output) { … }
OutputHelper<io::CodedOutputStream, type>;
struct ArrayOutput { … };
OutputHelper<ArrayOutput, type>;
void SerializeMessageNoTable(const MessageLite* msg,
io::CodedOutputStream* output) { … }
void SerializeMessageNoTable(const MessageLite* msg, ArrayOutput* output) { … }
class AccessorHelper { … };
void SerializeNotImplemented(int field) { … }
#define SERIALIZE_TABLE_OP(type, type_class) …
template <int type>
bool IsNull(const void* ptr) { … }
template <>
bool IsNull<WireFormatLite::TYPE_STRING>(const void* ptr) { … }
template <>
bool IsNull<WireFormatLite::TYPE_BYTES>(const void* ptr) { … }
template <>
bool IsNull<WireFormatLite::TYPE_GROUP>(const void* ptr) { … }
template <>
bool IsNull<WireFormatLite::TYPE_MESSAGE>(const void* ptr) { … }
void ExtensionSerializer(const MessageLite* extendee, const uint8_t* ptr,
uint32_t offset, uint32_t tag, uint32_t has_offset,
io::CodedOutputStream* output) { … }
void UnknownFieldSerializerLite(const uint8_t* ptr, uint32_t offset,
uint32_t , uint32_t ,
io::CodedOutputStream* output) { … }
MessageLite* DuplicateIfNonNullInternal(MessageLite* message) { … }
void GenericSwap(MessageLite* m1, MessageLite* m2) { … }
MessageLite* GetOwnedMessageInternal(Arena* message_arena,
MessageLite* submessage,
Arena* submessage_arena) { … }
}
}
}
#include <google/protobuf/port_undef.inc>