Classes | Namespaces | Macros | Typedefs | Functions | Variables
protobuf/src/google/protobuf/stubs/port.h File Reference
#include <assert.h>
#include <stdlib.h>
#include <cstddef>
#include <string>
#include <string.h>
#include <stdint.h>
#include <google/protobuf/stubs/platform_macros.h>
#include <google/protobuf/port_def.inc>
#include <sys/param.h>
#include <google/protobuf/port_undef.inc>
Include dependency graph for 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_ENABLE_EXPERIMENTAL_PARSER   0
 
#define GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(message)
 
#define GOOGLE_THREAD_LOCAL   __thread
 
#define LIBPROTOBUF_EXPORT
 
#define LIBPROTOC_EXPORT
 
#define PROTOBUF_CXX11   0
 
#define PROTOBUF_FINAL
 
#define PROTOBUF_RUNTIME_DEPRECATED(message)
 

Typedefs

typedef int16_t google::protobuf::int16
 
typedef int32_t google::protobuf::int32
 
typedef int64_t google::protobuf::int64
 
typedef int8_t google::protobuf::int8
 
typedef unsigned int google::protobuf::uint
 
typedef uint16_t google::protobuf::uint16
 
typedef uint32_t google::protobuf::uint32
 
typedef uint64_t google::protobuf::uint64
 
typedef uint8_t google::protobuf::uint8
 

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 = PROTOBUF_LONGLONG(0x7FFFFFFFFFFFFFFF)
 
static const int64 google::protobuf::kint64min = -kint64max - 1
 
static const uint32 google::protobuf::kuint32max = 0xFFFFFFFFu
 
static const uint64 google::protobuf::kuint64max = PROTOBUF_ULONGLONG(0xFFFFFFFFFFFFFFFF)
 

Macro Definition Documentation

◆ bswap_16

#define bswap_16 (   x)    bswap_16(x)

Definition at line 279 of file protobuf/src/google/protobuf/stubs/port.h.

◆ bswap_32

#define bswap_32 (   x)    bswap_32(x)

Definition at line 289 of file protobuf/src/google/protobuf/stubs/port.h.

◆ bswap_64

#define bswap_64 (   x)    bswap_64(x)

Definition at line 303 of file protobuf/src/google/protobuf/stubs/port.h.

◆ GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER

#define GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER   0

Definition at line 438 of file protobuf/src/google/protobuf/stubs/port.h.

◆ GOOGLE_PROTOBUF_RUNTIME_DEPRECATED

#define GOOGLE_PROTOBUF_RUNTIME_DEPRECATED (   message)

Definition at line 107 of file protobuf/src/google/protobuf/stubs/port.h.

◆ GOOGLE_THREAD_LOCAL

#define GOOGLE_THREAD_LOCAL   __thread

Definition at line 258 of file protobuf/src/google/protobuf/stubs/port.h.

◆ LIBPROTOBUF_EXPORT

#define LIBPROTOBUF_EXPORT

Definition at line 102 of file protobuf/src/google/protobuf/stubs/port.h.

◆ LIBPROTOC_EXPORT

#define LIBPROTOC_EXPORT

Definition at line 103 of file protobuf/src/google/protobuf/stubs/port.h.

◆ PROTOBUF_CXX11

#define PROTOBUF_CXX11   0

Definition at line 123 of file protobuf/src/google/protobuf/stubs/port.h.

◆ PROTOBUF_FINAL

#define PROTOBUF_FINAL

Definition at line 129 of file protobuf/src/google/protobuf/stubs/port.h.

◆ PROTOBUF_RUNTIME_DEPRECATED

#define PROTOBUF_RUNTIME_DEPRECATED (   message)

Definition at line 106 of file protobuf/src/google/protobuf/stubs/port.h.



libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:04