Macros | Functions
decode_fast.h File Reference
#include "upb/msg.h"
Include dependency graph for decode_fast.h:

Go to the source code of this file.

Macros

#define F(card, tagbytes, size_ceil, ceil_arg)   const char* upb_p##card##m_##tagbytes##bt_max##size_ceil##b(UPB_PARSE_PARAMS);
 
#define F(card, tagbytes, type)
 
#define F(card, type, valbytes, tagbytes)   const char* upb_p##card##type##valbytes##_##tagbytes##bt(UPB_PARSE_PARAMS);
 
#define SIZES(card, tagbytes)
 
#define TAGBYTES(card)
 
#define TAGBYTES(card)
 
#define TAGBYTES(card)
 
#define TYPES(card, tagbytes)
 
#define UPB_PARSE_PARAMS
 
#define UTF8(card, tagbytes)
 

Functions

const char * fastdecode_generic (struct upb_Decoder *d, const char *ptr, upb_Message *msg, intptr_t table, uint64_t hasbits, uint64_t data)
 

Macro Definition Documentation

◆ F [1/3]

#define F (   card,
  tagbytes,
  size_ceil,
  ceil_arg 
)    const char* upb_p##card##m_##tagbytes##bt_max##size_ceil##b(UPB_PARSE_PARAMS);

Definition at line 129 of file decode_fast.h.

◆ F [2/3]

#define F (   card,
  tagbytes,
  type 
)
Value:
const char* upb_p##card##type##_##tagbytes##bt(UPB_PARSE_PARAMS); \
const char* upb_c##card##type##_##tagbytes##bt(UPB_PARSE_PARAMS);

Definition at line 129 of file decode_fast.h.

◆ F [3/3]

#define F (   card,
  type,
  valbytes,
  tagbytes 
)    const char* upb_p##card##type##valbytes##_##tagbytes##bt(UPB_PARSE_PARAMS);

Definition at line 129 of file decode_fast.h.

◆ SIZES

#define SIZES (   card,
  tagbytes 
)
Value:
F(card, tagbytes, 64, 64) \
F(card, tagbytes, 128, 128) \
F(card, tagbytes, 192, 192) \
F(card, tagbytes, 256, 256) \
F(card, tagbytes, max, -1)

Definition at line 132 of file decode_fast.h.

◆ TAGBYTES [1/3]

#define TAGBYTES (   card)
Value:
TYPES(card, 1) \
TYPES(card, 2)

Definition at line 139 of file decode_fast.h.

◆ TAGBYTES [2/3]

#define TAGBYTES (   card)
Value:
UTF8(card, 1) \
UTF8(card, 2)

Definition at line 139 of file decode_fast.h.

◆ TAGBYTES [3/3]

#define TAGBYTES (   card)
Value:
SIZES(card, 1) \
SIZES(card, 2)

Definition at line 139 of file decode_fast.h.

◆ TYPES

#define TYPES (   card,
  tagbytes 
)
Value:
F(card, b, 1, tagbytes) \
F(card, v, 4, tagbytes) \
F(card, v, 8, tagbytes) \
F(card, z, 4, tagbytes) \
F(card, z, 8, tagbytes) \
F(card, f, 4, tagbytes) \
F(card, f, 8, tagbytes)

Definition at line 84 of file decode_fast.h.

◆ UPB_PARSE_PARAMS

#define UPB_PARSE_PARAMS
Value:
struct upb_Decoder *d, const char *ptr, upb_Message *msg, intptr_t table, \
uint64_t hasbits, uint64_t data

Definition at line 75 of file decode_fast.h.

◆ UTF8

#define UTF8 (   card,
  tagbytes 
)
Value:
F(card, tagbytes, s) \
F(card, tagbytes, b)

Definition at line 112 of file decode_fast.h.

Function Documentation

◆ fastdecode_generic()

const char* fastdecode_generic ( struct upb_Decoder d,
const char *  ptr,
upb_Message msg,
intptr_t  table,
uint64_t  hasbits,
uint64_t  data 
)

Definition at line 1058 of file decode.c.

ptr
char * ptr
Definition: abseil-cpp/absl/base/internal/low_level_alloc_test.cc:45
upb_Decoder
Definition: decode_internal.h:48
z
Uncopyable z
Definition: bloaty/third_party/googletest/googlemock/test/gmock-matchers_test.cc:3612
UPB_PARSE_PARAMS
#define UPB_PARSE_PARAMS
Definition: decode_fast.h:75
autogen_x86imm.f
f
Definition: autogen_x86imm.py:9
UTF8
#define UTF8(card, tagbytes)
Definition: decode_fast.h:112
max
int max
Definition: bloaty/third_party/zlib/examples/enough.c:170
setup.v
v
Definition: third_party/bloaty/third_party/capstone/bindings/python/setup.py:42
gmock_output_test._
_
Definition: bloaty/third_party/googletest/googlemock/test/gmock_output_test.py:175
uint64_t
unsigned __int64 uint64_t
Definition: stdint-msvc2008.h:90
intptr_t
_W64 signed int intptr_t
Definition: stdint-msvc2008.h:118
F
#define F(card, type, valbytes, tagbytes)
Definition: decode_fast.h:129
data
char data[kBufferLength]
Definition: abseil-cpp/absl/strings/internal/str_format/float_conversion.cc:1006
b
uint64_t b
Definition: abseil-cpp/absl/container/internal/layout_test.cc:53
d
static const fe d
Definition: curve25519_tables.h:19
upb_Message
void upb_Message
Definition: msg.h:49
msg
std::string msg
Definition: client_interceptors_end2end_test.cc:372
TYPES
#define TYPES(card, tagbytes)
Definition: decode_fast.h:84
table
uint8_t table[256]
Definition: hpack_parser.cc:456
asyncio_get_stats.type
type
Definition: asyncio_get_stats.py:37
SIZES
#define SIZES(card, tagbytes)
Definition: decode_fast.h:132


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