|
bool | _upb_def_validate (upb_def *const *defs, size_t n, upb_status *s) |
|
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 | add_field (upb_msgdef *m, upb_fielddef *f, const void *ref_donor) |
|
static void | add_jsonname_table (upb_json_parsermethod *m, const upb_msgdef *md) |
|
static void | advance (upb_pbdecoder *d, size_t len) |
|
static void | advance_to_matching (upb_symtab_iter *iter) |
|
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 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_field_add (const upb_msgdef *m, const upb_fielddef *f, upb_status *s) |
|
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) |
|
static void | checkref (const upb_refcounted *r, const void *owner, bool ref2) |
|
static bool | checksetdefault (upb_fielddef *f, upb_fieldtype_t type) |
|
bool | checkstart (upb_handlers *h, const upb_fielddef *f, upb_handlertype_t type, upb_status *status) |
|
static void | chkdefaulttype (const upb_fielddef *f, upb_fieldtype_t type) |
|
int | cmp_fields (const void *p1, const void *p2) |
|
static color_t | color (tarjan *t, const upb_refcounted *r) |
|
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 | crossref (const upb_refcounted *r, const upb_refcounted *subobj, void *_t) |
|
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) |
|
static bool | default_err (void *ud, const upb_status *status) |
|
size_t | delim_remaining (const upb_pbdecoder *d) |
|
void | descreader_cleanup (void *_r) |
|
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 void | do_tarjan (const upb_refcounted *obj, tarjan *t) |
|
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, upb_handlerattr *attr) |
|
const void * | effective_closure_type (upb_handlers *h, const upb_fielddef *f, upb_handlertype_t type) |
|
static upb_tabent * | emptyent (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) |
|
static bool | enum_endmsg (void *closure, const void *hd, upb_status *status) |
|
static size_t | enum_onname (void *closure, const void *hd, const char *buf, size_t n, const upb_bufhandle *handle) |
|
static bool | enumdefaultint32 (const upb_fielddef *f, int32_t *val) |
|
static const char * | enumdefaultstr (const upb_fielddef *f) |
|
static bool | enumval_endmsg (void *closure, const void *hd, upb_status *status) |
|
static size_t | enumval_onname (void *closure, const void *hd, const char *buf, size_t n, const upb_bufhandle *handle) |
|
static bool | enumval_onnumber (void *closure, const void *hd, int32_t val) |
|
static bool | enumval_startmsg (void *closure, const void *hd) |
|
int64_t | epoch (int year, int yday, int hour, int min, int sec) |
|
static UPB_NORETURN void | err (tarjan *t) |
|
static bool | escape (upb_json_parser *p, const char *ptr) |
|
static char | escape_char (char in) |
|
static bool | field_endmsg (void *closure, const void *hd, upb_status *status) |
|
static size_t | field_ondefaultval (void *closure, const void *hd, const char *buf, size_t n, const upb_bufhandle *handle) |
|
static size_t | field_onextendee (void *closure, const void *hd, const char *buf, size_t n, const upb_bufhandle *handle) |
|
static bool | field_onlabel (void *closure, const void *hd, int32_t val) |
|
static bool | field_onlazy (void *closure, const void *hd, bool val) |
|
static size_t | field_onname (void *closure, const void *hd, const char *buf, size_t n, const upb_bufhandle *handle) |
|
static bool | field_onnumber (void *closure, const void *hd, int32_t val) |
|
static bool | field_ononeofindex (void *closure, const void *hd, int32_t index) |
|
static bool | field_onpacked (void *closure, const void *hd, bool val) |
|
static bool | field_ontype (void *closure, const void *hd, int32_t val) |
|
static size_t | field_ontypename (void *closure, const void *hd, const char *buf, size_t n, const upb_bufhandle *handle) |
|
uint32_t | field_rank (const upb_fielddef *f) |
|
static bool | field_startmsg (void *closure, const void *hd) |
|
static bool | file_end (void *closure, const void *hd, upb_status *status) |
|
static bool | file_endext (void *closure, const void *hd) |
|
static size_t | file_ondep (void *closure, const void *hd, const char *buf, size_t n, const upb_bufhandle *handle) |
|
static size_t | file_onname (void *closure, const void *hd, const char *buf, size_t n, const upb_bufhandle *handle) |
|
static size_t | file_onpackage (void *closure, const void *hd, const char *buf, size_t n, const upb_bufhandle *handle) |
|
static size_t | file_onphpnamespace (void *closure, const void *hd, const char *buf, size_t n, const upb_bufhandle *handle) |
|
static size_t | file_onphpprefix (void *closure, const void *hd, const char *buf, size_t n, const upb_bufhandle *handle) |
|
static size_t | file_onsyntax (void *closure, const void *hd, const char *buf, size_t n, const upb_bufhandle *handle) |
|
static bool | file_start (void *closure, const void *hd) |
|
static void * | file_startenum (void *closure, const void *hd) |
|
static void * | file_startext (void *closure, const void *hd) |
|
static void * | file_startmsg (void *closure, const void *hd) |
|
static void * | file_startphpnamespace (void *closure, const void *hd, size_t size_hint) |
|
static void * | fileset_startfile (void *closure, const void *hd) |
|
static void | find_methods (compiler *c, const upb_handlers *h) |
|
static upb_pbdecodermethod * | find_submethod (const compiler *c, const upb_pbdecodermethod *method, const upb_fielddef *f) |
|
static const upb_tabent * | findentry (const upb_table *t, lookupkey_t key, uint32_t hash, eqlfunc_t *eql) |
|
static upb_tabent * | findentry_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 | free_json_parsermethod (upb_refcounted *r) |
|
static void | freecompiler (compiler *c) |
|
static void | freeenum (upb_refcounted *r) |
|
static void | freefield (upb_refcounted *r) |
|
static void | freefiledef (upb_refcounted *r) |
|
static void | freegroup (upb_refcounted *r) |
|
static void | freehandlers (upb_refcounted *r) |
|
static void | freemethod (upb_refcounted *r) |
|
static void | freemsg (upb_refcounted *r) |
|
static void | freeobj (upb_refcounted *o) |
|
static void | freeoneof (upb_refcounted *r) |
|
static void | freestr (str_t *s) |
|
void | freestrpc (void *ptr) |
|
static bool | freeze (upb_refcounted *const *roots, int n, upb_status *s, int maxdepth) |
|
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 uint64_t | getattr (const tarjan *t, const upb_refcounted *r) |
|
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_tabent * | getentry_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 uint32_t * | group (tarjan *t, upb_refcounted *r) |
|
static upb_refcounted * | groupleader (tarjan *t, upb_refcounted *r) |
|
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 uint32_t | idx (tarjan *t, const upb_refcounted *r) |
|
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_tabent * | int_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_tabval * | inttable_val (upb_inttable *t, uintptr_t key) |
|
static const upb_tabval * | inttable_val_const (const upb_inttable *t, uintptr_t key) |
|
static bool | is_fieldmask (const upb_msgdef *m) |
|
static bool | is_fieldmask_object (upb_json_parser *p) |
|
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 void | json_parser_any_frame_reset (upb_jsonparser_any_frame *frame) |
|
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 uint32_t | lowlink (tarjan *t, const upb_refcounted *r) |
|
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) |
|
static void | merge (upb_refcounted *r, upb_refcounted *from) |
|
static bool | merged (const upb_refcounted *r, const upb_refcounted *r2) |
|
const mgroup * | mgroup_new (const upb_handlers *dest, bool allowjit, bool lazy, const void *owner) |
|
static bool | msg_end (void *closure, const void *hd, upb_status *status) |
|
static bool | msg_endext (void *closure, const void *hd) |
|
static bool | msg_endfield (void *closure, const void *hd) |
|
static size_t | msg_name (void *closure, const void *hd, const char *buf, size_t n, const upb_bufhandle *handle) |
|
static bool | msg_onmapentry (void *closure, const void *hd, bool mapentry) |
|
static bool | msg_start (void *closure, const void *hd) |
|
static void * | msg_startext (void *closure, const void *hd) |
|
static void * | msg_startfield (void *closure, const void *hd) |
|
static void * | msg_startmsg (void *closure, const void *hd) |
|
static const char * | msgdef_name (const upb_msgdef *m) |
|
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) |
|
uint32_t | MurmurHash2 (const void *key, size_t len, uint32_t seed) |
|
static upb_tabval * | mutable_array (upb_inttable *t) |
|
static upb_tabent * | mutable_entries (upb_table *t) |
|
static void | new_tag (upb_handlers *h, const upb_fielddef *f, upb_wiretype_t wt, upb_handlerattr *attr) |
|
static compiler * | newcompiler (mgroup *group, bool lazy) |
|
static upb_handlers * | newformsg (const upb_msgdef *m, const void *owner, dfs_state *s) |
|
mgroup * | newgroup (const void *owner) |
|
static upb_pbdecodermethod * | newmethod (const upb_handlers *dest_handlers, mgroup *group) |
|
static str_t * | newstr (const char *data, size_t len) |
|
strpc * | newstrpc (upb_handlers *h, const upb_fielddef *f, bool preserve_fieldnames) |
|
strpc * | newstrpc_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 size_t | oneof_name (void *closure, const void *hd, const char *buf, size_t n, const upb_bufhandle *handle) |
|
static void | onmreg (const void *c, upb_handlers *h) |
|
static UPB_NORETURN void | oom (tarjan *t) |
|
bool | op_has_longofs (int32_t instruction) |
|
upb_pbdecoder_frame * | outer_frame (upb_pbdecoder *d) |
|
size_t | parse (void *closure, const void *hd, const char *buf, size_t size, const upb_bufhandle *handle) |
|
static bool | parse_default (char *str, 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 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 upb_refcounted * | pop (tarjan *t) |
|
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 void | push (tarjan *t, const upb_refcounted *r) |
|
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 const upb_enumdef * | refe (const upb_enumdef *e, const void *owner) |
|
static void | refgroup (uint32_t *group) |
|
static const upb_msgdef * | refm (const upb_msgdef *m, const void *owner) |
|
static void | reghandlers (const void *closure, upb_handlers *h) |
|
static void | release_containingtype (upb_fielddef *f) |
|
static void | release_ref2 (const upb_refcounted *obj, const upb_refcounted *subobj, void *closure) |
|
static void | release_subdef (upb_fielddef *f) |
|
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 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_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_gray (tarjan *t, const upb_refcounted *r) |
|
static void | set_lowlink (tarjan *t, const upb_refcounted *r, uint32_t lowlink) |
|
static void | set_name_table (upb_json_parser *p, upb_jsonparser_frame *frame) |
|
static void | setattr (tarjan *t, const upb_refcounted *r, uint64_t attr) |
|
static void | seterr (upb_pbdecoder *d, const char *msg) |
|
static void | sethandlers (mgroup *g, bool allowjit) |
|
static void | setofs (uint32_t *instruction, int32_t ofs) |
|
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_frame * | start_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_tabent * | str_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 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 size_t | suspend_save (upb_pbdecoder *d) |
|
static void | switchtobuf (upb_pbdecoder *d, const char *buf, const char *end) |
|
static bool | symtab_add (upb_symtab *s, upb_def *const *defs, size_t n, void *ref_donor, upb_refcounted *freeze_also, upb_status *status) |
|
| T (double, double, dbl2uint64, encode_fixed64) |
|
static void | tarjan_newgroup (tarjan *t) |
|
static void | tarjan_visit (const upb_refcounted *obj, const upb_refcounted *subobj, void *closure) |
|
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_segment * | top (upb_pb_encoder *e) |
|
static void | track (const upb_refcounted *r, const void *owner, bool ref2) |
|
static void | trackfree (const upb_refcounted *r) |
|
static void | trackinit (upb_refcounted *r) |
|
static uint64_t | trygetattr (const tarjan *t, const upb_refcounted *r) |
|
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 void | unref (const upb_refcounted *r) |
|
static bool | unrefgroup (uint32_t *group) |
|
static void | untrack (const upb_refcounted *r, const void *owner, bool ref2) |
|
static bool | upb_append_unknown (upb_decstate *d, upb_decframe *frame, const char *start) |
|
static void | upb_arena_addblock (upb_arena *a, void *ptr, size_t size, bool owned) |
|
bool | upb_arena_addcleanup (upb_arena *a, upb_cleanup_func *func, void *ud) |
|
static mem_block * | upb_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_init (upb_arena *a) |
|
void | upb_arena_init2 (upb_arena *a, void *mem, size_t size, upb_alloc *alloc) |
|
void | upb_arena_uninit (upb_arena *a) |
|
static void * | upb_array_add (upb_array *arr, size_t elements) |
|
upb_msgval | upb_array_get (const upb_array *arr, size_t i) |
|
static bool | upb_array_grow (upb_array *arr, size_t elements) |
|
upb_array * | upb_array_new (upb_fieldtype_t type, upb_arena *a) |
|
static void * | upb_array_reserve (upb_array *arr, size_t elements) |
|
bool | upb_array_set (upb_array *arr, size_t i, upb_msgval val) |
|
size_t | upb_array_size (const upb_array *arr) |
|
upb_fieldtype_t | upb_array_type (const upb_array *arr) |
|
size_t | upb_bufhandle_objofs (const upb_bufhandle *h) |
|
void | upb_bufsink_free (upb_bufsink *sink) |
|
const char * | upb_bufsink_getdata (const upb_bufsink *sink, size_t *len) |
|
upb_bufsink * | upb_bufsink_new (upb_env *env) |
|
upb_bytessink * | upb_bufsink_sink (upb_bufsink *sink) |
|
static void * | upb_bufsink_start (void *_sink, const void *hd, size_t size_hint) |
|
static size_t | upb_bufsink_string (void *_sink, const void *hd, const char *ptr, size_t len, const upb_bufhandle *handle) |
|
bool | upb_bufsrc_putbuf (const char *buf, size_t len, upb_bytessink *sink) |
|
void | upb_byteshandler_init (upb_byteshandler *h) |
|
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) |
|
void | upb_byteshandler_uninit (upb_byteshandler *h) |
|
static void * | upb_calloc (size_t size) |
|
static void | upb_check_alloc (upb_table *t, upb_alloc *a) |
|
bool | upb_decode (upb_strview buf, void *msg, const upb_msglayout *l) |
|
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 char *field_start, 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 char *field_start, const upb_msglayout_field *field) |
|
static bool | upb_decode_delimitedfield (upb_decstate *d, upb_decframe *frame, const char *field_start, const upb_msglayout_field *field) |
|
static bool | upb_decode_field (upb_decstate *d, upb_decframe *frame) |
|
static bool | upb_decode_fixedpacked (upb_array *arr, upb_strview data, int elem_size) |
|
static bool | upb_decode_message (upb_decstate *d, const char *limit, int group_number, char *msg, const upb_msglayout *l) |
|
static char * | upb_decode_prepareslot (upb_decframe *frame, const upb_msglayout_field *field) |
|
static void | upb_decode_setpresent (upb_decframe *frame, const upb_msglayout_field *field) |
|
static bool | upb_decode_string (const char **ptr, const char *limit, upb_strview *val) |
|
static bool | upb_decode_submsg (upb_decstate *d, upb_decframe *frame, const char *limit, const upb_msglayout_field *field, int group_number) |
|
static bool | upb_decode_tag (const char **ptr, const char *limit, int *field_number, int *wire_type) |
|
static bool | upb_decode_toarray (upb_decstate *d, upb_decframe *frame, const char *field_start, const upb_msglayout_field *field, upb_strview val) |
|
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 char *field_start, const upb_msglayout_field *field) |
|
const upb_filedef * | upb_def_file (const upb_def *d) |
|
bool | upb_def_freeze (upb_def *const *defs, size_t n, upb_status *s) |
|
const char * | upb_def_fullname (const upb_def *d) |
|
static bool | upb_def_init (upb_def *def, upb_deftype_t type, const struct upb_refcounted_vtbl *vtbl, const void *owner) |
|
const char * | upb_def_name (const upb_def *d) |
|
bool | upb_def_setfullname (upb_def *def, const char *fullname, upb_status *s) |
|
upb_deftype_t | upb_def_type (const upb_def *d) |
|
static void | upb_def_uninit (upb_def *def) |
|
upb_descreader * | upb_descreader_create (upb_env *e, const upb_handlers *h) |
|
bool | upb_descreader_endcontainer (upb_descreader *r) |
|
upb_filedef * | upb_descreader_file (const upb_descreader *r, size_t i) |
|
size_t | upb_descreader_filecount (const upb_descreader *r) |
|
static upb_oneofdef * | upb_descreader_getoneof (upb_descreader *r, uint32_t index) |
|
upb_sink * | upb_descreader_input (upb_descreader *r) |
|
static upb_def * | upb_descreader_last (upb_descreader *r) |
|
const upb_handlers * | upb_descreader_newhandlers (const void *owner) |
|
static bool | upb_descreader_qualify (upb_filedef *f, char *str, int32_t start) |
|
void | upb_descreader_setscopename (upb_descreader *r, char *str) |
|
void | upb_descreader_startcontainer (upb_descreader *r) |
|
static upb_msgdef * | upb_descreader_top (upb_descreader *r) |
|
bool | upb_dumptostderr (void *closure, const upb_status *status) |
|
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) |
|
bool | upb_enumdef_addval (upb_enumdef *e, const char *name, int32_t num, upb_status *status) |
|
int32_t | upb_enumdef_default (const upb_enumdef *e) |
|
bool | upb_enumdef_freeze (upb_enumdef *e, upb_status *status) |
|
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) |
|
upb_enumdef * | upb_enumdef_new (const void *owner) |
|
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_enumdef_setdefault (upb_enumdef *e, int32_t val, upb_status *s) |
|
bool | upb_enumdef_setfullname (upb_enumdef *e, const char *fullname, upb_status *s) |
|
bool | upb_env_addcleanup (upb_env *e, upb_cleanup_func *func, void *ud) |
|
size_t | upb_env_bytesallocated (const upb_env *e) |
|
void | upb_env_free (upb_env *e, void *ptr) |
|
void | upb_env_init (upb_env *e) |
|
void | upb_env_init2 (upb_env *e, void *mem, size_t n, upb_alloc *alloc) |
|
void | upb_env_initonly (upb_env *e) |
|
void * | upb_env_malloc (upb_env *e, size_t size) |
|
void * | upb_env_realloc (upb_env *e, void *ptr, size_t oldsize, size_t size) |
|
bool | upb_env_reporterror (upb_env *e, const upb_status *status) |
|
void | upb_env_reporterrorsto (upb_env *e, upb_status *s) |
|
void | upb_env_seterrorfunc (upb_env *e, upb_error_func *func, void *ud) |
|
void | upb_env_uninit (upb_env *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_oneofdef * | upb_fielddef_containingoneof (const upb_fielddef *f) |
|
const upb_msgdef * | upb_fielddef_containingtype (const upb_fielddef *f) |
|
upb_msgdef * | upb_fielddef_containingtype_mutable (upb_fielddef *f) |
|
const char * | upb_fielddef_containingtypename (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) |
|
bool | upb_fielddef_enumhasdefaultint32 (const upb_fielddef *f) |
|
bool | upb_fielddef_enumhasdefaultstr (const upb_fielddef *f) |
|
const upb_enumdef * | upb_fielddef_enumsubdef (const upb_fielddef *f) |
|
const char * | upb_fielddef_fullname (const upb_fielddef *e) |
|
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) |
|
static void | upb_fielddef_init_default (upb_fielddef *f) |
|
upb_intfmt_t | upb_fielddef_intfmt (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) |
|
bool | upb_fielddef_istagdelim (const upb_fielddef *f) |
|
upb_label_t | upb_fielddef_label (const upb_fielddef *f) |
|
bool | upb_fielddef_lazy (const upb_fielddef *f) |
|
const upb_msgdef * | upb_fielddef_msgsubdef (const upb_fielddef *f) |
|
const char * | upb_fielddef_name (const upb_fielddef *f) |
|
upb_fielddef * | upb_fielddef_new (const void *o) |
|
uint32_t | upb_fielddef_number (const upb_fielddef *f) |
|
bool | upb_fielddef_packed (const upb_fielddef *f) |
|
bool | upb_fielddef_setcontainingtypename (upb_fielddef *f, const char *name, upb_status *s) |
|
void | upb_fielddef_setdefaultbool (upb_fielddef *f, bool value) |
|
void | upb_fielddef_setdefaultcstr (upb_fielddef *f, const char *str, upb_status *s) |
|
void | upb_fielddef_setdefaultdouble (upb_fielddef *f, double value) |
|
void | upb_fielddef_setdefaultfloat (upb_fielddef *f, float value) |
|
void | upb_fielddef_setdefaultint32 (upb_fielddef *f, int32_t value) |
|
void | upb_fielddef_setdefaultint64 (upb_fielddef *f, int64_t value) |
|
bool | upb_fielddef_setdefaultstr (upb_fielddef *f, const void *str, size_t len, upb_status *s) |
|
void | upb_fielddef_setdefaultuint32 (upb_fielddef *f, uint32_t value) |
|
void | upb_fielddef_setdefaultuint64 (upb_fielddef *f, uint64_t value) |
|
void | upb_fielddef_setdescriptortype (upb_fielddef *f, int type) |
|
bool | upb_fielddef_setenumsubdef (upb_fielddef *f, const upb_enumdef *subdef, upb_status *s) |
|
void | upb_fielddef_setintfmt (upb_fielddef *f, upb_intfmt_t fmt) |
|
void | upb_fielddef_setisextension (upb_fielddef *f, bool is_extension) |
|
void | upb_fielddef_setlabel (upb_fielddef *f, upb_label_t label) |
|
void | upb_fielddef_setlazy (upb_fielddef *f, bool lazy) |
|
bool | upb_fielddef_setmsgsubdef (upb_fielddef *f, const upb_msgdef *subdef, upb_status *s) |
|
bool | upb_fielddef_setname (upb_fielddef *f, const char *name, upb_status *s) |
|
bool | upb_fielddef_setnumber (upb_fielddef *f, uint32_t number, upb_status *s) |
|
void | upb_fielddef_setpacked (upb_fielddef *f, bool packed) |
|
bool | upb_fielddef_setsubdef (upb_fielddef *f, const upb_def *subdef, upb_status *s) |
|
bool | upb_fielddef_setsubdefname (upb_fielddef *f, const char *name, upb_status *s) |
|
void | upb_fielddef_settagdelim (upb_fielddef *f, bool tag_delim) |
|
void | upb_fielddef_settype (upb_fielddef *f, upb_fieldtype_t type) |
|
const upb_def * | upb_fielddef_subdef (const upb_fielddef *f) |
|
upb_def * | upb_fielddef_subdef_mutable (upb_fielddef *f) |
|
const char * | upb_fielddef_subdefname (const upb_fielddef *f) |
|
upb_fieldtype_t | upb_fielddef_type (const upb_fielddef *f) |
|
bool | upb_fielddef_typeisset (const upb_fielddef *f) |
|
static void | upb_fielddef_uninit_default (upb_fielddef *f) |
|
static upb_ctype_t | upb_fieldtotabtype (upb_fieldtype_t type) |
|
bool | upb_fieldtype_mapkeyok (upb_fieldtype_t type) |
|
bool | upb_filedef_adddef (upb_filedef *f, upb_def *def, const void *ref_donor, upb_status *s) |
|
bool | upb_filedef_adddep (upb_filedef *f, const upb_filedef *dep) |
|
const upb_def * | upb_filedef_def (const upb_filedef *f, size_t i) |
|
size_t | upb_filedef_defcount (const upb_filedef *f) |
|
const upb_filedef * | upb_filedef_dep (const upb_filedef *f, size_t i) |
|
size_t | upb_filedef_depcount (const upb_filedef *f) |
|
const char * | upb_filedef_name (const upb_filedef *f) |
|
upb_filedef * | upb_filedef_new (const void *owner) |
|
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) |
|
bool | upb_filedef_setname (upb_filedef *f, const char *name, upb_status *s) |
|
bool | upb_filedef_setpackage (upb_filedef *f, const char *package, upb_status *s) |
|
bool | upb_filedef_setphpnamespace (upb_filedef *f, const char *phpnamespace, upb_status *s) |
|
bool | upb_filedef_setphpprefix (upb_filedef *f, const char *phpprefix, upb_status *s) |
|
bool | upb_filedef_setsyntax (upb_filedef *f, upb_syntax_t syntax, upb_status *s) |
|
upb_syntax_t | upb_filedef_syntax (const upb_filedef *f) |
|
static const upb_msglayout_field * | upb_find_field (const upb_msglayout *l, uint32_t field_number) |
|
static upb_array * | upb_getarr (upb_decframe *frame, const upb_msglayout_field *field) |
|
static upb_array * | upb_getorcreatearr (upb_decframe *frame, const upb_msglayout_field *field) |
|
static void * | upb_global_allocfunc (upb_alloc *alloc, void *ptr, size_t oldsize, size_t size) |
|
static char * | upb_gstrndup (const char *buf, size_t n) |
|
bool | upb_handlerattr_alwaysok (const upb_handlerattr *attr) |
|
const void * | upb_handlerattr_closuretype (const upb_handlerattr *attr) |
|
void | upb_handlerattr_init (upb_handlerattr *attr) |
|
const void * | upb_handlerattr_returnclosuretype (const upb_handlerattr *attr) |
|
bool | upb_handlerattr_setalwaysok (upb_handlerattr *attr, bool alwaysok) |
|
bool | upb_handlerattr_setclosuretype (upb_handlerattr *attr, const void *type) |
|
bool | upb_handlerattr_sethandlerdata (upb_handlerattr *attr, const void *hd) |
|
bool | upb_handlerattr_setreturnclosuretype (upb_handlerattr *attr, const void *type) |
|
void | upb_handlerattr_uninit (upb_handlerattr *attr) |
|
bool | upb_handlers_addcleanup (upb_handlers *h, void *p, upb_handlerfree *func) |
|
void | upb_handlers_clearerr (upb_handlers *h) |
|
bool | upb_handlers_freeze (upb_handlers *const *handlers, int n, upb_status *s) |
|
bool | upb_handlers_getattr (const upb_handlers *h, upb_selector_t sel, upb_handlerattr *attr) |
|
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_handlers * | upb_handlers_getsubhandlers (const upb_handlers *h, const upb_fielddef *f) |
|
const upb_handlers * | upb_handlers_getsubhandlers_sel (const upb_handlers *h, upb_selector_t sel) |
|
const upb_msgdef * | upb_handlers_msgdef (const upb_handlers *h) |
|
upb_handlers * | upb_handlers_new (const upb_msgdef *md, const void *owner) |
|
const upb_handlers * | upb_handlers_newfrozen (const upb_msgdef *m, const void *owner, upb_handlers_callback *callback, const void *closure) |
|
uint32_t | upb_handlers_selectorbaseoffset (const upb_fielddef *f) |
|
uint32_t | upb_handlers_selectorcount (const upb_fielddef *f) |
|
bool | upb_handlers_setendmsg (upb_handlers *h, upb_endmsg_handlerfunc *func, upb_handlerattr *attr) |
|
bool | upb_handlers_setstartmsg (upb_handlers *h, upb_startmsg_handlerfunc *func, 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, upb_handlerattr *attr) |
|
const upb_status * | upb_handlers_status (upb_handlers *h) |
|
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_isfield (const upb_refcounted *def) |
|
static bool | upb_isident (const char *str, size_t len, bool full, upb_status *s) |
|
static bool | upb_isletter (char c) |
|
static bool | upb_isoneof (const upb_refcounted *def) |
|
static char * | upb_join (const char *base, const char *name) |
|
upb_json_parser * | upb_json_parser_create (upb_env *env, const upb_json_parsermethod *method, const upb_symtab *symtab, upb_sink *output, bool ignore_json_unknown) |
|
upb_bytessink * | upb_json_parser_input (upb_json_parser *p) |
|
const upb_byteshandler * | upb_json_parsermethod_inputhandler (const upb_json_parsermethod *m) |
|
upb_json_parsermethod * | upb_json_parsermethod_new (const upb_msgdef *md, const void *owner) |
|
upb_json_printer * | upb_json_printer_create (upb_env *e, const upb_handlers *h, upb_bytessink *output) |
|
upb_sink * | upb_json_printer_input (upb_json_printer *p) |
|
const upb_handlers * | upb_json_printer_newhandlers (const upb_msgdef *md, bool preserve_fieldnames, const void *owner) |
|
upb_filedef ** | upb_loaddescriptor (const char *buf, size_t n, const void *owner, upb_status *status) |
|
bool | upb_map_del (upb_map *map, upb_msgval key) |
|
static upb_msgval | upb_map_fromkey (upb_fieldtype_t type, const char *key, size_t len) |
|
bool | upb_map_get (const upb_map *map, upb_msgval key, upb_msgval *val) |
|
upb_fieldtype_t | upb_map_keytype (const upb_map *map) |
|
upb_map * | upb_map_new (upb_fieldtype_t ktype, upb_fieldtype_t vtype, upb_arena *a) |
|
bool | upb_map_set (upb_map *map, upb_msgval key, upb_msgval val, upb_msgval *removed) |
|
size_t | upb_map_size (const upb_map *map) |
|
static void | upb_map_tokey (upb_fieldtype_t type, upb_msgval *key, const char **out_key, size_t *out_len) |
|
upb_fieldtype_t | upb_map_valuetype (const upb_map *map) |
|
void | upb_mapiter_begin (upb_mapiter *i, const upb_map *map) |
|
bool | upb_mapiter_done (const upb_mapiter *i) |
|
void | upb_mapiter_free (upb_mapiter *i, upb_alloc *a) |
|
bool | upb_mapiter_isequal (const upb_mapiter *i1, const upb_mapiter *i2) |
|
upb_msgval | upb_mapiter_key (const upb_mapiter *i) |
|
upb_mapiter * | upb_mapiter_new (const upb_map *t, upb_alloc *a) |
|
void | upb_mapiter_next (upb_mapiter *i) |
|
void | upb_mapiter_setdone (upb_mapiter *i) |
|
size_t | upb_mapiter_sizeof () |
|
upb_msgval | upb_mapiter_value (const upb_mapiter *i) |
|
static int64_t | upb_mktime (const struct tm *tp) |
|
void | upb_msg_addunknown (upb_msg *msg, const char *data, size_t len) |
|
upb_arena * | upb_msg_arena (const upb_msg *msg) |
|
static const upb_msglayout_field * | upb_msg_checkfield (int field_index, const upb_msglayout *l) |
|
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) |
|
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 uint8_t | upb_msg_fieldsize (const upb_msglayout_field *field) |
|
upb_msgval | upb_msg_get (const upb_msg *msg, int field_index, const upb_msglayout *l) |
|
static upb_msg_internal * | upb_msg_getinternal (upb_msg *msg) |
|
static const upb_msg_internal * | upb_msg_getinternal_const (const upb_msg *msg) |
|
static upb_msg_internal_withext * | upb_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) |
|
bool | upb_msg_has (const upb_msg *msg, int field_index, const upb_msglayout *l) |
|
static bool | upb_msg_inoneof (const upb_msglayout_field *field) |
|
static int | upb_msg_internalsize (const upb_msglayout *l) |
|
upb_fielddef * | upb_msg_iter_field (const upb_msg_field_iter *iter) |
|
upb_oneofdef * | upb_msg_iter_oneof (const upb_msg_oneof_iter *iter) |
|
upb_msg * | upb_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) |
|
void | upb_msg_oneof_iter_setdone (upb_msg_oneof_iter *iter) |
|
void | upb_msg_oneof_next (upb_msg_oneof_iter *iter) |
|
static uint32_t * | upb_msg_oneofcase (const upb_msg *msg, int field_index, const upb_msglayout *l) |
|
void | upb_msg_set (upb_msg *msg, int field_index, upb_msgval val, const upb_msglayout *l) |
|
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) |
|
bool | upb_msgdef_addfield (upb_msgdef *m, upb_fielddef *f, const void *ref_donor, upb_status *s) |
|
bool | upb_msgdef_addoneof (upb_msgdef *m, upb_oneofdef *o, const void *ref_donor, upb_status *s) |
|
bool | upb_msgdef_freeze (upb_msgdef *m, upb_status *status) |
|
const char * | upb_msgdef_fullname (const upb_msgdef *m) |
|
bool | upb_msgdef_isnumberwrapper (const upb_msgdef *m) |
|
const upb_fielddef * | upb_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) |
|
upb_msgdef * | upb_msgdef_new (const void *owner) |
|
const upb_fielddef * | upb_msgdef_ntof (const upb_msgdef *m, const char *name, size_t len) |
|
const upb_oneofdef * | upb_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) |
|
bool | upb_msgdef_setfullname (upb_msgdef *m, const char *fullname, upb_status *s) |
|
void | upb_msgdef_setmapentry (upb_msgdef *m, bool map_entry) |
|
bool | upb_msgdef_setsyntax (upb_msgdef *m, upb_syntax_t syntax) |
|
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_msglayout * | upb_msgfactory_getlayout (upb_msgfactory *f, const upb_msgdef *m) |
|
upb_msgfactory * | upb_msgfactory_new (const upb_symtab *symtab) |
|
const upb_symtab * | upb_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 upb_msgval | upb_msgval_fromval (upb_value val) |
|
static upb_msgval | upb_msgval_read (const void *p, size_t ofs, uint8_t size) |
|
static size_t | upb_msgval_sizeof (upb_fieldtype_t type) |
|
static size_t | upb_msgval_sizeof2 (upb_fieldtype_t type) |
|
static void | upb_msgval_write (void *p, size_t ofs, upb_msgval val, uint8_t size) |
|
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_fielddef * | upb_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) |
|
bool | upb_oneofdef_addfield (upb_oneofdef *o, upb_fielddef *f, const void *ref_donor, upb_status *s) |
|
const upb_msgdef * | upb_oneofdef_containingtype (const upb_oneofdef *o) |
|
uint32_t | upb_oneofdef_index (const upb_oneofdef *o) |
|
const upb_fielddef * | upb_oneofdef_itof (const upb_oneofdef *o, uint32_t num) |
|
const char * | upb_oneofdef_name (const upb_oneofdef *o) |
|
upb_oneofdef * | upb_oneofdef_new (const void *owner) |
|
const upb_fielddef * | upb_oneofdef_ntof (const upb_oneofdef *o, const char *name, size_t length) |
|
int | upb_oneofdef_numfields (const upb_oneofdef *o) |
|
bool | upb_oneofdef_setname (upb_oneofdef *o, const char *name, upb_status *s) |
|
upb_pb_encoder * | upb_pb_encoder_create (upb_env *env, const upb_handlers *h, upb_bytessink *output) |
|
upb_sink * | upb_pb_encoder_input (upb_pb_encoder *e) |
|
const upb_handlers * | upb_pb_encoder_newhandlers (const upb_msgdef *m, const void *owner) |
|
void | upb_pb_encoder_reset (upb_pb_encoder *e) |
|
bool | upb_pbcodecache_allowjit (const upb_pbcodecache *c) |
|
const upb_pbdecodermethod * | upb_pbcodecache_getdecodermethod (upb_pbcodecache *c, const upb_pbdecodermethodopts *opts) |
|
void | upb_pbcodecache_init (upb_pbcodecache *c) |
|
bool | upb_pbcodecache_setallowjit (upb_pbcodecache *c, bool allow) |
|
void | upb_pbcodecache_uninit (upb_pbcodecache *c) |
|
uint64_t | upb_pbdecoder_bytesparsed (const upb_pbdecoder *d) |
|
UPB_NOINLINE int32_t | upb_pbdecoder_checktag_slow (upb_pbdecoder *d, uint64_t expected) |
|
upb_pbdecoder * | upb_pbdecoder_create (upb_env *e, const upb_pbdecodermethod *m, upb_sink *sink) |
|
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_pbdecodermethod * | upb_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_handlers * | upb_pbdecodermethod_desthandlers (const upb_pbdecodermethod *m) |
|
const upb_byteshandler * | upb_pbdecodermethod_inputhandler (const upb_pbdecodermethod *m) |
|
bool | upb_pbdecodermethod_isnative (const upb_pbdecodermethod *m) |
|
const upb_pbdecodermethod * | upb_pbdecodermethod_new (const upb_pbdecodermethodopts *opts, const void *owner) |
|
void | upb_pbdecodermethodopts_init (upb_pbdecodermethodopts *opts, const upb_handlers *h) |
|
void | upb_pbdecodermethodopts_setlazy (upb_pbdecodermethodopts *opts, 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) |
|
void | upb_refcounted_checkref (const upb_refcounted *r, const void *owner) |
|
void | upb_refcounted_donateref (const upb_refcounted *r, const void *from, const void *to) |
|
bool | upb_refcounted_freeze (upb_refcounted *const *roots, int n, upb_status *s, int maxdepth) |
|
bool | upb_refcounted_init (upb_refcounted *r, const struct upb_refcounted_vtbl *vtbl, const void *owner) |
|
bool | upb_refcounted_isfrozen (const upb_refcounted *r) |
|
void | upb_refcounted_ref (const upb_refcounted *r, const void *owner) |
|
void | upb_refcounted_ref2 (const upb_refcounted *r, upb_refcounted *from) |
|
void | upb_refcounted_unref (const upb_refcounted *r, const void *owner) |
|
void | upb_refcounted_unref2 (const upb_refcounted *r, upb_refcounted *from) |
|
static upb_def * | upb_resolvename (const upb_strtable *t, const char *base, const char *sym) |
|
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, upb_decframe *frame, int field_number, int wire_type) |
|
static bool | upb_skip_unknowngroup (upb_decstate *d, int field_number, const char *limit) |
|
void | upb_status_clear (upb_status *status) |
|
void | upb_status_copy (upb_status *to, const upb_status *from) |
|
int | upb_status_errcode (const upb_status *status) |
|
const char * | upb_status_errmsg (const upb_status *status) |
|
upb_errorspace * | upb_status_errspace (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) |
|
static bool | upb_streq (const char *str, const char *buf, size_t n) |
|
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) |
|
static bool | upb_subdef_typecheck (upb_fielddef *f, const upb_def *subdef, upb_status *s) |
|
bool | upb_symtab_add (upb_symtab *s, upb_def *const *defs, size_t n, void *ref_donor, upb_status *status) |
|
bool | upb_symtab_addfile (upb_symtab *s, upb_filedef *file, upb_status *status) |
|
void | upb_symtab_begin (upb_symtab_iter *iter, const upb_symtab *s, upb_deftype_t type) |
|
bool | upb_symtab_done (const upb_symtab_iter *iter) |
|
void | upb_symtab_free (upb_symtab *s) |
|
const upb_def * | upb_symtab_iter_def (const upb_symtab_iter *iter) |
|
const upb_def * | upb_symtab_lookup (const upb_symtab *s, const char *sym) |
|
const upb_enumdef * | upb_symtab_lookupenum (const upb_symtab *s, const char *sym) |
|
const upb_msgdef * | upb_symtab_lookupmsg (const upb_symtab *s, const char *sym) |
|
const upb_msgdef * | upb_symtab_lookupmsg2 (const upb_symtab *s, const char *sym, size_t len) |
|
upb_symtab * | upb_symtab_new () |
|
void | upb_symtab_next (upb_symtab_iter *iter) |
|
const upb_def * | upb_symtab_resolve (const upb_symtab *s, const char *base, const char *sym) |
|
upb_textprinter * | upb_textprinter_create (upb_env *env, const upb_handlers *h, upb_bytessink *output) |
|
upb_sink * | upb_textprinter_input (upb_textprinter *p) |
|
const upb_handlers * | upb_textprinter_newhandlers (const upb_msgdef *m, const void *owner) |
|
void | upb_textprinter_setsingleline (upb_textprinter *p, bool single_line) |
|
static upb_value | upb_toval (upb_msgval val) |
|
static const upb_fielddef * | upb_trygetfield (const upb_refcounted *def) |
|
static const upb_oneofdef * | upb_trygetoneof (const upb_refcounted *def) |
|
void | upb_upberr_setoom (upb_status *status) |
|
static bool | upb_validate_enumdef (const upb_enumdef *e, upb_status *s) |
|
static bool | upb_validate_field (upb_fielddef *f, upb_status *s) |
|
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) |
|
const upb_msgdef * | upbdefs_google_protobuf_DescriptorProto_ExtensionRange_get (const void *owner) |
|
const upb_msgdef * | upbdefs_google_protobuf_DescriptorProto_get (const void *owner) |
|
const upb_msgdef * | upbdefs_google_protobuf_DescriptorProto_ReservedRange_get (const void *owner) |
|
const upb_msgdef * | upbdefs_google_protobuf_EnumDescriptorProto_get (const void *owner) |
|
const upb_msgdef * | upbdefs_google_protobuf_EnumOptions_get (const void *owner) |
|
const upb_msgdef * | upbdefs_google_protobuf_EnumValueDescriptorProto_get (const void *owner) |
|
const upb_msgdef * | upbdefs_google_protobuf_EnumValueOptions_get (const void *owner) |
|
const upb_msgdef * | upbdefs_google_protobuf_FieldDescriptorProto_get (const void *owner) |
|
const upb_enumdef * | upbdefs_google_protobuf_FieldDescriptorProto_Label_get (const void *owner) |
|
const upb_enumdef * | upbdefs_google_protobuf_FieldDescriptorProto_Type_get (const void *owner) |
|
const upb_enumdef * | upbdefs_google_protobuf_FieldOptions_CType_get (const void *owner) |
|
const upb_msgdef * | upbdefs_google_protobuf_FieldOptions_get (const void *owner) |
|
const upb_enumdef * | upbdefs_google_protobuf_FieldOptions_JSType_get (const void *owner) |
|
const upb_msgdef * | upbdefs_google_protobuf_FileDescriptorProto_get (const void *owner) |
|
const upb_msgdef * | upbdefs_google_protobuf_FileDescriptorSet_get (const void *owner) |
|
const upb_msgdef * | upbdefs_google_protobuf_FileOptions_get (const void *owner) |
|
const upb_enumdef * | upbdefs_google_protobuf_FileOptions_OptimizeMode_get (const void *owner) |
|
const upb_msgdef * | upbdefs_google_protobuf_MessageOptions_get (const void *owner) |
|
const upb_msgdef * | upbdefs_google_protobuf_MethodDescriptorProto_get (const void *owner) |
|
const upb_msgdef * | upbdefs_google_protobuf_MethodOptions_get (const void *owner) |
|
const upb_msgdef * | upbdefs_google_protobuf_OneofDescriptorProto_get (const void *owner) |
|
const upb_msgdef * | upbdefs_google_protobuf_ServiceDescriptorProto_get (const void *owner) |
|
const upb_msgdef * | upbdefs_google_protobuf_ServiceOptions_get (const void *owner) |
|
const upb_msgdef * | upbdefs_google_protobuf_SourceCodeInfo_get (const void *owner) |
|
const upb_msgdef * | upbdefs_google_protobuf_SourceCodeInfo_Location_get (const void *owner) |
|
const upb_msgdef * | upbdefs_google_protobuf_UninterpretedOption_get (const void *owner) |
|
const upb_msgdef * | upbdefs_google_protobuf_UninterpretedOption_NamePart_get (const void *owner) |
|
static void | visit (const upb_refcounted *r, upb_refcounted_visit *v, void *closure) |
|
static void | visit_json_parsermethod (const upb_refcounted *r, upb_refcounted_visit *visit, void *closure) |
|
static void | visitenum (const upb_refcounted *r, upb_refcounted_visit *visit, void *closure) |
|
static void | visitfield (const upb_refcounted *r, upb_refcounted_visit *visit, void *closure) |
|
static void | visitfiledef (const upb_refcounted *r, upb_refcounted_visit *visit, void *closure) |
|
static void | visitgroup (const upb_refcounted *r, upb_refcounted_visit *visit, void *closure) |
|
static void | visithandlers (const upb_refcounted *r, upb_refcounted_visit *visit, void *closure) |
|
static void | visitmethod (const upb_refcounted *r, upb_refcounted_visit *visit, void *closure) |
|
static void | visitmsg (const upb_refcounted *r, upb_refcounted_visit *visit, void *closure) |
|
static void | visitoneof (const upb_refcounted *r, upb_refcounted_visit *visit, void *closure) |
|
static bool | write_err_to (void *ud, const upb_status *status) |
|