Classes | Macros | Typedefs | Enumerations | Functions | Variables
bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c File Reference
#include "upb.h"
#include <math.h>
#include <string.h>
#include <errno.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <inttypes.h>
#include <float.h>
#include <time.h>
Include dependency graph for bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:

Go to the source code of this file.

Classes

struct  cleanup_ent
 
struct  compiler
 
struct  decl_counts
 
struct  EnumHandlerData
 
union  lookupkey_t
 
struct  mem_block
 
struct  str_t
 
struct  strpc
 
struct  symtab_addctx
 
struct  tag_t
 
struct  upb_arena
 
struct  upb_decframe
 
struct  upb_decstate
 
struct  upb_encstate
 
struct  upb_enumdef
 
struct  upb_fielddef
 
struct  upb_filedef
 
struct  upb_handlercache
 
struct  upb_handlers
 
struct  upb_json_codecache
 
struct  upb_json_parser
 
struct  upb_json_parsermethod
 
struct  upb_json_printer
 
struct  upb_json_printercache
 
struct  upb_jsonparser_any_frame
 
struct  upb_jsonparser_frame
 
struct  upb_msg_handlerdata
 
struct  upb_msg_internal
 
struct  upb_msg_internal_withext
 
struct  upb_msgdef
 
struct  upb_msgfactory
 
struct  upb_oneofdef
 
struct  upb_pb_encoder
 
struct  upb_pb_encoder_segment
 
struct  upb_stringsink
 
struct  upb_symtab
 
struct  upb_textprinter
 

Macros

#define ARRAY_SIZE(x)   ((sizeof(x)/sizeof(0[x])) / ((size_t)(!(sizeof(x) % sizeof(0[x])))))
 
#define CASE(capitaltype, smalltype, ctype, min, max)
 
#define CASE(ctype, type, wire_type, encodeval)
 
#define CHECK(x)   if ((x) < 0) goto err;
 
#define CHECK_RETURN_TOP(x)   if (!(x)) goto error
 
#define CHECK_SUSPEND(x)   if (!(x)) return upb_pbdecoder_suspend(d);
 
#define CHK(val)   if (!(val)) return false;
 
#define CHK(x)   if (!(x)) { return 0; }
 
#define CHK(x)   do { if (!(x)) { return false; } } while(0)
 
#define CHK(x)   if (!(x)) { return false; }
 
#define CHK_OOM(x)   if (!(x)) { upb_status_setoom(ctx->status); return false; }
 
#define CHKFMT(val)   if ((val) == (size_t)-1) return false;
 
#define CHKLENGTH(x)   if (!(x)) return -1;
 
#define EMPTYLABEL   -1
 
#define EPOCH_YEAR   1970
 
#define LABEL_ENDMSG   4 /* To reach the OP_ENDMSG instr for this msg. */
 
#define LABEL_FIELD   3 /* Jump backward to find the most recent field. */
 
#define LABEL_LOOPBREAK   2 /* To jump out of a repeated loop */
 
#define LABEL_LOOPSTART   1 /* Top of a repeated field loop. */
 
#define MAXLABEL   5
 
#define MIX(h, k, m)   { k *= m; k ^= k >> r; k *= m; h *= m; h ^= k; }
 
#define MSG_WRITER(type, ctype)
 
#define PARSER_CHECK_RETURN(x)   if (!(x)) return false
 
#define PRIMITIVE_OP(type, wt, name, convfunc, ctype)
 
#define SETTER(name, handlerctype, handlertype)
 
#define STRINGIFY_HELPER(x)   #x
 
#define STRINGIFY_MACROVAL(x)   STRINGIFY_HELPER(x)
 
#define SUBH(h, selector)   (h->sub[selector])
 
#define SUBH_F(h, f)   SUBH(h, upb_fielddef_index(f))
 
#define T(type, ctype, convert, encode)
 
#define T(upper, lower, upbtype)
 
#define TM_YEAR_BASE   1900
 
#define TYPE(name, ctype, fmt)
 
#define TYPE(type, name, ctype)
 
#define TYPE(u, l)
 
#define TYPE_HANDLERS(type, fmt_func)
 
#define TYPE_HANDLERS_MAPKEY(type, fmt_func)
 
#define upb_alignof(type)   offsetof (struct { char c; type member; }, member)
 
#define UPB_ASSERT(expr)   assert(expr)
 
#define UPB_ASSERT_DEBUGVAR(expr)   assert(expr)
 
#define UPB_DURATION_MAX_JSON_LEN   23
 
#define UPB_DURATION_MAX_NANO_LEN   9
 
#define UPB_FIELD_AT(msg, fieldtype, offset)   *(fieldtype*)((const char*)(msg) + offset)
 
#define UPB_FORCEINLINE
 
#define UPB_INFINITY   (1.0 / 0.0)
 
#define UPB_INLINE   static
 
#define UPB_JSON_MAX_DEPTH   64
 
#define UPB_LIKELY(x)   (x)
 
#define UPB_MAX(x, y)   ((x) > (y) ? (x) : (y))
 
#define UPB_MAXARRSIZE   16 /* 64k. */
 
#define UPB_MIN(x, y)   ((x) < (y) ? (x) : (y))
 
#define UPB_NOINLINE
 
#define UPB_NORETURN
 
#define UPB_PB_VARINT_MAX_LEN   10
 
#define UPB_READ_ONEOF(msg, fieldtype, offset, case_offset, case_val, default)
 
#define UPB_SIZE(size32, size64)   size64
 
#define UPB_STATIC_SELECTOR_COUNT   3 /* Warning: also in upb/handlers.h. */
 
#define UPB_TIMESTAMP_BEFORE_NANO_LEN   19
 
#define UPB_TIMESTAMP_MAX_JSON_LEN   31
 
#define UPB_TIMESTAMP_MAX_NANO_LEN   9
 
#define UPB_UNLIKELY(x)   (x)
 
#define UPB_UNREACHABLE()   do { assert(0); } while(0)
 
#define UPB_UNUSED(var)   (void)var
 
#define UPB_WRITE_ONEOF(msg, fieldtype, offset, value, case_offset, case_val)
 
#define VARINT_CASE(ctype, decode)   VARINT_CASE_EX(ctype, decode, decode)
 
#define VARINT_CASE(ctype, encode)
 
#define VARINT_CASE_EX(ctype, decode, dtype)
 
#define VMCASE(op, code)   case op: { code; if (consumes_input(op)) checkpoint(d); break; }
 
#define VOIDPTR_AT(msg, ofs)   (void*)((char*)msg + (int)ofs)
 
#define WRAPPER(wellknowntype, name)
 
#define WRAPPER_SETHANDLERS(wrapper, type, putmethod)
 
#define WRITE(byte)
 

Typedefs

typedef struct cleanup_ent cleanup_ent
 
typedef bool eqlfunc_t(upb_tabkey k1, lookupkey_t k2)
 
typedef uint32_t hashfunc_t(upb_tabkey key)
 
typedef struct mem_block mem_block
 

Enumerations

enum  {
  VALUE_NULLVALUE = 0, VALUE_NUMBERVALUE = 1, VALUE_STRINGVALUE = 2, VALUE_BOOLVALUE = 3,
  VALUE_STRUCTVALUE = 4, VALUE_LISTVALUE = 5
}
 
enum  { MULTIPART_INACTIVE = 0, MULTIPART_ACCUMULATE = 1, MULTIPART_PUSHEAGERLY = 2 }
 
enum  upb_deftype_t {
  UPB_DEFTYPE_MSG = 0, UPB_DEFTYPE_ENUM = 1, UPB_DEFTYPE_FIELD = 2, UPB_DEFTYPE_ONEOF = 3,
  UPB_DEFTYPE_MSG = 0, UPB_DEFTYPE_ENUM = 1, UPB_DEFTYPE_FIELD = 2, UPB_DEFTYPE_ONEOF = 3,
  UPB_DEFTYPE_FIELD = 0, UPB_DEFTYPE_MSG = 1, UPB_DEFTYPE_ENUM = 2, UPB_DEFTYPE_ONEOF = 1,
  UPB_DEFTYPE_FIELD_JSONNAME = 2, UPB_DEFTYPE_FIELD = 0, UPB_DEFTYPE_MSG = 1, UPB_DEFTYPE_ENUM = 2,
  UPB_DEFTYPE_ONEOF = 1, UPB_DEFTYPE_FIELD_JSONNAME = 2, UPB_DEFTYPE_MASK = 7, UPB_DEFTYPE_EXT = 0,
  UPB_DEFTYPE_MSG = 1, UPB_DEFTYPE_ENUM = 2, UPB_DEFTYPE_ENUMVAL = 3, UPB_DEFTYPE_SERVICE = 4,
  UPB_DEFTYPE_FIELD = 0, UPB_DEFTYPE_ONEOF = 1, UPB_DEFTYPE_FIELD_JSONNAME = 2, UPB_DEFTYPE_FILE = 0,
  UPB_DEFTYPE_LAYOUT = 1
}
 

Functions

bool _upb_symtab_loaddefinit (upb_symtab *s, const upb_def_init *init)
 
static void accumulate (upb_pb_encoder *e)
 
static bool accumulate_append (upb_json_parser *p, const char *buf, size_t len, bool can_alias)
 
static void accumulate_clear (upb_json_parser *p)
 
static const char * accumulate_getptr (upb_json_parser *p, size_t *len)
 
static bool accumulate_realloc (upb_json_parser *p, size_t need)
 
static void advance (upb_pbdecoder *d, size_t len)
 
static void advancetobuf (upb_pbdecoder *d, const char *buf, size_t len)
 
static size_t align_up (size_t val, size_t align)
 
static size_t align_up_max (size_t size)
 
static double as_double (uint64_t n)
 
static float as_float (uint32_t n)
 
static void assert_accumulate_empty (upb_json_parser *p)
 
static bool assign_msg_indices (upb_msgdef *m, upb_status *s)
 
static void assign_msg_wellknowntype (upb_msgdef *m)
 
int32_t b64lookup (unsigned char ch)
 
static bool base64_push (upb_json_parser *p, upb_selector_t sel, const char *ptr, size_t len)
 
static size_t begin (const upb_table *t)
 
static bool between (int32_t x, int32_t low, int32_t high)
 
static size_t bufleft (const upb_pbdecoder *d)
 
static bool build_filedef (const symtab_addctx *ctx, upb_filedef *file, const google_protobuf_FileDescriptorProto *file_proto)
 
static size_t callstacksize (upb_pbdecoder *d, size_t entries)
 
static void capture_begin (upb_json_parser *p, const char *ptr)
 
static bool capture_end (upb_json_parser *p, const char *ptr)
 
static void capture_resume (upb_json_parser *p, const char *ptr)
 
static void capture_suspend (upb_json_parser *p, const char **ptr)
 
static void check (upb_inttable *t)
 
static bool check_stack (upb_json_parser *p)
 
static bool checked_add (size_t a, size_t b, size_t *c)
 
static void checkpoint (upb_pbdecoder *d)
 
bool checkstart (upb_handlers *h, const upb_fielddef *f, upb_handlertype_t type, upb_status *status)
 
static void chkdefaulttype (const upb_fielddef *f, int ctype)
 
int cmp_fields (const void *p1, const void *p2)
 
static bool commit (upb_pb_encoder *e)
 
static void compile_method (compiler *c, upb_pbdecodermethod *method)
 
static void compile_methods (compiler *c)
 
static UPB_FORCEINLINE void consumebytes (upb_pbdecoder *d, void *buf, size_t bytes)
 
static bool consumes_input (opcode op)
 
static void count_types_in_file (const google_protobuf_FileDescriptorProto *file_proto, decl_counts *counts)
 
static void count_types_in_msg (const google_protobuf_DescriptorProto *msg_proto, decl_counts *counts)
 
static bool create_enumdef (const symtab_addctx *ctx, const char *prefix, const google_protobuf_EnumDescriptorProto *enum_proto)
 
static bool create_fielddef (const symtab_addctx *ctx, const char *prefix, upb_msgdef *m, const google_protobuf_FieldDescriptorProto *field_proto)
 
static bool create_msgdef (const symtab_addctx *ctx, const char *prefix, const google_protobuf_DescriptorProto *msg_proto)
 
static bool create_oneofdef (const symtab_addctx *ctx, upb_msgdef *m, const google_protobuf_OneofDescriptorProto *oneof_proto)
 
static size_t curbufleft (const upb_pbdecoder *d)
 
static uint64_t dbl2uint64 (double d)
 
static UPB_FORCEINLINE int32_t decode_fixed32 (upb_pbdecoder *d, uint32_t *u32)
 
static UPB_FORCEINLINE int32_t decode_fixed64 (upb_pbdecoder *d, uint64_t *u64)
 
static UPB_FORCEINLINE int32_t decode_v32 (upb_pbdecoder *d, uint32_t *u32)
 
static UPB_FORCEINLINE int32_t decode_varint (upb_pbdecoder *d, uint64_t *u64)
 
static void decoder_pop (upb_pbdecoder *d)
 
static bool decoder_push (upb_pbdecoder *d, uint64_t end)
 
size_t delim_remaining (const upb_pbdecoder *d)
 
static int32_t dispatch (upb_pbdecoder *d)
 
static void dispatchtarget (compiler *c, upb_pbdecodermethod *method, const upb_fielddef *f, int wire_type)
 
static size_t div_round_up (size_t n, size_t d)
 
static bool does_fieldmask_end (upb_json_parser *p)
 
static bool does_fieldmask_start (upb_json_parser *p)
 
static bool does_number_wrapper_end (upb_json_parser *p)
 
static bool does_number_wrapper_start (upb_json_parser *p)
 
static bool does_string_wrapper_end (upb_json_parser *p)
 
static bool does_string_wrapper_start (upb_json_parser *p)
 
static bool doset (upb_handlers *h, int32_t sel, const upb_fielddef *f, upb_handlertype_t type, upb_func *func, const upb_handlerattr *attr)
 
const void * effective_closure_type (upb_handlers *h, const upb_fielddef *f, upb_handlertype_t type)
 
static upb_tabentemptyent (upb_table *t)
 
static bool encode_bytes (upb_pb_encoder *e, const void *data, size_t len)
 
static bool encode_enddelimfield (void *c, const void *hd)
 
static bool encode_endgroup (void *c, const void *hd)
 
static bool encode_fixed32 (upb_pb_encoder *e, uint32_t val)
 
static bool encode_fixed64 (upb_pb_encoder *e, uint64_t val)
 
static void * encode_startdelimfield (void *c, const void *hd)
 
static void * encode_startgroup (void *c, const void *hd)
 
static void * encode_startstr (void *c, const void *hd, size_t size_hint)
 
static size_t encode_strbuf (void *c, const void *hd, const char *buf, size_t len, const upb_bufhandle *h)
 
static bool encode_tag (upb_pb_encoder *e, const tag_t *tag)
 
static bool encode_unknown (void *c, const void *hd, const char *buf, size_t len)
 
static bool encode_varint (upb_pb_encoder *e, uint64_t val)
 
static void encoder_advance (upb_pb_encoder *e, size_t bytes)
 
static bool end (void *closure, const void *hd)
 
static void end_any_member (upb_json_parser *p, const char *ptr)
 
static bool end_any_membername (upb_json_parser *p)
 
static bool end_any_object (upb_json_parser *p, const char *ptr)
 
static bool end_any_stringval (upb_json_parser *p)
 
static void end_array (upb_json_parser *p)
 
static bool end_bool (upb_json_parser *p, bool val)
 
static bool end_day (upb_json_parser *p, const char *ptr)
 
static bool end_delim (upb_pb_encoder *e)
 
static bool end_duration_base (upb_json_parser *p, const char *ptr)
 
static void end_fieldmask_object (upb_json_parser *p)
 
static bool end_fieldmask_path (upb_json_parser *p)
 
static bool end_fieldmask_path_text (upb_json_parser *p, const char *ptr)
 
static void end_frame (upb_json_printer *p)
 
static bool end_hex (upb_json_parser *p)
 
static bool end_hour (upb_json_parser *p, const char *ptr)
 
static void end_listvalue_object (upb_json_parser *p)
 
static void end_member (upb_json_parser *p)
 
static bool end_membername (upb_json_parser *p)
 
static bool end_minute (upb_json_parser *p, const char *ptr)
 
static bool end_month (upb_json_parser *p, const char *ptr)
 
static bool end_null (upb_json_parser *p)
 
static bool end_number (upb_json_parser *p, const char *ptr)
 
static bool end_number_nontop (upb_json_parser *p, const char *ptr)
 
static void end_object (upb_json_parser *p)
 
static bool end_second (upb_json_parser *p, const char *ptr)
 
static bool end_stringval (upb_json_parser *p)
 
static bool end_stringval_nontop (upb_json_parser *p)
 
static void end_structvalue_object (upb_json_parser *p)
 
static void end_subobject (upb_json_parser *p)
 
static void end_subobject_full (upb_json_parser *p)
 
static bool end_text (upb_json_parser *p, const char *ptr)
 
static bool end_timestamp_fraction (upb_json_parser *p, const char *ptr)
 
static bool end_timestamp_zone (upb_json_parser *p, const char *ptr)
 
static void end_value_object (upb_json_parser *p)
 
static void end_wrapper_object (upb_json_parser *p)
 
static bool end_year (upb_json_parser *p, const char *ptr)
 
static int endfield (upb_textprinter *p)
 
static bool endmap (void *closure, const void *handler_data)
 
static bool endmsg (void *c, const void *hd, upb_status *status)
 
static bool endseq (void *closure, const void *handler_data)
 
static bool endseq_fieldmask (void *closure, const void *handler_data)
 
int64_t epoch (int year, int yday, int hour, int min, int sec)
 
static bool escape (upb_json_parser *p, const char *ptr)
 
static char escape_char (char in)
 
uint32_t field_rank (const upb_fielddef *f)
 
static void find_methods (compiler *c, const upb_handlers *h)
 
static upb_pbdecodermethodfind_submethod (const compiler *c, const upb_pbdecodermethod *method, const upb_fielddef *f)
 
static const upb_tabentfindentry (const upb_table *t, lookupkey_t key, uint32_t hash, eqlfunc_t *eql)
 
static upb_tabentfindentry_mutable (upb_table *t, lookupkey_t key, uint32_t hash, eqlfunc_t *eql)
 
static uint32_t flt2uint32 (float d)
 
static size_t fmt_bool (bool val, char *buf, size_t length)
 
static size_t fmt_double (double val, char *buf, size_t length)
 
static size_t fmt_float (float val, char *buf, size_t length)
 
static size_t fmt_int64_as_number (long long val, char *buf, size_t length)
 
static size_t fmt_int64_as_string (long long val, char *buf, size_t length)
 
static size_t fmt_uint64_as_number (unsigned long long val, char *buf, size_t length)
 
static size_t fmt_uint64_as_string (unsigned long long val, char *buf, size_t length)
 
static void freecompiler (compiler *c)
 
static void freegroup (mgroup *g)
 
static void freemethod (upb_pbdecodermethod *method)
 
void freestrpc (void *ptr)
 
static void generate_delimfield (compiler *c, const upb_fielddef *f, upb_pbdecodermethod *method)
 
static void generate_msgfield (compiler *c, const upb_fielddef *f, upb_pbdecodermethod *method)
 
static void generate_primitivefield (compiler *c, const upb_fielddef *f, upb_pbdecodermethod *method)
 
static uint64_t get_encoded_tag (const upb_fielddef *f, int wire_type)
 
static UPB_FORCEINLINE int32_t getbytes (upb_pbdecoder *d, void *buf, size_t bytes)
 
static UPB_NOINLINE int32_t getbytes_slow (upb_pbdecoder *d, void *buf, size_t bytes)
 
static upb_tabentgetentry_mutable (upb_table *t, uint32_t hash)
 
static int32_t getofs (uint32_t instruction)
 
static upb_selector_t getsel (const upb_fielddef *f, upb_handlertype_t type)
 
static upb_selector_t getsel_for_handlertype (upb_json_parser *p, upb_handlertype_t type)
 
static void goto_endmsg (upb_pbdecoder *d)
 
static bool handle_mapentry (upb_json_parser *p)
 
static upb_selector_t handlers_getsel (upb_handlers *h, const upb_fielddef *f, upb_handlertype_t type)
 
static bool haslazyhandlers (const upb_handlers *h, const upb_fielddef *f)
 
static void hexdigit (upb_json_parser *p, const char *ptr)
 
static bool in_buf (const char *p, const char *buf, const char *end)
 
static bool in_residual_buf (const upb_pbdecoder *d, const char *p)
 
static int indent (upb_textprinter *p)
 
static bool init (upb_table *t, upb_ctype_t ctype, uint8_t size_lg2, upb_alloc *a)
 
static void init_frame (upb_jsonparser_frame *frame)
 
static void insert (upb_table *t, lookupkey_t key, upb_tabkey tabkey, upb_value val, uint32_t hash, hashfunc_t *hashfunc, eqlfunc_t *eql)
 
static int instruction_len (uint32_t instr)
 
static upb_tabval int_arrent (const upb_inttable_iter *i)
 
static const upb_tabentint_tabent (const upb_inttable_iter *i)
 
static bool inteql (upb_tabkey k1, lookupkey_t k2)
 
static uint32_t inthash (upb_tabkey key)
 
static lookupkey_t intkey (uintptr_t key)
 
static upb_tabvalinttable_val (upb_inttable *t, uintptr_t key)
 
static const upb_tabvalinttable_val_const (const upb_inttable *t, uintptr_t key)
 
static bool is_fieldmask (const upb_msgdef *m)
 
UPB_INLINE bool is_json_escaped (char c)
 
static bool is_number_wrapper_object (upb_json_parser *p)
 
bool is_pow2 (uint64_t v)
 
static bool is_power_of_two (size_t val)
 
static bool is_string_wrapper (const upb_msgdef *m)
 
static bool is_string_wrapper_object (upb_json_parser *p)
 
static bool is_top_level (upb_json_parser *p)
 
static bool is_wellknown_field (upb_json_parser *p, upb_wellknowntype_t type)
 
static bool is_wellknown_msg (upb_json_parser *p, upb_wellknowntype_t type)
 
static bool isfull (upb_table *t)
 
static bool isleap (int year)
 
const UPB_INLINE char * json_nice_escape (char c)
 
static void json_parser_any_frame_free (upb_jsonparser_any_frame *frame)
 
static bool json_parser_any_frame_has_type_url (upb_jsonparser_any_frame *frame)
 
static bool json_parser_any_frame_has_value (upb_jsonparser_any_frame *frame)
 
static bool json_parser_any_frame_has_value_after_type_url (upb_jsonparser_any_frame *frame)
 
static bool json_parser_any_frame_has_value_before_type_url (upb_jsonparser_any_frame *frame)
 
static upb_jsonparser_any_framejson_parser_any_frame_new (upb_json_parser *p)
 
static void json_parser_any_frame_set_after_type_url_start_once (upb_jsonparser_any_frame *frame, const char *ptr)
 
static void json_parser_any_frame_set_before_type_url_end (upb_jsonparser_any_frame *frame, const char *ptr)
 
static void json_parser_any_frame_set_payload_type (upb_json_parser *p, upb_jsonparser_any_frame *frame, const upb_msgdef *payload_type)
 
static void json_parser_reset (upb_json_parser *p)
 
static void json_printer_reset (upb_json_printer *p)
 
static void label (compiler *c, unsigned int label)
 
static int32_t labelref (compiler *c, int label)
 
int log2ceil (uint64_t v)
 
static bool lookup (const upb_table *t, lookupkey_t key, upb_value *v, uint32_t hash, eqlfunc_t *eql)
 
static bool lower_camel_push (upb_json_parser *p, upb_selector_t sel, const char *ptr, size_t len)
 
static const char * makefullname (const symtab_addctx *ctx, const char *prefix, upb_strview name)
 
static size_t mapkey_bytes (void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle)
 
static bool mapkey_endstr (void *closure, const void *handler_data)
 
static size_t mapkey_str (void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle)
 
static void * mapkeyval_startstr (void *closure, const void *handler_data, size_t size_hint)
 
static bool mapvalue_endstr (void *closure, const void *handler_data)
 
static bool mapvalue_enum (void *closure, const void *handler_data, int32_t val)
 
static void maybeput (compiler *c, opcode op, const upb_handlers *h, const upb_fielddef *f, upb_handlertype_t type)
 
const mgroupmgroup_new (const upb_handlers *dest, bool allowjit, bool lazy)
 
static void multipart_end (upb_json_parser *p)
 
static void multipart_start (upb_json_parser *p, upb_selector_t sel)
 
static void multipart_startaccum (upb_json_parser *p)
 
static bool multipart_text (upb_json_parser *p, const char *buf, size_t len, bool can_alias)
 
static upb_tabvalmutable_array (upb_inttable *t)
 
static upb_tabentmutable_entries (upb_table *t)
 
static void new_tag (upb_handlers *h, const upb_fielddef *f, upb_wiretype_t wt, upb_handlerattr *attr)
 
static compilernewcompiler (mgroup *group, bool lazy)
 
mgroupnewgroup (void)
 
static upb_pbdecodermethodnewmethod (const upb_handlers *dest_handlers, mgroup *group)
 
static str_tnewstr (upb_alloc *alloc, const char *data, size_t len)
 
strpcnewstrpc (upb_handlers *h, const upb_fielddef *f, bool preserve_fieldnames)
 
strpcnewstrpc_str (upb_handlers *h, const char *str)
 
static size_t next (const upb_table *t, size_t i)
 
bool nonbase64 (unsigned char ch)
 
static void nullz (upb_status *status)
 
uint64_t offset (const upb_pbdecoder *d)
 
static void onmreg (const void *c, upb_handlers *h)
 
bool op_has_longofs (int32_t instruction)
 
upb_pbdecoder_frameouter_frame (upb_pbdecoder *d)
 
static upb_value pack_def (const void *ptr, upb_deftype_t type)
 
size_t parse (void *closure, const void *hd, const char *buf, size_t size, const upb_bufhandle *handle)
 
static bool parse_default (const symtab_addctx *ctx, const char *str, size_t len, upb_fielddef *f)
 
static bool parse_mapentry_key (upb_json_parser *p)
 
static bool parse_number (upb_json_parser *p, bool is_quoted)
 
static bool parse_number_from_buffer (upb_json_parser *p, const char *buf, bool is_quoted)
 
static int parse_timestamp_number (upb_json_parser *p)
 
static upb_selector_t parser_getsel (upb_json_parser *p)
 
static bool parser_putbool (upb_json_parser *p, bool val)
 
static upb_json_parsermethodparsermethod_new (upb_json_codecache *c, const upb_msgdef *md)
 
static uint32_t pcofs (compiler *c)
 
static UPB_FORCEINLINE size_t peekbytes (upb_pbdecoder *d, void *buf, size_t bytes)
 
static UPB_NOINLINE size_t peekbytes_slow (upb_pbdecoder *d, void *buf, size_t bytes)
 
static void print_comma (upb_json_printer *p)
 
static void print_data (upb_json_printer *p, const char *buf, unsigned int len)
 
static void print_enum_symbolic_name (upb_json_printer *p, const upb_enumdef *def, int32_t val)
 
static bool printer_enddurationmsg (void *closure, const void *handler_data, upb_status *s)
 
static bool printer_endmsg (void *closure, const void *handler_data, upb_status *s)
 
static bool printer_endmsg_fieldmask (void *closure, const void *handler_data, upb_status *s)
 
static bool printer_endmsg_noframe (void *closure, const void *handler_data, upb_status *s)
 
static bool printer_endtimestampmsg (void *closure, const void *handler_data, upb_status *s)
 
void printer_sethandlers (const void *closure, upb_handlers *h)
 
void printer_sethandlers_any (const void *closure, upb_handlers *h)
 
void printer_sethandlers_duration (const void *closure, upb_handlers *h)
 
void printer_sethandlers_fieldmask (const void *closure, upb_handlers *h)
 
void printer_sethandlers_listvalue (const void *closure, upb_handlers *h)
 
void printer_sethandlers_mapentry (const void *closure, bool preserve_fieldnames, upb_handlers *h)
 
void printer_sethandlers_structvalue (const void *closure, upb_handlers *h)
 
void printer_sethandlers_timestamp (const void *closure, upb_handlers *h)
 
void printer_sethandlers_value (const void *closure, upb_handlers *h)
 
static bool printer_startdurationmsg (void *closure, const void *handler_data)
 
static bool printer_startmsg (void *closure, const void *handler_data)
 
static bool printer_startmsg_fieldmask (void *closure, const void *handler_data)
 
static bool printer_startmsg_noframe (void *closure, const void *handler_data)
 
static bool printer_starttimestampmsg (void *closure, const void *handler_data)
 
static bool pushtagdelim (upb_pbdecoder *d, uint32_t arg)
 
static void put32 (compiler *c, uint32_t v)
 
static void putbuf (upb_pb_encoder *e, const char *buf, size_t len)
 
static size_t putbytes (void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle)
 
static void putchecktag (compiler *c, const upb_fielddef *f, int wire_type, int dest)
 
static int putescaped (upb_textprinter *p, const char *buf, size_t len, bool preserve_utf8)
 
bool putf (upb_textprinter *p, const char *fmt,...)
 
static bool putkey (void *closure, const void *handler_data)
 
static bool putnanos (void *closure, const void *handler_data, int32_t nanos)
 
static bool putnull (void *closure, const void *handler_data, int32_t null)
 
static void putop (compiler *c, int op,...)
 
static void putpush (compiler *c, const upb_fielddef *f)
 
static bool putseconds (void *closure, const void *handler_data, int64_t seconds)
 
static void putsel (compiler *c, opcode op, upb_selector_t sel, const upb_handlers *h)
 
static size_t putstr (void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle)
 
static size_t putstr_nokey (void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle)
 
static void putstring (upb_json_printer *p, const char *buf, unsigned int len)
 
static uint64_t repack (uint64_t dispatch, int new_wt2)
 
static size_t repeated_bytes (void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle)
 
static bool repeated_endstr (void *closure, const void *handler_data)
 
static bool repeated_enum (void *closure, const void *handler_data, int32_t val)
 
static void * repeated_startstr (void *closure, const void *handler_data, size_t size_hint)
 
static void * repeated_startstr_fieldmask (void *closure, const void *handler_data, size_t size_hint)
 
static void * repeated_startsubmsg (void *closure, const void *handler_data)
 
static size_t repeated_str (void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle)
 
static size_t repeated_str_fieldmask (void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle)
 
static bool reserve (upb_pb_encoder *e, size_t bytes)
 
static bool resolve_fielddef (const symtab_addctx *ctx, const char *prefix, upb_fielddef *f)
 
static bool resolvename (const upb_strtable *t, const upb_fielddef *f, const char *base, upb_strview sym, upb_deftype_t type, upb_status *status, const void **def)
 
static const void ** returntype (upb_handlers *h, const upb_fielddef *f, upb_handlertype_t type)
 
static bool rm (upb_table *t, lookupkey_t key, upb_value *val, upb_tabkey *removed, uint32_t hash, eqlfunc_t *eql)
 
size_t run_decoder_vm (upb_pbdecoder *d, const mgroup *group, const upb_bufhandle *handle)
 
static size_t saturating_multiply (size_t a, size_t b)
 
static size_t scalar_bytes (void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle)
 
static bool scalar_endstr (void *closure, const void *handler_data)
 
static bool scalar_enum (void *closure, const void *handler_data, int32_t val)
 
static void * scalar_startstr (void *closure, const void *handler_data, size_t size_hint)
 
static void * scalar_startstr_nokey (void *closure, const void *handler_data, size_t size_hint)
 
static void * scalar_startstr_onlykey (void *closure, const void *handler_data, size_t size_hint)
 
static void * scalar_startsubmsg (void *closure, const void *handler_data)
 
static size_t scalar_str (void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle)
 
static void set_bytecode_handlers (mgroup *g)
 
static void set_default_default (const symtab_addctx *ctx, upb_fielddef *f)
 
static void set_delim_end (upb_pbdecoder *d)
 
static void set_enum_hd (upb_handlers *h, const upb_fielddef *f, bool preserve_fieldnames, upb_handlerattr *attr)
 
static void set_name_table (upb_json_parser *p, upb_jsonparser_frame *frame)
 
static void seterr (upb_pbdecoder *d, const char *msg)
 
static void setofs (uint32_t *instruction, int32_t ofs)
 
static const char * shortdefname (const char *fullname)
 
static const char * shortname (const char *longname)
 
static int32_t skip (upb_pbdecoder *d, size_t bytes)
 
static size_t stacksize (upb_pbdecoder *d, size_t entries)
 
static void start_any_member (upb_json_parser *p, const char *ptr)
 
static void start_any_object (upb_json_parser *p, const char *ptr)
 
static bool start_any_stringval (upb_json_parser *p)
 
static bool start_array (upb_json_parser *p)
 
static void start_day (upb_json_parser *p, const char *ptr)
 
static bool start_delim (upb_pb_encoder *e)
 
static void start_duration_base (upb_json_parser *p, const char *ptr)
 
static void start_fieldmask_object (upb_json_parser *p)
 
static bool start_fieldmask_path (upb_json_parser *p)
 
static void start_fieldmask_path_text (upb_json_parser *p, const char *ptr)
 
static void start_frame (upb_json_printer *p)
 
static void start_hex (upb_json_parser *p)
 
static void start_hour (upb_json_parser *p, const char *ptr)
 
static upb_jsonparser_framestart_jsonparser_frame (upb_json_parser *p)
 
static void start_listvalue_object (upb_json_parser *p)
 
static void start_member (upb_json_parser *p)
 
static void start_minute (upb_json_parser *p, const char *ptr)
 
static void start_month (upb_json_parser *p, const char *ptr)
 
static bool start_number (upb_json_parser *p, const char *ptr)
 
static void start_object (upb_json_parser *p)
 
static void start_second (upb_json_parser *p, const char *ptr)
 
static bool start_stringval (upb_json_parser *p)
 
static void start_structvalue_object (upb_json_parser *p)
 
static bool start_subobject (upb_json_parser *p)
 
static bool start_subobject_full (upb_json_parser *p)
 
static void start_text (upb_json_parser *p, const char *ptr)
 
static void start_timestamp_base (upb_json_parser *p)
 
static void start_timestamp_fraction (upb_json_parser *p, const char *ptr)
 
static void start_timestamp_zone (upb_json_parser *p, const char *ptr)
 
static void start_value_object (upb_json_parser *p, int value_type)
 
static void start_wrapper_object (upb_json_parser *p)
 
static void start_year (upb_json_parser *p, const char *ptr)
 
static void * startmap (void *closure, const void *handler_data)
 
static void * startmap_nokey (void *closure, const void *handler_data)
 
static bool startmsg (void *c, const void *hd)
 
static void * startseq (void *closure, const void *handler_data)
 
static void * startseq_fieldmask (void *closure, const void *handler_data)
 
static void * startseq_nokey (void *closure, const void *handler_data)
 
static const upb_tabentstr_tabent (const upb_strtable_iter *i)
 
static upb_tabkey strcopy (lookupkey_t k2, upb_alloc *a)
 
static bool streql (upb_tabkey k1, lookupkey_t k2)
 
static bool streql2 (const char *a, size_t n, const char *b)
 
static bool streql_view (upb_strview view, const char *b)
 
static uint32_t strhash (upb_tabkey key)
 
static void * stringsink_start (void *_sink, const void *hd, size_t size_hint)
 
static size_t stringsink_string (void *_sink, const void *hd, const char *ptr, size_t len, const upb_bufhandle *handle)
 
static lookupkey_t strkey2 (const char *str, size_t len)
 
static char * strviewdup (const symtab_addctx *ctx, upb_strview view)
 
static size_t suspend_save (upb_pbdecoder *d)
 
static void switchtobuf (upb_pbdecoder *d, const char *buf, const char *end)
 
static bool symtab_add (const symtab_addctx *ctx, const char *name, upb_value v)
 
const void * symtab_resolve (const symtab_addctx *ctx, const upb_fielddef *f, const char *base, upb_strview sym, upb_deftype_t type)
 
 T (double, double, dbl2uint64, encode_fixed64)
 
static bool textprinter_endmsg (void *c, const void *hd, upb_status *s)
 
static bool textprinter_endstr (void *closure, const void *handler_data)
 
static bool textprinter_endsubmsg (void *closure, const void *handler_data)
 
static bool textprinter_putbool (void *closure, const void *handler_data, bool val)
 
static bool textprinter_putenum (void *closure, const void *handler_data, int32_t val)
 
static size_t textprinter_putstr (void *closure, const void *hd, const char *buf, size_t len, const upb_bufhandle *handle)
 
static void textprinter_reset (upb_textprinter *p, bool single_line)
 
static bool textprinter_startmsg (void *c, const void *hd)
 
static void * textprinter_startstr (void *closure, const void *handler_data, size_t size_hint)
 
static void * textprinter_startsubmsg (void *closure, const void *handler_data)
 
static upb_pb_encoder_segmenttop (upb_pb_encoder *e)
 
static int32_t trygetsel (upb_handlers *h, const upb_fielddef *f, upb_handlertype_t type)
 
static void uninit (upb_table *t, upb_alloc *a)
 
static const void * unpack_def (upb_value v, upb_deftype_t type)
 
static upb_msgupb_addmsg (upb_decframe *frame, const upb_msglayout_field *field, const upb_msglayout **subm)
 
static bool upb_append_unknown (upb_decstate *d, upb_decframe *frame)
 
static void upb_arena_addblock (upb_arena *a, void *ptr, size_t size, bool owned)
 
bool upb_arena_addcleanup (upb_arena *a, void *ud, upb_cleanup_func *func)
 
static mem_blockupb_arena_allocblock (upb_arena *a, size_t size)
 
size_t upb_arena_bytesallocated (const upb_arena *a)
 
static void * upb_arena_doalloc (upb_alloc *alloc, void *ptr, size_t oldsize, size_t size)
 
void upb_arena_free (upb_arena *a)
 
upb_arenaupb_arena_init (void *mem, size_t n, upb_alloc *alloc)
 
bool upb_array_add (upb_array *arr, size_t elements, size_t elem_size, const void *data, upb_arena *arena)
 
static bool upb_array_grow (upb_array *arr, size_t elements, size_t elem_size, upb_arena *arena)
 
upb_arrayupb_array_new (upb_arena *a)
 
static void * upb_array_reserve (upb_array *arr, size_t elements, size_t elem_size, upb_arena *arena)
 
bool upb_bufsrc_putbuf (const char *buf, size_t len, upb_bytessink sink)
 
bool upb_byteshandler_setendstr (upb_byteshandler *h, upb_endfield_handlerfunc *func, void *d)
 
bool upb_byteshandler_setstartstr (upb_byteshandler *h, upb_startstr_handlerfunc *func, void *d)
 
bool upb_byteshandler_setstring (upb_byteshandler *h, upb_string_handlerfunc *func, void *d)
 
static void * upb_calloc (upb_arena *arena, size_t size)
 
static void upb_check_alloc (upb_table *t, upb_alloc *a)
 
bool upb_decode (const char *buf, size_t size, void *msg, const upb_msglayout *l, upb_arena *arena)
 
static bool upb_decode_32bit (const char **ptr, const char *limit, uint32_t *val)
 
static bool upb_decode_32bitfield (upb_decstate *d, upb_decframe *frame, const upb_msglayout_field *field)
 
static bool upb_decode_64bit (const char **ptr, const char *limit, uint64_t *val)
 
static bool upb_decode_64bitfield (upb_decstate *d, upb_decframe *frame, const upb_msglayout_field *field)
 
static bool upb_decode_addval (upb_decframe *frame, const upb_msglayout_field *field, void *val, size_t size)
 
static bool upb_decode_delimitedfield (upb_decstate *d, upb_decframe *frame, const upb_msglayout_field *field)
 
static bool upb_decode_field (upb_decstate *d, upb_decframe *frame)
 
static bool upb_decode_fixedpacked (upb_decstate *d, upb_array *arr, uint32_t len, int elem_size)
 
static bool upb_decode_groupfield (upb_decstate *d, upb_msg *msg, const upb_msglayout *layout, int field_number)
 
static bool upb_decode_message (upb_decstate *d, char *msg, const upb_msglayout *l)
 
static bool upb_decode_msgfield (upb_decstate *d, upb_msg *msg, const upb_msglayout *layout, int limit)
 
static void upb_decode_setpresent (upb_decframe *frame, const upb_msglayout_field *field)
 
static upb_strview upb_decode_strfield (upb_decstate *d, uint32_t len)
 
static bool upb_decode_string (const char **ptr, const char *limit, int *outlen)
 
static bool upb_decode_toarray (upb_decstate *d, upb_decframe *frame, const upb_msglayout_field *field, int len)
 
static bool upb_decode_varint (const char **ptr, const char *limit, uint64_t *val)
 
static bool upb_decode_varint32 (const char **ptr, const char *limit, uint32_t *val)
 
static bool upb_decode_varintfield (upb_decstate *d, upb_decframe *frame, const upb_msglayout_field *field)
 
char * upb_encode (const void *msg, const upb_msglayout *m, upb_arena *arena, size_t *size)
 
static bool upb_encode_array (upb_encstate *e, const char *field_mem, const upb_msglayout *m, const upb_msglayout_field *f)
 
static bool upb_encode_growbuffer (upb_encstate *e, size_t bytes)
 
bool upb_encode_message (upb_encstate *e, const char *msg, const upb_msglayout *m, size_t *size)
 
static bool upb_encode_reserve (upb_encstate *e, size_t bytes)
 
static bool upb_encode_scalarfield (upb_encstate *e, const char *field_mem, const upb_msglayout *m, const upb_msglayout_field *f, bool skip_zero_value)
 
static size_t upb_encode_varint (uint64_t val, char *buf)
 
void upb_enum_begin (upb_enum_iter *i, const upb_enumdef *e)
 
bool upb_enum_done (upb_enum_iter *iter)
 
const char * upb_enum_iter_name (upb_enum_iter *iter)
 
int32_t upb_enum_iter_number (upb_enum_iter *iter)
 
void upb_enum_next (upb_enum_iter *iter)
 
int32_t upb_enumdef_default (const upb_enumdef *e)
 
const upb_filedefupb_enumdef_file (const upb_enumdef *e)
 
const char * upb_enumdef_fullname (const upb_enumdef *e)
 
const char * upb_enumdef_iton (const upb_enumdef *def, int32_t num)
 
const char * upb_enumdef_name (const upb_enumdef *e)
 
bool upb_enumdef_ntoi (const upb_enumdef *def, const char *name, size_t len, int32_t *num)
 
int upb_enumdef_numvals (const upb_enumdef *e)
 
bool upb_fielddef_checkdescriptortype (int32_t type)
 
bool upb_fielddef_checkintfmt (int32_t fmt)
 
bool upb_fielddef_checklabel (int32_t label)
 
bool upb_fielddef_checktype (int32_t type)
 
const upb_oneofdefupb_fielddef_containingoneof (const upb_fielddef *f)
 
const upb_msgdefupb_fielddef_containingtype (const upb_fielddef *f)
 
bool upb_fielddef_defaultbool (const upb_fielddef *f)
 
double upb_fielddef_defaultdouble (const upb_fielddef *f)
 
float upb_fielddef_defaultfloat (const upb_fielddef *f)
 
int32_t upb_fielddef_defaultint32 (const upb_fielddef *f)
 
int64_t upb_fielddef_defaultint64 (const upb_fielddef *f)
 
const char * upb_fielddef_defaultstr (const upb_fielddef *f, size_t *len)
 
uint32_t upb_fielddef_defaultuint32 (const upb_fielddef *f)
 
uint64_t upb_fielddef_defaultuint64 (const upb_fielddef *f)
 
upb_descriptortype_t upb_fielddef_descriptortype (const upb_fielddef *f)
 
const upb_enumdefupb_fielddef_enumsubdef (const upb_fielddef *f)
 
const char * upb_fielddef_fullname (const upb_fielddef *f)
 
size_t upb_fielddef_getjsonname (const upb_fielddef *f, char *buf, size_t len)
 
bool upb_fielddef_haspresence (const upb_fielddef *f)
 
bool upb_fielddef_hassubdef (const upb_fielddef *f)
 
uint32_t upb_fielddef_index (const upb_fielddef *f)
 
bool upb_fielddef_isextension (const upb_fielddef *f)
 
bool upb_fielddef_ismap (const upb_fielddef *f)
 
bool upb_fielddef_isprimitive (const upb_fielddef *f)
 
bool upb_fielddef_isseq (const upb_fielddef *f)
 
bool upb_fielddef_isstring (const upb_fielddef *f)
 
bool upb_fielddef_issubmsg (const upb_fielddef *f)
 
upb_label_t upb_fielddef_label (const upb_fielddef *f)
 
bool upb_fielddef_lazy (const upb_fielddef *f)
 
const upb_msgdefupb_fielddef_msgsubdef (const upb_fielddef *f)
 
const char * upb_fielddef_name (const upb_fielddef *f)
 
uint32_t upb_fielddef_number (const upb_fielddef *f)
 
bool upb_fielddef_packed (const upb_fielddef *f)
 
uint32_t upb_fielddef_selectorbase (const upb_fielddef *f)
 
upb_fieldtype_t upb_fielddef_type (const upb_fielddef *f)
 
const upb_filedefupb_filedef_dep (const upb_filedef *f, int i)
 
int upb_filedef_depcount (const upb_filedef *f)
 
const upb_enumdefupb_filedef_enum (const upb_filedef *f, int i)
 
int upb_filedef_enumcount (const upb_filedef *f)
 
const upb_msgdefupb_filedef_msg (const upb_filedef *f, int i)
 
int upb_filedef_msgcount (const upb_filedef *f)
 
const char * upb_filedef_name (const upb_filedef *f)
 
const char * upb_filedef_package (const upb_filedef *f)
 
const char * upb_filedef_phpnamespace (const upb_filedef *f)
 
const char * upb_filedef_phpprefix (const upb_filedef *f)
 
upb_syntax_t upb_filedef_syntax (const upb_filedef *f)
 
static const upb_msglayout_fieldupb_find_field (const upb_msglayout *l, uint32_t field_number)
 
static upb_arrayupb_getarr (upb_decframe *frame, const upb_msglayout_field *field)
 
static upb_arrayupb_getorcreatearr (upb_decframe *frame, const upb_msglayout_field *field)
 
static upb_msgupb_getorcreatemsg (upb_decframe *frame, const upb_msglayout_field *field, const upb_msglayout **subm)
 
static void * upb_global_allocfunc (upb_alloc *alloc, void *ptr, size_t oldsize, size_t size)
 
bool upb_handlercache_addcleanup (upb_handlercache *c, void *p, upb_handlerfree *func)
 
void upb_handlercache_free (upb_handlercache *cache)
 
const upb_handlersupb_handlercache_get (upb_handlercache *c, const upb_msgdef *md)
 
upb_handlercacheupb_handlercache_new (upb_handlers_callback *callback, const void *closure)
 
bool upb_handlers_addcleanup (upb_handlers *h, void *p, upb_handlerfree *func)
 
bool upb_handlers_getattr (const upb_handlers *h, upb_selector_t sel, upb_handlerattr *attr)
 
upb_funcupb_handlers_gethandler (const upb_handlers *h, upb_selector_t s, const void **handler_data)
 
upb_handlertype_t upb_handlers_getprimitivehandlertype (const upb_fielddef *f)
 
bool upb_handlers_getselector (const upb_fielddef *f, upb_handlertype_t type, upb_selector_t *s)
 
const upb_handlersupb_handlers_getsubhandlers (const upb_handlers *h, const upb_fielddef *f)
 
const upb_handlersupb_handlers_getsubhandlers_sel (const upb_handlers *h, upb_selector_t sel)
 
const upb_msgdefupb_handlers_msgdef (const upb_handlers *h)
 
static upb_handlersupb_handlers_new (const upb_msgdef *md, upb_handlercache *cache, upb_arena *arena)
 
static uint32_t upb_handlers_selectorbaseoffset (const upb_fielddef *f)
 
static uint32_t upb_handlers_selectorcount (const upb_fielddef *f)
 
bool upb_handlers_setendmsg (upb_handlers *h, upb_endmsg_handlerfunc *func, const upb_handlerattr *attr)
 
bool upb_handlers_setstartmsg (upb_handlers *h, upb_startmsg_handlerfunc *func, const upb_handlerattr *attr)
 
bool upb_handlers_setsubhandlers (upb_handlers *h, const upb_fielddef *f, const upb_handlers *sub)
 
bool upb_handlers_setunknown (upb_handlers *h, upb_unknown_handlerfunc *func, const upb_handlerattr *attr)
 
void upb_inttable_begin (upb_inttable_iter *i, const upb_inttable *t)
 
void upb_inttable_compact2 (upb_inttable *t, upb_alloc *a)
 
size_t upb_inttable_count (const upb_inttable *t)
 
bool upb_inttable_done (const upb_inttable_iter *i)
 
bool upb_inttable_init2 (upb_inttable *t, upb_ctype_t ctype, upb_alloc *a)
 
bool upb_inttable_insert2 (upb_inttable *t, uintptr_t key, upb_value val, upb_alloc *a)
 
bool upb_inttable_insertptr2 (upb_inttable *t, const void *key, upb_value val, upb_alloc *a)
 
bool upb_inttable_iter_isequal (const upb_inttable_iter *i1, const upb_inttable_iter *i2)
 
uintptr_t upb_inttable_iter_key (const upb_inttable_iter *i)
 
void upb_inttable_iter_setdone (upb_inttable_iter *i)
 
upb_value upb_inttable_iter_value (const upb_inttable_iter *i)
 
bool upb_inttable_lookup (const upb_inttable *t, uintptr_t key, upb_value *v)
 
bool upb_inttable_lookupptr (const upb_inttable *t, const void *key, upb_value *v)
 
void upb_inttable_next (upb_inttable_iter *iter)
 
upb_value upb_inttable_pop (upb_inttable *t)
 
bool upb_inttable_push2 (upb_inttable *t, upb_value val, upb_alloc *a)
 
bool upb_inttable_remove (upb_inttable *t, uintptr_t key, upb_value *val)
 
bool upb_inttable_removeptr (upb_inttable *t, const void *key, upb_value *val)
 
bool upb_inttable_replace (upb_inttable *t, uintptr_t key, upb_value val)
 
bool upb_inttable_sizedinit (upb_inttable *t, upb_ctype_t ctype, size_t asize, int hsize_lg2, upb_alloc *a)
 
void upb_inttable_uninit2 (upb_inttable *t, upb_alloc *a)
 
static bool upb_isalphanum (char c)
 
static bool upb_isbetween (char c, char low, char high)
 
static bool upb_isident (upb_strview name, bool full, upb_status *s)
 
static bool upb_isletter (char c)
 
void upb_json_codecache_free (upb_json_codecache *c)
 
const upb_json_parsermethodupb_json_codecache_get (upb_json_codecache *c, const upb_msgdef *md)
 
upb_json_codecacheupb_json_codecache_new (void)
 
upb_json_parserupb_json_parser_create (upb_arena *arena, const upb_json_parsermethod *method, const upb_symtab *symtab, upb_sink output, upb_status *status, bool ignore_json_unknown)
 
upb_bytessink upb_json_parser_input (upb_json_parser *p)
 
const upb_byteshandlerupb_json_parsermethod_inputhandler (const upb_json_parsermethod *m)
 
upb_json_printerupb_json_printer_create (upb_arena *a, const upb_handlers *h, upb_bytessink output)
 
upb_sink upb_json_printer_input (upb_json_printer *p)
 
upb_handlercacheupb_json_printer_newcache (bool preserve_proto_fieldnames)
 
static int64_t upb_mktime (const struct tm *tp)
 
void upb_msg_addunknown (upb_msg *msg, const char *data, size_t len, upb_arena *arena)
 
void upb_msg_field_begin (upb_msg_field_iter *iter, const upb_msgdef *m)
 
bool upb_msg_field_done (const upb_msg_field_iter *iter)
 
bool upb_msg_field_iter_isequal (const upb_msg_field_iter *iter1, const upb_msg_field_iter *iter2)
 
void upb_msg_field_iter_setdone (upb_msg_field_iter *iter)
 
void upb_msg_field_next (upb_msg_field_iter *iter)
 
static uint8_t upb_msg_fielddefsize (const upb_fielddef *f)
 
static upb_msg_internalupb_msg_getinternal (upb_msg *msg)
 
static const upb_msg_internalupb_msg_getinternal_const (const upb_msg *msg)
 
static upb_msg_internal_withextupb_msg_getinternalwithext (upb_msg *msg, const upb_msglayout *l)
 
bool upb_msg_getscalarhandlerdata (const upb_handlers *h, upb_selector_t s, upb_fieldtype_t *type, size_t *offset, int32_t *hasbit)
 
const char * upb_msg_getunknown (const upb_msg *msg, size_t *len)
 
static int upb_msg_internalsize (const upb_msglayout *l)
 
upb_fielddefupb_msg_iter_field (const upb_msg_field_iter *iter)
 
const upb_oneofdefupb_msg_iter_oneof (const upb_msg_oneof_iter *iter)
 
upb_msgupb_msg_new (const upb_msglayout *l, upb_arena *a)
 
void upb_msg_oneof_begin (upb_msg_oneof_iter *iter, const upb_msgdef *m)
 
bool upb_msg_oneof_done (const upb_msg_oneof_iter *iter)
 
bool upb_msg_oneof_iter_isequal (const upb_msg_oneof_iter *iter1, const upb_msg_oneof_iter *iter2)
 
void upb_msg_oneof_iter_setdone (upb_msg_oneof_iter *iter)
 
void upb_msg_oneof_next (upb_msg_oneof_iter *iter)
 
bool upb_msg_setscalarhandler (upb_handlers *h, const upb_fielddef *f, size_t offset, int32_t hasbit)
 
static size_t upb_msg_sizeof (const upb_msglayout *l)
 
const upb_filedefupb_msgdef_file (const upb_msgdef *m)
 
const char * upb_msgdef_fullname (const upb_msgdef *m)
 
bool upb_msgdef_isnumberwrapper (const upb_msgdef *m)
 
const upb_fielddefupb_msgdef_itof (const upb_msgdef *m, uint32_t i)
 
bool upb_msgdef_lookupname (const upb_msgdef *m, const char *name, size_t len, const upb_fielddef **f, const upb_oneofdef **o)
 
bool upb_msgdef_mapentry (const upb_msgdef *m)
 
const char * upb_msgdef_name (const upb_msgdef *m)
 
const upb_fielddefupb_msgdef_ntof (const upb_msgdef *m, const char *name, size_t len)
 
const upb_oneofdefupb_msgdef_ntoo (const upb_msgdef *m, const char *name, size_t len)
 
int upb_msgdef_numfields (const upb_msgdef *m)
 
int upb_msgdef_numoneofs (const upb_msgdef *m)
 
size_t upb_msgdef_selectorcount (const upb_msgdef *m)
 
uint32_t upb_msgdef_submsgfieldcount (const upb_msgdef *m)
 
upb_syntax_t upb_msgdef_syntax (const upb_msgdef *m)
 
upb_wellknowntype_t upb_msgdef_wellknowntype (const upb_msgdef *m)
 
void upb_msgfactory_free (upb_msgfactory *f)
 
const upb_msglayoutupb_msgfactory_getlayout (upb_msgfactory *f, const upb_msgdef *m)
 
upb_msgfactoryupb_msgfactory_new (const upb_symtab *symtab)
 
const upb_symtabupb_msgfactory_symtab (const upb_msgfactory *f)
 
static void upb_msglayout_free (upb_msglayout *l)
 
static bool upb_msglayout_init (const upb_msgdef *m, upb_msglayout *l, upb_msgfactory *factory)
 
static size_t upb_msglayout_place (upb_msglayout *l, size_t size)
 
static size_t upb_msgval_sizeof2 (upb_fieldtype_t type)
 
uint32_t upb_murmur_hash2 (const void *key, size_t len, uint32_t seed)
 
bool upb_ok (const upb_status *status)
 
void upb_oneof_begin (upb_oneof_iter *iter, const upb_oneofdef *o)
 
bool upb_oneof_done (upb_oneof_iter *iter)
 
upb_fielddefupb_oneof_iter_field (const upb_oneof_iter *iter)
 
void upb_oneof_iter_setdone (upb_oneof_iter *iter)
 
void upb_oneof_next (upb_oneof_iter *iter)
 
const upb_msgdefupb_oneofdef_containingtype (const upb_oneofdef *o)
 
uint32_t upb_oneofdef_index (const upb_oneofdef *o)
 
const upb_fielddefupb_oneofdef_itof (const upb_oneofdef *o, uint32_t num)
 
const char * upb_oneofdef_name (const upb_oneofdef *o)
 
const upb_fielddefupb_oneofdef_ntof (const upb_oneofdef *o, const char *name, size_t length)
 
int upb_oneofdef_numfields (const upb_oneofdef *o)
 
upb_pb_encoderupb_pb_encoder_create (upb_arena *arena, const upb_handlers *h, upb_bytessink output)
 
upb_sink upb_pb_encoder_input (upb_pb_encoder *e)
 
upb_handlercacheupb_pb_encoder_newcache (void)
 
void upb_pb_encoder_reset (upb_pb_encoder *e)
 
bool upb_pbcodecache_allowjit (const upb_pbcodecache *c)
 
void upb_pbcodecache_free (upb_pbcodecache *c)
 
const upb_pbdecodermethodupb_pbcodecache_get (upb_pbcodecache *c, const upb_msgdef *md)
 
upb_pbcodecacheupb_pbcodecache_new (upb_handlercache *dest)
 
void upb_pbcodecache_setallowjit (upb_pbcodecache *c, bool allow)
 
uint64_t upb_pbdecoder_bytesparsed (const upb_pbdecoder *d)
 
UPB_NOINLINE int32_t upb_pbdecoder_checktag_slow (upb_pbdecoder *d, uint64_t expected)
 
upb_pbdecoderupb_pbdecoder_create (upb_arena *a, const upb_pbdecodermethod *m, upb_sink sink, upb_status *status)
 
size_t upb_pbdecoder_decode (void *decoder, const void *group, const char *buf, size_t size, const upb_bufhandle *handle)
 
int32_t upb_pbdecoder_decode_f32 (upb_pbdecoder *d, uint32_t *u32)
 
int32_t upb_pbdecoder_decode_f64 (upb_pbdecoder *d, uint64_t *u64)
 
UPB_NOINLINE int32_t upb_pbdecoder_decode_varint_slow (upb_pbdecoder *d, uint64_t *u64)
 
bool upb_pbdecoder_end (void *closure, const void *handler_data)
 
upb_bytessink upb_pbdecoder_input (upb_pbdecoder *d)
 
size_t upb_pbdecoder_maxnesting (const upb_pbdecoder *d)
 
const upb_pbdecodermethodupb_pbdecoder_method (const upb_pbdecoder *d)
 
void upb_pbdecoder_reset (upb_pbdecoder *d)
 
int32_t upb_pbdecoder_resume (upb_pbdecoder *d, void *p, const char *buf, size_t size, const upb_bufhandle *handle)
 
void upb_pbdecoder_seterr (upb_pbdecoder *d, const char *msg)
 
bool upb_pbdecoder_setmaxnesting (upb_pbdecoder *d, size_t max)
 
int32_t upb_pbdecoder_skipunknown (upb_pbdecoder *d, int32_t fieldnum, uint8_t wire_type)
 
void * upb_pbdecoder_startbc (void *closure, const void *pc, size_t size_hint)
 
void * upb_pbdecoder_startjit (void *closure, const void *hd, size_t size_hint)
 
size_t upb_pbdecoder_suspend (upb_pbdecoder *d)
 
const upb_handlersupb_pbdecodermethod_desthandlers (const upb_pbdecodermethod *m)
 
const upb_byteshandlerupb_pbdecodermethod_inputhandler (const upb_pbdecodermethod *m)
 
bool upb_pbdecodermethod_isnative (const upb_pbdecodermethod *m)
 
void upb_pbdecodermethodopts_setlazy (upb_pbcodecache *c, bool lazy)
 
static bool upb_put_bytes (upb_encstate *e, const void *data, size_t len)
 
static bool upb_put_double (upb_encstate *e, double d)
 
static bool upb_put_fixed32 (upb_encstate *e, uint32_t val)
 
static bool upb_put_fixed64 (upb_encstate *e, uint64_t val)
 
static bool upb_put_fixedarray (upb_encstate *e, const upb_array *arr, size_t size)
 
static bool upb_put_float (upb_encstate *e, float d)
 
static bool upb_put_tag (upb_encstate *e, int field_number, int wire_type)
 
static bool upb_put_varint (upb_encstate *e, uint64_t val)
 
static uint32_t upb_readcase (const char *msg, const upb_msglayout_field *f)
 
static bool upb_readhasbit (const char *msg, const upb_msglayout_field *f)
 
static size_t upb_roundup_pow2 (size_t bytes)
 
static void upb_set32 (void *msg, size_t ofs, uint32_t val)
 
static void upb_sethasbit (upb_decframe *frame, const upb_msglayout_field *field)
 
static void upb_setoneofcase (upb_decframe *frame, const upb_msglayout_field *field)
 
static bool upb_skip_unknownfielddata (upb_decstate *d, uint32_t tag, uint32_t group_fieldnum)
 
static bool upb_skip_unknowngroup (upb_decstate *d, int field_number)
 
void upb_status_clear (upb_status *status)
 
const char * upb_status_errmsg (const upb_status *status)
 
void upb_status_seterrf (upb_status *status, const char *fmt,...)
 
void upb_status_seterrmsg (upb_status *status, const char *msg)
 
void upb_status_vseterrf (upb_status *status, const char *fmt, va_list args)
 
char * upb_strdup (const char *s, upb_alloc *a)
 
char * upb_strdup2 (const char *s, size_t len, upb_alloc *a)
 
void upb_stringsink_init (upb_stringsink *sink)
 
void upb_stringsink_uninit (upb_stringsink *sink)
 
void upb_strtable_begin (upb_strtable_iter *i, const upb_strtable *t)
 
bool upb_strtable_done (const upb_strtable_iter *i)
 
bool upb_strtable_init2 (upb_strtable *t, upb_ctype_t ctype, upb_alloc *a)
 
bool upb_strtable_insert3 (upb_strtable *t, const char *k, size_t len, upb_value v, upb_alloc *a)
 
bool upb_strtable_iter_isequal (const upb_strtable_iter *i1, const upb_strtable_iter *i2)
 
const char * upb_strtable_iter_key (const upb_strtable_iter *i)
 
size_t upb_strtable_iter_keylength (const upb_strtable_iter *i)
 
void upb_strtable_iter_setdone (upb_strtable_iter *i)
 
upb_value upb_strtable_iter_value (const upb_strtable_iter *i)
 
bool upb_strtable_lookup2 (const upb_strtable *t, const char *key, size_t len, upb_value *v)
 
void upb_strtable_next (upb_strtable_iter *i)
 
bool upb_strtable_remove3 (upb_strtable *t, const char *key, size_t len, upb_value *val, upb_alloc *alloc)
 
bool upb_strtable_resize (upb_strtable *t, size_t size_lg2, upb_alloc *a)
 
void upb_strtable_uninit2 (upb_strtable *t, upb_alloc *a)
 
const upb_filedefupb_symtab_addfile (upb_symtab *s, const google_protobuf_FileDescriptorProto *file_proto, upb_status *status)
 
static bool upb_symtab_addtotabs (upb_symtab *s, symtab_addctx *ctx, upb_status *status)
 
void upb_symtab_free (upb_symtab *s)
 
const upb_enumdefupb_symtab_lookupenum (const upb_symtab *s, const char *sym)
 
const upb_filedefupb_symtab_lookupfile (const upb_symtab *s, const char *name)
 
const upb_msgdefupb_symtab_lookupmsg (const upb_symtab *s, const char *sym)
 
const upb_msgdefupb_symtab_lookupmsg2 (const upb_symtab *s, const char *sym, size_t len)
 
upb_symtabupb_symtab_new (void)
 
upb_textprinterupb_textprinter_create (upb_arena *arena, const upb_handlers *h, upb_bytessink output)
 
upb_sink upb_textprinter_input (upb_textprinter *p)
 
upb_handlercacheupb_textprinter_newcache (void)
 
void upb_textprinter_setsingleline (upb_textprinter *p, bool single_line)
 
upb_decoderet upb_vdecode_max8_branch32 (upb_decoderet r)
 
upb_decoderet upb_vdecode_max8_branch64 (upb_decoderet r)
 
static int32_t upb_zzdecode_32 (uint32_t n)
 
static int64_t upb_zzdecode_64 (uint64_t n)
 
static uint32_t upb_zzencode_32 (int32_t n)
 
static uint64_t upb_zzencode_64 (int64_t n)
 

Variables

const unsigned short int __mon_yday [2][13]
 
static const char _json_actions []
 
static const unsigned char _json_eof_actions []
 
static const short _json_index_offsets []
 
static const unsigned char _json_indicies []
 
static const short _json_key_offsets []
 
static const char _json_range_lengths []
 
static const char _json_single_lengths []
 
static const unsigned char _json_trans_actions []
 
static const char _json_trans_keys []
 
static const char _json_trans_targs []
 
char _upb_noclosure
 
static const signed char b64table []
 
static const char dummy_char
 
static const char eof_ch = 'e'
 
static const upb_msglayout_field google_protobuf_DescriptorProto__fields [10]
 
static const upb_msglayout_field google_protobuf_DescriptorProto_ExtensionRange__fields [3]
 
const upb_msglayout google_protobuf_DescriptorProto_ExtensionRange_msginit
 
static const upb_msglayout *const google_protobuf_DescriptorProto_ExtensionRange_submsgs [1]
 
const upb_msglayout google_protobuf_DescriptorProto_msginit
 
static const upb_msglayout_field google_protobuf_DescriptorProto_ReservedRange__fields [2]
 
const upb_msglayout google_protobuf_DescriptorProto_ReservedRange_msginit
 
static const upb_msglayout *const google_protobuf_DescriptorProto_submsgs [8]
 
static const upb_msglayout_field google_protobuf_EnumDescriptorProto__fields [5]
 
static const upb_msglayout_field google_protobuf_EnumDescriptorProto_EnumReservedRange__fields [2]
 
const upb_msglayout google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit
 
const upb_msglayout google_protobuf_EnumDescriptorProto_msginit
 
static const upb_msglayout *const google_protobuf_EnumDescriptorProto_submsgs [3]
 
static const upb_msglayout_field google_protobuf_EnumOptions__fields [3]
 
const upb_msglayout google_protobuf_EnumOptions_msginit
 
static const upb_msglayout *const google_protobuf_EnumOptions_submsgs [1]
 
static const upb_msglayout_field google_protobuf_EnumValueDescriptorProto__fields [3]
 
const upb_msglayout google_protobuf_EnumValueDescriptorProto_msginit
 
static const upb_msglayout *const google_protobuf_EnumValueDescriptorProto_submsgs [1]
 
static const upb_msglayout_field google_protobuf_EnumValueOptions__fields [2]
 
const upb_msglayout google_protobuf_EnumValueOptions_msginit
 
static const upb_msglayout *const google_protobuf_EnumValueOptions_submsgs [1]
 
static const upb_msglayout_field google_protobuf_ExtensionRangeOptions__fields [1]
 
const upb_msglayout google_protobuf_ExtensionRangeOptions_msginit
 
static const upb_msglayout *const google_protobuf_ExtensionRangeOptions_submsgs [1]
 
static const upb_msglayout_field google_protobuf_FieldDescriptorProto__fields [10]
 
const upb_msglayout google_protobuf_FieldDescriptorProto_msginit
 
static const upb_msglayout *const google_protobuf_FieldDescriptorProto_submsgs [1]
 
static const upb_msglayout_field google_protobuf_FieldOptions__fields [7]
 
const upb_msglayout google_protobuf_FieldOptions_msginit
 
static const upb_msglayout *const google_protobuf_FieldOptions_submsgs [1]
 
static const upb_msglayout_field google_protobuf_FileDescriptorProto__fields [12]
 
const upb_msglayout google_protobuf_FileDescriptorProto_msginit
 
static const upb_msglayout *const google_protobuf_FileDescriptorProto_submsgs [6]
 
static const upb_msglayout_field google_protobuf_FileDescriptorSet__fields [1]
 
const upb_msglayout google_protobuf_FileDescriptorSet_msginit
 
static const upb_msglayout *const google_protobuf_FileDescriptorSet_submsgs [1]
 
static const upb_msglayout_field google_protobuf_FileOptions__fields [21]
 
const upb_msglayout google_protobuf_FileOptions_msginit
 
static const upb_msglayout *const google_protobuf_FileOptions_submsgs [1]
 
static const upb_msglayout_field google_protobuf_GeneratedCodeInfo__fields [1]
 
static const upb_msglayout_field google_protobuf_GeneratedCodeInfo_Annotation__fields [4]
 
const upb_msglayout google_protobuf_GeneratedCodeInfo_Annotation_msginit
 
const upb_msglayout google_protobuf_GeneratedCodeInfo_msginit
 
static const upb_msglayout *const google_protobuf_GeneratedCodeInfo_submsgs [1]
 
static const upb_msglayout_field google_protobuf_MessageOptions__fields [5]
 
const upb_msglayout google_protobuf_MessageOptions_msginit
 
static const upb_msglayout *const google_protobuf_MessageOptions_submsgs [1]
 
static const upb_msglayout_field google_protobuf_MethodDescriptorProto__fields [6]
 
const upb_msglayout google_protobuf_MethodDescriptorProto_msginit
 
static const upb_msglayout *const google_protobuf_MethodDescriptorProto_submsgs [1]
 
static const upb_msglayout_field google_protobuf_MethodOptions__fields [3]
 
const upb_msglayout google_protobuf_MethodOptions_msginit
 
static const upb_msglayout *const google_protobuf_MethodOptions_submsgs [1]
 
static const upb_msglayout_field google_protobuf_OneofDescriptorProto__fields [2]
 
const upb_msglayout google_protobuf_OneofDescriptorProto_msginit
 
static const upb_msglayout *const google_protobuf_OneofDescriptorProto_submsgs [1]
 
static const upb_msglayout_field google_protobuf_OneofOptions__fields [1]
 
const upb_msglayout google_protobuf_OneofOptions_msginit
 
static const upb_msglayout *const google_protobuf_OneofOptions_submsgs [1]
 
static const upb_msglayout_field google_protobuf_ServiceDescriptorProto__fields [3]
 
const upb_msglayout google_protobuf_ServiceDescriptorProto_msginit
 
static const upb_msglayout *const google_protobuf_ServiceDescriptorProto_submsgs [2]
 
static const upb_msglayout_field google_protobuf_ServiceOptions__fields [2]
 
const upb_msglayout google_protobuf_ServiceOptions_msginit
 
static const upb_msglayout *const google_protobuf_ServiceOptions_submsgs [1]
 
static const upb_msglayout_field google_protobuf_SourceCodeInfo__fields [1]
 
static const upb_msglayout_field google_protobuf_SourceCodeInfo_Location__fields [5]
 
const upb_msglayout google_protobuf_SourceCodeInfo_Location_msginit
 
const upb_msglayout google_protobuf_SourceCodeInfo_msginit
 
static const upb_msglayout *const google_protobuf_SourceCodeInfo_submsgs [1]
 
static const upb_msglayout_field google_protobuf_UninterpretedOption__fields [7]
 
const upb_msglayout google_protobuf_UninterpretedOption_msginit
 
static const upb_msglayout_field google_protobuf_UninterpretedOption_NamePart__fields [2]
 
const upb_msglayout google_protobuf_UninterpretedOption_NamePart_msginit
 
static const upb_msglayout *const google_protobuf_UninterpretedOption_submsgs [1]
 
static opcode halt = OP_HALT
 
const char inf [] = "\"Infinity\""
 
static const int json_en_duration_machine = 40
 
static const int json_en_fieldmask_machine = 75
 
static const int json_en_main = 1
 
static const int json_en_number_machine = 23
 
static const int json_en_string_machine = 32
 
static const int json_en_timestamp_machine = 47
 
static const int json_en_value_machine = 78
 
static const int json_start = 1
 
static const char kControlCharLimit = 0x20
 
const char * kPbDecoderStackOverflow = "Nesting too deep."
 
const char * kPbDecoderSubmessageTooLong
 
static const char * kUnterminatedVarint = "Unterminated varint."
 
static const double MAX_LOAD = 0.85
 
static const size_t maxalign = 16
 
static const double MIN_DENSITY = 0.1
 
const char neginf [] = "\"-Infinity\""
 
const size_t ptr_words = sizeof(void*) / sizeof(uint32_t)
 
static char suspend_capture
 
upb_alloc upb_alloc_global = {&upb_global_allocfunc}
 
const uint8_t upb_desctype_to_fieldtype []
 
const uint8_t upb_pb_native_wire_types []
 

Macro Definition Documentation

◆ ARRAY_SIZE

#define ARRAY_SIZE (   x)    ((sizeof(x)/sizeof(0[x])) / ((size_t)(!(sizeof(x) % sizeof(0[x])))))

◆ CASE [1/2]

#define CASE (   capitaltype,
  smalltype,
  ctype,
  min,
  max 
)
Value:
case UPB_TYPE_ ## capitaltype: { \
if (modf(val, &dummy) != 0 || val > max || val < min) { \
return false; \
} else { \
upb_sink_put ## smalltype(p->top->sink, parser_getsel(p), \
(ctype)val); \
return true; \
} \
break; \
}

◆ CASE [2/2]

#define CASE (   ctype,
  type,
  wire_type,
  encodeval 
)
Value:
do { \
ctype val = *(ctype*)field_mem; \
if (skip_zero_value && val == 0) { \
return true; \
} \
return upb_put_ ## type(e, encodeval) && \
upb_put_tag(e, f->number, wire_type); \
} while(0)

◆ CHECK

#define CHECK (   x)    if ((x) < 0) goto err;

◆ CHECK_RETURN_TOP

#define CHECK_RETURN_TOP (   x)    if (!(x)) goto error

◆ CHECK_SUSPEND

#define CHECK_SUSPEND (   x)    if (!(x)) return upb_pbdecoder_suspend(d);

◆ CHK [1/4]

#define CHK (   val)    if (!(val)) return false;

◆ CHK [2/4]

#define CHK (   x)    if (!(x)) { return 0; }

◆ CHK [3/4]

#define CHK (   x)    do { if (!(x)) { return false; } } while(0)

◆ CHK [4/4]

#define CHK (   x)    if (!(x)) { return false; }

◆ CHK_OOM

#define CHK_OOM (   x)    if (!(x)) { upb_status_setoom(ctx->status); return false; }

◆ CHKFMT

#define CHKFMT (   val)    if ((val) == (size_t)-1) return false;

◆ CHKLENGTH

#define CHKLENGTH (   x)    if (!(x)) return -1;

◆ EMPTYLABEL

#define EMPTYLABEL   -1

◆ EPOCH_YEAR

#define EPOCH_YEAR   1970

◆ LABEL_ENDMSG

#define LABEL_ENDMSG   4 /* To reach the OP_ENDMSG instr for this msg. */

◆ LABEL_FIELD

#define LABEL_FIELD   3 /* Jump backward to find the most recent field. */

◆ LABEL_LOOPBREAK

#define LABEL_LOOPBREAK   2 /* To jump out of a repeated loop */

◆ LABEL_LOOPSTART

#define LABEL_LOOPSTART   1 /* Top of a repeated field loop. */

◆ MAXLABEL

#define MAXLABEL   5

◆ MIX

#define MIX (   h,
  k,
 
)    { k *= m; k ^= k >> r; k *= m; h *= m; h ^= k; }

◆ MSG_WRITER

#define MSG_WRITER (   type,
  ctype 
)
Value:
bool upb_msg_set ## type (void *c, const void *hd, ctype val) { \
uint8_t *m = c; \
const upb_msg_handlerdata *d = hd; \
if (d->hasbit > 0) \
*(uint8_t*)&m[d->hasbit / 8] |= 1 << (d->hasbit % 8); \
*(ctype*)&m[d->offset] = val; \
return true; \
} \

Definition at line 5389 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ PARSER_CHECK_RETURN

#define PARSER_CHECK_RETURN (   x)    if (!(x)) return false

◆ PRIMITIVE_OP

#define PRIMITIVE_OP (   type,
  wt,
  name,
  convfunc,
  ctype 
)
Value:
VMCASE(OP_PARSE_ ## type, { \
ctype val; \
CHECK_RETURN(decode_ ## wt(d, &val)); \
upb_sink_put ## name(d->top->sink, arg, (convfunc)(val)); \
})

◆ SETTER

#define SETTER (   name,
  handlerctype,
  handlertype 
)
Value:
bool upb_handlers_set##name(upb_handlers *h, const upb_fielddef *f, \
handlerctype func, \
const upb_handlerattr *attr) { \
int32_t sel = trygetsel(h, f, handlertype); \
return doset(h, sel, f, handlertype, (upb_func *)func, attr); \
}

Definition at line 5111 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ STRINGIFY_HELPER

#define STRINGIFY_HELPER (   x)    #x

◆ STRINGIFY_MACROVAL

#define STRINGIFY_MACROVAL (   x)    STRINGIFY_HELPER(x)

◆ SUBH

#define SUBH (   h,
  selector 
)    (h->sub[selector])

◆ SUBH_F

#define SUBH_F (   h,
 
)    SUBH(h, upb_fielddef_index(f))

◆ T [1/2]

#define T (   type,
  ctype,
  convert,
  encode 
)
Value:
static bool encode_scalar_##type(void *e, const void *hd, ctype val) { \
return encode_tag(e, hd) && encode(e, (convert)(val)) && commit(e); \
} \
static bool encode_packed_##type(void *e, const void *hd, ctype val) { \
UPB_UNUSED(hd); \
return encode(e, (convert)(val)); \
}

Definition at line 7897 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ T [2/2]

#define T (   upper,
  lower,
  upbtype 
)
Value:
case UPB_DESCRIPTOR_TYPE_##upper: \
if (packed) { \
upb_handlers_set##upbtype(h, f, encode_packed_##lower, &attr); \
} else { \
upb_handlers_set##upbtype(h, f, encode_scalar_##lower, &attr); \
} \
break;

Definition at line 7897 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ TM_YEAR_BASE

#define TM_YEAR_BASE   1900

◆ TYPE [1/3]

#define TYPE (   name,
  ctype,
  fmt 
)
Value:
static bool textprinter_put ## name(void *closure, const void *handler_data, \
ctype val) { \
upb_textprinter *p = closure; \
const upb_fielddef *f = handler_data; \
CHECK(indent(p)); \
putf(p, "%s: " fmt, upb_fielddef_name(f), val); \
CHECK(endfield(p)); \
return true; \
err: \
return false; \
}

Definition at line 8202 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ TYPE [2/3]

#define TYPE (   type,
  name,
  ctype 
)
Value:
case type: \
upb_handlers_set##name(h, f, repeated_##ctype, &empty_attr); \
} else { \
upb_handlers_set##name(h, f, scalar_##ctype, &name_attr); \
} \
break;

Definition at line 8202 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ TYPE [3/3]

#define TYPE (   u,
 
)
Value:
case UPB_TYPE_##u: \
ok = upb_handlers_set##l(h, f, upb_msg_set##l, &attr); break;

Definition at line 8202 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ TYPE_HANDLERS

#define TYPE_HANDLERS (   type,
  fmt_func 
)
Value:
static bool put##type(void *closure, const void *handler_data, type val) { \
upb_json_printer *p = closure; \
char data[64]; \
size_t length = fmt_func(val, data, sizeof(data)); \
UPB_UNUSED(handler_data); \
CHKFMT(length); \
print_data(p, data, length); \
return true; \
} \
static bool scalar_##type(void *closure, const void *handler_data, \
type val) { \
CHK(putkey(closure, handler_data)); \
CHK(put##type(closure, handler_data, val)); \
return true; \
} \
static bool repeated_##type(void *closure, const void *handler_data, \
type val) { \
upb_json_printer *p = closure; \
print_comma(p); \
CHK(put##type(closure, handler_data, val)); \
return true; \
}

Definition at line 12170 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ TYPE_HANDLERS_MAPKEY

#define TYPE_HANDLERS_MAPKEY (   type,
  fmt_func 
)
Value:
static bool putmapkey_##type(void *closure, const void *handler_data, \
type val) { \
upb_json_printer *p = closure; \
char data[64]; \
size_t length = fmt_func(val, data, sizeof(data)); \
UPB_UNUSED(handler_data); \
print_data(p, "\"", 1); \
print_data(p, data, length); \
print_data(p, "\":", 2); \
return true; \
}

Definition at line 12194 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ upb_alignof

#define upb_alignof (   type)    offsetof (struct { char c; type member; }, member)

◆ UPB_ASSERT

#define UPB_ASSERT (   expr)    assert(expr)

◆ UPB_ASSERT_DEBUGVAR

#define UPB_ASSERT_DEBUGVAR (   expr)    assert(expr)

◆ UPB_DURATION_MAX_JSON_LEN

#define UPB_DURATION_MAX_JSON_LEN   23

◆ UPB_DURATION_MAX_NANO_LEN

#define UPB_DURATION_MAX_NANO_LEN   9

◆ UPB_FIELD_AT

#define UPB_FIELD_AT (   msg,
  fieldtype,
  offset 
)    *(fieldtype*)((const char*)(msg) + offset)

◆ UPB_FORCEINLINE

#define UPB_FORCEINLINE

◆ UPB_INFINITY

#define UPB_INFINITY   (1.0 / 0.0)

◆ UPB_INLINE

#define UPB_INLINE   static

◆ UPB_JSON_MAX_DEPTH

#define UPB_JSON_MAX_DEPTH   64

◆ UPB_LIKELY

#define UPB_LIKELY (   x)    (x)

◆ UPB_MAX

#define UPB_MAX (   x,
  y 
)    ((x) > (y) ? (x) : (y))

◆ UPB_MAXARRSIZE

#define UPB_MAXARRSIZE   16 /* 64k. */

◆ UPB_MIN

#define UPB_MIN (   x,
  y 
)    ((x) < (y) ? (x) : (y))

◆ UPB_NOINLINE

#define UPB_NOINLINE

◆ UPB_NORETURN

#define UPB_NORETURN

◆ UPB_PB_VARINT_MAX_LEN

#define UPB_PB_VARINT_MAX_LEN   10

◆ UPB_READ_ONEOF

#define UPB_READ_ONEOF (   msg,
  fieldtype,
  offset,
  case_offset,
  case_val,
  default 
)
Value:
UPB_FIELD_AT(msg, int, case_offset) == case_val \
? UPB_FIELD_AT(msg, fieldtype, offset) \
: default

Definition at line 38 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ UPB_SIZE

#define UPB_SIZE (   size32,
  size64 
)    size64

◆ UPB_STATIC_SELECTOR_COUNT

#define UPB_STATIC_SELECTOR_COUNT   3 /* Warning: also in upb/handlers.h. */

◆ UPB_TIMESTAMP_BEFORE_NANO_LEN

#define UPB_TIMESTAMP_BEFORE_NANO_LEN   19

◆ UPB_TIMESTAMP_MAX_JSON_LEN

#define UPB_TIMESTAMP_MAX_JSON_LEN   31

◆ UPB_TIMESTAMP_MAX_NANO_LEN

#define UPB_TIMESTAMP_MAX_NANO_LEN   9

◆ UPB_UNLIKELY

#define UPB_UNLIKELY (   x)    (x)

◆ UPB_UNREACHABLE

#define UPB_UNREACHABLE ( )    do { assert(0); } while(0)

◆ UPB_UNUSED

#define UPB_UNUSED (   var)    (void)var

◆ UPB_WRITE_ONEOF

#define UPB_WRITE_ONEOF (   msg,
  fieldtype,
  offset,
  value,
  case_offset,
  case_val 
)
Value:
UPB_FIELD_AT(msg, int, case_offset) = case_val; \
UPB_FIELD_AT(msg, fieldtype, offset) = value;

Definition at line 43 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ VARINT_CASE [1/2]

#define VARINT_CASE (   ctype,
  decode 
)    VARINT_CASE_EX(ctype, decode, decode)

◆ VARINT_CASE [2/2]

#define VARINT_CASE (   ctype,
  encode 
)
Value:
{ \
ctype *start = arr->data; \
ctype *ptr = start + arr->len; \
size_t pre_len = e->limit - e->ptr; \
do { \
ptr--; \
CHK(upb_put_varint(e, encode)); \
} while (ptr != start); \
CHK(upb_put_varint(e, e->limit - e->ptr - pre_len)); \
} \
break; \
do { ; } while(0)

◆ VARINT_CASE_EX

#define VARINT_CASE_EX (   ctype,
  decode,
  dtype 
)
Value:
{ \
const char *ptr = d->ptr; \
const char *limit = ptr + len; \
while (ptr < limit) { \
uint64_t val; \
ctype decoded; \
CHK(upb_decode_varint(&ptr, limit, &val)); \
decoded = (decode)((dtype)val); \
CHK(upb_array_add(arr, 1, sizeof(decoded), &decoded, d->arena)); \
} \
d->ptr = ptr; \
return true; \
}

◆ VMCASE

#define VMCASE (   op,
  code 
)    case op: { code; if (consumes_input(op)) checkpoint(d); break; }

◆ VOIDPTR_AT

#define VOIDPTR_AT (   msg,
  ofs 
)    (void*)((char*)msg + (int)ofs)

◆ WRAPPER

#define WRAPPER (   wellknowntype,
  name 
)
Value:
case wellknowntype: \
printer_sethandlers_##name(closure, h); \
return; \

◆ WRAPPER_SETHANDLERS

#define WRAPPER_SETHANDLERS (   wrapper,
  type,
  putmethod 
)
Value:
void printer_sethandlers_##wrapper(const void *closure, upb_handlers *h) { \
const upb_fielddef* f = upb_msgdef_itof(md, 1); \
upb_handlerattr empty_attr = UPB_HANDLERATTR_INIT; \
upb_handlers_setstartmsg(h, printer_startmsg_noframe, &empty_attr); \
upb_handlers_setendmsg(h, printer_endmsg_noframe, &empty_attr); \
upb_handlers_set##type(h, f, putmethod, &empty_attr); \
UPB_UNUSED(closure); \
}

Definition at line 13087 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ WRITE

#define WRITE (   byte)
Value:
++dst; \
if (dst < len) buf[dst - 1] = byte; \
else if (dst == len) buf[dst - 1] = '\0'

Typedef Documentation

◆ cleanup_ent

typedef struct cleanup_ent cleanup_ent

◆ eqlfunc_t

typedef bool eqlfunc_t(upb_tabkey k1, lookupkey_t k2)

◆ hashfunc_t

typedef uint32_t hashfunc_t(upb_tabkey key)

◆ mem_block

typedef struct mem_block mem_block

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
VALUE_NULLVALUE 
VALUE_NUMBERVALUE 
VALUE_STRINGVALUE 
VALUE_BOOLVALUE 
VALUE_STRUCTVALUE 
VALUE_LISTVALUE 

Definition at line 8509 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ anonymous enum

anonymous enum
Enumerator
MULTIPART_INACTIVE 
MULTIPART_ACCUMULATE 
MULTIPART_PUSHEAGERLY 

Definition at line 9147 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ upb_deftype_t

Enumerator
UPB_DEFTYPE_MSG 
UPB_DEFTYPE_ENUM 
UPB_DEFTYPE_FIELD 
UPB_DEFTYPE_ONEOF 
UPB_DEFTYPE_MSG 
UPB_DEFTYPE_ENUM 
UPB_DEFTYPE_FIELD 
UPB_DEFTYPE_ONEOF 
UPB_DEFTYPE_FIELD 
UPB_DEFTYPE_MSG 
UPB_DEFTYPE_ENUM 
UPB_DEFTYPE_ONEOF 
UPB_DEFTYPE_FIELD_JSONNAME 
UPB_DEFTYPE_FIELD 
UPB_DEFTYPE_MSG 
UPB_DEFTYPE_ENUM 
UPB_DEFTYPE_ONEOF 
UPB_DEFTYPE_FIELD_JSONNAME 
UPB_DEFTYPE_MASK 
UPB_DEFTYPE_EXT 
UPB_DEFTYPE_MSG 
UPB_DEFTYPE_ENUM 
UPB_DEFTYPE_ENUMVAL 
UPB_DEFTYPE_SERVICE 
UPB_DEFTYPE_FIELD 
UPB_DEFTYPE_ONEOF 
UPB_DEFTYPE_FIELD_JSONNAME 
UPB_DEFTYPE_FILE 
UPB_DEFTYPE_LAYOUT 

Definition at line 3025 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

Function Documentation

◆ _upb_symtab_loaddefinit()

bool _upb_symtab_loaddefinit ( upb_symtab s,
const upb_def_init init 
)

◆ accumulate()

static void accumulate ( upb_pb_encoder e)
static

◆ accumulate_append()

static bool accumulate_append ( upb_json_parser p,
const char *  buf,
size_t  len,
bool  can_alias 
)
static

◆ accumulate_clear()

static void accumulate_clear ( upb_json_parser p)
static

◆ accumulate_getptr()

static const char* accumulate_getptr ( upb_json_parser p,
size_t *  len 
)
static

◆ accumulate_realloc()

static bool accumulate_realloc ( upb_json_parser p,
size_t  need 
)
static

◆ advance()

static void advance ( upb_pbdecoder d,
size_t  len 
)
static

◆ advancetobuf()

static void advancetobuf ( upb_pbdecoder d,
const char *  buf,
size_t  len 
)
static

◆ align_up()

static size_t align_up ( size_t  val,
size_t  align 
)
static

◆ align_up_max()

static size_t align_up_max ( size_t  size)
static

◆ as_double()

static double as_double ( uint64_t  n)
static

◆ as_float()

static float as_float ( uint32_t  n)
static

◆ assert_accumulate_empty()

static void assert_accumulate_empty ( upb_json_parser p)
static

◆ assign_msg_indices()

static bool assign_msg_indices ( upb_msgdef m,
upb_status s 
)
static

◆ assign_msg_wellknowntype()

static void assign_msg_wellknowntype ( upb_msgdef m)
static

◆ b64lookup()

int32_t b64lookup ( unsigned char  ch)

◆ base64_push()

static bool base64_push ( upb_json_parser p,
upb_selector_t  sel,
const char *  ptr,
size_t  len 
)
static

◆ begin()

static size_t begin ( const upb_table t)
static

◆ between()

static bool between ( int32_t  x,
int32_t  low,
int32_t  high 
)
static

◆ bufleft()

static size_t bufleft ( const upb_pbdecoder d)
static

◆ build_filedef()

static bool build_filedef ( const symtab_addctx ctx,
upb_filedef file,
const google_protobuf_FileDescriptorProto file_proto 
)
static

◆ callstacksize()

static size_t callstacksize ( upb_pbdecoder d,
size_t  entries 
)
static

◆ capture_begin()

static void capture_begin ( upb_json_parser p,
const char *  ptr 
)
static

◆ capture_end()

static bool capture_end ( upb_json_parser p,
const char *  ptr 
)
static

◆ capture_resume()

static void capture_resume ( upb_json_parser p,
const char *  ptr 
)
static

◆ capture_suspend()

static void capture_suspend ( upb_json_parser p,
const char **  ptr 
)
static

◆ check()

static void check ( upb_inttable t)
static

◆ check_stack()

static bool check_stack ( upb_json_parser p)
static

◆ checked_add()

static bool checked_add ( size_t  a,
size_t  b,
size_t *  c 
)
static

◆ checkpoint()

static void checkpoint ( upb_pbdecoder d)
static

◆ checkstart()

bool checkstart ( upb_handlers h,
const upb_fielddef f,
upb_handlertype_t  type,
upb_status status 
)

◆ chkdefaulttype()

static void chkdefaulttype ( const upb_fielddef f,
int  ctype 
)
static

◆ cmp_fields()

int cmp_fields ( const void *  p1,
const void *  p2 
)

◆ commit()

static bool commit ( upb_pb_encoder e)
static

◆ compile_method()

static void compile_method ( compiler c,
upb_pbdecodermethod method 
)
static

◆ compile_methods()

static void compile_methods ( compiler c)
static

◆ consumebytes()

static UPB_FORCEINLINE void consumebytes ( upb_pbdecoder d,
void *  buf,
size_t  bytes 
)
static

◆ consumes_input()

static bool consumes_input ( opcode  op)
static

◆ count_types_in_file()

static void count_types_in_file ( const google_protobuf_FileDescriptorProto file_proto,
decl_counts counts 
)
static

◆ count_types_in_msg()

static void count_types_in_msg ( const google_protobuf_DescriptorProto msg_proto,
decl_counts counts 
)
static

◆ create_enumdef()

static bool create_enumdef ( const symtab_addctx ctx,
const char *  prefix,
const google_protobuf_EnumDescriptorProto enum_proto 
)
static

◆ create_fielddef()

static bool create_fielddef ( const symtab_addctx ctx,
const char *  prefix,
upb_msgdef m,
const google_protobuf_FieldDescriptorProto field_proto 
)
static

◆ create_msgdef()

static bool create_msgdef ( const symtab_addctx ctx,
const char *  prefix,
const google_protobuf_DescriptorProto msg_proto 
)
static

◆ create_oneofdef()

static bool create_oneofdef ( const symtab_addctx ctx,
upb_msgdef m,
const google_protobuf_OneofDescriptorProto oneof_proto 
)
static

◆ curbufleft()

static size_t curbufleft ( const upb_pbdecoder d)
static

◆ dbl2uint64()

static uint64_t dbl2uint64 ( double  d)
static

◆ decode_fixed32()

static UPB_FORCEINLINE int32_t decode_fixed32 ( upb_pbdecoder d,
uint32_t u32 
)
static

◆ decode_fixed64()

static UPB_FORCEINLINE int32_t decode_fixed64 ( upb_pbdecoder d,
uint64_t u64 
)
static

◆ decode_v32()

static UPB_FORCEINLINE int32_t decode_v32 ( upb_pbdecoder d,
uint32_t u32 
)
static

◆ decode_varint()

static UPB_FORCEINLINE int32_t decode_varint ( upb_pbdecoder d,
uint64_t u64 
)
static

◆ decoder_pop()

static void decoder_pop ( upb_pbdecoder d)
static

◆ decoder_push()

static bool decoder_push ( upb_pbdecoder d,
uint64_t  end 
)
static

◆ delim_remaining()

size_t delim_remaining ( const upb_pbdecoder d)

◆ dispatch()

static int32_t dispatch ( upb_pbdecoder d)
static

◆ dispatchtarget()

static void dispatchtarget ( compiler c,
upb_pbdecodermethod method,
const upb_fielddef f,
int  wire_type 
)
static

◆ div_round_up()

static size_t div_round_up ( size_t  n,
size_t  d 
)
static

◆ does_fieldmask_end()

static bool does_fieldmask_end ( upb_json_parser p)
static

◆ does_fieldmask_start()

static bool does_fieldmask_start ( upb_json_parser p)
static

◆ does_number_wrapper_end()

static bool does_number_wrapper_end ( upb_json_parser p)
static

◆ does_number_wrapper_start()

static bool does_number_wrapper_start ( upb_json_parser p)
static

◆ does_string_wrapper_end()

static bool does_string_wrapper_end ( upb_json_parser p)
static

◆ does_string_wrapper_start()

static bool does_string_wrapper_start ( upb_json_parser p)
static

◆ doset()

static bool doset ( upb_handlers h,
int32_t  sel,
const upb_fielddef f,
upb_handlertype_t  type,
upb_func func,
const upb_handlerattr attr 
)
static

◆ effective_closure_type()

const void* effective_closure_type ( upb_handlers h,
const upb_fielddef f,
upb_handlertype_t  type 
)

◆ emptyent()

static upb_tabent* emptyent ( upb_table t)
static

◆ encode_bytes()

static bool encode_bytes ( upb_pb_encoder e,
const void *  data,
size_t  len 
)
static

◆ encode_enddelimfield()

static bool encode_enddelimfield ( void *  c,
const void *  hd 
)
static

◆ encode_endgroup()

static bool encode_endgroup ( void *  c,
const void *  hd 
)
static

◆ encode_fixed32()

static bool encode_fixed32 ( upb_pb_encoder e,
uint32_t  val 
)
static

◆ encode_fixed64()

static bool encode_fixed64 ( upb_pb_encoder e,
uint64_t  val 
)
static

◆ encode_startdelimfield()

static void* encode_startdelimfield ( void *  c,
const void *  hd 
)
static

◆ encode_startgroup()

static void* encode_startgroup ( void *  c,
const void *  hd 
)
static

◆ encode_startstr()

static void* encode_startstr ( void *  c,
const void *  hd,
size_t  size_hint 
)
static

◆ encode_strbuf()

static size_t encode_strbuf ( void *  c,
const void *  hd,
const char *  buf,
size_t  len,
const upb_bufhandle h 
)
static

◆ encode_tag()

static bool encode_tag ( upb_pb_encoder e,
const tag_t tag 
)
static

◆ encode_unknown()

static bool encode_unknown ( void *  c,
const void *  hd,
const char *  buf,
size_t  len 
)
static

◆ encode_varint()

static bool encode_varint ( upb_pb_encoder e,
uint64_t  val 
)
static

◆ encoder_advance()

static void encoder_advance ( upb_pb_encoder e,
size_t  bytes 
)
static

◆ end()

static bool end ( void *  closure,
const void *  hd 
)
static

◆ end_any_member()

static void end_any_member ( upb_json_parser p,
const char *  ptr 
)
static

◆ end_any_membername()

static bool end_any_membername ( upb_json_parser p)
static

◆ end_any_object()

static bool end_any_object ( upb_json_parser p,
const char *  ptr 
)
static

◆ end_any_stringval()

static bool end_any_stringval ( upb_json_parser p)
static

◆ end_array()

static void end_array ( upb_json_parser p)
static

◆ end_bool()

static bool end_bool ( upb_json_parser p,
bool  val 
)
static

◆ end_day()

static bool end_day ( upb_json_parser p,
const char *  ptr 
)
static

◆ end_delim()

static bool end_delim ( upb_pb_encoder e)
static

◆ end_duration_base()

static bool end_duration_base ( upb_json_parser p,
const char *  ptr 
)
static

◆ end_fieldmask_object()

static void end_fieldmask_object ( upb_json_parser p)
static

◆ end_fieldmask_path()

static bool end_fieldmask_path ( upb_json_parser p)
static

◆ end_fieldmask_path_text()

static bool end_fieldmask_path_text ( upb_json_parser p,
const char *  ptr 
)
static

◆ end_frame()

static void end_frame ( upb_json_printer p)
static

◆ end_hex()

static bool end_hex ( upb_json_parser p)
static

◆ end_hour()

static bool end_hour ( upb_json_parser p,
const char *  ptr 
)
static

◆ end_listvalue_object()

static void end_listvalue_object ( upb_json_parser p)
static

◆ end_member()

static void end_member ( upb_json_parser p)
static

◆ end_membername()

static bool end_membername ( upb_json_parser p)
static

◆ end_minute()

static bool end_minute ( upb_json_parser p,
const char *  ptr 
)
static

◆ end_month()

static bool end_month ( upb_json_parser p,
const char *  ptr 
)
static

◆ end_null()

static bool end_null ( upb_json_parser p)
static

◆ end_number()

static bool end_number ( upb_json_parser p,
const char *  ptr 
)
static

◆ end_number_nontop()

static bool end_number_nontop ( upb_json_parser p,
const char *  ptr 
)
static

◆ end_object()

static void end_object ( upb_json_parser p)
static

◆ end_second()

static bool end_second ( upb_json_parser p,
const char *  ptr 
)
static

◆ end_stringval()

static bool end_stringval ( upb_json_parser p)
static

◆ end_stringval_nontop()

static bool end_stringval_nontop ( upb_json_parser p)
static

◆ end_structvalue_object()

static void end_structvalue_object ( upb_json_parser p)
static

◆ end_subobject()

static void end_subobject ( upb_json_parser p)
static

◆ end_subobject_full()

static void end_subobject_full ( upb_json_parser p)
static

◆ end_text()

static bool end_text ( upb_json_parser p,
const char *  ptr 
)
static

◆ end_timestamp_fraction()

static bool end_timestamp_fraction ( upb_json_parser p,
const char *  ptr 
)
static

◆ end_timestamp_zone()

static bool end_timestamp_zone ( upb_json_parser p,
const char *  ptr 
)
static

◆ end_value_object()

static void end_value_object ( upb_json_parser p)
static

◆ end_wrapper_object()

static void end_wrapper_object ( upb_json_parser p)
static

◆ end_year()

static bool end_year ( upb_json_parser p,
const char *  ptr 
)
static

◆ endfield()

static int endfield ( upb_textprinter p)
static

◆ endmap()

static bool endmap ( void *  closure,
const void *  handler_data 
)
static

◆ endmsg()

static bool endmsg ( void *  c,
const void *  hd,
upb_status status 
)
static

◆ endseq()

static bool endseq ( void *  closure,
const void *  handler_data 
)
static

◆ endseq_fieldmask()

static bool endseq_fieldmask ( void *  closure,
const void *  handler_data 
)
static

◆ epoch()

int64_t epoch ( int  year,
int  yday,
int  hour,
int  min,
int  sec 
)

◆ escape()

static bool escape ( upb_json_parser p,
const char *  ptr 
)
static

◆ escape_char()

static char escape_char ( char  in)
static

◆ field_rank()

uint32_t field_rank ( const upb_fielddef f)

◆ find_methods()

static void find_methods ( compiler c,
const upb_handlers h 
)
static

◆ find_submethod()

static upb_pbdecodermethod* find_submethod ( const compiler c,
const upb_pbdecodermethod method,
const upb_fielddef f 
)
static

◆ findentry()

static const upb_tabent* findentry ( const upb_table t,
lookupkey_t  key,
uint32_t  hash,
eqlfunc_t eql 
)
static

◆ findentry_mutable()

static upb_tabent* findentry_mutable ( upb_table t,
lookupkey_t  key,
uint32_t  hash,
eqlfunc_t eql 
)
static

◆ flt2uint32()

static uint32_t flt2uint32 ( float  d)
static

◆ fmt_bool()

static size_t fmt_bool ( bool  val,
char *  buf,
size_t  length 
)
static

◆ fmt_double()

static size_t fmt_double ( double  val,
char *  buf,
size_t  length 
)
static

◆ fmt_float()

static size_t fmt_float ( float  val,
char *  buf,
size_t  length 
)
static

◆ fmt_int64_as_number()

static size_t fmt_int64_as_number ( long long  val,
char *  buf,
size_t  length 
)
static

◆ fmt_int64_as_string()

static size_t fmt_int64_as_string ( long long  val,
char *  buf,
size_t  length 
)
static

◆ fmt_uint64_as_number()

static size_t fmt_uint64_as_number ( unsigned long long  val,
char *  buf,
size_t  length 
)
static

◆ fmt_uint64_as_string()

static size_t fmt_uint64_as_string ( unsigned long long  val,
char *  buf,
size_t  length 
)
static

◆ freecompiler()

static void freecompiler ( compiler c)
static

◆ freegroup()

static void freegroup ( mgroup g)
static

◆ freemethod()

static void freemethod ( upb_pbdecodermethod method)
static

◆ freestrpc()

void freestrpc ( void *  ptr)

◆ generate_delimfield()

static void generate_delimfield ( compiler c,
const upb_fielddef f,
upb_pbdecodermethod method 
)
static

◆ generate_msgfield()

static void generate_msgfield ( compiler c,
const upb_fielddef f,
upb_pbdecodermethod method 
)
static

◆ generate_primitivefield()

static void generate_primitivefield ( compiler c,
const upb_fielddef f,
upb_pbdecodermethod method 
)
static

◆ get_encoded_tag()

static uint64_t get_encoded_tag ( const upb_fielddef f,
int  wire_type 
)
static

◆ getbytes()

static UPB_FORCEINLINE int32_t getbytes ( upb_pbdecoder d,
void *  buf,
size_t  bytes 
)
static

◆ getbytes_slow()

static UPB_NOINLINE int32_t getbytes_slow ( upb_pbdecoder d,
void *  buf,
size_t  bytes 
)
static

◆ getentry_mutable()

static upb_tabent* getentry_mutable ( upb_table t,
uint32_t  hash 
)
static

◆ getofs()

static int32_t getofs ( uint32_t  instruction)
static

◆ getsel()

static upb_selector_t getsel ( const upb_fielddef f,
upb_handlertype_t  type 
)
static

◆ getsel_for_handlertype()

static upb_selector_t getsel_for_handlertype ( upb_json_parser p,
upb_handlertype_t  type 
)
static

◆ goto_endmsg()

static void goto_endmsg ( upb_pbdecoder d)
static

◆ handle_mapentry()

static bool handle_mapentry ( upb_json_parser p)
static

◆ handlers_getsel()

static upb_selector_t handlers_getsel ( upb_handlers h,
const upb_fielddef f,
upb_handlertype_t  type 
)
static

◆ haslazyhandlers()

static bool haslazyhandlers ( const upb_handlers h,
const upb_fielddef f 
)
static

◆ hexdigit()

static void hexdigit ( upb_json_parser p,
const char *  ptr 
)
static

◆ in_buf()

static bool in_buf ( const char *  p,
const char *  buf,
const char *  end 
)
static

◆ in_residual_buf()

static bool in_residual_buf ( const upb_pbdecoder d,
const char *  p 
)
static

◆ indent()

static int indent ( upb_textprinter p)
static

◆ init()

static bool init ( upb_table t,
upb_ctype_t  ctype,
uint8_t  size_lg2,
upb_alloc a 
)
static

◆ init_frame()

static void init_frame ( upb_jsonparser_frame frame)
static

◆ insert()

static void insert ( upb_table t,
lookupkey_t  key,
upb_tabkey  tabkey,
upb_value  val,
uint32_t  hash,
hashfunc_t hashfunc,
eqlfunc_t eql 
)
static

◆ instruction_len()

static int instruction_len ( uint32_t  instr)
static

◆ int_arrent()

static upb_tabval int_arrent ( const upb_inttable_iter i)
static

◆ int_tabent()

static const upb_tabent* int_tabent ( const upb_inttable_iter i)
static

◆ inteql()

static bool inteql ( upb_tabkey  k1,
lookupkey_t  k2 
)
static

◆ inthash()

static uint32_t inthash ( upb_tabkey  key)
static

◆ intkey()

static lookupkey_t intkey ( uintptr_t  key)
static

◆ inttable_val()

static upb_tabval* inttable_val ( upb_inttable t,
uintptr_t  key 
)
static

◆ inttable_val_const()

static const upb_tabval* inttable_val_const ( const upb_inttable t,
uintptr_t  key 
)
static

◆ is_fieldmask()

static bool is_fieldmask ( const upb_msgdef m)
static

◆ is_json_escaped()

UPB_INLINE bool is_json_escaped ( char  c)

◆ is_number_wrapper_object()

static bool is_number_wrapper_object ( upb_json_parser p)
static

◆ is_pow2()

bool is_pow2 ( uint64_t  v)

◆ is_power_of_two()

static bool is_power_of_two ( size_t  val)
static

◆ is_string_wrapper()

static bool is_string_wrapper ( const upb_msgdef m)
static

◆ is_string_wrapper_object()

static bool is_string_wrapper_object ( upb_json_parser p)
static

◆ is_top_level()

static bool is_top_level ( upb_json_parser p)
static

◆ is_wellknown_field()

static bool is_wellknown_field ( upb_json_parser p,
upb_wellknowntype_t  type 
)
static

◆ is_wellknown_msg()

static bool is_wellknown_msg ( upb_json_parser p,
upb_wellknowntype_t  type 
)
static

◆ isfull()

static bool isfull ( upb_table t)
static

◆ isleap()

static bool isleap ( int  year)
static

◆ json_nice_escape()

const UPB_INLINE char* json_nice_escape ( char  c)

◆ json_parser_any_frame_free()

static void json_parser_any_frame_free ( upb_jsonparser_any_frame frame)
static

◆ json_parser_any_frame_has_type_url()

static bool json_parser_any_frame_has_type_url ( upb_jsonparser_any_frame frame)
static

◆ json_parser_any_frame_has_value()

static bool json_parser_any_frame_has_value ( upb_jsonparser_any_frame frame)
static

◆ json_parser_any_frame_has_value_after_type_url()

static bool json_parser_any_frame_has_value_after_type_url ( upb_jsonparser_any_frame frame)
static

◆ json_parser_any_frame_has_value_before_type_url()

static bool json_parser_any_frame_has_value_before_type_url ( upb_jsonparser_any_frame frame)
static

◆ json_parser_any_frame_new()

static upb_jsonparser_any_frame* json_parser_any_frame_new ( upb_json_parser p)
static

◆ json_parser_any_frame_set_after_type_url_start_once()

static void json_parser_any_frame_set_after_type_url_start_once ( upb_jsonparser_any_frame frame,
const char *  ptr 
)
static

◆ json_parser_any_frame_set_before_type_url_end()

static void json_parser_any_frame_set_before_type_url_end ( upb_jsonparser_any_frame frame,
const char *  ptr 
)
static

◆ json_parser_any_frame_set_payload_type()

static void json_parser_any_frame_set_payload_type ( upb_json_parser p,
upb_jsonparser_any_frame frame,
const upb_msgdef payload_type 
)
static

◆ json_parser_reset()

static void json_parser_reset ( upb_json_parser p)
static

◆ json_printer_reset()

static void json_printer_reset ( upb_json_printer p)
static

◆ label()

static void label ( compiler c,
unsigned int  label 
)
static

◆ labelref()

static int32_t labelref ( compiler c,
int  label 
)
static

◆ log2ceil()

int log2ceil ( uint64_t  v)

◆ lookup()

static bool lookup ( const upb_table t,
lookupkey_t  key,
upb_value v,
uint32_t  hash,
eqlfunc_t eql 
)
static

◆ lower_camel_push()

static bool lower_camel_push ( upb_json_parser p,
upb_selector_t  sel,
const char *  ptr,
size_t  len 
)
static

◆ makefullname()

static const char* makefullname ( const symtab_addctx ctx,
const char *  prefix,
upb_strview  name 
)
static

◆ mapkey_bytes()

static size_t mapkey_bytes ( void *  closure,
const void *  handler_data,
const char *  str,
size_t  len,
const upb_bufhandle handle 
)
static

◆ mapkey_endstr()

static bool mapkey_endstr ( void *  closure,
const void *  handler_data 
)
static

◆ mapkey_str()

static size_t mapkey_str ( void *  closure,
const void *  handler_data,
const char *  str,
size_t  len,
const upb_bufhandle handle 
)
static

◆ mapkeyval_startstr()

static void* mapkeyval_startstr ( void *  closure,
const void *  handler_data,
size_t  size_hint 
)
static

◆ mapvalue_endstr()

static bool mapvalue_endstr ( void *  closure,
const void *  handler_data 
)
static

◆ mapvalue_enum()

static bool mapvalue_enum ( void *  closure,
const void *  handler_data,
int32_t  val 
)
static

◆ maybeput()

static void maybeput ( compiler c,
opcode  op,
const upb_handlers h,
const upb_fielddef f,
upb_handlertype_t  type 
)
static

◆ mgroup_new()

const mgroup* mgroup_new ( const upb_handlers dest,
bool  allowjit,
bool  lazy 
)

◆ multipart_end()

static void multipart_end ( upb_json_parser p)
static

◆ multipart_start()

static void multipart_start ( upb_json_parser p,
upb_selector_t  sel 
)
static

◆ multipart_startaccum()

static void multipart_startaccum ( upb_json_parser p)
static

◆ multipart_text()

static bool multipart_text ( upb_json_parser p,
const char *  buf,
size_t  len,
bool  can_alias 
)
static

◆ mutable_array()

static upb_tabval* mutable_array ( upb_inttable t)
static

◆ mutable_entries()

static upb_tabent* mutable_entries ( upb_table t)
static

◆ new_tag()

static void new_tag ( upb_handlers h,
const upb_fielddef f,
upb_wiretype_t  wt,
upb_handlerattr attr 
)
static

◆ newcompiler()

static compiler* newcompiler ( mgroup group,
bool  lazy 
)
static

◆ newgroup()

mgroup* newgroup ( void  )

◆ newmethod()

static upb_pbdecodermethod* newmethod ( const upb_handlers dest_handlers,
mgroup group 
)
static

◆ newstr()

static str_t* newstr ( upb_alloc alloc,
const char *  data,
size_t  len 
)
static

◆ newstrpc()

strpc* newstrpc ( upb_handlers h,
const upb_fielddef f,
bool  preserve_fieldnames 
)

◆ newstrpc_str()

strpc* newstrpc_str ( upb_handlers h,
const char *  str 
)

◆ next()

static size_t next ( const upb_table t,
size_t  i 
)
static

◆ nonbase64()

bool nonbase64 ( unsigned char  ch)

◆ nullz()

static void nullz ( upb_status status)
static

◆ offset()

◆ onmreg()

static void onmreg ( const void *  c,
upb_handlers h 
)
static

◆ op_has_longofs()

bool op_has_longofs ( int32_t  instruction)

◆ outer_frame()

upb_pbdecoder_frame* outer_frame ( upb_pbdecoder d)

◆ pack_def()

static upb_value pack_def ( const void *  ptr,
upb_deftype_t  type 
)
static

◆ parse()

size_t parse ( void *  closure,
const void *  hd,
const char *  buf,
size_t  size,
const upb_bufhandle handle 
)

◆ parse_default()

static bool parse_default ( const symtab_addctx ctx,
const char *  str,
size_t  len,
upb_fielddef f 
)
static

◆ parse_mapentry_key()

static bool parse_mapentry_key ( upb_json_parser p)
static

◆ parse_number()

static bool parse_number ( upb_json_parser p,
bool  is_quoted 
)
static

◆ parse_number_from_buffer()

static bool parse_number_from_buffer ( upb_json_parser p,
const char *  buf,
bool  is_quoted 
)
static

◆ parse_timestamp_number()

static int parse_timestamp_number ( upb_json_parser p)
static

◆ parser_getsel()

static upb_selector_t parser_getsel ( upb_json_parser p)
static

◆ parser_putbool()

static bool parser_putbool ( upb_json_parser p,
bool  val 
)
static

◆ parsermethod_new()

static upb_json_parsermethod* parsermethod_new ( upb_json_codecache c,
const upb_msgdef md 
)
static

◆ pcofs()

static uint32_t pcofs ( compiler c)
static

◆ peekbytes()

static UPB_FORCEINLINE size_t peekbytes ( upb_pbdecoder d,
void *  buf,
size_t  bytes 
)
static

◆ peekbytes_slow()

static UPB_NOINLINE size_t peekbytes_slow ( upb_pbdecoder d,
void *  buf,
size_t  bytes 
)
static

◆ print_comma()

static void print_comma ( upb_json_printer p)
static

◆ print_data()

static void print_data ( upb_json_printer p,
const char *  buf,
unsigned int  len 
)
static

◆ print_enum_symbolic_name()

static void print_enum_symbolic_name ( upb_json_printer p,
const upb_enumdef def,
int32_t  val 
)
static

◆ printer_enddurationmsg()

static bool printer_enddurationmsg ( void *  closure,
const void *  handler_data,
upb_status s 
)
static

◆ printer_endmsg()

static bool printer_endmsg ( void *  closure,
const void *  handler_data,
upb_status s 
)
static

◆ printer_endmsg_fieldmask()

static bool printer_endmsg_fieldmask ( void *  closure,
const void *  handler_data,
upb_status s 
)
static

◆ printer_endmsg_noframe()

static bool printer_endmsg_noframe ( void *  closure,
const void *  handler_data,
upb_status s 
)
static

◆ printer_endtimestampmsg()

static bool printer_endtimestampmsg ( void *  closure,
const void *  handler_data,
upb_status s 
)
static

◆ printer_sethandlers()

void printer_sethandlers ( const void *  closure,
upb_handlers h 
)

◆ printer_sethandlers_any()

void printer_sethandlers_any ( const void *  closure,
upb_handlers h 
)

◆ printer_sethandlers_duration()

void printer_sethandlers_duration ( const void *  closure,
upb_handlers h 
)

◆ printer_sethandlers_fieldmask()

void printer_sethandlers_fieldmask ( const void *  closure,
upb_handlers h 
)

◆ printer_sethandlers_listvalue()

void printer_sethandlers_listvalue ( const void *  closure,
upb_handlers h 
)

◆ printer_sethandlers_mapentry()

void printer_sethandlers_mapentry ( const void *  closure,
bool  preserve_fieldnames,
upb_handlers h 
)

◆ printer_sethandlers_structvalue()

void printer_sethandlers_structvalue ( const void *  closure,
upb_handlers h 
)

◆ printer_sethandlers_timestamp()

void printer_sethandlers_timestamp ( const void *  closure,
upb_handlers h 
)

◆ printer_sethandlers_value()

void printer_sethandlers_value ( const void *  closure,
upb_handlers h 
)

◆ printer_startdurationmsg()

static bool printer_startdurationmsg ( void *  closure,
const void *  handler_data 
)
static

◆ printer_startmsg()

static bool printer_startmsg ( void *  closure,
const void *  handler_data 
)
static

◆ printer_startmsg_fieldmask()

static bool printer_startmsg_fieldmask ( void *  closure,
const void *  handler_data 
)
static

◆ printer_startmsg_noframe()

static bool printer_startmsg_noframe ( void *  closure,
const void *  handler_data 
)
static

◆ printer_starttimestampmsg()

static bool printer_starttimestampmsg ( void *  closure,
const void *  handler_data 
)
static

◆ pushtagdelim()

static bool pushtagdelim ( upb_pbdecoder d,
uint32_t  arg 
)
static

◆ put32()

static void put32 ( compiler c,
uint32_t  v 
)
static

◆ putbuf()

static void putbuf ( upb_pb_encoder e,
const char *  buf,
size_t  len 
)
static

◆ putbytes()

static size_t putbytes ( void *  closure,
const void *  handler_data,
const char *  str,
size_t  len,
const upb_bufhandle handle 
)
static

◆ putchecktag()

static void putchecktag ( compiler c,
const upb_fielddef f,
int  wire_type,
int  dest 
)
static

◆ putescaped()

static int putescaped ( upb_textprinter p,
const char *  buf,
size_t  len,
bool  preserve_utf8 
)
static

◆ putf()

bool putf ( upb_textprinter p,
const char *  fmt,
  ... 
)

◆ putkey()

static bool putkey ( void *  closure,
const void *  handler_data 
)
static

◆ putnanos()

static bool putnanos ( void *  closure,
const void *  handler_data,
int32_t  nanos 
)
static

◆ putnull()

static bool putnull ( void *  closure,
const void *  handler_data,
int32_t  null 
)
static

◆ putop()

static void putop ( compiler c,
int  op,
  ... 
)
static

◆ putpush()

static void putpush ( compiler c,
const upb_fielddef f 
)
static

◆ putseconds()

static bool putseconds ( void *  closure,
const void *  handler_data,
int64_t  seconds 
)
static

◆ putsel()

static void putsel ( compiler c,
opcode  op,
upb_selector_t  sel,
const upb_handlers h 
)
static

◆ putstr()

static size_t putstr ( void *  closure,
const void *  handler_data,
const char *  str,
size_t  len,
const upb_bufhandle handle 
)
static

◆ putstr_nokey()

static size_t putstr_nokey ( void *  closure,
const void *  handler_data,
const char *  str,
size_t  len,
const upb_bufhandle handle 
)
static

◆ putstring()

static void putstring ( upb_json_printer p,
const char *  buf,
unsigned int  len 
)
static

◆ repack()

static uint64_t repack ( uint64_t  dispatch,
int  new_wt2 
)
static

◆ repeated_bytes()

static size_t repeated_bytes ( void *  closure,
const void *  handler_data,
const char *  str,
size_t  len,
const upb_bufhandle handle 
)
static

◆ repeated_endstr()

static bool repeated_endstr ( void *  closure,
const void *  handler_data 
)
static

◆ repeated_enum()

static bool repeated_enum ( void *  closure,
const void *  handler_data,
int32_t  val 
)
static

◆ repeated_startstr()

static void* repeated_startstr ( void *  closure,
const void *  handler_data,
size_t  size_hint 
)
static

◆ repeated_startstr_fieldmask()

static void* repeated_startstr_fieldmask ( void *  closure,
const void *  handler_data,
size_t  size_hint 
)
static

◆ repeated_startsubmsg()

static void* repeated_startsubmsg ( void *  closure,
const void *  handler_data 
)
static

◆ repeated_str()

static size_t repeated_str ( void *  closure,
const void *  handler_data,
const char *  str,
size_t  len,
const upb_bufhandle handle 
)
static

◆ repeated_str_fieldmask()

static size_t repeated_str_fieldmask ( void *  closure,
const void *  handler_data,
const char *  str,
size_t  len,
const upb_bufhandle handle 
)
static

◆ reserve()

static bool reserve ( upb_pb_encoder e,
size_t  bytes 
)
static

◆ resolve_fielddef()

static bool resolve_fielddef ( const symtab_addctx ctx,
const char *  prefix,
upb_fielddef f 
)
static

◆ resolvename()

static bool resolvename ( const upb_strtable t,
const upb_fielddef f,
const char *  base,
upb_strview  sym,
upb_deftype_t  type,
upb_status status,
const void **  def 
)
static

◆ returntype()

static const void** returntype ( upb_handlers h,
const upb_fielddef f,
upb_handlertype_t  type 
)
static

◆ rm()

static bool rm ( upb_table t,
lookupkey_t  key,
upb_value val,
upb_tabkey removed,
uint32_t  hash,
eqlfunc_t eql 
)
static

◆ run_decoder_vm()

size_t run_decoder_vm ( upb_pbdecoder d,
const mgroup group,
const upb_bufhandle handle 
)

◆ saturating_multiply()

static size_t saturating_multiply ( size_t  a,
size_t  b 
)
static

◆ scalar_bytes()

static size_t scalar_bytes ( void *  closure,
const void *  handler_data,
const char *  str,
size_t  len,
const upb_bufhandle handle 
)
static

◆ scalar_endstr()

static bool scalar_endstr ( void *  closure,
const void *  handler_data 
)
static

◆ scalar_enum()

static bool scalar_enum ( void *  closure,
const void *  handler_data,
int32_t  val 
)
static

◆ scalar_startstr()

static void* scalar_startstr ( void *  closure,
const void *  handler_data,
size_t  size_hint 
)
static

◆ scalar_startstr_nokey()

static void* scalar_startstr_nokey ( void *  closure,
const void *  handler_data,
size_t  size_hint 
)
static

◆ scalar_startstr_onlykey()

static void* scalar_startstr_onlykey ( void *  closure,
const void *  handler_data,
size_t  size_hint 
)
static

◆ scalar_startsubmsg()

static void* scalar_startsubmsg ( void *  closure,
const void *  handler_data 
)
static

◆ scalar_str()

static size_t scalar_str ( void *  closure,
const void *  handler_data,
const char *  str,
size_t  len,
const upb_bufhandle handle 
)
static

◆ set_bytecode_handlers()

static void set_bytecode_handlers ( mgroup g)
static

◆ set_default_default()

static void set_default_default ( const symtab_addctx ctx,
upb_fielddef f 
)
static

◆ set_delim_end()

static void set_delim_end ( upb_pbdecoder d)
static

◆ set_enum_hd()

static void set_enum_hd ( upb_handlers h,
const upb_fielddef f,
bool  preserve_fieldnames,
upb_handlerattr attr 
)
static

◆ set_name_table()

static void set_name_table ( upb_json_parser p,
upb_jsonparser_frame frame 
)
static

◆ seterr()

static void seterr ( upb_pbdecoder d,
const char *  msg 
)
static

◆ setofs()

static void setofs ( uint32_t instruction,
int32_t  ofs 
)
static

◆ shortdefname()

static const char* shortdefname ( const char *  fullname)
static

◆ shortname()

static const char* shortname ( const char *  longname)
static

◆ skip()

static int32_t skip ( upb_pbdecoder d,
size_t  bytes 
)
static

◆ stacksize()

static size_t stacksize ( upb_pbdecoder d,
size_t  entries 
)
static

◆ start_any_member()

static void start_any_member ( upb_json_parser p,
const char *  ptr 
)
static

◆ start_any_object()

static void start_any_object ( upb_json_parser p,
const char *  ptr 
)
static

◆ start_any_stringval()

static bool start_any_stringval ( upb_json_parser p)
static

◆ start_array()

static bool start_array ( upb_json_parser p)
static

◆ start_day()

static void start_day ( upb_json_parser p,
const char *  ptr 
)
static

◆ start_delim()

static bool start_delim ( upb_pb_encoder e)
static

◆ start_duration_base()

static void start_duration_base ( upb_json_parser p,
const char *  ptr 
)
static

◆ start_fieldmask_object()

static void start_fieldmask_object ( upb_json_parser p)
static

◆ start_fieldmask_path()

static bool start_fieldmask_path ( upb_json_parser p)
static

◆ start_fieldmask_path_text()

static void start_fieldmask_path_text ( upb_json_parser p,
const char *  ptr 
)
static

◆ start_frame()

static void start_frame ( upb_json_printer p)
static

◆ start_hex()

static void start_hex ( upb_json_parser p)
static

◆ start_hour()

static void start_hour ( upb_json_parser p,
const char *  ptr 
)
static

◆ start_jsonparser_frame()

static upb_jsonparser_frame* start_jsonparser_frame ( upb_json_parser p)
static

◆ start_listvalue_object()

static void start_listvalue_object ( upb_json_parser p)
static

◆ start_member()

static void start_member ( upb_json_parser p)
static

◆ start_minute()

static void start_minute ( upb_json_parser p,
const char *  ptr 
)
static

◆ start_month()

static void start_month ( upb_json_parser p,
const char *  ptr 
)
static

◆ start_number()

static bool start_number ( upb_json_parser p,
const char *  ptr 
)
static

◆ start_object()

static void start_object ( upb_json_parser p)
static

◆ start_second()

static void start_second ( upb_json_parser p,
const char *  ptr 
)
static

◆ start_stringval()

static bool start_stringval ( upb_json_parser p)
static

◆ start_structvalue_object()

static void start_structvalue_object ( upb_json_parser p)
static

◆ start_subobject()

static bool start_subobject ( upb_json_parser p)
static

◆ start_subobject_full()

static bool start_subobject_full ( upb_json_parser p)
static

◆ start_text()

static void start_text ( upb_json_parser p,
const char *  ptr 
)
static

◆ start_timestamp_base()

static void start_timestamp_base ( upb_json_parser p)
static

◆ start_timestamp_fraction()

static void start_timestamp_fraction ( upb_json_parser p,
const char *  ptr 
)
static

◆ start_timestamp_zone()

static void start_timestamp_zone ( upb_json_parser p,
const char *  ptr 
)
static

◆ start_value_object()

static void start_value_object ( upb_json_parser p,
int  value_type 
)
static

◆ start_wrapper_object()

static void start_wrapper_object ( upb_json_parser p)
static

◆ start_year()

static void start_year ( upb_json_parser p,
const char *  ptr 
)
static

◆ startmap()

static void* startmap ( void *  closure,
const void *  handler_data 
)
static

◆ startmap_nokey()

static void* startmap_nokey ( void *  closure,
const void *  handler_data 
)
static

◆ startmsg()

static bool startmsg ( void *  c,
const void *  hd 
)
static

◆ startseq()

static void* startseq ( void *  closure,
const void *  handler_data 
)
static

◆ startseq_fieldmask()

static void* startseq_fieldmask ( void *  closure,
const void *  handler_data 
)
static

◆ startseq_nokey()

static void* startseq_nokey ( void *  closure,
const void *  handler_data 
)
static

◆ str_tabent()

static const upb_tabent* str_tabent ( const upb_strtable_iter i)
static

◆ strcopy()

static upb_tabkey strcopy ( lookupkey_t  k2,
upb_alloc a 
)
static

◆ streql()

static bool streql ( upb_tabkey  k1,
lookupkey_t  k2 
)
static

◆ streql2()

static bool streql2 ( const char *  a,
size_t  n,
const char *  b 
)
static

◆ streql_view()

static bool streql_view ( upb_strview  view,
const char *  b 
)
static

◆ strhash()

static uint32_t strhash ( upb_tabkey  key)
static

◆ stringsink_start()

static void* stringsink_start ( void *  _sink,
const void *  hd,
size_t  size_hint 
)
static

◆ stringsink_string()

static size_t stringsink_string ( void *  _sink,
const void *  hd,
const char *  ptr,
size_t  len,
const upb_bufhandle handle 
)
static

◆ strkey2()

static lookupkey_t strkey2 ( const char *  str,
size_t  len 
)
static

◆ strviewdup()

static char* strviewdup ( const symtab_addctx ctx,
upb_strview  view 
)
static

◆ suspend_save()

static size_t suspend_save ( upb_pbdecoder d)
static

◆ switchtobuf()

static void switchtobuf ( upb_pbdecoder d,
const char *  buf,
const char *  end 
)
static

◆ symtab_add()

static bool symtab_add ( const symtab_addctx ctx,
const char *  name,
upb_value  v 
)
static

◆ symtab_resolve()

const void* symtab_resolve ( const symtab_addctx ctx,
const upb_fielddef f,
const char *  base,
upb_strview  sym,
upb_deftype_t  type 
)

◆ T()

T ( double  ,
double  ,
dbl2uint64  ,
encode_fixed64   
)

◆ textprinter_endmsg()

static bool textprinter_endmsg ( void *  c,
const void *  hd,
upb_status s 
)
static

◆ textprinter_endstr()

static bool textprinter_endstr ( void *  closure,
const void *  handler_data 
)
static

◆ textprinter_endsubmsg()

static bool textprinter_endsubmsg ( void *  closure,
const void *  handler_data 
)
static

◆ textprinter_putbool()

static bool textprinter_putbool ( void *  closure,
const void *  handler_data,
bool  val 
)
static

◆ textprinter_putenum()

static bool textprinter_putenum ( void *  closure,
const void *  handler_data,
int32_t  val 
)
static

◆ textprinter_putstr()

static size_t textprinter_putstr ( void *  closure,
const void *  hd,
const char *  buf,
size_t  len,
const upb_bufhandle handle 
)
static

◆ textprinter_reset()

static void textprinter_reset ( upb_textprinter p,
bool  single_line 
)
static

◆ textprinter_startmsg()

static bool textprinter_startmsg ( void *  c,
const void *  hd 
)
static

◆ textprinter_startstr()

static void* textprinter_startstr ( void *  closure,
const void *  handler_data,
size_t  size_hint 
)
static

◆ textprinter_startsubmsg()

static void* textprinter_startsubmsg ( void *  closure,
const void *  handler_data 
)
static

◆ top()

static upb_pb_encoder_segment* top ( upb_pb_encoder e)
static

◆ trygetsel()

static int32_t trygetsel ( upb_handlers h,
const upb_fielddef f,
upb_handlertype_t  type 
)
static

◆ uninit()

static void uninit ( upb_table t,
upb_alloc a 
)
static

◆ unpack_def()

static const void* unpack_def ( upb_value  v,
upb_deftype_t  type 
)
static

◆ upb_addmsg()

static upb_msg* upb_addmsg ( upb_decframe frame,
const upb_msglayout_field field,
const upb_msglayout **  subm 
)
static

◆ upb_append_unknown()

static bool upb_append_unknown ( upb_decstate d,
upb_decframe frame 
)
static

◆ upb_arena_addblock()

static void upb_arena_addblock ( upb_arena a,
void *  ptr,
size_t  size,
bool  owned 
)
static

◆ upb_arena_addcleanup()

bool upb_arena_addcleanup ( upb_arena a,
void *  ud,
upb_cleanup_func func 
)

◆ upb_arena_allocblock()

static mem_block* upb_arena_allocblock ( upb_arena a,
size_t  size 
)
static

◆ upb_arena_bytesallocated()

size_t upb_arena_bytesallocated ( const upb_arena a)

◆ upb_arena_doalloc()

static void* upb_arena_doalloc ( upb_alloc alloc,
void *  ptr,
size_t  oldsize,
size_t  size 
)
static

◆ upb_arena_free()

void upb_arena_free ( upb_arena a)

◆ upb_arena_init()

upb_arena* upb_arena_init ( void *  mem,
size_t  n,
upb_alloc alloc 
)

◆ upb_array_add()

bool upb_array_add ( upb_array arr,
size_t  elements,
size_t  elem_size,
const void *  data,
upb_arena arena 
)

◆ upb_array_grow()

static bool upb_array_grow ( upb_array arr,
size_t  elements,
size_t  elem_size,
upb_arena arena 
)
static

◆ upb_array_new()

upb_array* upb_array_new ( upb_arena a)

◆ upb_array_reserve()

static void* upb_array_reserve ( upb_array arr,
size_t  elements,
size_t  elem_size,
upb_arena arena 
)
static

◆ upb_bufsrc_putbuf()

bool upb_bufsrc_putbuf ( const char *  buf,
size_t  len,
upb_bytessink  sink 
)

◆ upb_byteshandler_setendstr()

bool upb_byteshandler_setendstr ( upb_byteshandler h,
upb_endfield_handlerfunc func,
void *  d 
)

◆ upb_byteshandler_setstartstr()

bool upb_byteshandler_setstartstr ( upb_byteshandler h,
upb_startstr_handlerfunc func,
void *  d 
)

◆ upb_byteshandler_setstring()

bool upb_byteshandler_setstring ( upb_byteshandler h,
upb_string_handlerfunc func,
void *  d 
)

◆ upb_calloc()

static void* upb_calloc ( upb_arena arena,
size_t  size 
)
static

◆ upb_check_alloc()

static void upb_check_alloc ( upb_table t,
upb_alloc a 
)
static

◆ upb_decode()

bool upb_decode ( const char *  buf,
size_t  size,
void *  msg,
const upb_msglayout l,
upb_arena arena 
)

◆ upb_decode_32bit()

static bool upb_decode_32bit ( const char **  ptr,
const char *  limit,
uint32_t val 
)
static

◆ upb_decode_32bitfield()

static bool upb_decode_32bitfield ( upb_decstate d,
upb_decframe frame,
const upb_msglayout_field field 
)
static

◆ upb_decode_64bit()

static bool upb_decode_64bit ( const char **  ptr,
const char *  limit,
uint64_t val 
)
static

◆ upb_decode_64bitfield()

static bool upb_decode_64bitfield ( upb_decstate d,
upb_decframe frame,
const upb_msglayout_field field 
)
static

◆ upb_decode_addval()

static bool upb_decode_addval ( upb_decframe frame,
const upb_msglayout_field field,
void *  val,
size_t  size 
)
static

◆ upb_decode_delimitedfield()

static bool upb_decode_delimitedfield ( upb_decstate d,
upb_decframe frame,
const upb_msglayout_field field 
)
static

◆ upb_decode_field()

static bool upb_decode_field ( upb_decstate d,
upb_decframe frame 
)
static

◆ upb_decode_fixedpacked()

static bool upb_decode_fixedpacked ( upb_decstate d,
upb_array arr,
uint32_t  len,
int  elem_size 
)
static

◆ upb_decode_groupfield()

static bool upb_decode_groupfield ( upb_decstate d,
upb_msg msg,
const upb_msglayout layout,
int  field_number 
)
static

◆ upb_decode_message()

static bool upb_decode_message ( upb_decstate d,
char *  msg,
const upb_msglayout l 
)
static

◆ upb_decode_msgfield()

static bool upb_decode_msgfield ( upb_decstate d,
upb_msg msg,
const upb_msglayout layout,
int  limit 
)
static

◆ upb_decode_setpresent()

static void upb_decode_setpresent ( upb_decframe frame,
const upb_msglayout_field field 
)
static

◆ upb_decode_strfield()

static upb_strview upb_decode_strfield ( upb_decstate d,
uint32_t  len 
)
static

◆ upb_decode_string()

static bool upb_decode_string ( const char **  ptr,
const char *  limit,
int outlen 
)
static

◆ upb_decode_toarray()

static bool upb_decode_toarray ( upb_decstate d,
upb_decframe frame,
const upb_msglayout_field field,
int  len 
)
static

◆ upb_decode_varint()

static bool upb_decode_varint ( const char **  ptr,
const char *  limit,
uint64_t val 
)
static

◆ upb_decode_varint32()

static bool upb_decode_varint32 ( const char **  ptr,
const char *  limit,
uint32_t val 
)
static

◆ upb_decode_varintfield()

static bool upb_decode_varintfield ( upb_decstate d,
upb_decframe frame,
const upb_msglayout_field field 
)
static

◆ upb_encode()

char* upb_encode ( const void *  msg,
const upb_msglayout m,
upb_arena arena,
size_t *  size 
)

◆ upb_encode_array()

static bool upb_encode_array ( upb_encstate e,
const char *  field_mem,
const upb_msglayout m,
const upb_msglayout_field f 
)
static

◆ upb_encode_growbuffer()

static bool upb_encode_growbuffer ( upb_encstate e,
size_t  bytes 
)
static

◆ upb_encode_message()

bool upb_encode_message ( upb_encstate e,
const char *  msg,
const upb_msglayout m,
size_t *  size 
)

◆ upb_encode_reserve()

static bool upb_encode_reserve ( upb_encstate e,
size_t  bytes 
)
static

◆ upb_encode_scalarfield()

static bool upb_encode_scalarfield ( upb_encstate e,
const char *  field_mem,
const upb_msglayout m,
const upb_msglayout_field f,
bool  skip_zero_value 
)
static

◆ upb_encode_varint()

static size_t upb_encode_varint ( uint64_t  val,
char *  buf 
)
static

◆ upb_enum_begin()

void upb_enum_begin ( upb_enum_iter i,
const upb_enumdef e 
)

◆ upb_enum_done()

bool upb_enum_done ( upb_enum_iter iter)

◆ upb_enum_iter_name()

const char* upb_enum_iter_name ( upb_enum_iter iter)

◆ upb_enum_iter_number()

int32_t upb_enum_iter_number ( upb_enum_iter iter)

◆ upb_enum_next()

void upb_enum_next ( upb_enum_iter iter)

◆ upb_enumdef_default()

int32_t upb_enumdef_default ( const upb_enumdef e)

◆ upb_enumdef_file()

const upb_filedef* upb_enumdef_file ( const upb_enumdef e)

◆ upb_enumdef_fullname()

const char* upb_enumdef_fullname ( const upb_enumdef e)

◆ upb_enumdef_iton()

const char* upb_enumdef_iton ( const upb_enumdef def,
int32_t  num 
)

◆ upb_enumdef_name()

const char* upb_enumdef_name ( const upb_enumdef e)

◆ upb_enumdef_ntoi()

bool upb_enumdef_ntoi ( const upb_enumdef def,
const char *  name,
size_t  len,
int32_t num 
)

◆ upb_enumdef_numvals()

int upb_enumdef_numvals ( const upb_enumdef e)

◆ upb_fielddef_checkdescriptortype()

bool upb_fielddef_checkdescriptortype ( int32_t  type)

◆ upb_fielddef_checkintfmt()

bool upb_fielddef_checkintfmt ( int32_t  fmt)

◆ upb_fielddef_checklabel()

bool upb_fielddef_checklabel ( int32_t  label)

◆ upb_fielddef_checktype()

bool upb_fielddef_checktype ( int32_t  type)

◆ upb_fielddef_containingoneof()

const upb_oneofdef* upb_fielddef_containingoneof ( const upb_fielddef f)

◆ upb_fielddef_containingtype()

const upb_msgdef* upb_fielddef_containingtype ( const upb_fielddef f)

◆ upb_fielddef_defaultbool()

bool upb_fielddef_defaultbool ( const upb_fielddef f)

◆ upb_fielddef_defaultdouble()

double upb_fielddef_defaultdouble ( const upb_fielddef f)

◆ upb_fielddef_defaultfloat()

float upb_fielddef_defaultfloat ( const upb_fielddef f)

◆ upb_fielddef_defaultint32()

int32_t upb_fielddef_defaultint32 ( const upb_fielddef f)

◆ upb_fielddef_defaultint64()

int64_t upb_fielddef_defaultint64 ( const upb_fielddef f)

◆ upb_fielddef_defaultstr()

const char* upb_fielddef_defaultstr ( const upb_fielddef f,
size_t *  len 
)

◆ upb_fielddef_defaultuint32()

uint32_t upb_fielddef_defaultuint32 ( const upb_fielddef f)

◆ upb_fielddef_defaultuint64()

uint64_t upb_fielddef_defaultuint64 ( const upb_fielddef f)

◆ upb_fielddef_descriptortype()

upb_descriptortype_t upb_fielddef_descriptortype ( const upb_fielddef f)

◆ upb_fielddef_enumsubdef()

const upb_enumdef* upb_fielddef_enumsubdef ( const upb_fielddef f)

◆ upb_fielddef_fullname()

const char* upb_fielddef_fullname ( const upb_fielddef f)

◆ upb_fielddef_getjsonname()

size_t upb_fielddef_getjsonname ( const upb_fielddef f,
char *  buf,
size_t  len 
)

◆ upb_fielddef_haspresence()

bool upb_fielddef_haspresence ( const upb_fielddef f)

◆ upb_fielddef_hassubdef()

bool upb_fielddef_hassubdef ( const upb_fielddef f)

◆ upb_fielddef_index()

uint32_t upb_fielddef_index ( const upb_fielddef f)

◆ upb_fielddef_isextension()

bool upb_fielddef_isextension ( const upb_fielddef f)

◆ upb_fielddef_ismap()

bool upb_fielddef_ismap ( const upb_fielddef f)

◆ upb_fielddef_isprimitive()

bool upb_fielddef_isprimitive ( const upb_fielddef f)

◆ upb_fielddef_isseq()

bool upb_fielddef_isseq ( const upb_fielddef f)

◆ upb_fielddef_isstring()

bool upb_fielddef_isstring ( const upb_fielddef f)

◆ upb_fielddef_issubmsg()

bool upb_fielddef_issubmsg ( const upb_fielddef f)

◆ upb_fielddef_label()

upb_label_t upb_fielddef_label ( const upb_fielddef f)

◆ upb_fielddef_lazy()

bool upb_fielddef_lazy ( const upb_fielddef f)

◆ upb_fielddef_msgsubdef()

const upb_msgdef* upb_fielddef_msgsubdef ( const upb_fielddef f)

◆ upb_fielddef_name()

const char* upb_fielddef_name ( const upb_fielddef f)

◆ upb_fielddef_number()

uint32_t upb_fielddef_number ( const upb_fielddef f)

◆ upb_fielddef_packed()

bool upb_fielddef_packed ( const upb_fielddef f)

◆ upb_fielddef_selectorbase()

uint32_t upb_fielddef_selectorbase ( const upb_fielddef f)

◆ upb_fielddef_type()

upb_fieldtype_t upb_fielddef_type ( const upb_fielddef f)

◆ upb_filedef_dep()

const upb_filedef* upb_filedef_dep ( const upb_filedef f,
int  i 
)

◆ upb_filedef_depcount()

int upb_filedef_depcount ( const upb_filedef f)

◆ upb_filedef_enum()

const upb_enumdef* upb_filedef_enum ( const upb_filedef f,
int  i 
)

◆ upb_filedef_enumcount()

int upb_filedef_enumcount ( const upb_filedef f)

◆ upb_filedef_msg()

const upb_msgdef* upb_filedef_msg ( const upb_filedef f,
int  i 
)

◆ upb_filedef_msgcount()

int upb_filedef_msgcount ( const upb_filedef f)

◆ upb_filedef_name()

const char* upb_filedef_name ( const upb_filedef f)

◆ upb_filedef_package()

const char* upb_filedef_package ( const upb_filedef f)

◆ upb_filedef_phpnamespace()

const char* upb_filedef_phpnamespace ( const upb_filedef f)

◆ upb_filedef_phpprefix()

const char* upb_filedef_phpprefix ( const upb_filedef f)

◆ upb_filedef_syntax()

upb_syntax_t upb_filedef_syntax ( const upb_filedef f)

◆ upb_find_field()

static const upb_msglayout_field* upb_find_field ( const upb_msglayout l,
uint32_t  field_number 
)
static

◆ upb_getarr()

static upb_array* upb_getarr ( upb_decframe frame,
const upb_msglayout_field field 
)
static

◆ upb_getorcreatearr()

static upb_array* upb_getorcreatearr ( upb_decframe frame,
const upb_msglayout_field field 
)
static

◆ upb_getorcreatemsg()

static upb_msg* upb_getorcreatemsg ( upb_decframe frame,
const upb_msglayout_field field,
const upb_msglayout **  subm 
)
static

◆ upb_global_allocfunc()

static void* upb_global_allocfunc ( upb_alloc alloc,
void *  ptr,
size_t  oldsize,
size_t  size 
)
static

◆ upb_handlercache_addcleanup()

bool upb_handlercache_addcleanup ( upb_handlercache c,
void *  p,
upb_handlerfree func 
)

◆ upb_handlercache_free()

void upb_handlercache_free ( upb_handlercache cache)

◆ upb_handlercache_get()

const upb_handlers* upb_handlercache_get ( upb_handlercache c,
const upb_msgdef md 
)

◆ upb_handlercache_new()

upb_handlercache* upb_handlercache_new ( upb_handlers_callback callback,
const void *  closure 
)

◆ upb_handlers_addcleanup()

bool upb_handlers_addcleanup ( upb_handlers h,
void *  p,
upb_handlerfree func 
)

◆ upb_handlers_getattr()

bool upb_handlers_getattr ( const upb_handlers h,
upb_selector_t  sel,
upb_handlerattr attr 
)

◆ upb_handlers_gethandler()

upb_func* upb_handlers_gethandler ( const upb_handlers h,
upb_selector_t  s,
const void **  handler_data 
)

◆ upb_handlers_getprimitivehandlertype()

upb_handlertype_t upb_handlers_getprimitivehandlertype ( const upb_fielddef f)

◆ upb_handlers_getselector()

bool upb_handlers_getselector ( const upb_fielddef f,
upb_handlertype_t  type,
upb_selector_t s 
)

◆ upb_handlers_getsubhandlers()

const upb_handlers* upb_handlers_getsubhandlers ( const upb_handlers h,
const upb_fielddef f 
)

◆ upb_handlers_getsubhandlers_sel()

const upb_handlers* upb_handlers_getsubhandlers_sel ( const upb_handlers h,
upb_selector_t  sel 
)

◆ upb_handlers_msgdef()

const upb_msgdef* upb_handlers_msgdef ( const upb_handlers h)

◆ upb_handlers_new()

static upb_handlers* upb_handlers_new ( const upb_msgdef md,
upb_handlercache cache,
upb_arena arena 
)
static

◆ upb_handlers_selectorbaseoffset()

static uint32_t upb_handlers_selectorbaseoffset ( const upb_fielddef f)
static

◆ upb_handlers_selectorcount()

static uint32_t upb_handlers_selectorcount ( const upb_fielddef f)
static

◆ upb_handlers_setendmsg()

bool upb_handlers_setendmsg ( upb_handlers h,
upb_endmsg_handlerfunc func,
const upb_handlerattr attr 
)

◆ upb_handlers_setstartmsg()

bool upb_handlers_setstartmsg ( upb_handlers h,
upb_startmsg_handlerfunc func,
const upb_handlerattr attr 
)

◆ upb_handlers_setsubhandlers()

bool upb_handlers_setsubhandlers ( upb_handlers h,
const upb_fielddef f,
const upb_handlers sub 
)

◆ upb_handlers_setunknown()

bool upb_handlers_setunknown ( upb_handlers h,
upb_unknown_handlerfunc func,
const upb_handlerattr attr 
)

◆ upb_inttable_begin()

void upb_inttable_begin ( upb_inttable_iter i,
const upb_inttable t 
)

◆ upb_inttable_compact2()

void upb_inttable_compact2 ( upb_inttable t,
upb_alloc a 
)

◆ upb_inttable_count()

size_t upb_inttable_count ( const upb_inttable t)

◆ upb_inttable_done()

bool upb_inttable_done ( const upb_inttable_iter i)

◆ upb_inttable_init2()

bool upb_inttable_init2 ( upb_inttable t,
upb_ctype_t  ctype,
upb_alloc a 
)

◆ upb_inttable_insert2()

bool upb_inttable_insert2 ( upb_inttable t,
uintptr_t  key,
upb_value  val,
upb_alloc a 
)

◆ upb_inttable_insertptr2()

bool upb_inttable_insertptr2 ( upb_inttable t,
const void *  key,
upb_value  val,
upb_alloc a 
)

◆ upb_inttable_iter_isequal()

bool upb_inttable_iter_isequal ( const upb_inttable_iter i1,
const upb_inttable_iter i2 
)

◆ upb_inttable_iter_key()

uintptr_t upb_inttable_iter_key ( const upb_inttable_iter i)

◆ upb_inttable_iter_setdone()

void upb_inttable_iter_setdone ( upb_inttable_iter i)

◆ upb_inttable_iter_value()

upb_value upb_inttable_iter_value ( const upb_inttable_iter i)

◆ upb_inttable_lookup()

bool upb_inttable_lookup ( const upb_inttable t,
uintptr_t  key,
upb_value v 
)

◆ upb_inttable_lookupptr()

bool upb_inttable_lookupptr ( const upb_inttable t,
const void *  key,
upb_value v 
)

◆ upb_inttable_next()

void upb_inttable_next ( upb_inttable_iter iter)

◆ upb_inttable_pop()

upb_value upb_inttable_pop ( upb_inttable t)

◆ upb_inttable_push2()

bool upb_inttable_push2 ( upb_inttable t,
upb_value  val,
upb_alloc a 
)

◆ upb_inttable_remove()

bool upb_inttable_remove ( upb_inttable t,
uintptr_t  key,
upb_value val 
)

◆ upb_inttable_removeptr()

bool upb_inttable_removeptr ( upb_inttable t,
const void *  key,
upb_value val 
)

◆ upb_inttable_replace()

bool upb_inttable_replace ( upb_inttable t,
uintptr_t  key,
upb_value  val 
)

◆ upb_inttable_sizedinit()

bool upb_inttable_sizedinit ( upb_inttable t,
upb_ctype_t  ctype,
size_t  asize,
int  hsize_lg2,
upb_alloc a 
)

◆ upb_inttable_uninit2()

void upb_inttable_uninit2 ( upb_inttable t,
upb_alloc a 
)

◆ upb_isalphanum()

static bool upb_isalphanum ( char  c)
static

◆ upb_isbetween()

static bool upb_isbetween ( char  c,
char  low,
char  high 
)
static

◆ upb_isident()

static bool upb_isident ( upb_strview  name,
bool  full,
upb_status s 
)
static

◆ upb_isletter()

static bool upb_isletter ( char  c)
static

◆ upb_json_codecache_free()

void upb_json_codecache_free ( upb_json_codecache c)

◆ upb_json_codecache_get()

const upb_json_parsermethod* upb_json_codecache_get ( upb_json_codecache c,
const upb_msgdef md 
)

◆ upb_json_codecache_new()

upb_json_codecache* upb_json_codecache_new ( void  )

◆ upb_json_parser_create()

upb_json_parser* upb_json_parser_create ( upb_arena arena,
const upb_json_parsermethod method,
const upb_symtab symtab,
upb_sink  output,
upb_status status,
bool  ignore_json_unknown 
)

◆ upb_json_parser_input()

upb_bytessink upb_json_parser_input ( upb_json_parser p)

◆ upb_json_parsermethod_inputhandler()

const upb_byteshandler* upb_json_parsermethod_inputhandler ( const upb_json_parsermethod m)

◆ upb_json_printer_create()

upb_json_printer* upb_json_printer_create ( upb_arena a,
const upb_handlers h,
upb_bytessink  output 
)

◆ upb_json_printer_input()

upb_sink upb_json_printer_input ( upb_json_printer p)

◆ upb_json_printer_newcache()

upb_handlercache* upb_json_printer_newcache ( bool  preserve_proto_fieldnames)

◆ upb_mktime()

static int64_t upb_mktime ( const struct tm tp)
static

◆ upb_msg_addunknown()

void upb_msg_addunknown ( upb_msg msg,
const char *  data,
size_t  len,
upb_arena arena 
)

◆ upb_msg_field_begin()

void upb_msg_field_begin ( upb_msg_field_iter iter,
const upb_msgdef m 
)

◆ upb_msg_field_done()

bool upb_msg_field_done ( const upb_msg_field_iter iter)

◆ upb_msg_field_iter_isequal()

bool upb_msg_field_iter_isequal ( const upb_msg_field_iter iter1,
const upb_msg_field_iter iter2 
)

◆ upb_msg_field_iter_setdone()

void upb_msg_field_iter_setdone ( upb_msg_field_iter iter)

◆ upb_msg_field_next()

void upb_msg_field_next ( upb_msg_field_iter iter)

◆ upb_msg_fielddefsize()

static uint8_t upb_msg_fielddefsize ( const upb_fielddef f)
static

◆ upb_msg_getinternal()

static upb_msg_internal* upb_msg_getinternal ( upb_msg msg)
static

◆ upb_msg_getinternal_const()

static const upb_msg_internal* upb_msg_getinternal_const ( const upb_msg msg)
static

◆ upb_msg_getinternalwithext()

static upb_msg_internal_withext* upb_msg_getinternalwithext ( upb_msg msg,
const upb_msglayout l 
)
static

◆ upb_msg_getscalarhandlerdata()

bool upb_msg_getscalarhandlerdata ( const upb_handlers h,
upb_selector_t  s,
upb_fieldtype_t type,
size_t *  offset,
int32_t hasbit 
)

◆ upb_msg_getunknown()

const char* upb_msg_getunknown ( const upb_msg msg,
size_t *  len 
)

◆ upb_msg_internalsize()

static int upb_msg_internalsize ( const upb_msglayout l)
static

◆ upb_msg_iter_field()

upb_fielddef* upb_msg_iter_field ( const upb_msg_field_iter iter)

◆ upb_msg_iter_oneof()

const upb_oneofdef* upb_msg_iter_oneof ( const upb_msg_oneof_iter iter)

◆ upb_msg_new()

upb_msg * upb_msg_new ( const upb_msglayout l,
upb_arena a 
)

◆ upb_msg_oneof_begin()

void upb_msg_oneof_begin ( upb_msg_oneof_iter iter,
const upb_msgdef m 
)

◆ upb_msg_oneof_done()

bool upb_msg_oneof_done ( const upb_msg_oneof_iter iter)

◆ upb_msg_oneof_iter_isequal()

bool upb_msg_oneof_iter_isequal ( const upb_msg_oneof_iter iter1,
const upb_msg_oneof_iter iter2 
)

◆ upb_msg_oneof_iter_setdone()

void upb_msg_oneof_iter_setdone ( upb_msg_oneof_iter iter)

◆ upb_msg_oneof_next()

void upb_msg_oneof_next ( upb_msg_oneof_iter iter)

◆ upb_msg_setscalarhandler()

bool upb_msg_setscalarhandler ( upb_handlers h,
const upb_fielddef f,
size_t  offset,
int32_t  hasbit 
)

◆ upb_msg_sizeof()

static size_t upb_msg_sizeof ( const upb_msglayout l)
static

◆ upb_msgdef_file()

const upb_filedef* upb_msgdef_file ( const upb_msgdef m)

◆ upb_msgdef_fullname()

const char* upb_msgdef_fullname ( const upb_msgdef m)

◆ upb_msgdef_isnumberwrapper()

bool upb_msgdef_isnumberwrapper ( const upb_msgdef m)

◆ upb_msgdef_itof()

const upb_fielddef* upb_msgdef_itof ( const upb_msgdef m,
uint32_t  i 
)

◆ upb_msgdef_lookupname()

bool upb_msgdef_lookupname ( const upb_msgdef m,
const char *  name,
size_t  len,
const upb_fielddef **  f,
const upb_oneofdef **  o 
)

◆ upb_msgdef_mapentry()

bool upb_msgdef_mapentry ( const upb_msgdef m)

◆ upb_msgdef_name()

const char* upb_msgdef_name ( const upb_msgdef m)

◆ upb_msgdef_ntof()

const upb_fielddef* upb_msgdef_ntof ( const upb_msgdef m,
const char *  name,
size_t  len 
)

◆ upb_msgdef_ntoo()

const upb_oneofdef* upb_msgdef_ntoo ( const upb_msgdef m,
const char *  name,
size_t  len 
)

◆ upb_msgdef_numfields()

int upb_msgdef_numfields ( const upb_msgdef m)

◆ upb_msgdef_numoneofs()

int upb_msgdef_numoneofs ( const upb_msgdef m)

◆ upb_msgdef_selectorcount()

size_t upb_msgdef_selectorcount ( const upb_msgdef m)

◆ upb_msgdef_submsgfieldcount()

uint32_t upb_msgdef_submsgfieldcount ( const upb_msgdef m)

◆ upb_msgdef_syntax()

upb_syntax_t upb_msgdef_syntax ( const upb_msgdef m)

◆ upb_msgdef_wellknowntype()

upb_wellknowntype_t upb_msgdef_wellknowntype ( const upb_msgdef m)

◆ upb_msgfactory_free()

void upb_msgfactory_free ( upb_msgfactory f)

◆ upb_msgfactory_getlayout()

const upb_msglayout* upb_msgfactory_getlayout ( upb_msgfactory f,
const upb_msgdef m 
)

◆ upb_msgfactory_new()

upb_msgfactory* upb_msgfactory_new ( const upb_symtab symtab)

◆ upb_msgfactory_symtab()

const upb_symtab* upb_msgfactory_symtab ( const upb_msgfactory f)

◆ upb_msglayout_free()

static void upb_msglayout_free ( upb_msglayout l)
static

◆ upb_msglayout_init()

static bool upb_msglayout_init ( const upb_msgdef m,
upb_msglayout l,
upb_msgfactory factory 
)
static

◆ upb_msglayout_place()

static size_t upb_msglayout_place ( upb_msglayout l,
size_t  size 
)
static

◆ upb_msgval_sizeof2()

static size_t upb_msgval_sizeof2 ( upb_fieldtype_t  type)
static

◆ upb_murmur_hash2()

uint32_t upb_murmur_hash2 ( const void *  key,
size_t  len,
uint32_t  seed 
)

◆ upb_ok()

bool upb_ok ( const upb_status status)

◆ upb_oneof_begin()

void upb_oneof_begin ( upb_oneof_iter iter,
const upb_oneofdef o 
)

◆ upb_oneof_done()

bool upb_oneof_done ( upb_oneof_iter iter)

◆ upb_oneof_iter_field()

upb_fielddef* upb_oneof_iter_field ( const upb_oneof_iter iter)

◆ upb_oneof_iter_setdone()

void upb_oneof_iter_setdone ( upb_oneof_iter iter)

◆ upb_oneof_next()

void upb_oneof_next ( upb_oneof_iter iter)

◆ upb_oneofdef_containingtype()

const upb_msgdef* upb_oneofdef_containingtype ( const upb_oneofdef o)

◆ upb_oneofdef_index()

uint32_t upb_oneofdef_index ( const upb_oneofdef o)

◆ upb_oneofdef_itof()

const upb_fielddef* upb_oneofdef_itof ( const upb_oneofdef o,
uint32_t  num 
)

◆ upb_oneofdef_name()

const char* upb_oneofdef_name ( const upb_oneofdef o)

◆ upb_oneofdef_ntof()

const upb_fielddef* upb_oneofdef_ntof ( const upb_oneofdef o,
const char *  name,
size_t  length 
)

◆ upb_oneofdef_numfields()

int upb_oneofdef_numfields ( const upb_oneofdef o)

◆ upb_pb_encoder_create()

upb_pb_encoder* upb_pb_encoder_create ( upb_arena arena,
const upb_handlers h,
upb_bytessink  output 
)

◆ upb_pb_encoder_input()

upb_sink upb_pb_encoder_input ( upb_pb_encoder e)

◆ upb_pb_encoder_newcache()

upb_handlercache* upb_pb_encoder_newcache ( void  )

◆ upb_pb_encoder_reset()

void upb_pb_encoder_reset ( upb_pb_encoder e)

◆ upb_pbcodecache_allowjit()

bool upb_pbcodecache_allowjit ( const upb_pbcodecache c)

◆ upb_pbcodecache_free()

void upb_pbcodecache_free ( upb_pbcodecache c)

◆ upb_pbcodecache_get()

const upb_pbdecodermethod* upb_pbcodecache_get ( upb_pbcodecache c,
const upb_msgdef md 
)

◆ upb_pbcodecache_new()

upb_pbcodecache* upb_pbcodecache_new ( upb_handlercache dest)

◆ upb_pbcodecache_setallowjit()

void upb_pbcodecache_setallowjit ( upb_pbcodecache c,
bool  allow 
)

◆ upb_pbdecoder_bytesparsed()

uint64_t upb_pbdecoder_bytesparsed ( const upb_pbdecoder d)

◆ upb_pbdecoder_checktag_slow()

UPB_NOINLINE int32_t upb_pbdecoder_checktag_slow ( upb_pbdecoder d,
uint64_t  expected 
)

◆ upb_pbdecoder_create()

upb_pbdecoder* upb_pbdecoder_create ( upb_arena a,
const upb_pbdecodermethod m,
upb_sink  sink,
upb_status status 
)

◆ upb_pbdecoder_decode()

size_t upb_pbdecoder_decode ( void *  decoder,
const void *  group,
const char *  buf,
size_t  size,
const upb_bufhandle handle 
)

◆ upb_pbdecoder_decode_f32()

int32_t upb_pbdecoder_decode_f32 ( upb_pbdecoder d,
uint32_t u32 
)

◆ upb_pbdecoder_decode_f64()

int32_t upb_pbdecoder_decode_f64 ( upb_pbdecoder d,
uint64_t u64 
)

◆ upb_pbdecoder_decode_varint_slow()

UPB_NOINLINE int32_t upb_pbdecoder_decode_varint_slow ( upb_pbdecoder d,
uint64_t u64 
)

◆ upb_pbdecoder_end()

bool upb_pbdecoder_end ( void *  closure,
const void *  handler_data 
)

◆ upb_pbdecoder_input()

upb_bytessink upb_pbdecoder_input ( upb_pbdecoder d)

◆ upb_pbdecoder_maxnesting()

size_t upb_pbdecoder_maxnesting ( const upb_pbdecoder d)

◆ upb_pbdecoder_method()

const upb_pbdecodermethod* upb_pbdecoder_method ( const upb_pbdecoder d)

◆ upb_pbdecoder_reset()

void upb_pbdecoder_reset ( upb_pbdecoder d)

◆ upb_pbdecoder_resume()

int32_t upb_pbdecoder_resume ( upb_pbdecoder d,
void *  p,
const char *  buf,
size_t  size,
const upb_bufhandle handle 
)

◆ upb_pbdecoder_seterr()

void upb_pbdecoder_seterr ( upb_pbdecoder d,
const char *  msg 
)

◆ upb_pbdecoder_setmaxnesting()

bool upb_pbdecoder_setmaxnesting ( upb_pbdecoder d,
size_t  max 
)

◆ upb_pbdecoder_skipunknown()

int32_t upb_pbdecoder_skipunknown ( upb_pbdecoder d,
int32_t  fieldnum,
uint8_t  wire_type 
)

◆ upb_pbdecoder_startbc()

void* upb_pbdecoder_startbc ( void *  closure,
const void *  pc,
size_t  size_hint 
)

◆ upb_pbdecoder_startjit()

void* upb_pbdecoder_startjit ( void *  closure,
const void *  hd,
size_t  size_hint 
)

◆ upb_pbdecoder_suspend()

size_t upb_pbdecoder_suspend ( upb_pbdecoder d)

◆ upb_pbdecodermethod_desthandlers()

const upb_handlers* upb_pbdecodermethod_desthandlers ( const upb_pbdecodermethod m)

◆ upb_pbdecodermethod_inputhandler()

const upb_byteshandler* upb_pbdecodermethod_inputhandler ( const upb_pbdecodermethod m)

◆ upb_pbdecodermethod_isnative()

bool upb_pbdecodermethod_isnative ( const upb_pbdecodermethod m)

◆ upb_pbdecodermethodopts_setlazy()

void upb_pbdecodermethodopts_setlazy ( upb_pbcodecache c,
bool  lazy 
)

◆ upb_put_bytes()

static bool upb_put_bytes ( upb_encstate e,
const void *  data,
size_t  len 
)
static

◆ upb_put_double()

static bool upb_put_double ( upb_encstate e,
double  d 
)
static

◆ upb_put_fixed32()

static bool upb_put_fixed32 ( upb_encstate e,
uint32_t  val 
)
static

◆ upb_put_fixed64()

static bool upb_put_fixed64 ( upb_encstate e,
uint64_t  val 
)
static

◆ upb_put_fixedarray()

static bool upb_put_fixedarray ( upb_encstate e,
const upb_array arr,
size_t  size 
)
static

◆ upb_put_float()

static bool upb_put_float ( upb_encstate e,
float  d 
)
static

◆ upb_put_tag()

static bool upb_put_tag ( upb_encstate e,
int  field_number,
int  wire_type 
)
static

◆ upb_put_varint()

static bool upb_put_varint ( upb_encstate e,
uint64_t  val 
)
static

◆ upb_readcase()

static uint32_t upb_readcase ( const char *  msg,
const upb_msglayout_field f 
)
static

◆ upb_readhasbit()

static bool upb_readhasbit ( const char *  msg,
const upb_msglayout_field f 
)
static

◆ upb_roundup_pow2()

static size_t upb_roundup_pow2 ( size_t  bytes)
static

◆ upb_set32()

static void upb_set32 ( void *  msg,
size_t  ofs,
uint32_t  val 
)
static

◆ upb_sethasbit()

static void upb_sethasbit ( upb_decframe frame,
const upb_msglayout_field field 
)
static

◆ upb_setoneofcase()

static void upb_setoneofcase ( upb_decframe frame,
const upb_msglayout_field field 
)
static

◆ upb_skip_unknownfielddata()

static bool upb_skip_unknownfielddata ( upb_decstate d,
uint32_t  tag,
uint32_t  group_fieldnum 
)
static

◆ upb_skip_unknowngroup()

static bool upb_skip_unknowngroup ( upb_decstate d,
int  field_number 
)
static

◆ upb_status_clear()

void upb_status_clear ( upb_status status)

◆ upb_status_errmsg()

const char* upb_status_errmsg ( const upb_status status)

◆ upb_status_seterrf()

void upb_status_seterrf ( upb_status status,
const char *  fmt,
  ... 
)

◆ upb_status_seterrmsg()

void upb_status_seterrmsg ( upb_status status,
const char *  msg 
)

◆ upb_status_vseterrf()

void upb_status_vseterrf ( upb_status status,
const char *  fmt,
va_list  args 
)

◆ upb_strdup()

char* upb_strdup ( const char *  s,
upb_alloc a 
)

◆ upb_strdup2()

char* upb_strdup2 ( const char *  s,
size_t  len,
upb_alloc a 
)

◆ upb_stringsink_init()

void upb_stringsink_init ( upb_stringsink sink)

◆ upb_stringsink_uninit()

void upb_stringsink_uninit ( upb_stringsink sink)

◆ upb_strtable_begin()

void upb_strtable_begin ( upb_strtable_iter i,
const upb_strtable t 
)

◆ upb_strtable_done()

bool upb_strtable_done ( const upb_strtable_iter i)

◆ upb_strtable_init2()

bool upb_strtable_init2 ( upb_strtable t,
upb_ctype_t  ctype,
upb_alloc a 
)

◆ upb_strtable_insert3()

bool upb_strtable_insert3 ( upb_strtable t,
const char *  k,
size_t  len,
upb_value  v,
upb_alloc a 
)

◆ upb_strtable_iter_isequal()

bool upb_strtable_iter_isequal ( const upb_strtable_iter i1,
const upb_strtable_iter i2 
)

◆ upb_strtable_iter_key()

const char* upb_strtable_iter_key ( const upb_strtable_iter i)

◆ upb_strtable_iter_keylength()

size_t upb_strtable_iter_keylength ( const upb_strtable_iter i)

◆ upb_strtable_iter_setdone()

void upb_strtable_iter_setdone ( upb_strtable_iter i)

◆ upb_strtable_iter_value()

upb_value upb_strtable_iter_value ( const upb_strtable_iter i)

◆ upb_strtable_lookup2()

bool upb_strtable_lookup2 ( const upb_strtable t,
const char *  key,
size_t  len,
upb_value v 
)

◆ upb_strtable_next()

void upb_strtable_next ( upb_strtable_iter i)

◆ upb_strtable_remove3()

bool upb_strtable_remove3 ( upb_strtable t,
const char *  key,
size_t  len,
upb_value val,
upb_alloc alloc 
)

◆ upb_strtable_resize()

bool upb_strtable_resize ( upb_strtable t,
size_t  size_lg2,
upb_alloc a 
)

◆ upb_strtable_uninit2()

void upb_strtable_uninit2 ( upb_strtable t,
upb_alloc a 
)

◆ upb_symtab_addfile()

const upb_filedef* upb_symtab_addfile ( upb_symtab s,
const google_protobuf_FileDescriptorProto file_proto,
upb_status status 
)

◆ upb_symtab_addtotabs()

static bool upb_symtab_addtotabs ( upb_symtab s,
symtab_addctx ctx,
upb_status status 
)
static

◆ upb_symtab_free()

void upb_symtab_free ( upb_symtab s)

◆ upb_symtab_lookupenum()

const upb_enumdef* upb_symtab_lookupenum ( const upb_symtab s,
const char *  sym 
)

◆ upb_symtab_lookupfile()

const upb_filedef* upb_symtab_lookupfile ( const upb_symtab s,
const char *  name 
)

◆ upb_symtab_lookupmsg()

const upb_msgdef* upb_symtab_lookupmsg ( const upb_symtab s,
const char *  sym 
)

◆ upb_symtab_lookupmsg2()

const upb_msgdef* upb_symtab_lookupmsg2 ( const upb_symtab s,
const char *  sym,
size_t  len 
)

◆ upb_symtab_new()

upb_symtab* upb_symtab_new ( void  )

◆ upb_textprinter_create()

upb_textprinter* upb_textprinter_create ( upb_arena arena,
const upb_handlers h,
upb_bytessink  output 
)

◆ upb_textprinter_input()

upb_sink upb_textprinter_input ( upb_textprinter p)

◆ upb_textprinter_newcache()

upb_handlercache* upb_textprinter_newcache ( void  )

◆ upb_textprinter_setsingleline()

void upb_textprinter_setsingleline ( upb_textprinter p,
bool  single_line 
)

◆ upb_vdecode_max8_branch32()

upb_decoderet upb_vdecode_max8_branch32 ( upb_decoderet  r)

◆ upb_vdecode_max8_branch64()

upb_decoderet upb_vdecode_max8_branch64 ( upb_decoderet  r)

◆ upb_zzdecode_32()

static int32_t upb_zzdecode_32 ( uint32_t  n)
static

◆ upb_zzdecode_64()

static int64_t upb_zzdecode_64 ( uint64_t  n)
static

◆ upb_zzencode_32()

static uint32_t upb_zzencode_32 ( int32_t  n)
static

◆ upb_zzencode_64()

static uint64_t upb_zzencode_64 ( int64_t  n)
static

Variable Documentation

◆ __mon_yday

const unsigned short int __mon_yday[2][13]
Initial value:
= {
{ 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 },
{ 0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366 }
}

Definition at line 10165 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ _json_actions

const char _json_actions[]
static
Initial value:
= {
0, 1, 0, 1, 1, 1, 3, 1,
4, 1, 6, 1, 7, 1, 8, 1,
9, 1, 11, 1, 12, 1, 13, 1,
14, 1, 15, 1, 16, 1, 17, 1,
18, 1, 19, 1, 20, 1, 22, 1,
23, 1, 24, 1, 35, 1, 37, 1,
39, 1, 40, 1, 42, 1, 43, 1,
44, 1, 46, 1, 48, 1, 49, 1,
50, 1, 51, 1, 53, 1, 54, 2,
4, 9, 2, 5, 6, 2, 7, 3,
2, 7, 9, 2, 21, 26, 2, 25,
10, 2, 27, 28, 2, 29, 30, 2,
32, 34, 2, 33, 31, 2, 38, 36,
2, 40, 42, 2, 45, 2, 2, 46,
54, 2, 47, 36, 2, 49, 54, 2,
50, 54, 2, 51, 54, 2, 52, 41,
2, 53, 54, 3, 32, 34, 35, 4,
21, 26, 27, 28
}

Definition at line 11063 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ _json_eof_actions

const unsigned char _json_eof_actions[]
static
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 1, 0, 1, 0, 0, 1, 1,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 57, 63, 65, 61, 67,
0, 0, 0, 0, 0, 0
}

Definition at line 11288 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ _json_index_offsets

const short _json_index_offsets[]
static
Initial value:
= {
0, 0, 11, 13, 18, 23, 28, 30,
32, 34, 36, 38, 40, 42, 44, 46,
48, 53, 55, 59, 64, 69, 74, 78,
82, 85, 89, 91, 95, 99, 101, 103,
108, 111, 114, 124, 128, 132, 136, 140,
143, 147, 150, 153, 155, 158, 160, 164,
166, 168, 170, 172, 174, 176, 178, 180,
182, 184, 186, 188, 190, 192, 194, 196,
198, 200, 202, 207, 209, 211, 213, 215,
217, 219, 221, 226, 229, 232, 235, 244,
246, 247, 248, 253, 258, 263, 265, 267,
269, 271, 272, 274, 276, 278, 279, 281,
283, 285, 286, 291, 293, 297, 302, 307,
312, 316, 317, 320, 323, 326, 329, 332,
335, 336, 337, 338, 339, 340
}

Definition at line 11178 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ _json_indicies

const unsigned char _json_indicies[]
static

◆ _json_key_offsets

const short _json_key_offsets[]
static
Initial value:
= {
0, 0, 12, 13, 18, 23, 28, 29,
30, 31, 32, 33, 34, 35, 36, 37,
38, 43, 44, 48, 53, 58, 63, 67,
71, 74, 77, 79, 83, 87, 89, 91,
96, 98, 100, 109, 115, 121, 127, 133,
135, 139, 142, 144, 146, 149, 150, 154,
156, 158, 160, 162, 163, 165, 167, 168,
170, 172, 173, 175, 177, 178, 180, 182,
183, 185, 187, 191, 193, 195, 196, 197,
198, 199, 201, 206, 208, 210, 212, 221,
222, 222, 222, 227, 232, 237, 238, 239,
240, 241, 241, 242, 243, 244, 244, 245,
246, 247, 247, 252, 253, 257, 262, 267,
272, 276, 276, 279, 282, 285, 288, 291,
294, 294, 294, 294, 294, 294
}

Definition at line 11084 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ _json_range_lengths

const char _json_range_lengths[]
static
Initial value:
= {
0, 2, 0, 1, 1, 1, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
1, 0, 1, 1, 1, 1, 1, 1,
1, 0, 1, 1, 1, 1, 1, 1,
0, 0, 0, 3, 3, 3, 3, 0,
1, 1, 0, 1, 1, 0, 1, 1,
1, 1, 1, 0, 1, 1, 0, 1,
1, 0, 1, 1, 0, 1, 1, 0,
1, 1, 0, 1, 1, 0, 0, 0,
0, 1, 1, 0, 0, 0, 1, 0,
0, 0, 1, 1, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 1, 1, 1, 1,
1, 0, 1, 1, 1, 1, 1, 1,
0, 0, 0, 0, 0, 0
}

Definition at line 11160 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ _json_single_lengths

const char _json_single_lengths[]
static
Initial value:
= {
0, 8, 1, 3, 3, 3, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1,
3, 1, 2, 3, 3, 3, 2, 2,
1, 3, 0, 2, 2, 0, 0, 3,
2, 2, 9, 0, 0, 0, 0, 2,
2, 1, 2, 0, 1, 1, 2, 0,
0, 0, 0, 1, 0, 0, 1, 0,
0, 1, 0, 0, 1, 0, 0, 1,
0, 0, 4, 0, 0, 1, 1, 1,
1, 0, 3, 2, 2, 2, 7, 1,
0, 0, 3, 3, 3, 1, 1, 1,
1, 0, 1, 1, 1, 0, 1, 1,
1, 0, 3, 1, 2, 3, 3, 3,
2, 0, 1, 1, 1, 1, 1, 1,
0, 0, 0, 0, 0, 0
}

Definition at line 11142 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ _json_trans_actions

const unsigned char _json_trans_actions[]
static
Initial value:
= {
0, 0, 113, 107, 53, 0, 0, 0,
125, 59, 45, 0, 55, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 101, 51, 47, 0, 0, 45,
49, 49, 104, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0, 5, 15,
0, 0, 71, 7, 13, 0, 74, 9,
9, 9, 77, 80, 11, 37, 37, 37,
0, 0, 0, 39, 0, 41, 86, 0,
0, 0, 17, 19, 0, 21, 23, 0,
25, 27, 0, 29, 31, 0, 33, 35,
0, 135, 83, 135, 0, 0, 0, 0,
0, 92, 0, 89, 89, 98, 43, 0,
131, 95, 113, 107, 53, 0, 0, 0,
125, 59, 69, 110, 45, 0, 55, 0,
0, 0, 0, 0, 0, 119, 0, 0,
0, 122, 0, 0, 0, 116, 0, 101,
51, 47, 0, 0, 45, 49, 49, 104,
0, 0, 128, 0, 57, 63, 65, 61,
67
}

Definition at line 11265 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ _json_trans_keys

const char _json_trans_keys[]
static

◆ _json_trans_targs

const char _json_trans_targs[]
static
Initial value:
= {
1, 0, 2, 107, 3, 6, 10, 13,
16, 106, 4, 3, 106, 4, 5, 7,
8, 9, 108, 11, 12, 109, 14, 15,
110, 16, 17, 111, 18, 18, 19, 20,
21, 22, 111, 21, 22, 24, 25, 31,
112, 26, 28, 27, 29, 30, 33, 113,
34, 33, 113, 34, 32, 35, 36, 37,
38, 39, 33, 113, 34, 41, 42, 46,
42, 46, 43, 45, 44, 114, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57,
58, 59, 60, 61, 62, 63, 64, 65,
66, 67, 73, 72, 68, 69, 70, 71,
72, 115, 74, 67, 72, 76, 116, 76,
116, 77, 79, 81, 82, 85, 90, 94,
98, 80, 117, 117, 83, 82, 80, 83,
84, 86, 87, 88, 89, 117, 91, 92,
93, 117, 95, 96, 97, 117, 98, 99,
105, 100, 100, 101, 102, 103, 104, 105,
103, 104, 117, 106, 106, 106, 106, 106,
106
}

Definition at line 11242 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ _upb_noclosure

char _upb_noclosure

◆ b64table

const signed char b64table[]
static

◆ dummy_char

const char dummy_char
static

◆ eof_ch

const char eof_ch = 'e'
static

◆ google_protobuf_DescriptorProto__fields

const upb_msglayout_field google_protobuf_DescriptorProto__fields[10]
static
Initial value:
= {
{1, UPB_SIZE(4, 8), 1, 0, 9, 1},
{2, UPB_SIZE(16, 32), 0, 4, 11, 3},
{3, UPB_SIZE(20, 40), 0, 0, 11, 3},
{4, UPB_SIZE(24, 48), 0, 3, 11, 3},
{5, UPB_SIZE(28, 56), 0, 1, 11, 3},
{6, UPB_SIZE(32, 64), 0, 4, 11, 3},
{7, UPB_SIZE(12, 24), 2, 5, 11, 1},
{8, UPB_SIZE(36, 72), 0, 6, 11, 3},
{9, UPB_SIZE(40, 80), 0, 2, 11, 3},
{10, UPB_SIZE(44, 88), 0, 0, 9, 3},
}

Definition at line 2496 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_DescriptorProto_ExtensionRange__fields

const upb_msglayout_field google_protobuf_DescriptorProto_ExtensionRange__fields[3]
static
Initial value:
= {
{1, UPB_SIZE(4, 4), 1, 0, 5, 1},
{2, UPB_SIZE(8, 8), 2, 0, 5, 1},
{3, UPB_SIZE(12, 16), 3, 0, 11, 1},
}

Definition at line 2519 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_DescriptorProto_ExtensionRange_msginit

const upb_msglayout google_protobuf_DescriptorProto_ExtensionRange_msginit

◆ google_protobuf_DescriptorProto_ExtensionRange_submsgs

const upb_msglayout* const google_protobuf_DescriptorProto_ExtensionRange_submsgs[1]
static

◆ google_protobuf_DescriptorProto_msginit

const upb_msglayout google_protobuf_DescriptorProto_msginit

◆ google_protobuf_DescriptorProto_ReservedRange__fields

const upb_msglayout_field google_protobuf_DescriptorProto_ReservedRange__fields[2]
static
Initial value:
= {
{1, UPB_SIZE(4, 4), 1, 0, 5, 1},
{2, UPB_SIZE(8, 8), 2, 0, 5, 1},
}

Definition at line 2531 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_DescriptorProto_ReservedRange_msginit

const upb_msglayout google_protobuf_DescriptorProto_ReservedRange_msginit
Initial value:

Definition at line 2536 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_DescriptorProto_submsgs

const upb_msglayout* const google_protobuf_DescriptorProto_submsgs[8]
static

◆ google_protobuf_EnumDescriptorProto__fields

const upb_msglayout_field google_protobuf_EnumDescriptorProto__fields[5]
static
Initial value:
= {
{1, UPB_SIZE(4, 8), 1, 0, 9, 1},
{2, UPB_SIZE(16, 32), 0, 2, 11, 3},
{3, UPB_SIZE(12, 24), 2, 1, 11, 1},
{4, UPB_SIZE(20, 40), 0, 0, 11, 3},
{5, UPB_SIZE(24, 48), 0, 0, 9, 3},
}

Definition at line 2600 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_EnumDescriptorProto_EnumReservedRange__fields

const upb_msglayout_field google_protobuf_EnumDescriptorProto_EnumReservedRange__fields[2]
static
Initial value:
= {
{1, UPB_SIZE(4, 4), 1, 0, 5, 1},
{2, UPB_SIZE(8, 8), 2, 0, 5, 1},
}

Definition at line 2614 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit

const upb_msglayout google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit

◆ google_protobuf_EnumDescriptorProto_msginit

const upb_msglayout google_protobuf_EnumDescriptorProto_msginit

◆ google_protobuf_EnumDescriptorProto_submsgs

const upb_msglayout* const google_protobuf_EnumDescriptorProto_submsgs[3]
static

◆ google_protobuf_EnumOptions__fields

const upb_msglayout_field google_protobuf_EnumOptions__fields[3]
static
Initial value:
= {
{2, UPB_SIZE(1, 1), 1, 0, 8, 1},
{3, UPB_SIZE(2, 2), 2, 0, 8, 1},
{999, UPB_SIZE(4, 8), 0, 0, 11, 3},
}

Definition at line 2767 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_EnumOptions_msginit

const upb_msglayout google_protobuf_EnumOptions_msginit

◆ google_protobuf_EnumOptions_submsgs

const upb_msglayout* const google_protobuf_EnumOptions_submsgs[1]
static

◆ google_protobuf_EnumValueDescriptorProto__fields

const upb_msglayout_field google_protobuf_EnumValueDescriptorProto__fields[3]
static
Initial value:
= {
{1, UPB_SIZE(8, 8), 2, 0, 9, 1},
{2, UPB_SIZE(4, 4), 1, 0, 5, 1},
{3, UPB_SIZE(16, 24), 3, 0, 11, 1},
}

Definition at line 2629 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_EnumValueDescriptorProto_msginit

const upb_msglayout google_protobuf_EnumValueDescriptorProto_msginit

◆ google_protobuf_EnumValueDescriptorProto_submsgs

const upb_msglayout* const google_protobuf_EnumValueDescriptorProto_submsgs[1]
static

◆ google_protobuf_EnumValueOptions__fields

const upb_msglayout_field google_protobuf_EnumValueOptions__fields[2]
static
Initial value:
= {
{1, UPB_SIZE(1, 1), 1, 0, 8, 1},
{999, UPB_SIZE(4, 8), 0, 0, 11, 3},
}

Definition at line 2783 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_EnumValueOptions_msginit

const upb_msglayout google_protobuf_EnumValueOptions_msginit

◆ google_protobuf_EnumValueOptions_submsgs

const upb_msglayout* const google_protobuf_EnumValueOptions_submsgs[1]
static

◆ google_protobuf_ExtensionRangeOptions__fields

const upb_msglayout_field google_protobuf_ExtensionRangeOptions__fields[1]
static
Initial value:
= {
{999, UPB_SIZE(0, 0), 0, 0, 11, 3},
}

Definition at line 2546 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_ExtensionRangeOptions_msginit

const upb_msglayout google_protobuf_ExtensionRangeOptions_msginit

◆ google_protobuf_ExtensionRangeOptions_submsgs

const upb_msglayout* const google_protobuf_ExtensionRangeOptions_submsgs[1]
static

◆ google_protobuf_FieldDescriptorProto__fields

const upb_msglayout_field google_protobuf_FieldDescriptorProto__fields[10]
static
Initial value:
= {
{1, UPB_SIZE(32, 32), 5, 0, 9, 1},
{2, UPB_SIZE(40, 48), 6, 0, 9, 1},
{3, UPB_SIZE(24, 24), 3, 0, 5, 1},
{4, UPB_SIZE(8, 8), 1, 0, 14, 1},
{5, UPB_SIZE(16, 16), 2, 0, 14, 1},
{6, UPB_SIZE(48, 64), 7, 0, 9, 1},
{7, UPB_SIZE(56, 80), 8, 0, 9, 1},
{8, UPB_SIZE(72, 112), 10, 0, 11, 1},
{9, UPB_SIZE(28, 28), 4, 0, 5, 1},
{10, UPB_SIZE(64, 96), 9, 0, 9, 1},
}

Definition at line 2560 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_FieldDescriptorProto_msginit

const upb_msglayout google_protobuf_FieldDescriptorProto_msginit

◆ google_protobuf_FieldDescriptorProto_submsgs

const upb_msglayout* const google_protobuf_FieldDescriptorProto_submsgs[1]
static

◆ google_protobuf_FieldOptions__fields

const upb_msglayout_field google_protobuf_FieldOptions__fields[7]
static
Initial value:
= {
{1, UPB_SIZE(8, 8), 1, 0, 14, 1},
{2, UPB_SIZE(24, 24), 3, 0, 8, 1},
{3, UPB_SIZE(25, 25), 4, 0, 8, 1},
{5, UPB_SIZE(26, 26), 5, 0, 8, 1},
{6, UPB_SIZE(16, 16), 2, 0, 14, 1},
{10, UPB_SIZE(27, 27), 6, 0, 8, 1},
{999, UPB_SIZE(28, 32), 0, 0, 11, 3},
}

Definition at line 2733 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_FieldOptions_msginit

const upb_msglayout google_protobuf_FieldOptions_msginit

◆ google_protobuf_FieldOptions_submsgs

const upb_msglayout* const google_protobuf_FieldOptions_submsgs[1]
static

◆ google_protobuf_FileDescriptorProto__fields

const upb_msglayout_field google_protobuf_FileDescriptorProto__fields[12]
static
Initial value:
= {
{1, UPB_SIZE(4, 8), 1, 0, 9, 1},
{2, UPB_SIZE(12, 24), 2, 0, 9, 1},
{3, UPB_SIZE(36, 72), 0, 0, 9, 3},
{4, UPB_SIZE(40, 80), 0, 0, 11, 3},
{5, UPB_SIZE(44, 88), 0, 1, 11, 3},
{6, UPB_SIZE(48, 96), 0, 4, 11, 3},
{7, UPB_SIZE(52, 104), 0, 2, 11, 3},
{8, UPB_SIZE(28, 56), 4, 3, 11, 1},
{9, UPB_SIZE(32, 64), 5, 5, 11, 1},
{10, UPB_SIZE(56, 112), 0, 0, 5, 3},
{11, UPB_SIZE(60, 120), 0, 0, 5, 3},
{12, UPB_SIZE(20, 40), 3, 0, 9, 1},
}

Definition at line 2465 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_FileDescriptorProto_msginit

const upb_msglayout google_protobuf_FileDescriptorProto_msginit

◆ google_protobuf_FileDescriptorProto_submsgs

const upb_msglayout* const google_protobuf_FileDescriptorProto_submsgs[6]
static

◆ google_protobuf_FileDescriptorSet__fields

const upb_msglayout_field google_protobuf_FileDescriptorSet__fields[1]
static
Initial value:
= {
{1, UPB_SIZE(0, 0), 0, 0, 11, 3},
}

Definition at line 2446 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_FileDescriptorSet_msginit

const upb_msglayout google_protobuf_FileDescriptorSet_msginit
Initial value:

bazel-out/k8-fastbuild/bin/external/com_google_protobuf/google/protobuf/descriptor.upbdefs.c

Definition at line 2450 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_FileDescriptorSet_submsgs

const upb_msglayout* const google_protobuf_FileDescriptorSet_submsgs[1]
static

◆ google_protobuf_FileOptions__fields

const upb_msglayout_field google_protobuf_FileOptions__fields[21]
static
Initial value:
= {
{1, UPB_SIZE(28, 32), 11, 0, 9, 1},
{8, UPB_SIZE(36, 48), 12, 0, 9, 1},
{9, UPB_SIZE(8, 8), 1, 0, 14, 1},
{10, UPB_SIZE(16, 16), 2, 0, 8, 1},
{11, UPB_SIZE(44, 64), 13, 0, 9, 1},
{16, UPB_SIZE(17, 17), 3, 0, 8, 1},
{17, UPB_SIZE(18, 18), 4, 0, 8, 1},
{18, UPB_SIZE(19, 19), 5, 0, 8, 1},
{20, UPB_SIZE(20, 20), 6, 0, 8, 1},
{23, UPB_SIZE(21, 21), 7, 0, 8, 1},
{27, UPB_SIZE(22, 22), 8, 0, 8, 1},
{31, UPB_SIZE(23, 23), 9, 0, 8, 1},
{36, UPB_SIZE(52, 80), 14, 0, 9, 1},
{37, UPB_SIZE(60, 96), 15, 0, 9, 1},
{39, UPB_SIZE(68, 112), 16, 0, 9, 1},
{40, UPB_SIZE(76, 128), 17, 0, 9, 1},
{41, UPB_SIZE(84, 144), 18, 0, 9, 1},
{42, UPB_SIZE(24, 24), 10, 0, 8, 1},
{44, UPB_SIZE(92, 160), 19, 0, 9, 1},
{45, UPB_SIZE(100, 176), 20, 0, 9, 1},
{999, UPB_SIZE(108, 192), 0, 0, 11, 3},
}

Definition at line 2681 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_FileOptions_msginit

const upb_msglayout google_protobuf_FileOptions_msginit

◆ google_protobuf_FileOptions_submsgs

const upb_msglayout* const google_protobuf_FileOptions_submsgs[1]
static

◆ google_protobuf_GeneratedCodeInfo__fields

const upb_msglayout_field google_protobuf_GeneratedCodeInfo__fields[1]
static
Initial value:
= {
{1, UPB_SIZE(0, 0), 0, 0, 11, 3},
}

Definition at line 2888 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_GeneratedCodeInfo_Annotation__fields

const upb_msglayout_field google_protobuf_GeneratedCodeInfo_Annotation__fields[4]
static
Initial value:
= {
{1, UPB_SIZE(20, 32), 0, 0, 5, 3},
{2, UPB_SIZE(12, 16), 3, 0, 9, 1},
{3, UPB_SIZE(4, 4), 1, 0, 5, 1},
{4, UPB_SIZE(8, 8), 2, 0, 5, 1},
}

Definition at line 2898 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_GeneratedCodeInfo_Annotation_msginit

const upb_msglayout google_protobuf_GeneratedCodeInfo_Annotation_msginit
Initial value:

Definition at line 2905 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_GeneratedCodeInfo_msginit

const upb_msglayout google_protobuf_GeneratedCodeInfo_msginit

◆ google_protobuf_GeneratedCodeInfo_submsgs

const upb_msglayout* const google_protobuf_GeneratedCodeInfo_submsgs[1]
static

◆ google_protobuf_MessageOptions__fields

const upb_msglayout_field google_protobuf_MessageOptions__fields[5]
static
Initial value:
= {
{1, UPB_SIZE(1, 1), 1, 0, 8, 1},
{2, UPB_SIZE(2, 2), 2, 0, 8, 1},
{3, UPB_SIZE(3, 3), 3, 0, 8, 1},
{7, UPB_SIZE(4, 4), 4, 0, 8, 1},
{999, UPB_SIZE(8, 8), 0, 0, 11, 3},
}

Definition at line 2715 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_MessageOptions_msginit

const upb_msglayout google_protobuf_MessageOptions_msginit

◆ google_protobuf_MessageOptions_submsgs

const upb_msglayout* const google_protobuf_MessageOptions_submsgs[1]
static

◆ google_protobuf_MethodDescriptorProto__fields

const upb_msglayout_field google_protobuf_MethodDescriptorProto__fields[6]
static
Initial value:
= {
{1, UPB_SIZE(4, 8), 3, 0, 9, 1},
{2, UPB_SIZE(12, 24), 4, 0, 9, 1},
{3, UPB_SIZE(20, 40), 5, 0, 9, 1},
{4, UPB_SIZE(28, 56), 6, 0, 11, 1},
{5, UPB_SIZE(1, 1), 1, 0, 8, 1},
{6, UPB_SIZE(2, 2), 2, 0, 8, 1},
}

Definition at line 2662 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_MethodDescriptorProto_msginit

const upb_msglayout google_protobuf_MethodDescriptorProto_msginit

◆ google_protobuf_MethodDescriptorProto_submsgs

const upb_msglayout* const google_protobuf_MethodDescriptorProto_submsgs[1]
static

◆ google_protobuf_MethodOptions__fields

const upb_msglayout_field google_protobuf_MethodOptions__fields[3]
static
Initial value:
= {
{33, UPB_SIZE(16, 16), 2, 0, 8, 1},
{34, UPB_SIZE(8, 8), 1, 0, 14, 1},
{999, UPB_SIZE(20, 24), 0, 0, 11, 3},
}

Definition at line 2813 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_MethodOptions_msginit

const upb_msglayout google_protobuf_MethodOptions_msginit

◆ google_protobuf_MethodOptions_submsgs

const upb_msglayout* const google_protobuf_MethodOptions_submsgs[1]
static

◆ google_protobuf_OneofDescriptorProto__fields

const upb_msglayout_field google_protobuf_OneofDescriptorProto__fields[2]
static
Initial value:
= {
{1, UPB_SIZE(4, 8), 1, 0, 9, 1},
{2, UPB_SIZE(12, 24), 2, 0, 11, 1},
}

Definition at line 2583 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_OneofDescriptorProto_msginit

const upb_msglayout google_protobuf_OneofDescriptorProto_msginit

◆ google_protobuf_OneofDescriptorProto_submsgs

const upb_msglayout* const google_protobuf_OneofDescriptorProto_submsgs[1]
static

◆ google_protobuf_OneofOptions__fields

const upb_msglayout_field google_protobuf_OneofOptions__fields[1]
static
Initial value:
= {
{999, UPB_SIZE(0, 0), 0, 0, 11, 3},
}

Definition at line 2753 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_OneofOptions_msginit

const upb_msglayout google_protobuf_OneofOptions_msginit

◆ google_protobuf_OneofOptions_submsgs

const upb_msglayout* const google_protobuf_OneofOptions_submsgs[1]
static

◆ google_protobuf_ServiceDescriptorProto__fields

const upb_msglayout_field google_protobuf_ServiceDescriptorProto__fields[3]
static
Initial value:
= {
{1, UPB_SIZE(4, 8), 1, 0, 9, 1},
{2, UPB_SIZE(16, 32), 0, 0, 11, 3},
{3, UPB_SIZE(12, 24), 2, 1, 11, 1},
}

Definition at line 2646 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_ServiceDescriptorProto_msginit

const upb_msglayout google_protobuf_ServiceDescriptorProto_msginit

◆ google_protobuf_ServiceDescriptorProto_submsgs

const upb_msglayout* const google_protobuf_ServiceDescriptorProto_submsgs[2]
static

◆ google_protobuf_ServiceOptions__fields

const upb_msglayout_field google_protobuf_ServiceOptions__fields[2]
static
Initial value:
= {
{33, UPB_SIZE(1, 1), 1, 0, 8, 1},
{999, UPB_SIZE(4, 8), 0, 0, 11, 3},
}

Definition at line 2798 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_ServiceOptions_msginit

const upb_msglayout google_protobuf_ServiceOptions_msginit

◆ google_protobuf_ServiceOptions_submsgs

const upb_msglayout* const google_protobuf_ServiceOptions_submsgs[1]
static

◆ google_protobuf_SourceCodeInfo__fields

const upb_msglayout_field google_protobuf_SourceCodeInfo__fields[1]
static
Initial value:
= {
{1, UPB_SIZE(0, 0), 0, 0, 11, 3},
}

Definition at line 2860 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_SourceCodeInfo_Location__fields

const upb_msglayout_field google_protobuf_SourceCodeInfo_Location__fields[5]
static
Initial value:
= {
{1, UPB_SIZE(20, 40), 0, 0, 5, 3},
{2, UPB_SIZE(24, 48), 0, 0, 5, 3},
{3, UPB_SIZE(4, 8), 1, 0, 9, 1},
{4, UPB_SIZE(12, 24), 2, 0, 9, 1},
{6, UPB_SIZE(28, 56), 0, 0, 9, 3},
}

Definition at line 2870 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_SourceCodeInfo_Location_msginit

const upb_msglayout google_protobuf_SourceCodeInfo_Location_msginit
Initial value:
= {
NULL,
UPB_SIZE(32, 64), 5, false,
}

Definition at line 2878 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_SourceCodeInfo_msginit

const upb_msglayout google_protobuf_SourceCodeInfo_msginit

◆ google_protobuf_SourceCodeInfo_submsgs

const upb_msglayout* const google_protobuf_SourceCodeInfo_submsgs[1]
static

◆ google_protobuf_UninterpretedOption__fields

const upb_msglayout_field google_protobuf_UninterpretedOption__fields[7]
static
Initial value:
= {
{2, UPB_SIZE(56, 80), 0, 0, 11, 3},
{3, UPB_SIZE(32, 32), 4, 0, 9, 1},
{4, UPB_SIZE(8, 8), 1, 0, 4, 1},
{5, UPB_SIZE(16, 16), 2, 0, 3, 1},
{6, UPB_SIZE(24, 24), 3, 0, 1, 1},
{7, UPB_SIZE(40, 48), 5, 0, 12, 1},
{8, UPB_SIZE(48, 64), 6, 0, 9, 1},
}

Definition at line 2829 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_UninterpretedOption_msginit

const upb_msglayout google_protobuf_UninterpretedOption_msginit

◆ google_protobuf_UninterpretedOption_NamePart__fields

const upb_msglayout_field google_protobuf_UninterpretedOption_NamePart__fields[2]
static
Initial value:
= {
{1, UPB_SIZE(4, 8), 2, 0, 9, 2},
{2, UPB_SIZE(1, 1), 1, 0, 8, 2},
}

Definition at line 2845 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_UninterpretedOption_NamePart_msginit

const upb_msglayout google_protobuf_UninterpretedOption_NamePart_msginit
Initial value:

Definition at line 2850 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ google_protobuf_UninterpretedOption_submsgs

const upb_msglayout* const google_protobuf_UninterpretedOption_submsgs[1]
static

◆ halt

opcode halt = OP_HALT
static

◆ inf

const char inf[] = "\"Infinity\""

◆ json_en_duration_machine

const int json_en_duration_machine = 40
static

◆ json_en_fieldmask_machine

const int json_en_fieldmask_machine = 75
static

◆ json_en_main

const int json_en_main = 1
static

◆ json_en_number_machine

const int json_en_number_machine = 23
static

◆ json_en_string_machine

const int json_en_string_machine = 32
static

◆ json_en_timestamp_machine

const int json_en_timestamp_machine = 47
static

◆ json_en_value_machine

const int json_en_value_machine = 78
static

◆ json_start

const int json_start = 1
static

◆ kControlCharLimit

const char kControlCharLimit = 0x20
static

◆ kPbDecoderStackOverflow

const char* kPbDecoderStackOverflow = "Nesting too deep."

◆ kPbDecoderSubmessageTooLong

const char* kPbDecoderSubmessageTooLong
Initial value:
=
"Submessage end extends past enclosing submessage."

Definition at line 6444 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.

◆ kUnterminatedVarint

const char* kUnterminatedVarint = "Unterminated varint."
static

◆ MAX_LOAD

const double MAX_LOAD = 0.85
static

◆ maxalign

const size_t maxalign = 16
static

◆ MIN_DENSITY

const double MIN_DENSITY = 0.1
static

◆ neginf

const char neginf[] = "\"-Infinity\""

◆ ptr_words

const size_t ptr_words = sizeof(void*) / sizeof(uint32_t)

◆ suspend_capture

char suspend_capture
static

◆ upb_alloc_global

upb_alloc upb_alloc_global = {&upb_global_allocfunc}

◆ upb_desctype_to_fieldtype

const uint8_t upb_desctype_to_fieldtype[]

◆ upb_pb_native_wire_types

const uint8_t upb_pb_native_wire_types[]
upb_func
void upb_func(void)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:457
ptr
char * ptr
Definition: abseil-cpp/absl/base/internal/low_level_alloc_test.cc:45
google_protobuf_FileDescriptorSet__fields
static const upb_msglayout_field google_protobuf_FileDescriptorSet__fields[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2446
UPB_TYPE_UINT64
@ UPB_TYPE_UINT64
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:487
google_protobuf_MethodDescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_MethodDescriptorProto_submsgs[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2658
commit
static bool commit(upb_pb_encoder *e)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:7667
google_protobuf_SourceCodeInfo_msginit
const upb_msglayout google_protobuf_SourceCodeInfo_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2864
dst
static const char dst[]
Definition: test-fs-copyfile.c:37
google_protobuf_UninterpretedOption__fields
static const upb_msglayout_field google_protobuf_UninterpretedOption__fields[7]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2829
google_protobuf_DescriptorProto_ExtensionRange__fields
static const upb_msglayout_field google_protobuf_DescriptorProto_ExtensionRange__fields[3]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2519
google_protobuf_EnumDescriptorProto__fields
static const upb_msglayout_field google_protobuf_EnumDescriptorProto__fields[5]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2600
google_protobuf_UninterpretedOption_NamePart_msginit
const upb_msglayout google_protobuf_UninterpretedOption_NamePart_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2850
google_protobuf_EnumDescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_EnumDescriptorProto_submsgs[3]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2594
UPB_TYPE_FLOAT
@ UPB_TYPE_FLOAT
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:476
google_protobuf_DescriptorProto_ExtensionRange_submsgs
static const upb_msglayout *const google_protobuf_DescriptorProto_ExtensionRange_submsgs[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2515
google_protobuf_OneofDescriptorProto__fields
static const upb_msglayout_field google_protobuf_OneofDescriptorProto__fields[2]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2583
google_protobuf_GeneratedCodeInfo_Annotation__fields
static const upb_msglayout_field google_protobuf_GeneratedCodeInfo_Annotation__fields[4]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2898
google_protobuf_MessageOptions_msginit
const upb_msglayout google_protobuf_MessageOptions_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2723
google_protobuf_ServiceOptions__fields
static const upb_msglayout_field google_protobuf_ServiceOptions__fields[2]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2798
google_protobuf_GeneratedCodeInfo_submsgs
static const upb_msglayout *const google_protobuf_GeneratedCodeInfo_submsgs[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2884
google_protobuf_MethodOptions_submsgs
static const upb_msglayout *const google_protobuf_MethodOptions_submsgs[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2809
google_protobuf_EnumDescriptorProto_EnumReservedRange__fields
static const upb_msglayout_field google_protobuf_EnumDescriptorProto_EnumReservedRange__fields[2]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2614
google_protobuf_OneofOptions_submsgs
static const upb_msglayout *const google_protobuf_OneofOptions_submsgs[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2749
buf
voidpf void * buf
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:136
UPB_WIRE_TYPE_END_GROUP
@ UPB_WIRE_TYPE_END_GROUP
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:465
google_protobuf_MethodOptions_msginit
const upb_msglayout google_protobuf_MethodOptions_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2819
google_protobuf_ServiceDescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_ServiceDescriptorProto_submsgs[2]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2641
google_protobuf_SourceCodeInfo_Location__fields
static const upb_msglayout_field google_protobuf_SourceCodeInfo_Location__fields[5]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2870
google_protobuf_UninterpretedOption_submsgs
static const upb_msglayout *const google_protobuf_UninterpretedOption_submsgs[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2825
doset
static bool doset(upb_handlers *h, int32_t sel, const upb_fielddef *f, upb_handlertype_t type, upb_func *func, const upb_handlerattr *attr)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:4973
u
OPENSSL_EXPORT pem_password_cb void * u
Definition: pem.h:351
google_protobuf_DescriptorProto_ReservedRange__fields
static const upb_msglayout_field google_protobuf_DescriptorProto_ReservedRange__fields[2]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2531
UPB_TYPE_UINT32
@ UPB_TYPE_UINT32
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:478
setup.name
name
Definition: setup.py:542
xds_manager.p
p
Definition: xds_manager.py:60
printer_endmsg_noframe
static bool printer_endmsg_noframe(void *closure, const void *handler_data, upb_status *s)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:12913
putkey
static bool putkey(void *closure, const void *handler_data)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:12157
google_protobuf_EnumValueDescriptorProto__fields
static const upb_msglayout_field google_protobuf_EnumValueDescriptorProto__fields[3]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2629
uint8_t
unsigned char uint8_t
Definition: stdint-msvc2008.h:78
grpc._common.encode
def encode(s)
Definition: grpc/_common.py:68
upb_msg_set
void upb_msg_set(upb_msg *msg, const upb_fielddef *f, upb_msgval val, upb_arena *a)
Definition: php-upb.c:7132
google_protobuf_FieldDescriptorProto_msginit
const upb_msglayout google_protobuf_FieldDescriptorProto_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2573
google_protobuf_ServiceDescriptorProto__fields
static const upb_msglayout_field google_protobuf_ServiceDescriptorProto__fields[3]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2646
google_protobuf_ServiceDescriptorProto_msginit
const upb_msglayout google_protobuf_ServiceDescriptorProto_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2652
absl::time_internal::cctz::convert
civil_second convert(const time_point< D > &tp, const time_zone &tz)
Definition: abseil-cpp/absl/time/internal/cctz/include/cctz/time_zone.h:250
UPB_WIRE_TYPE_32BIT
@ UPB_WIRE_TYPE_32BIT
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:466
google_protobuf_UninterpretedOption_msginit
const upb_msglayout google_protobuf_UninterpretedOption_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2839
UPB_WIRE_TYPE_VARINT
@ UPB_WIRE_TYPE_VARINT
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:461
UPB_WIRE_TYPE_DELIMITED
@ UPB_WIRE_TYPE_DELIMITED
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:463
UPB_TYPE_BYTES
@ UPB_TYPE_BYTES
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:482
upb_array_add
bool upb_array_add(upb_array *arr, size_t elements, size_t elem_size, const void *data, upb_arena *arena)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:351
google_protobuf_EnumOptions_msginit
const upb_msglayout google_protobuf_EnumOptions_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2773
google_protobuf_OneofDescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_OneofDescriptorProto_submsgs[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2579
UPB_TYPE_ENUM
@ UPB_TYPE_ENUM
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:479
start
static uint64_t start
Definition: benchmark-pound.c:74
absl::FormatConversionChar::e
@ e
c
void c(T a)
Definition: miscompile_with_no_unique_address_test.cc:40
autogen_x86imm.f
f
Definition: autogen_x86imm.py:9
google_protobuf_ExtensionRangeOptions_submsgs
static const upb_msglayout *const google_protobuf_ExtensionRangeOptions_submsgs[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2542
google_protobuf_FileDescriptorSet_submsgs
static const upb_msglayout *const google_protobuf_FileDescriptorSet_submsgs[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2442
google_protobuf_EnumOptions__fields
static const upb_msglayout_field google_protobuf_EnumOptions__fields[3]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2767
max
int max
Definition: bloaty/third_party/zlib/examples/enough.c:170
google_protobuf_EnumValueOptions_msginit
const upb_msglayout google_protobuf_EnumValueOptions_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2788
UPB_FIELD_AT
#define UPB_FIELD_AT(msg, fieldtype, offset)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:35
google_protobuf_EnumDescriptorProto_msginit
const upb_msglayout google_protobuf_EnumDescriptorProto_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2608
VMCASE
#define VMCASE(op, code)
upb_msg_handlerdata
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:5383
UPB_SIZE
#define UPB_SIZE(size32, size64)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:32
closure
grpc_closure closure
Definition: src/core/lib/surface/server.cc:466
google_protobuf_SourceCodeInfo_Location_msginit
const upb_msglayout google_protobuf_SourceCodeInfo_Location_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2878
google_protobuf_SourceCodeInfo_submsgs
static const upb_msglayout *const google_protobuf_SourceCodeInfo_submsgs[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2856
google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit
const upb_msglayout google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2619
indent
static int indent(upb_textprinter *p)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:8092
arg
Definition: cmdline.cc:40
printer_startmsg_noframe
static bool printer_startmsg_noframe(void *closure, const void *handler_data)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:12904
google_protobuf_FieldDescriptorProto__fields
static const upb_msglayout_field google_protobuf_FieldDescriptorProto__fields[10]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2560
data
char data[kBufferLength]
Definition: abseil-cpp/absl/strings/internal/str_format/float_conversion.cc:1006
trygetsel
static int32_t trygetsel(upb_handlers *h, const upb_fielddef *f, upb_handlertype_t type)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:4948
upb_fielddef
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2934
google_protobuf_FileDescriptorProto__fields
static const upb_msglayout_field google_protobuf_FileDescriptorProto__fields[12]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2465
wrapper
grpc_channel_wrapper * wrapper
Definition: src/php/ext/grpc/channel.h:48
min
#define min(a, b)
Definition: qsort.h:83
d
static const fe d
Definition: curve25519_tables.h:19
google_protobuf_FieldOptions__fields
static const upb_msglayout_field google_protobuf_FieldOptions__fields[7]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2733
UPB_TYPE_INT32
@ UPB_TYPE_INT32
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:477
google_protobuf_MessageOptions__fields
static const upb_msglayout_field google_protobuf_MessageOptions__fields[5]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2715
upb_msgdef_itof
const upb_fielddef * upb_msgdef_itof(const upb_msgdef *m, uint32_t i)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:3556
msg
std::string msg
Definition: client_interceptors_end2end_test.cc:372
google_protobuf_MethodOptions__fields
static const upb_msglayout_field google_protobuf_MethodOptions__fields[3]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2813
google_protobuf_FileDescriptorProto_msginit
const upb_msglayout google_protobuf_FileDescriptorProto_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2480
google_protobuf_FieldOptions_msginit
const upb_msglayout google_protobuf_FieldOptions_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2743
value
const char * value
Definition: hpack_parser_table.cc:165
google_protobuf_DescriptorProto__fields
static const upb_msglayout_field google_protobuf_DescriptorProto__fields[10]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2496
testing::internal::fmt
GTEST_API_ const char * fmt
Definition: bloaty/third_party/googletest/googletest/include/gtest/gtest.h:1808
ares::byte
unsigned char byte
Definition: ares-test.h:33
google_protobuf_FileOptions_submsgs
static const upb_msglayout *const google_protobuf_FileOptions_submsgs[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2677
attr
OPENSSL_EXPORT X509_ATTRIBUTE * attr
Definition: x509.h:1666
benchmark.md
md
Definition: benchmark.py:86
google_protobuf_EnumValueOptions_submsgs
static const upb_msglayout *const google_protobuf_EnumValueOptions_submsgs[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2779
func
const EVP_CIPHER *(* func)(void)
Definition: cipher_extra.c:73
UPB_TYPE_STRING
@ UPB_TYPE_STRING
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:481
google_protobuf_DescriptorProto_ReservedRange_msginit
const upb_msglayout google_protobuf_DescriptorProto_ReservedRange_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2536
google_protobuf_OneofOptions__fields
static const upb_msglayout_field google_protobuf_OneofOptions__fields[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2753
google_protobuf_ServiceOptions_submsgs
static const upb_msglayout *const google_protobuf_ServiceOptions_submsgs[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2794
upb_decode_varint
static bool upb_decode_varint(const char **ptr, const char *limit, uint64_t *val)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:205
google_protobuf_GeneratedCodeInfo__fields
static const upb_msglayout_field google_protobuf_GeneratedCodeInfo__fields[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2888
grpc._common.decode
def decode(b)
Definition: grpc/_common.py:75
upb_put_varint
static bool upb_put_varint(upb_encstate *e, uint64_t val)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:839
UPB_HANDLERATTR_INIT
#define UPB_HANDLERATTR_INIT
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:3972
google_protobuf_MethodDescriptorProto__fields
static const upb_msglayout_field google_protobuf_MethodDescriptorProto__fields[6]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2662
google_protobuf_EnumOptions_submsgs
static const upb_msglayout *const google_protobuf_EnumOptions_submsgs[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2763
google_protobuf_FileDescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_FileDescriptorProto_submsgs[6]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2456
google_protobuf_MethodDescriptorProto_msginit
const upb_msglayout google_protobuf_MethodDescriptorProto_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2671
UPB_WIRE_TYPE_64BIT
@ UPB_WIRE_TYPE_64BIT
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:462
closure
Definition: proxy.cc:59
UPB_TYPE_MESSAGE
@ UPB_TYPE_MESSAGE
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:483
absl::ABSL_NAMESPACE_BEGIN::dummy
int dummy
Definition: function_type_benchmark.cc:28
google_protobuf_OneofDescriptorProto_msginit
const upb_msglayout google_protobuf_OneofDescriptorProto_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2588
upb_handlerattr
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:3965
google_protobuf_FileOptions__fields
static const upb_msglayout_field google_protobuf_FileOptions__fields[21]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2681
encode_tag
static bool encode_tag(upb_pb_encoder *e, const tag_t *tag)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:7801
google_protobuf_FieldDescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_FieldDescriptorProto_submsgs[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2556
google_protobuf_OneofOptions_msginit
const upb_msglayout google_protobuf_OneofOptions_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2757
google_protobuf_SourceCodeInfo__fields
static const upb_msglayout_field google_protobuf_SourceCodeInfo__fields[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2860
google_protobuf_ExtensionRangeOptions_msginit
const upb_msglayout google_protobuf_ExtensionRangeOptions_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2550
google_protobuf_FileOptions_msginit
const upb_msglayout google_protobuf_FileOptions_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2705
UPB_WIRE_TYPE_START_GROUP
@ UPB_WIRE_TYPE_START_GROUP
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:464
upb_handlers_msgdef
const upb_msgdef * upb_handlers_msgdef(const upb_handlers *h)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:5195
asyncio_get_stats.type
type
Definition: asyncio_get_stats.py:37
len
int len
Definition: abseil-cpp/absl/base/internal/low_level_alloc_test.cc:46
run_grpclb_interop_tests.l
dictionary l
Definition: run_grpclb_interop_tests.py:410
length
std::size_t length
Definition: abseil-cpp/absl/time/internal/test_util.cc:57
endfield
static int endfield(upb_textprinter *p)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:8100
regress.m
m
Definition: regress/regress.py:25
upb_fielddef_isseq
bool upb_fielddef_isseq(const upb_fielddef *f)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:3495
google_protobuf_GeneratedCodeInfo_Annotation_msginit
const upb_msglayout google_protobuf_GeneratedCodeInfo_Annotation_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2905
google_protobuf_DescriptorProto_msginit
const upb_msglayout google_protobuf_DescriptorProto_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2509
google_protobuf_EnumValueDescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_EnumValueDescriptorProto_submsgs[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2625
upb_handlers
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:4921
google_protobuf_EnumValueDescriptorProto_msginit
const upb_msglayout google_protobuf_EnumValueDescriptorProto_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2635
google_protobuf_ServiceOptions_msginit
const upb_msglayout google_protobuf_ServiceOptions_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2803
google_protobuf_DescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_DescriptorProto_submsgs[8]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2486
google_protobuf_MessageOptions_submsgs
static const upb_msglayout *const google_protobuf_MessageOptions_submsgs[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2711
UPB_TYPE_DOUBLE
@ UPB_TYPE_DOUBLE
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:485
google_protobuf_ExtensionRangeOptions__fields
static const upb_msglayout_field google_protobuf_ExtensionRangeOptions__fields[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2546
UPB_TYPE_BOOL
@ UPB_TYPE_BOOL
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:474
UPB_TYPE_INT64
@ UPB_TYPE_INT64
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h:486
google_protobuf_FieldOptions_submsgs
static const upb_msglayout *const google_protobuf_FieldOptions_submsgs[1]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2729
upb_msgdef
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2962
parser_getsel
static upb_selector_t parser_getsel(upb_json_parser *p)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:8864
upb_fielddef_name
const char * upb_fielddef_name(const upb_fielddef *f)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:3367
offset
voidpf uLong offset
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:142
google_protobuf_DescriptorProto_ExtensionRange_msginit
const upb_msglayout google_protobuf_DescriptorProto_ExtensionRange_msginit
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2525
google_protobuf_UninterpretedOption_NamePart__fields
static const upb_msglayout_field google_protobuf_UninterpretedOption_NamePart__fields[2]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2845
google_protobuf_EnumValueOptions__fields
static const upb_msglayout_field google_protobuf_EnumValueOptions__fields[2]
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:2783


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