GRPC Core  43.0.0
Macros | Functions
port_platform.h File Reference
#include <stdint.h>

Go to the source code of this file.

Macros

#define GRPC_DEPRECATED(reason)
 
#define GPR_ABSEIL_SYNC   1
 
#define GRPC_DLL
 
#define GRPCXX_DLL
 
#define GPR_DLL
 
#define GPR_PLATFORM_STRING   "unknown"
 
#define GPR_CYCLE_COUNTER_FALLBACK   1
 
#define GPR_CACHELINE_SIZE_LOG   6
 
#define GPR_CACHELINE_SIZE   (1 << GPR_CACHELINE_SIZE_LOG)
 
#define GPR_MAX_ALIGNMENT   16
 
#define GRPC_ARES   1
 
#define GRPC_IF_NAMETOINDEX   1
 
#define GRPC_UNUSED
 
#define GPR_PRINT_FORMAT_CHECK(FORMAT_STR, ARGS)
 
#define GPR_HAS_CPP_ATTRIBUTE(a)   0
 
#define GPR_ALIGN_STRUCT(n)
 
#define GRPC_MUST_USE_RESULT
 
#define GRPC_MUST_USE_RESULT_WHEN_USE_STRICT_WARNING
 
#define GRPC_REINITIALIZES
 
#define GPR_HAS_ATTRIBUTE(a)   0
 
#define GPR_ATTRIBUTE_NORETURN
 
#define GPR_UNREACHABLE_CODE(STATEMENT)
 
#define GPRAPI
 
#define GRPCAPI   GPRAPI
 
#define CENSUSAPI   GRPCAPI
 
#define GPR_HAS_FEATURE(a)   0
 
#define GPR_ATTRIBUTE_NOINLINE
 
#define GPR_ATTRIBUTE_ALWAYS_INLINE_FUNCTION
 
#define GPR_NO_UNIQUE_ADDRESS
 
#define GPR_ATTRIBUTE_WEAK
 
#define GPR_ATTRIBUTE_NO_TSAN
 
#define GRPC_ALLOW_EXCEPTIONS   0
 
#define GRPC_HAS_BUILTIN(a)   0
 
#define GPR_LIKELY(x)   (x)
 
#define GPR_UNLIKELY(x)   (x)
 
#define __STDC_FORMAT_MACROS
 
#define GPR_MSVC_EMPTY_BASE_CLASS_WORKAROUND
 
#define GRPC_CALLBACK_API_NONEXPERIMENTAL
 

Functions

void gpr_unreachable_code (const char *reason, const char *file, int line)
 

Macro Definition Documentation

◆ __STDC_FORMAT_MACROS

#define __STDC_FORMAT_MACROS

◆ CENSUSAPI

#define CENSUSAPI   GRPCAPI

◆ GPR_ABSEIL_SYNC

#define GPR_ABSEIL_SYNC   1

◆ GPR_ALIGN_STRUCT

#define GPR_ALIGN_STRUCT (   n)

◆ GPR_ATTRIBUTE_ALWAYS_INLINE_FUNCTION

#define GPR_ATTRIBUTE_ALWAYS_INLINE_FUNCTION

◆ GPR_ATTRIBUTE_NO_TSAN

#define GPR_ATTRIBUTE_NO_TSAN

◆ GPR_ATTRIBUTE_NOINLINE

#define GPR_ATTRIBUTE_NOINLINE

◆ GPR_ATTRIBUTE_NORETURN

#define GPR_ATTRIBUTE_NORETURN

◆ GPR_ATTRIBUTE_WEAK

#define GPR_ATTRIBUTE_WEAK

◆ GPR_CACHELINE_SIZE

#define GPR_CACHELINE_SIZE   (1 << GPR_CACHELINE_SIZE_LOG)

◆ GPR_CACHELINE_SIZE_LOG

#define GPR_CACHELINE_SIZE_LOG   6

◆ GPR_CYCLE_COUNTER_FALLBACK

#define GPR_CYCLE_COUNTER_FALLBACK   1

◆ GPR_DLL

#define GPR_DLL

◆ GPR_HAS_ATTRIBUTE

#define GPR_HAS_ATTRIBUTE (   a)    0

◆ GPR_HAS_CPP_ATTRIBUTE

#define GPR_HAS_CPP_ATTRIBUTE (   a)    0

◆ GPR_HAS_FEATURE

#define GPR_HAS_FEATURE (   a)    0

◆ GPR_LIKELY

#define GPR_LIKELY (   x)    (x)

◆ GPR_MAX_ALIGNMENT

#define GPR_MAX_ALIGNMENT   16

◆ GPR_MSVC_EMPTY_BASE_CLASS_WORKAROUND

#define GPR_MSVC_EMPTY_BASE_CLASS_WORKAROUND

◆ GPR_NO_UNIQUE_ADDRESS

#define GPR_NO_UNIQUE_ADDRESS

◆ GPR_PLATFORM_STRING

#define GPR_PLATFORM_STRING   "unknown"

◆ GPR_PRINT_FORMAT_CHECK

#define GPR_PRINT_FORMAT_CHECK (   FORMAT_STR,
  ARGS 
)

◆ GPR_UNLIKELY

#define GPR_UNLIKELY (   x)    (x)

◆ GPR_UNREACHABLE_CODE

#define GPR_UNREACHABLE_CODE (   STATEMENT)
Value:
do { \
gpr_unreachable_code(#STATEMENT, __FILE__, __LINE__); \
STATEMENT; \
} while (0)

◆ GPRAPI

#define GPRAPI

◆ GRPC_ALLOW_EXCEPTIONS

#define GRPC_ALLOW_EXCEPTIONS   0

◆ GRPC_ARES

#define GRPC_ARES   1

◆ GRPC_CALLBACK_API_NONEXPERIMENTAL

#define GRPC_CALLBACK_API_NONEXPERIMENTAL

◆ GRPC_DEPRECATED

#define GRPC_DEPRECATED (   reason)

◆ GRPC_DLL

#define GRPC_DLL

◆ GRPC_HAS_BUILTIN

#define GRPC_HAS_BUILTIN (   a)    0

◆ GRPC_IF_NAMETOINDEX

#define GRPC_IF_NAMETOINDEX   1

◆ GRPC_MUST_USE_RESULT

#define GRPC_MUST_USE_RESULT

◆ GRPC_MUST_USE_RESULT_WHEN_USE_STRICT_WARNING

#define GRPC_MUST_USE_RESULT_WHEN_USE_STRICT_WARNING

◆ GRPC_REINITIALIZES

#define GRPC_REINITIALIZES

◆ GRPC_UNUSED

#define GRPC_UNUSED

◆ GRPCAPI

#define GRPCAPI   GPRAPI

◆ GRPCXX_DLL

#define GRPCXX_DLL

Function Documentation

◆ gpr_unreachable_code()

void gpr_unreachable_code ( const char *  reason,
const char *  file,
int  line 
)