#include <assert.h>
#include <setjmp.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
|
| #define | UPB_BOOTSTRAP_STAGE 0 |
| |
| #define | UPB_GNUC_MIN(x, y) |
| |
| #define | UPB_HAS_ATTRIBUTE(x) |
| |
| #define | UPB_HAS_BUILTIN(x) |
| |
| #define | UPB_HAS_EXTENSION(x) |
| |
| #define | UPB_HAS_FEATURE(x) |
| |
| #define | UPB_SIZE(size32, size64) |
| |
| #define | UPB_PTR_AT(msg, ofs, type) |
| |
| #define | UPB_SIZEOF_FLEX(type, member, count) |
| |
| #define | UPB_SIZEOF_FLEX_WOULD_OVERFLOW(type, member, count) |
| |
| #define | UPB_ARRAY_SIZE(arr) |
| |
| #define | UPB_MAPTYPE_STRING 0 |
| |
| #define | UPB_EXPORT |
| |
| #define | UPB_INLINE inline |
| |
| #define | UPB_INLINE_IF_NOT_GCC UPB_INLINE |
| |
| #define | UPB_API |
| |
| #define | UPB_API_INLINE UPB_INLINE |
| |
| #define | UPBC_API |
| |
| #define | UPB_ASAN 0 |
| |
| #define | UPB_HWASAN 0 |
| |
| #define | UPB_MALLOC_ALIGN 8 |
| |
| #define | UPB_TSAN 0 |
| |
| #define | UPB_XSAN_MEMBER |
| |
| #define | UPB_XSAN(st) |
| |
| #define | UPB_XSAN_STRUCT_SIZE 0 |
| |
| #define | UPB_ALIGN_UP(size, align) |
| |
| #define | UPB_ALIGN_DOWN(size, align) |
| |
| #define | UPB_ALIGN_MALLOC(size) |
| |
| #define | UPB_ALIGN_OF(type) |
| |
| #define | UPB_ALIGN_AS(x) |
| |
| #define | UPB_STATIC_ASSERT(val, msg) |
| |
| #define | UPB_LIKELY(x) |
| |
| #define | UPB_UNLIKELY(x) |
| |
| #define | UPB_UNPREDICTABLE(x) |
| |
| #define | UPB_FORCEINLINE static |
| |
| #define | UPB_NOINLINE |
| |
| #define | UPB_NORETURN |
| |
| #define | UPB_PRINTF(str, first_vararg) |
| |
| #define | UPB_NODEREF |
| |
| #define | UPB_MAX(x, y) |
| |
| #define | UPB_MIN(x, y) |
| |
| #define | UPB_UNUSED(var) |
| |
| #define | UPB_ASSUME(expr) |
| |
| #define | UPB_ASSERT(expr) |
| |
| #define | UPB_UNREACHABLE() |
| |
| #define | UPB_DEFAULT_MAX_BLOCK_SIZE 32768 |
| |
| #define | UPB_SETJMP(buf) |
| |
| #define | UPB_LONGJMP(buf, val) |
| |
| #define | UPB_ATOMIC(T) |
| |
| #define | UPB_PTRADD(ptr, ofs) |
| |
| #define | UPB_PRIVATE(x) |
| |
| #define | UPB_ONLYBITS(x) |
| |
| #define | UPB_MUSTTAIL |
| |
| #define | UPB_PRESERVE_NONE |
| |
| #define | UPB_FASTTABLE_SUPPORTED 0 |
| |
| #define | UPB_FASTTABLE 0 |
| |
| #define | UPB_FASTTABLE_INIT(...) |
| |
| #define | UPB_FASTTABLE_MASK(mask) |
| |
| #define | UPB_TREAT_CLOSED_ENUMS_LIKE_OPEN 0 |
| |
| #define | UPB_DEPRECATED |
| |
| #define | UPB_DESC(sym) |
| |
| #define | UPB_DESC_MINITABLE(sym) |
| |
| #define | UPB_NO_SANITIZE_ADDRESS |
| |
| #define | UPB_LINKARR_APPEND(name) |
| |
◆ UPB_ALIGN_AS
| #define UPB_ALIGN_AS |
( |
| x | ) |
|
◆ UPB_ALIGN_DOWN
| #define UPB_ALIGN_DOWN |
( |
| size, |
|
|
| align ) |
Value:
align
Definition base.h:681
◆ UPB_ALIGN_MALLOC
| #define UPB_ALIGN_MALLOC |
( |
| size | ) |
|
Value:
#define UPB_ALIGN_UP(size, align)
Definition def.inc:205
#define UPB_MALLOC_ALIGN
Definition def.inc:184
◆ UPB_ALIGN_OF
| #define UPB_ALIGN_OF |
( |
| type | ) |
|
◆ UPB_ALIGN_UP
| #define UPB_ALIGN_UP |
( |
| size, |
|
|
| align ) |
◆ UPB_API
◆ UPB_API_INLINE
◆ UPB_ARRAY_SIZE
| #define UPB_ARRAY_SIZE |
( |
| arr | ) |
|
Value:(sizeof(arr) / sizeof(arr[0]))
◆ UPB_ASAN
◆ UPB_ASSERT
| #define UPB_ASSERT |
( |
| expr | ) |
|
◆ UPB_ASSUME
| #define UPB_ASSUME |
( |
| expr | ) |
|
◆ UPB_ATOMIC
◆ UPB_BOOTSTRAP_STAGE
| #define UPB_BOOTSTRAP_STAGE 0 |
◆ UPB_DEFAULT_MAX_BLOCK_SIZE
| #define UPB_DEFAULT_MAX_BLOCK_SIZE 32768 |
◆ UPB_DEPRECATED
◆ UPB_DESC
◆ UPB_DESC_MINITABLE
| #define UPB_DESC_MINITABLE |
( |
| sym | ) |
|
Value:google__protobuf__##sym##_msg_init()
◆ UPB_EXPORT
◆ UPB_FASTTABLE
◆ UPB_FASTTABLE_INIT
| #define UPB_FASTTABLE_INIT |
( |
| ... | ) |
|
◆ UPB_FASTTABLE_MASK
| #define UPB_FASTTABLE_MASK |
( |
| mask | ) |
|
◆ UPB_FASTTABLE_SUPPORTED
| #define UPB_FASTTABLE_SUPPORTED 0 |
◆ UPB_FORCEINLINE
| #define UPB_FORCEINLINE static |
◆ UPB_GNUC_MIN
| #define UPB_GNUC_MIN |
( |
| x, |
|
|
| y ) |
◆ UPB_HAS_ATTRIBUTE
| #define UPB_HAS_ATTRIBUTE |
( |
| x | ) |
|
◆ UPB_HAS_BUILTIN
| #define UPB_HAS_BUILTIN |
( |
| x | ) |
|
◆ UPB_HAS_EXTENSION
| #define UPB_HAS_EXTENSION |
( |
| x | ) |
|
◆ UPB_HAS_FEATURE
| #define UPB_HAS_FEATURE |
( |
| x | ) |
|
◆ UPB_HWASAN
◆ UPB_INLINE
| #define UPB_INLINE inline |
◆ UPB_INLINE_IF_NOT_GCC
◆ UPB_LIKELY
◆ UPB_LINKARR_APPEND
| #define UPB_LINKARR_APPEND |
( |
| name | ) |
|
◆ UPB_LONGJMP
| #define UPB_LONGJMP |
( |
| buf, |
|
|
| val ) |
◆ UPB_MALLOC_ALIGN
| #define UPB_MALLOC_ALIGN 8 |
◆ UPB_MAPTYPE_STRING
| #define UPB_MAPTYPE_STRING 0 |
◆ UPB_MAX
◆ UPB_MIN
◆ UPB_MUSTTAIL
◆ UPB_NO_SANITIZE_ADDRESS
| #define UPB_NO_SANITIZE_ADDRESS |
◆ UPB_NODEREF
◆ UPB_NOINLINE
◆ UPB_NORETURN
◆ UPB_ONLYBITS
| #define UPB_ONLYBITS |
( |
| x | ) |
|
Value:
#define UPB_PRIVATE(x)
Definition def.inc:393
◆ UPB_PRESERVE_NONE
| #define UPB_PRESERVE_NONE |
◆ UPB_PRINTF
| #define UPB_PRINTF |
( |
| str, |
|
|
| first_vararg ) |
◆ UPB_PRIVATE
Value:x##_dont_copy_me__upb_internal_use_only
◆ UPB_PTR_AT
| #define UPB_PTR_AT |
( |
| msg, |
|
|
| ofs, |
|
|
| type ) |
Value:((type *)((char *)(msg) + (ofs)))
◆ UPB_PTRADD
| #define UPB_PTRADD |
( |
| ptr, |
|
|
| ofs ) |
Value:((ofs) ? (
ptr) + (ofs) : (
ptr))
◆ UPB_SETJMP
| #define UPB_SETJMP |
( |
| buf | ) |
|
◆ UPB_SIZE
| #define UPB_SIZE |
( |
| size32, |
|
|
| size64 ) |
◆ UPB_SIZEOF_FLEX
| #define UPB_SIZEOF_FLEX |
( |
| type, |
|
|
| member, |
|
|
| count ) |
Value: UPB_MAX(
sizeof(type), offsetof(type, member[count]))
#define UPB_MAX(x, y)
Definition def.inc:300
◆ UPB_SIZEOF_FLEX_WOULD_OVERFLOW
| #define UPB_SIZEOF_FLEX_WOULD_OVERFLOW |
( |
| type, |
|
|
| member, |
|
|
| count ) |
Value: (((SIZE_MAX - offsetof(type, member[0])) / \
(offsetof(type, member[1]) - offsetof(type, member[0]))) < (size_t)count)
◆ UPB_STATIC_ASSERT
| #define UPB_STATIC_ASSERT |
( |
| val, |
|
|
| msg ) |
Value:static_assert((val), msg)
◆ UPB_TREAT_CLOSED_ENUMS_LIKE_OPEN
| #define UPB_TREAT_CLOSED_ENUMS_LIKE_OPEN 0 |
◆ UPB_TSAN
◆ UPB_UNLIKELY
| #define UPB_UNLIKELY |
( |
| x | ) |
|
◆ UPB_UNPREDICTABLE
| #define UPB_UNPREDICTABLE |
( |
| x | ) |
|
◆ UPB_UNREACHABLE
| #define UPB_UNREACHABLE |
( |
| ) |
|
Value: do { \
assert(0); \
} while (0)
◆ UPB_UNUSED
| #define UPB_UNUSED |
( |
| var | ) |
|
◆ UPB_XSAN
◆ UPB_XSAN_MEMBER
◆ UPB_XSAN_STRUCT_SIZE
| #define UPB_XSAN_STRUCT_SIZE 0 |
◆ UPBC_API
◆ Error