Classes | Namespaces | Macros | Typedefs | Functions | Variables
third_party/protobuf/src/google/protobuf/stubs/port.h File Reference
#include <assert.h>
#include <cstdint>
#include <stdlib.h>
#include <cstddef>
#include <string>
#include <string.h>
#include <google/protobuf/stubs/platform_macros.h>
#include <google/protobuf/port_def.inc>
#include <endian.h>
#include <google/protobuf/port_undef.inc>
Include dependency graph for third_party/protobuf/src/google/protobuf/stubs/port.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  google::protobuf::BigEndian
 
class  google::protobuf::Bits
 

Namespaces

 google
 
 google::protobuf
 

Macros

#define bswap_16(x)   bswap_16(x)
 
#define bswap_32(x)   bswap_32(x)
 
#define bswap_64(x)   bswap_64(x)
 
#define GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(message)   PROTOBUF_DEPRECATED_MSG(message)
 
#define LIBPROTOBUF_EXPORT
 
#define LIBPROTOC_EXPORT
 
#define PROTOBUF_RUNTIME_DEPRECATED(message)   PROTOBUF_DEPRECATED_MSG(message)
 

Typedefs

using google::protobuf::ConstStringParam = const std::string &
 

Functions

static uint16 google::protobuf::bswap_16 (uint16 x)
 
static uint32 google::protobuf::bswap_32 (uint32 x)
 
static uint64 google::protobuf::bswap_64 (uint64 x)
 
uint32 google::protobuf::ghtonl (uint32 x)
 
uint16 google::protobuf::GOOGLE_UNALIGNED_LOAD16 (const void *p)
 
uint32 google::protobuf::GOOGLE_UNALIGNED_LOAD32 (const void *p)
 
uint64 google::protobuf::GOOGLE_UNALIGNED_LOAD64 (const void *p)
 
void google::protobuf::GOOGLE_UNALIGNED_STORE16 (void *p, uint16 v)
 
void google::protobuf::GOOGLE_UNALIGNED_STORE32 (void *p, uint32 v)
 
void google::protobuf::GOOGLE_UNALIGNED_STORE64 (void *p, uint64 v)
 

Variables

static const int32 google::protobuf::kint32max = 0x7FFFFFFF
 
static const int32 google::protobuf::kint32min = -kint32max - 1
 
static const int64 google::protobuf::kint64max = int64_t{0x7FFFFFFFFFFFFFFF}
 
static const int64 google::protobuf::kint64min = -kint64max - 1
 
static const uint32 google::protobuf::kuint32max = 0xFFFFFFFFu
 
static const uint64 google::protobuf::kuint64max = uint64_t{0xFFFFFFFFFFFFFFFFu}
 

Macro Definition Documentation

◆ bswap_16

#define bswap_16 (   x)    bswap_16(x)

◆ bswap_32

#define bswap_32 (   x)    bswap_32(x)

◆ bswap_64

#define bswap_64 (   x)    bswap_64(x)

◆ GOOGLE_PROTOBUF_RUNTIME_DEPRECATED

#define GOOGLE_PROTOBUF_RUNTIME_DEPRECATED (   message)    PROTOBUF_DEPRECATED_MSG(message)

◆ LIBPROTOBUF_EXPORT

#define LIBPROTOBUF_EXPORT

◆ LIBPROTOC_EXPORT

#define LIBPROTOC_EXPORT

◆ PROTOBUF_RUNTIME_DEPRECATED

#define PROTOBUF_RUNTIME_DEPRECATED (   message)    PROTOBUF_DEPRECATED_MSG(message)


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