Namespaces

Enumerations

enum AllocationClient
Name Value
kDefault 0
kArray 1

Defined at line 60 of file ../../third_party/protobuf/src/google/protobuf/serial_arena.h

enum LazyAnnotation
Name Value
kUndefined 0
kLazy 1
kEager 2

Defined at line 100 of file ../../third_party/protobuf/src/google/protobuf/extension_set.h

enum MapNodeSizeInfoT
Name Value
enum TableEntryPtr
Name Value

Type safe tagged pointer.

We convert to/from nodes and trees using the operations below.

They ensure that the tags are used correctly.

There are three states:

- x == 0: the entry is empty

- x != 0

&

&

(x

&

1) == 0: the entry is a node list

- x != 0

&

&

(x

&

1) == 1: the entry is a tree

Records

Functions

  • uint64_t BSwap64 (uint64_t host_int)

    Defined at line 26 of file ../../third_party/protobuf/src/google/protobuf/endian.h

  • uint32_t BSwap32 (uint32_t host_int)

    Defined at line 43 of file ../../third_party/protobuf/src/google/protobuf/endian.h

  • uint16_t BSwap16 (uint16_t host_int)

    Defined at line 56 of file ../../third_party/protobuf/src/google/protobuf/endian.h

  • std::string GetTypeUrl (absl::string_view message_name, absl::string_view type_url_prefix)
  • bool LookUpEnumValue (const EnumEntry * enums, size_t size, absl::string_view name, int * value)

    Looks up a numeric enum value given the string name.

  • bool InternalPackFromLite (const MessageLite & message, absl::string_view type_url_prefix, absl::string_view type_name, std::string * dst_url, std::string * dst_value)

    Helper functions that only require 'lite' messages to work.

  • bool ParseNamedEnum (const EnumDescriptor * descriptor, absl::string_view name, int * value)

    Helper for EnumType_Parse functions: try to parse the string 'name' as

    an enum name of the given type, returning true and filling in value on

    success, or returning false and leaving value unchanged on failure.

  • int LookUpEnumName (const EnumEntry * enums, const int * sorted_indices, size_t size, int value)

    Looks up an enum name given the numeric value.

  • bool InternalUnpackToLite (absl::string_view type_name, absl::string_view type_url, const std::string & value, MessageLite * dst_message)
  • bool InitializeEnumStrings (const EnumEntry * enums, const int * sorted_indices, size_t size, internal::ExplicitlyConstructed<std::string> * enum_strings)

    Initializes the list of enum names in std::string form.

  • bool InternalIsLite (absl::string_view type_name, absl::string_view type_url)
  • std::string ProtocVersionString (int version)

    Prints the protoc compiler version (no major version)

  • const std::string & NameOfEnum (const EnumDescriptor * descriptor, int value)

    Just a wrapper around printing the name of a value. The main point of this

    function is not to be inlined, so that you can do this without including

    descriptor.h.

  • void InitProtobufDefaultsSlow ()
  • bool InternalPackFrom (const Message & message, std::string * dst_url, std::string * dst_value)
  • void InitializeLazyExtensionSet ()
  • std::vector<uint32_t> GenerateEnumData (absl::Span<const int32_t> values)
  • bool InternalPackFrom (const Message & message, absl::string_view type_url_prefix, std::string * dst_url, std::string * dst_value)
  • bool InternalUnpackTo (absl::string_view type_url, const std::string & value, Message * message)
  • bool ParseAnyTypeUrl (absl::string_view type_url, std::string * full_type_name)

    Get the proto type name from Any::type_url value. For example, passing

    "type.googleapis.com/rpc.QueryOrigin" will return "rpc.QueryOrigin" in

    *full_type_name. Returns false if the type_url does not have a "/"

    in the type url separating the full type name.

    NOTE: this function is available publicly as a static method on the

    generated message type: google::protobuf::Any::ParseAnyTypeUrl()

  • void MapTestForceDeterministic ()

    See above. Other projects may use "friend" to allow them to call this.

    After SetDefaultSerializationDeterministic() completes, all protocol

    buffer serializations will be deterministic by default. Thread safe.

    However, the meaning of "after" is subtle here: to be safe, each thread

    that wants deterministic serialization by default needs to call

    SetDefaultSerializationDeterministic() or ensure on its own that another

    thread has done so.

  • bool ParseAnyTypeUrl (absl::string_view type_url, std::string * url_prefix, std::string * full_type_name)

    Get the proto type name and prefix from Any::type_url value. For example,

    passing "type.googleapis.com/rpc.QueryOrigin" will return

    "type.googleapis.com/" in *url_prefix and "rpc.QueryOrigin" in

    *full_type_name. Returns false if the type_url does not have a "/" in the

    type url separating the full type name.

  • bool GetAnyFieldDescriptors (const Message & message, const FieldDescriptor ** type_url_field, const FieldDescriptor ** value_field)

    See if message is of type google.protobuf.Any, if so, return the descriptors

    for "type_url" and "value" fields.

  • void ExtensionSerializer (const MessageLite * extendee, const uint8_t * ptr, uint32_t offset, uint32_t tag, uint32_t has_offset, io::CodedOutputStream * output)
  • MessageLite * DuplicateIfNonNullInternal (MessageLite * message)
  • MessageLite * GetOwnedMessageInternal (Arena * message_arena, MessageLite * submessage, Arena * submessage_arena)
  • void GenericSwap (MessageLite * m1, MessageLite * m2)
  • void GenericSwap (Message * m1, Message * m2)

    We specialize GenericSwap for non-lite messages to benefit from reflection.

  • template <typename T>
    absl::string_view GetAnyMessageName ()

    Defined at line 40 of file ../../third_party/protobuf/src/google/protobuf/any.h

  • void InitProtobufDefaults ()

    Defined at line 71 of file ../../third_party/protobuf/src/google/protobuf/generated_message_util.h

  • const std::string & GetEmptyString ()

    This used by proto1

    Defined at line 79 of file ../../third_party/protobuf/src/google/protobuf/generated_message_util.h

  • ThreadSafeArenaStats * SampleSlow (SamplingState & next_sample)
  • void DestroyMessage (const void * message)
  • void DestroyString (const void * s)
  • ThreadSafeArenazSampler & GlobalThreadSafeArenazSampler ()

    Returns a global Sampler.

  • template <typename T>
    bool InternalPackFrom (const T & message, std::string * dst_url, std::string * dst_value)

    Packs a message using the default type URL prefix: "type.googleapis.com".

    The resulted type URL will be "type.googleapis.com/<message_full_name>".

    Returns false if serializing the message failed.

    Defined at line 65 of file ../../third_party/protobuf/src/google/protobuf/any.h

  • template <typename T>
    bool InternalPackFrom (const T & message, absl::string_view type_url_prefix, std::string * dst_url, std::string * dst_value)

    Packs a message using the given type URL prefix. The type URL will be

    constructed by concatenating the message type's full name to the prefix

    with an optional "/" separator if the prefix doesn't already end with "/".

    For example, both InternalPackFrom(message, "type.googleapis.com") and

    InternalPackFrom(message, "type.googleapis.com/") yield the same result type

    URL: "type.googleapis.com/<message_full_name>".

    Returns false if serializing the message failed.

    Defined at line 81 of file ../../third_party/protobuf/src/google/protobuf/any.h

  • bool IsThreadSafeArenazEnabled ()

    Returns true if sampling is on, false otherwise.

  • bool CreateUnknownEnumValues (const FieldDescriptor * field)
  • bool IsDescendant (Message & root, const Message & message)

    Returns true if "message" is a descendant of "root".

  • void AssignDescriptors (const DescriptorTable * table)

    AssignDescriptors() pulls the compiled FileDescriptor from the DescriptorPool

    and uses it to populate all of the global variables which store pointers to

    the descriptor objects. It also constructs the reflection objects. It is

    called the first time anyone calls descriptor() or GetReflection() on one of

    the types defined in the file. AssignDescriptors() is thread-safe.

  • void AssignDescriptorsOnceInnerCall (const DescriptorTable * table)

    As above, but the caller did the call_once call already.

  • void InitializeFileDescriptorDefaultInstances ()
  • void AddDescriptors (const DescriptorTable * table)
  • const Message * GetPrototypeForWeakDescriptor (const DescriptorTable * table, int index, bool force_build)

    Retrieves the existing prototype out of a descriptor table.

    If it doesn't exist:

    - If force_build is true, asks the generated message factory for one.

    - Otherwise, return null

  • const std::string & NameOfDenseEnumSlow (int v, DenseEnumCacheInfo * )
  • void * CreateSplitMessageGeneric (Arena * arena, const void * default_split, size_t size, const void * message, const void * default_message)

    Creates and returns an allocation for a split message.

  • template <typename EnumType>
    bool ParseNamedEnum (const EnumDescriptor * descriptor, absl::string_view name, EnumType * value)

    Defined at line 56 of file ../../third_party/protobuf/src/google/protobuf/generated_enum_reflection.h

  • std::pair<const char *, int32_t> ReadSizeFallback (const char * p, uint32_t res)

    Needs access to kSlopBytes.

  • void InternalOutOfLineDeleteMessageLite (MessageLite * message)
  • MessageLite * NewFromPrototypeHelper (const MessageLite * prototype, Arena * arena)

    NewFromPrototypeHelper() is not defined inline here, as we will need to do a

    virtual function dispatch anyways to go from Message* to call New/Merge. (The

    additional helper is needed as a workaround for MSVC.)

  • void * NewStringElement (Arena * arena)
  • std::pair<const char *, uint32_t> ReadTagFallback (const char * p, uint32_t res)

    Used for tags, could read up to 5 bytes which must be available.

    Caller must ensure it's safe to call.

  • template <bool alias>
    bool MergeFromImpl (absl::string_view input, MessageLite * msg, const internal::TcParseTableBase * tc_table, MessageLite::ParseFlags parse_flags)
  • template <bool alias>
    bool MergeFromImpl (io::ZeroCopyInputStream * input, MessageLite * msg, const internal::TcParseTableBase * tc_table, MessageLite::ParseFlags parse_flags)
  • template <bool alias>
    bool MergeFromImpl (BoundedZCIS input, MessageLite * msg, const internal::TcParseTableBase * tc_table, MessageLite::ParseFlags parse_flags)
  • void OnShutdown (void (*)() func)

    Register a function to be called when ShutdownProtocolBuffers() is called.

  • void OnShutdownRun (void (*)(const void *) f, const void * arg)

    Run an arbitrary function on an arg

  • const char * InlineGreedyStringParser (std::string * s, const char * ptr, ParseContext * ctx)

    All the string parsers with or without UTF checking and for all CTypes.

  • const char * PackedInt32Parser (void * object, const char * ptr, ParseContext * ctx)

    These are packed varints

  • const char * PackedUInt32Parser (void * object, const char * ptr, ParseContext * ctx)
  • const char * PackedInt64Parser (void * object, const char * ptr, ParseContext * ctx)
  • const char * PackedUInt64Parser (void * object, const char * ptr, ParseContext * ctx)
  • const char * PackedSInt32Parser (void * object, const char * ptr, ParseContext * ctx)
  • void FailDynamicCast (const MessageLite & from, const MessageLite & to)
  • const char * PackedSInt64Parser (void * object, const char * ptr, ParseContext * ctx)
  • const char * PackedEnumParser (void * object, const char * ptr, ParseContext * ctx)
  • const char * PackedBoolParser (void * object, const char * ptr, ParseContext * ctx)
  • const char * PackedFixed32Parser (void * object, const char * ptr, ParseContext * ctx)
  • const char * PackedSFixed32Parser (void * object, const char * ptr, ParseContext * ctx)
  • const char * PackedFixed64Parser (void * object, const char * ptr, ParseContext * ctx)
  • const char * PackedSFixed64Parser (void * object, const char * ptr, ParseContext * ctx)
  • const char * PackedFloatParser (void * object, const char * ptr, ParseContext * ctx)
  • const char * PackedDoubleParser (void * object, const char * ptr, ParseContext * ctx)
  • LazyEagerVerifyFnType FindExtensionLazyEagerVerifyFn (const MessageLite * extendee, int number)

    Used by WireFormatVerify to extract the verify function from the registry.

  • bool ParseNoReflection (absl::string_view from, google::protobuf::MessageLite & to)

    While building descriptors, we need to avoid using MergeFrom()/CopyFrom() to

    be -fno-rtti friendly. Without RTTI, MergeFrom() and CopyFrom() will fallback

    to the reflection based method, which requires the Descriptor. However, while

    building the descriptors, this causes deadlock. We also must disable lazy

    parsing because that uses reflection to verify consistency.

  • int32_t UnwrapMapKeyImpl (const MapKey & map_key, const int32_t * )

    UnwrapMapKey template. We're using overloading rather than template

    specialization so that we can return a value or reference type depending on

    `T`.

    Defined at line 39 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

  • uint32_t UnwrapMapKeyImpl (const MapKey & map_key, const uint32_t * )

    Defined at line 42 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

  • int64_t UnwrapMapKeyImpl (const MapKey & map_key, const int64_t * )

    Defined at line 45 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

  • template <typename T>
    void StrongPointer (T * var)

    Defined at line 46 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • uint64_t UnwrapMapKeyImpl (const MapKey & map_key, const uint64_t * )

    Defined at line 48 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

  • bool UnwrapMapKeyImpl (const MapKey & map_key, const bool * )

    Defined at line 51 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

  • absl::string_view UnwrapMapKeyImpl (const MapKey & map_key, const std::string * )

    Defined at line 54 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

  • const MapKey & UnwrapMapKeyImpl (const MapKey & map_key, const MapKey * )

    Defined at line 58 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

  • template <typename T>
    decltype(auto) UnwrapMapKey (const MapKey & map_key)

    Defined at line 63 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

  • template <typename T, int kHeapRepHeaderSize>
    int RepeatedFieldLowerClampLimit ()

    Defined at line 63 of file ../../third_party/protobuf/src/google/protobuf/repeated_field.h

  • void SetMapKey (MapKey * map_key, int32_t value)

    SetMapKey

    Defined at line 68 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

  • void SetMapKey (MapKey * map_key, uint32_t value)

    Defined at line 71 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

  • void SetMapKey (MapKey * map_key, int64_t value)

    Defined at line 74 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

  • void SetMapKey (MapKey * map_key, uint64_t value)

    Defined at line 77 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

  • template <size_t N>
    void memswap (char *__restrict a, char *__restrict b)

    Swaps two non-overlapping blocks of memory of size `N`

    Defined at line 78 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h

  • bool ValidateEnumInlined (int value, const uint32_t * data)

    Defined at line 78 of file ../../third_party/protobuf/src/google/protobuf/generated_enum_util.h

  • template <typename T, T ptr>
    void StrongPointer ()

    Portable fallback. It usually generates a single LEA instruction or

    equivalent.

    Defined at line 79 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • void SetMapKey (MapKey * map_key, bool value)

    Defined at line 80 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

  • void SetMapKey (MapKey * map_key, const std::string & value)

    Defined at line 83 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

  • template <typename T, typename TraitsImpl = MessageTraitsImpl>
    void StrongReferenceToType ()

    Defined at line 84 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • template <typename T>
    void StrongReference (const T & var)

    Strongly references the given variable such that the linker will be forced

    to pull in this variable's translation unit.

    Defined at line 84 of file ../../third_party/protobuf/src/google/protobuf/stubs/common.h

  • void SetMapKey (MapKey * map_key, const MapKey & value)

    Defined at line 86 of file ../../third_party/protobuf/src/google/protobuf/map_field_inl.h

  • template <typename T>
    void arena_delete_object (void * object)

    Defined at line 87 of file ../../third_party/protobuf/src/google/protobuf/arena.h

  • bool CanUseInternalSwap (Arena * lhs, Arena * rhs)

    Defined at line 91 of file ../../third_party/protobuf/src/google/protobuf/arena.h

  • const ::absl::Cord & GetEmptyCordAlreadyInited ()

    Defined at line 93 of file ../../third_party/protobuf/src/google/protobuf/generated_message_util.h

  • template <typename T>
    bool InternalUnpackTo (absl::string_view type_url, const std::string & value, T * message)

    Unpacks the payload into the given message. Returns false if the message's

    type doesn't match the type specified in the type URL (i.e., the full

    name after the last "/" of the type URL doesn't match the message's actual

    full name) or parsing the payload has failed.

    Defined at line 95 of file ../../third_party/protobuf/src/google/protobuf/any.h

  • template <typename Key, typename T>
    bool AllAreInitialized (const MapFieldLite<Key, T> & field)

    True if IsInitialized() is true for value field in all elements of t. T is

    expected to be message. It's useful to have this helper here to keep the

    protobuf compiler from ever having to emit loops in IsInitialized() methods.

    We want the C++ compiler to inline this or not as it sees fit.

    Defined at line 101 of file ../../third_party/protobuf/src/google/protobuf/map_field_lite.h

  • bool CanMoveWithInternalSwap (Arena * lhs, Arena * rhs)

    Defined at line 101 of file ../../third_party/protobuf/src/google/protobuf/arena.h

  • template <typename Msg>
    bool AllAreInitialized (const RepeatedPtrField<Msg> & t)

    True if IsInitialized() is true for all elements of t. Type is expected

    to be a RepeatedPtrField

    <some

    message type>. It's useful to have this

    helper here to keep the protobuf compiler from ever having to emit loops in

    IsInitialized() methods. We want the C++ compiler to inline this or not

    as it sees fit.

    Defined at line 103 of file ../../third_party/protobuf/src/google/protobuf/generated_message_util.h

  • template <typename T>
    bool InternalIs (absl::string_view type_url)

    Checks whether the type specified in the type URL matches the given type.

    A type is considered matching if its full name matches the full name after

    the last "/" in the type URL.

    Defined at line 107 of file ../../third_party/protobuf/src/google/protobuf/any.h

  • template <class T>
    bool AllAreInitializedWeak (const RepeatedPtrField<T> & t)

    "Weak" variant of AllAreInitialized, used to implement implicit weak fields.

    This version operates on MessageLite to avoid introducing a dependency on the

    concrete message type.

    Defined at line 114 of file ../../third_party/protobuf/src/google/protobuf/generated_message_util.h

  • bool HaveAllocateAtLeastHook ()

    `AllocAtLeastHook` API

    Defined at line 120 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • void SetAllocateAtLeastHook (AllocateAtLeastHookFn fn, void * context)

    Defined at line 121 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • bool IsPresent (const void * base, uint32_t hasbit)

    Defined at line 125 of file ../../third_party/protobuf/src/google/protobuf/generated_message_util.h

  • SizedPtr AllocateAtLeast (size_t size)

    Allocates at least `size` bytes. This function follows the c++ language

    proposal from D0901R10 (http://wg21.link/D0901R10) and will be implemented

    in terms of the new operator new semantics when available. The allocated

    memory should be released by a call to `SizedDelete` or `::operator delete`.

    Defined at line 129 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • bool IsOneofPresent (const void * base, uint32_t offset, uint32_t tag)

    Defined at line 130 of file ../../third_party/protobuf/src/google/protobuf/generated_message_util.h

  • void SizedDelete (void * p, size_t size)

    Defined at line 139 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • int SooCapacityElements (size_t element_size)

    The number of elements that can be stored in the SOO rep. On 64-bit

    platforms, this is 1 for int64_t, 2 for int32_t, 3 for bool, and 0 for

    absl::Cord. We return 0 to disable SOO on 32-bit platforms.

    Defined at line 143 of file ../../third_party/protobuf/src/google/protobuf/repeated_field.h

  • void SizedArrayDelete (void * p, size_t size)

    Defined at line 148 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • ArenaAlign ArenaAlignAs (size_t align)

    Defined at line 156 of file ../../third_party/protobuf/src/google/protobuf/arena_align.h

  • template <typename T>
    T * DuplicateIfNonNull (T * message)

    Defined at line 158 of file ../../third_party/protobuf/src/google/protobuf/generated_message_util.h

  • template <typename T>
    T * GetOwnedMessage (Arena * message_arena, T * submessage, Arena * submessage_arena)

    Defined at line 166 of file ../../third_party/protobuf/src/google/protobuf/generated_message_util.h

  • template <typename To, typename From>
    void AssertDownCast (From * from)

    Defined at line 174 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • void OnShutdownDestroyMessage (const void * ptr)

    Destroy (not delete) the message

    Defined at line 178 of file ../../third_party/protobuf/src/google/protobuf/generated_message_util.h

  • void OnShutdownDestroyString (const std::string * ptr)

    Destroy the string (call std::string destructor)

    Defined at line 182 of file ../../third_party/protobuf/src/google/protobuf/generated_message_util.h

  • template <size_t align>
    auto ArenaAlignAs ()

    Returns an `ArenaAlignDefault` instance for `align` less than or equal to the

    default alignment, and `AlignAs(align)` for over-aligned values of `align`.

    The purpose is to take advantage of invoking functions accepting a template

    overloaded 'Align align` argument reducing the alignment operations on

    `ArenaAlignDefault` implementations to no-ops.

    Defined at line 183 of file ../../third_party/protobuf/src/google/protobuf/arena_align.h

  • void swap (ThreadSafeArenaStatsHandle & , ThreadSafeArenaStatsHandle & )

    Defined at line 184 of file ../../third_party/protobuf/src/google/protobuf/arenaz_sampler.h

  • template <typename T>
    auto ArenaAlignOf ()

    Returns ArenaAlignAs

    <alignof

    (T)>

    Defined at line 189 of file ../../third_party/protobuf/src/google/protobuf/arena_align.h

  • template <typename To, typename From>
    To DownCast (From * f)

    Defined at line 193 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • MapTypeCard MakeMapTypeCard (WireFormatLite::FieldType type)

    Make the map entry type card for a specified field type.

    Defined at line 193 of file ../../third_party/protobuf/src/google/protobuf/generated_message_tctable_decl.h

  • ThreadSafeArenaStatsHandle Sample ()

    Returns an RAII sampling handle that manages registration and unregistation

    with the global sampler.

    Defined at line 198 of file ../../third_party/protobuf/src/google/protobuf/arenaz_sampler.h

  • template <typename ToRef, typename From>
    ToRef DownCast (From & f)

    Defined at line 199 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • template <typename T>
    absl::optional<absl::string_view> RttiTypeName ()

    Looks up the name of `T` via RTTI, if RTTI is available.

    Defined at line 206 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • template <class To>
    To * GetPointerAtOffset (void * message, uint32_t offset)

    Defined at line 214 of file ../../third_party/protobuf/src/google/protobuf/message.h

  • template <class To>
    const To * GetConstPointerAtOffset (const void * message, uint32_t offset)

    Defined at line 219 of file ../../third_party/protobuf/src/google/protobuf/message.h

  • template <class To>
    const To & GetConstRefAtOffset (const Message & message, uint32_t offset)

    Defined at line 225 of file ../../third_party/protobuf/src/google/protobuf/message.h

  • bool DebugHardenClearOneofMessageOnArena ()

    Returns true if debug hardening for clearing oneof message on arenas is

    enabled.

    Defined at line 253 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • bool PerformDebugChecks ()

    Defined at line 261 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • bool DebugHardenForceCopyDefaultString ()

    Force copy the default string to a string field so that non-optimized builds

    have harder-to-rely-on address stability.

    Defined at line 272 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • bool DebugHardenForceCopyInRelease ()

    Defined at line 276 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • bool DebugHardenForceCopyInSwap ()

    Defined at line 280 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • int ToCachedSize (size_t size)

    We compute sizes as size_t but cache them as int. This function converts a

    computed size to a cached size. Since we don't proceed with serialization

    if the total size was > INT_MAX, it is not important what this function

    returns for inputs > INT_MAX. However this case should not error or

    ABSL_CHECK-fail, because the full size_t resolution is still returned from

    ByteSizeLong() and checked against INT_MAX; we can catch the overflow

    there.

    Defined at line 281 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h

  • bool DebugHardenForceCopyInMove ()

    Defined at line 284 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • uint16_t SizeFromInfo (MapNodeSizeInfoT node_size_info)

    Defined at line 288 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • bool DebugHardenForceAllocationOnConstruction ()

    Defined at line 288 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • size_t FromIntSize (int size)

    We mainly calculate sizes in terms of size_t, but some functions that

    compute sizes return "int". These int sizes are expected to always be

    positive. This function is more efficient than casting an int to size_t

    directly on 64-bit platforms because it avoids making the compiler emit a

    sign extending instruction, which we don't want and don't want to pay for.

    Defined at line 288 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h

  • uint16_t ValueOffsetFromInfo (MapNodeSizeInfoT node_size_info)

    Defined at line 291 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • bool DebugHardenFuzzMessageSpaceUsedLong ()

    Defined at line 292 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • MapNodeSizeInfoT MakeNodeInfo (uint16_t size, uint16_t value_offset)

    Defined at line 294 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • void WriteVarint (uint32_t num, uint64_t val, UnknownFieldSet * s)

    Inline because it is just forwarding to s->WriteVarint

    Defined at line 296 of file ../../third_party/protobuf/src/google/protobuf/unknown_field_set.h

  • int ToIntSize (size_t size)

    For cases where a legacy function returns an integer size. We ABSL_DCHECK()

    that the conversion will fit within an integer; if this is false then we

    are losing information.

    Defined at line 296 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h

  • bool PtrIsAtLeast8BAligned ()

    Returns true if pointers are 8B aligned, leaving least significant 3 bits

    available.

    Defined at line 298 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • void WriteLengthDelimited (uint32_t num, absl::string_view val, UnknownFieldSet * s)

    Defined at line 299 of file ../../third_party/protobuf/src/google/protobuf/unknown_field_set.h

  • bool IsLazyParsingSupported ()

    Defined at line 300 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • NodeBase * EraseFromLinkedList (NodeBase * item, NodeBase * head)

    Defined at line 313 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • const std::string & GetEmptyStringAlreadyInited ()

    Defined at line 314 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h

  • void Prefetch5LinesFrom7Lines (const void * ptr)

    Prefetch 5 64-byte cache line starting from 7 cache-lines ahead.

    Constants are somewhat arbitrary and pretty aggressive, but were

    chosen to give a better benchmark results. E.g. this is ~20%

    faster, single cache line prefetch is ~12% faster, increasing

    decreasing distance makes results 2-4% worse. Important note,

    prefetch doesn't require a valid address, so it is ok to prefetch

    past the end of message/valid memory, however we are doing this

    inside inline asm block, since computing the invalid pointer

    is a potential UB. Only insert prefetch once per function,

    Defined at line 314 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • size_t MapTreeLengthThreshold ()

    Defined at line 322 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • void Prefetch5LinesFrom1Line (const void * ptr)

    Prefetch 5 64-byte cache lines starting from 1 cache-line ahead.

    Defined at line 323 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • bool TableEntryIsTooLong (NodeBase * node)

    Defined at line 323 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • void Unreachable ()

    Defined at line 332 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • void AssignToString (std::string & dest, const std::string & value, BytesTag tag)

    Assigns to `dest` the content of `value`, optionally bounded by `size`.

    This overload set is used to implement `set_xxx()` methods for repeated

    string fields in generated code.

    Defined at line 341 of file ../../third_party/protobuf/src/google/protobuf/generated_message_util.h

  • void AssignToString (std::string & dest, std::string && value, BytesTag tag)

    Defined at line 345 of file ../../third_party/protobuf/src/google/protobuf/generated_message_util.h

  • void AssignToString (std::string & dest, const char * value, BytesTag tag)

    Defined at line 349 of file ../../third_party/protobuf/src/google/protobuf/generated_message_util.h

  • void AssignToString (std::string & dest, const char * value, std::size_t size)

    Defined at line 353 of file ../../third_party/protobuf/src/google/protobuf/generated_message_util.h

  • bool operator< (const VariantKey & left, const VariantKey & right)

    Defined at line 353 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • void AssignToString (std::string & dest, const void * value, std::size_t size, BytesTag tag)

    Defined at line 357 of file ../../third_party/protobuf/src/google/protobuf/generated_message_util.h

  • void AssignToString (std::string & dest, absl::string_view value, BytesTag tag)

    Defined at line 361 of file ../../third_party/protobuf/src/google/protobuf/generated_message_util.h

  • template <const EnumDescriptor* (*descriptor_fn)(), int min_val, int max_val>
    const std::string & NameOfDenseEnum (int v)

    Similar to the routine NameOfEnum, this routine returns the name of an enum.

    Unlike that routine, it allocates, on-demand, a block of pointers to the

    std::string objects allocated by reflection to store the enum names. This

    way, as long as the enum values are fairly dense, looking them up can be

    very fast. This assumes all the enums fall in the range [min_val .. max_val].

    Defined at line 363 of file ../../third_party/protobuf/src/google/protobuf/generated_message_reflection.h

  • void TSanRead (const void * )

    Defined at line 365 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • void TSanWrite (const void * )

    Defined at line 366 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • template <typename Arg, typename... Args>
    void AddToRepeatedPtrField (google::protobuf::RepeatedPtrField<std::string> & dest, Arg && value, Args... args)

    Adds `value`, optionally bounded by `size`, as the last element of `dest`.

    This overload set is used to implement `add_xxx()` methods for repeated

    string fields in generated code.

    Defined at line 370 of file ../../third_party/protobuf/src/google/protobuf/generated_message_util.h

  • void PrefetchToLocalCache (const void * ptr)

    This trampoline allows calling from codegen without needing a #include to

    absl. It simplifies IWYU and deps.

    Defined at line 371 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • void AddToRepeatedPtrField (google::protobuf::RepeatedPtrField<std::string> & dest, std::string && value, BytesTag tag)

    Defined at line 374 of file ../../third_party/protobuf/src/google/protobuf/generated_message_util.h

  • template <typename T>
    T * Launder (T * p)

    Defined at line 376 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • absl::optional<uintptr_t> EncodePlacementArenaOffsets (std::initializer_list<size_t> offsets)

    Defined at line 380 of file ../../third_party/protobuf/src/google/protobuf/generated_message_util.h

  • uint32_t InitDonatingStates ()

    Defined at line 393 of file ../../third_party/protobuf/src/google/protobuf/inlined_string_field.h

  • bool EnableCustomNew ()

    Defined at line 393 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • void InternalRegisterArenaDtor (Arena * arena, void * object, void (*)(void *) destruct)

    Defined at line 394 of file ../../third_party/protobuf/src/google/protobuf/inlined_string_field.h

  • template <typename T>
    bool EnableCustomNewFor ()

    Defined at line 395 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • bool IsOss ()

    Defined at line 406 of file ../../third_party/protobuf/src/google/protobuf/port.h

  • bool TableEntryIsEmpty (TableEntryPtr entry)

    Defined at line 411 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • bool TableEntryIsTree (TableEntryPtr entry)

    Defined at line 414 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • bool TableEntryIsList (TableEntryPtr entry)

    Defined at line 417 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • bool TableEntryIsNonEmptyList (TableEntryPtr entry)

    Defined at line 420 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • NodeBase * TableEntryToNode (TableEntryPtr entry)

    Defined at line 423 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • TableEntryPtr NodeToTableEntry (NodeBase * node)

    Defined at line 427 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • TreeForMap * TableEntryToTree (TableEntryPtr entry)

    Defined at line 431 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • TableEntryPtr TreeToTableEntry (TreeForMap * node)

    Defined at line 435 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • size_t MapValueSpaceUsedExcludingSelfLong (bool )

    This captures all numeric types.

    Defined at line 441 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • size_t MapValueSpaceUsedExcludingSelfLong (const std::string & str)

    Defined at line 442 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • template <typename T, typename = decltype(std::declval<const T&>().SpaceUsedLong())>
    size_t MapValueSpaceUsedExcludingSelfLong (const T & message)

    Defined at line 447 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • template <typename Map, typename = typename std::enable_if<
                                              !std::is_scalar<typename Map::key_type>::value ||
                                              !std::is_scalar<typename Map::mapped_type>::value>::type>
    size_t SpaceUsedInValues (const Map * map)

    Defined at line 459 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • size_t SpaceUsedInValues (const void * )

    Defined at line 468 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • template <typename T, const char* (*func)(T*, const char*, ParseContext*)>
    const char * StubParseImpl (::google::protobuf::MessageLite * msg, const char * ptr, ::google::protobuf::internal::ParseContext * ctx, ::google::protobuf::internal::TcFieldData data, const ::google::protobuf::internal::TcParseTableBase * table, uint64_t hasbits)

    Defined at line 549 of file ../../third_party/protobuf/src/google/protobuf/generated_message_tctable_decl.h

  • template <typename T, const char* (*func)(T*, const char*, ParseContext*)>
    TcParseTable<0> CreateStubTcParseTable (const ClassData * class_data, TcParseTableBase::PostLoopHandler post_loop_handler)

    Defined at line 555 of file ../../third_party/protobuf/src/google/protobuf/generated_message_tctable_decl.h

  • template <typename T>
    T UnalignedLoad (const char * p)

    Defined at line 609 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • template <typename T, typename Void, typename = std::enable_if_t<std::is_same<Void, void>::value>>
    T UnalignedLoad (const Void * p)

    Defined at line 617 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • const char * VarintParseSlow (const char * p, uint32_t res, uint32_t * out)

    Defined at line 626 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • const char * VarintParseSlow (const char * p, uint32_t res, uint64_t * out)

    Defined at line 632 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • template <typename Key, typename T>
    bool AllAreInitialized (const TypeDefinedMapFieldBase<Key, T> & field)

    Defined at line 688 of file ../../third_party/protobuf/src/google/protobuf/map_field.h

  • template <typename T>
    const char * VarintParse (const char * p, T * out)

    The caller must ensure that p points to at least 10 valid bytes.

    Defined at line 868 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • template <typename T, std::enable_if_t<std::is_integral<T>::value, int> = 0>
    T ReadKey (const void * ptr)

    The value might be of different signedness, so use memcpy to extract it.

    Defined at line 880 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • template <typename T, std::enable_if_t<!std::is_integral<T>::value, int> = 0>
    const T & ReadKey (const void * ptr)

    Defined at line 887 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • const char * ReadTag (const char * p, uint32_t * out, uint32_t )

    Same as ParseVarint but only accept 5 bytes at most.

    Defined at line 905 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • uint8_t * InternalSerializeUnknownMessageSetItemsToArray (const std::string & unknown_fields, uint8_t * target, io::EpsCopyOutputStream * stream)

    Defined at line 927 of file ../../third_party/protobuf/src/google/protobuf/wire_format_lite.h

  • template <class T>
    T RotateLeft (T x, int s)

    As above, but optimized to consume very few registers while still being fast,

    ReadTagInlined is useful for callers that don't mind the extra code but would

    like to avoid an extern function call causing spills into the stack.

    Two support routines for ReadTagInlined come first...

    Defined at line 929 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • size_t ComputeUnknownMessageSetItemsSize (const std::string & unknown_fields)

    Defined at line 934 of file ../../third_party/protobuf/src/google/protobuf/wire_format_lite.h

  • uint64_t RotRight7AndReplaceLowByte (uint64_t res, const char & byte)

    Defined at line 935 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • const char * ReadTagInlined (const char * ptr, uint32_t * out)

    Defined at line 958 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • uint32_t DecodeTwoBytes (const char ** ptr)

    Decode 2 consecutive bytes of a varint and returns the value, shifted left

    by 1. It simultaneous updates *ptr to *ptr + 1 or *ptr + 2 depending if the

    first byte's continuation bit is set.

    If bit 15 of return value is set (equivalent to the continuation bits of both

    bytes being set) the varint continues, otherwise the parse is done. On x86

    movsx eax, dil

    and edi, eax

    add eax, edi

    adc [rsi], 1

    Defined at line 1009 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • const char * ParseBigVarint (const char * p, uint64_t * out)

    More efficient varint parsing for big varints

    Defined at line 1025 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • uint32_t ReadSize (const char ** pp)

    Used for tags, could read up to 5 bytes which must be available. Additionally

    it makes sure the unsigned value fits a int32_t, otherwise returns nullptr.

    Caller must ensure its safe to call.

    Defined at line 1050 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • uint64_t ReadVarint64 (const char ** p)

    Some convenience functions to simplify the generated parse loop code.

    Returning the value and updating the buffer pointer allows for nicer

    function composition. We rely on the compiler to inline this.

    Also in debug compiles having local scoped variables tend to generated

    stack frames that scale as O(num fields).

    Defined at line 1067 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • uint32_t ReadVarint32 (const char ** p)

    Defined at line 1073 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • int64_t ReadVarintZigZag64 (const char ** p)

    Defined at line 1079 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • const internal::ClassData * GetClassData (const MessageLite & msg)

    For MessageLite to friend.

    Defined at line 1085 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h

  • int32_t ReadVarintZigZag32 (const char ** p)

    Defined at line 1085 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • template <bool alias, typename T>
    bool MergeFromImpl (const SourceWrapper<T> & input, MessageLite * msg, const internal::TcParseTableBase * tc_table, MessageLite::ParseFlags parse_flags)

    Defined at line 1135 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h

  • template <typename T, int kHeapRepHeaderSize>
    int CalculateReserveSize (int capacity, int new_size)

    Returns the new size for a reserved field based on its 'capacity' and the

    requested 'new_size'. The result is clamped to the closed interval:

    [internal::kMinRepeatedFieldAllocationSize,

    std::numeric_limits

    <int

    >::max()]

    Requires: new_size > capacity

    Defined at line 1142 of file ../../third_party/protobuf/src/google/protobuf/repeated_field.h

  • template <typename T, typename K>
    bool InitializeMapKey (T * , K && , Arena * )

    Defined at line 1162 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • template <typename T>
    T * OnShutdownDelete (T * p)

    Defined at line 1180 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h

  • void AssertDownCast (const MessageLite & from, const MessageLite & to)

    Defined at line 1185 of file ../../third_party/protobuf/src/google/protobuf/message_lite.h

  • template <typename Add>
    const char * ReadPackedVarintArray (const char * ptr, const char * end, Add add)

    Defined at line 1201 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • const char * InlineCordParser (::absl::Cord * cord, const char * ptr, ParseContext * ctx)

    Defined at line 1262 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • template <typename T>
    const char * FieldParser (uint64_t tag, T & field_parser, const char * ptr, ParseContext * ctx)

    Defined at line 1272 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • template <typename T>
    const char * PackedEnumParser (void * object, const char * ptr, ParseContext * ctx, bool (*)(int) is_valid, InternalMetadata * metadata, int field_num)

    Defined at line 1355 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • void WriteVarint (uint32_t num, uint64_t val, std::string * s)

    Template code below needs to know about the existence of these functions.

  • void WriteLengthDelimited (uint32_t num, absl::string_view val, std::string * s)
  • void VerifyVersion (int protobufVersionCompiledWith, const char * filename)

    Verifies that the protobuf version a program was compiled with matches what

    it is linked/running with. Use the macro below to call this function.

  • std::string VersionString (int version)

    Converts a numeric version number to a string.

  • bool ValidateEnum (int value, const uint32_t * data)

    The enum validation format is split in 3 parts:

    - A dense sequence, with start+length

    - A variable size presence bitmap (in increments of 32 bits)

    - A variable size sorted int32_t set for everything else.

    The values are as follows:

    0 - [ sequence start (int16_t) ] | [ sequence size (uint16_t) ]

    <

    <

    16

    1 - [ bitmap size in bits (uint16_t) ] | [ ordered size (uint16_t) ]

    <

    <

    16

    x - [ variable length bitmap ]

    y - [ variable length of int32_t values ]

    where the bitmap starts right after the end of the sequence.

  • void UnknownFieldSerializerLite (const uint8_t * base, uint32_t offset, uint32_t tag, uint32_t has_offset, io::CodedOutputStream * output)
  • void UnsampleSlow (ThreadSafeArenaStats * info)
  • std::string StringifyMessage (const Message & message)
  • void SetThreadSafeArenazConfigListener (ThreadSafeArenazConfigListener l)
  • void SetThreadSafeArenazEnabled (bool enabled)

    Enables or disables sampling for thread safe arenas.

  • void SetThreadSafeArenazEnabledInternal (bool enabled)
  • void SetThreadSafeArenazSampleParameter (int32_t rate)

    Sets the rate at which thread safe arena will be sampled.

  • void SetThreadSafeArenazSampleParameterInternal (int32_t rate)
  • int32_t ThreadSafeArenazSampleParameter ()

    Returns the rate at which thread safe arena will be sampled.

  • void SetThreadSafeArenazMaxSamples (int32_t max)

    Sets a soft max for the number of samples that will be kept.

  • void SetThreadSafeArenazMaxSamplesInternal (int32_t max)
  • size_t ThreadSafeArenazMaxSamples ()

    Returns the max number of samples that will be kept.

  • void SetThreadSafeArenazGlobalNextSample (int64_t next_sample)

    Sets the current value for when arenas should be next sampled.

  • absl::string_view ShortEditionName (Edition edition)
  • const char * UnknownGroupParse (UnknownFieldSet * unknown, const char * ptr, ParseContext * ctx)
  • const char * UnknownFieldParse (uint64_t tag, UnknownFieldSet * unknown, const char * ptr, ParseContext * ctx)
  • size_t StringSpaceUsedExcludingSelfLong (const std::string & str)
  • void UnknownFieldSetSerializer (const uint8_t * base, uint32_t offset, uint32_t tag, uint32_t has_offset, io::CodedOutputStream * output)

    These cannot be in lite so we put them in the reflection.

  • bool SplitFieldHasExtraIndirection (const FieldDescriptor * field)

    Returns whether this type of field is stored in the split struct as a raw

    pointer.

  • std::pair<const char *, uint32_t> VarintParseSlow32 (const char * p, uint32_t res)
  • std::pair<const char *, uint64_t> VarintParseSlow64 (const char * p, uint32_t res)
  • bool VerifyUTF8 (const std::string * s, const char * field_name)

    Defined at line 1254 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • template <typename T>
    const char * WireFormatParser (T & field_parser, const char * ptr, ParseContext * ctx)

    Defined at line 1318 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • bool operator== (const iterator & x, const iterator & y)

    equality_comparable

    Defined at line 1332 of file ../../third_party/protobuf/src/google/protobuf/repeated_field.h

  • bool operator!= (const iterator & x, const iterator & y)

    Defined at line 1336 of file ../../third_party/protobuf/src/google/protobuf/repeated_field.h

  • bool operator< (const iterator & x, const iterator & y)

    less_than_comparable

    Defined at line 1342 of file ../../third_party/protobuf/src/google/protobuf/repeated_field.h

  • bool operator<= (const iterator & x, const iterator & y)

    Defined at line 1346 of file ../../third_party/protobuf/src/google/protobuf/repeated_field.h

  • bool operator> (const iterator & x, const iterator & y)

    Defined at line 1350 of file ../../third_party/protobuf/src/google/protobuf/repeated_field.h

  • bool operator>= (const iterator & x, const iterator & y)

    Defined at line 1354 of file ../../third_party/protobuf/src/google/protobuf/repeated_field.h

  • iterator operator+ (const difference_type d, iterator it)

    Defined at line 1367 of file ../../third_party/protobuf/src/google/protobuf/repeated_field.h

  • template <typename T>
    const char * PackedEnumParserArg (void * object, const char * ptr, ParseContext * ctx, bool (*)(const void *, int) is_valid, const void * data, InternalMetadata * metadata, int field_num)

    Defined at line 1371 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

  • difference_type operator- (iterator it1, iterator it2)

    random access iterator

    Defined at line 1386 of file ../../third_party/protobuf/src/google/protobuf/repeated_field.h

  • template <typename T>
    bool SplitFieldHasExtraIndirectionStatic (const FieldDescriptor * field)

    In some cases, (Get|Mutable)Raw may be called with a type that is different

    from the final type; e.g. char. As a defensive coding to this unfortunate

    practices, we should only assume extra indirection (or a lack thereof) for

    the well known, complex types.

    Defined at line 1575 of file ../../third_party/protobuf/src/google/protobuf/message.h

  • void MaybePoisonAfterClear (Message * root)

    Defined at line 1587 of file ../../third_party/protobuf/src/google/protobuf/message.h

  • bool operator== (const iterator & x, const iterator & y)

    equality_comparable

    Defined at line 1645 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h

  • bool operator!= (const iterator & x, const iterator & y)

    Defined at line 1648 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h

  • bool operator< (const iterator & x, const iterator & y)

    less_than_comparable

    Defined at line 1653 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h

  • bool operator<= (const iterator & x, const iterator & y)

    Defined at line 1656 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h

  • bool operator> (const iterator & x, const iterator & y)

    Defined at line 1659 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h

  • bool operator>= (const iterator & x, const iterator & y)

    Defined at line 1662 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h

  • iterator operator+ (iterator it, const difference_type d)

    Defined at line 1671 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h

  • iterator operator+ (const difference_type d, iterator it)

    Defined at line 1675 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h

  • iterator operator- (iterator it, difference_type d)

    Defined at line 1683 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h

  • difference_type operator- (iterator it1, iterator it2)

    random access iterator

    Defined at line 1692 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h

  • bool operator== (const iterator & x, const iterator & y)

    equality_comparable

    Defined at line 1769 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h

  • bool operator!= (const iterator & x, const iterator & y)

    Defined at line 1772 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h

  • bool operator< (const iterator & x, const iterator & y)

    less_than_comparable

    Defined at line 1777 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h

  • bool operator<= (const iterator & x, const iterator & y)

    Defined at line 1780 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h

  • bool operator> (const iterator & x, const iterator & y)

    Defined at line 1783 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h

  • bool operator>= (const iterator & x, const iterator & y)

    Defined at line 1786 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h

  • iterator operator+ (iterator it, difference_type d)

    Defined at line 1795 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h

  • iterator operator+ (difference_type d, iterator it)

    Defined at line 1799 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h

  • iterator operator- (iterator it, difference_type d)

    Defined at line 1807 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h

  • template <typename... T>
    void MapMergeFrom (Map<T...> & dest, const Map<T...> & src)

    Defined at line 1809 of file ../../third_party/protobuf/src/google/protobuf/map.h

  • difference_type operator- (iterator it1, iterator it2)

    random access iterator

    Defined at line 1816 of file ../../third_party/protobuf/src/google/protobuf/repeated_ptr_field.h

  • template <typename MS>
    bool ParseMessageSetItemImpl (io::CodedInputStream * input, MS ms)

    Defined at line 1883 of file ../../third_party/protobuf/src/google/protobuf/wire_format_lite.h

  • bool IsEnumFullySequential (const EnumDescriptor * enum_desc)

    Defined at line 2881 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h

  • const std::string & DefaultValueStringAsString (const FieldDescriptor * field)

    Defined at line 2871 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h

  • const std::string & NameOfEnumAsString (const EnumValueDescriptor * descriptor)

    Defined at line 2876 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h

  • template <typename T>
    FieldRangeImpl<T> FieldRange (const T * desc)

    Defined at line 2892 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h

  • bool operator== (const Iterator & a, const Iterator & b)

    Defined at line 2905 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h

  • bool operator!= (const Iterator & a, const Iterator & b)

    Defined at line 2909 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h

  • void protobuf_assumption_failed (const char * pred, const char * file, int line)
  • bool VerifyUTF8 (absl::string_view s, const char * field_name)

    Helper for verification of utf8

  • const char * UnknownGroupLiteParse (std::string * unknown, const char * ptr, ParseContext * ctx)

    This is the only recursive parser.

  • const char * UnknownFieldParse (uint32_t tagstd::string * unknownconst char * ptrParseContext * ctx)

    This is a helper to for the UnknownGroupLiteParse but is actually also

    useful in the generated code. It uses overload on std::string* vs

    UnknownFieldSet* to make the generated code isomorphic between full and lite.

Variables

const EmptyCord empty_cord_
ExplicitlyConstructedArenaString fixed_address_empty_string
ImplicitWeakMessageDefaultType implicit_weak_message_default_instance
std::atomic<bool> init_protobuf_defaults_state
const char[] kAnyFullTypeName
const TableEntryPtr[1] kGlobalEmptyTable
const int kRepeatedFieldUpperClampLimit

Defined at line 80 of file ../../third_party/protobuf/src/google/protobuf/repeated_field.h

const char[] kTypeGoogleApisComPrefix
const char[] kTypeGoogleProdComPrefix