#include <setjmp.h>
#include "third_party/utf8_range/utf8_range.h"
#include "upb/decode.h"
#include "upb/msg_internal.h"
#include "upb/upb_internal.h"
#include "upb/port_def.inc"
#include "upb/port_undef.inc"
Go to the source code of this file.
Classes | |
struct | upb_Decoder |
Macros | |
#define | DECODE_NOGROUP (uint32_t) - 1 |
Typedefs | |
typedef struct upb_Decoder | upb_Decoder |
Functions | |
UPB_INLINE void | decode_checklimit (upb_Decoder *d) |
const char * | decode_checkrequired (upb_Decoder *d, const char *ptr, const upb_Message *msg, const upb_MiniTable *l) |
UPB_INLINE bool | decode_isdone (upb_Decoder *d, const char **ptr) |
const char * | decode_isdonefallback (upb_Decoder *d, const char *ptr, int overrun) |
const UPB_INLINE char * | decode_isdonefallback_inl (upb_Decoder *d, const char *ptr, int overrun, int *status) |
UPB_INLINE void | decode_poplimit (upb_Decoder *d, const char *ptr, int saved_delta) |
UPB_INLINE int | decode_pushlimit (upb_Decoder *d, const char *ptr, int size) |
UPB_INLINE intptr_t | decode_totable (const upb_MiniTable *tablep) |
const UPB_INLINE upb_MiniTable * | decode_totablep (intptr_t table) |
UPB_INLINE bool | decode_verifyutf8_inl (const char *ptr, int len) |
const char * | fastdecode_err (upb_Decoder *d, int status) |
UPB_INLINE uint32_t | fastdecode_loadtag (const char *ptr) |
Variables | |
const uint8_t | upb_utf8_offsets [] |
#define DECODE_NOGROUP (uint32_t) - 1 |
Definition at line 46 of file decode_internal.h.
typedef struct upb_Decoder upb_Decoder |
UPB_INLINE void decode_checklimit | ( | upb_Decoder * | d | ) |
Definition at line 186 of file decode_internal.h.
const char* decode_checkrequired | ( | upb_Decoder * | d, |
const char * | ptr, | ||
const upb_Message * | msg, | ||
const upb_MiniTable * | l | ||
) |
UPB_INLINE bool decode_isdone | ( | upb_Decoder * | d, |
const char ** | ptr | ||
) |
Definition at line 151 of file decode_internal.h.
const char* decode_isdonefallback | ( | upb_Decoder * | d, |
const char * | ptr, | ||
int | overrun | ||
) |
const UPB_INLINE char* decode_isdonefallback_inl | ( | upb_Decoder * | d, |
const char * | ptr, | ||
int | overrun, | ||
int * | status | ||
) |
Definition at line 120 of file decode_internal.h.
UPB_INLINE void decode_poplimit | ( | upb_Decoder * | d, |
const char * | ptr, | ||
int | saved_delta | ||
) |
Definition at line 200 of file decode_internal.h.
UPB_INLINE int decode_pushlimit | ( | upb_Decoder * | d, |
const char * | ptr, | ||
int | size | ||
) |
Definition at line 190 of file decode_internal.h.
UPB_INLINE intptr_t decode_totable | ( | const upb_MiniTable * | tablep | ) |
Definition at line 111 of file decode_internal.h.
const UPB_INLINE upb_MiniTable* decode_totablep | ( | intptr_t | table | ) |
Definition at line 115 of file decode_internal.h.
UPB_INLINE bool decode_verifyutf8_inl | ( | const char * | ptr, |
int | len | ||
) |
Definition at line 82 of file decode_internal.h.
const char* fastdecode_err | ( | upb_Decoder * | d, |
int | status | ||
) |
UPB_INLINE uint32_t fastdecode_loadtag | ( | const char * | ptr | ) |
Definition at line 180 of file decode_internal.h.