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

Go to the source code of this file.

Classes

struct  cleanup_ent
 
struct  compiler
 
struct  dfs_state
 
struct  EnumHandlerData
 
union  lookupkey_t
 
struct  mem_block
 
struct  str_t
 
struct  strpc
 
struct  tag_t
 
struct  tarjan
 
struct  upb_bufsink
 
struct  upb_decframe
 
struct  upb_decstate
 
struct  upb_descreader
 
struct  upb_descreader_frame
 
struct  upb_encstate
 
struct  upb_json_parser
 
struct  upb_json_parsermethod
 
struct  upb_json_printer
 
struct  upb_jsonparser_any_frame
 
struct  upb_jsonparser_frame
 
struct  upb_map
 
struct  upb_mapiter
 
struct  upb_msg_handlerdata
 
struct  upb_msg_internal
 
struct  upb_msg_internal_withext
 
struct  upb_msgfactory
 
struct  upb_pb_encoder
 
struct  upb_pb_encoder_segment
 
struct  upb_stringsink
 
struct  upb_textprinter
 

Macros

#define _XOPEN_SOURCE   700
 
#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 CHECK_TRUE(x)   if (!(x)) { return false; }
 
#define CHK(val)   if (!(val)) return false;
 
#define CHK(x)   if (!(x)) { return false; }
 
#define CHK(x)   do { if (!(x)) { return false; } } while(0)
 
#define CHKFMT(val)   if ((val) == (size_t)-1) return false;
 
#define CHKLENGTH(x)   if (!(x)) return -1;
 
#define DEREF(msg, ofs, type)   *PTR_AT(msg, ofs, type)
 
#define DEREF_ARR(arr, i, type)   ((type*)arr->data)[i]
 
#define EMPTYLABEL   -1
 
#define ENCODE_MAX_NESTING   64
 
#define EPOCH_YEAR   1970
 
#define F(msg, field)   upbdefs_google_protobuf_ ## msg ## _f_ ## field(m)
 
#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 PTR_AT(msg, ofs, type)   (type*)((char*)msg + ofs)
 
#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, f->index_)
 
#define T(type, ctype, convert, encode)
 
#define T(upper, lower, upbtype)
 
#define TM_YEAR_BASE   1900
 
#define TRY(type)   if (upb_handlers_getselector(f, type, &sel)) upb_inttable_insert(&t, sel, v);
 
#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(t)   offsetof(struct { char c; t x; }, x)
 
#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_FIELD_AT(msg, fieldtype, offset)   *(fieldtype*)((const char*)(msg) + offset)
 
#define UPB_JSON_MAX_DEPTH   64
 
#define UPB_MAX_MESSAGE_NESTING   64
 
#define UPB_MAXARRSIZE   16 /* 64k. */
 
#define UPB_PB_VARINT_MAX_LEN   10
 
#define UPB_READ_ONEOF(msg, fieldtype, offset, case_offset, case_val, default)
 
#define UPB_READ_ONEOF(msg, fieldtype, offset, case_offset, case_val, default)
 
#define UPB_SIZE(size32, size64)   size64
 
#define UPB_SIZE(size32, size64)   size64
 
#define UPB_TIMESTAMP_BEFORE_NANO_LEN   19
 
#define UPB_TIMESTAMP_MAX_JSON_LEN   31
 
#define UPB_TIMESTAMP_MAX_NANO_LEN   9
 
#define UPB_WRITE_ONEOF(msg, fieldtype, offset, value, case_offset, case_val)
 
#define UPB_WRITE_ONEOF(msg, fieldtype, offset, value, case_offset, case_val)
 
#define VARINT_CASE(ctype, decode)
 
#define VARINT_CASE(ctype, encode)
 
#define VMCASE(op, code)   case op: { code; if (consumes_input(op)) checkpoint(d); break; }
 
#define VOIDPTR_AT(msg, ofs)   PTR_AT(msg, ofs, void)
 
#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  color_t { BLACK = 0, GRAY, GREEN, WHITE }
 

Functions

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 voideffective_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 voidencode_startdelimfield (void *c, const void *hd)
 
static voidencode_startgroup (void *c, const void *hd)
 
static voidencode_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 voidfile_startenum (void *closure, const void *hd)
 
static voidfile_startext (void *closure, const void *hd)
 
static voidfile_startmsg (void *closure, const void *hd)
 
static voidfile_startphpnamespace (void *closure, const void *hd, size_t size_hint)
 
static voidfileset_startfile (void *closure, const void *hd)
 
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 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_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 uint32_t * group (tarjan *t, upb_refcounted *r)
 
static upb_refcountedgroupleader (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_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)
 
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 voidmapkeyval_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 mgroupmgroup_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 voidmsg_startext (void *closure, const void *hd)
 
static voidmsg_startfield (void *closure, const void *hd)
 
static voidmsg_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_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)
 
static upb_handlersnewformsg (const upb_msgdef *m, const void *owner, dfs_state *s)
 
mgroupnewgroup (const void *owner)
 
static upb_pbdecodermethodnewmethod (const upb_handlers *dest_handlers, mgroup *group)
 
static str_tnewstr (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 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_frameouter_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_refcountedpop (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_enumdefrefe (const upb_enumdef *e, const void *owner)
 
static void refgroup (uint32_t *group)
 
static const upb_msgdefrefm (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 voidrepeated_startstr (void *closure, const void *handler_data, size_t size_hint)
 
static voidrepeated_startstr_fieldmask (void *closure, const void *handler_data, size_t size_hint)
 
static voidrepeated_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 voidscalar_startstr (void *closure, const void *handler_data, size_t size_hint)
 
static voidscalar_startstr_nokey (void *closure, const void *handler_data, size_t size_hint)
 
static voidscalar_startstr_onlykey (void *closure, const void *handler_data, size_t size_hint)
 
static voidscalar_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_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 voidstartmap (void *closure, const void *handler_data)
 
static voidstartmap_nokey (void *closure, const void *handler_data)
 
static bool startmsg (void *c, const void *hd)
 
static voidstartseq (void *closure, const void *handler_data)
 
static voidstartseq_fieldmask (void *closure, const void *handler_data)
 
static voidstartseq_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 uint32_t strhash (upb_tabkey key)
 
static voidstringsink_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 voidtextprinter_startstr (void *closure, const void *handler_data, size_t size_hint)
 
static voidtextprinter_startsubmsg (void *closure, const void *handler_data)
 
static upb_pb_encoder_segmenttop (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_blockupb_arena_allocblock (upb_arena *a, size_t size)
 
size_t upb_arena_bytesallocated (const upb_arena *a)
 
static voidupb_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 voidupb_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_arrayupb_array_new (upb_fieldtype_t type, upb_arena *a)
 
static voidupb_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_bufsinkupb_bufsink_new (upb_env *env)
 
upb_bytessinkupb_bufsink_sink (upb_bufsink *sink)
 
static voidupb_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 voidupb_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_filedefupb_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_descreaderupb_descreader_create (upb_env *e, const upb_handlers *h)
 
bool upb_descreader_endcontainer (upb_descreader *r)
 
upb_filedefupb_descreader_file (const upb_descreader *r, size_t i)
 
size_t upb_descreader_filecount (const upb_descreader *r)
 
static upb_oneofdefupb_descreader_getoneof (upb_descreader *r, uint32_t index)
 
upb_sinkupb_descreader_input (upb_descreader *r)
 
static upb_defupb_descreader_last (upb_descreader *r)
 
const upb_handlersupb_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_msgdefupb_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_enumdefupb_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)
 
voidupb_env_malloc (upb_env *e, size_t size)
 
voidupb_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_oneofdefupb_fielddef_containingoneof (const upb_fielddef *f)
 
const upb_msgdefupb_fielddef_containingtype (const upb_fielddef *f)
 
upb_msgdefupb_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_enumdefupb_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_msgdefupb_fielddef_msgsubdef (const upb_fielddef *f)
 
const char * upb_fielddef_name (const upb_fielddef *f)
 
upb_fielddefupb_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_defupb_fielddef_subdef (const upb_fielddef *f)
 
upb_defupb_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_defupb_filedef_def (const upb_filedef *f, size_t i)
 
size_t upb_filedef_defcount (const upb_filedef *f)
 
const upb_filedefupb_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_filedefupb_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_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 voidupb_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 voidupb_handlerattr_closuretype (const upb_handlerattr *attr)
 
void upb_handlerattr_init (upb_handlerattr *attr)
 
const voidupb_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_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)
 
upb_handlersupb_handlers_new (const upb_msgdef *md, const void *owner)
 
const upb_handlersupb_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_statusupb_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_parserupb_json_parser_create (upb_env *env, const upb_json_parsermethod *method, const upb_symtab *symtab, upb_sink *output, bool ignore_json_unknown)
 
upb_bytessinkupb_json_parser_input (upb_json_parser *p)
 
const upb_byteshandlerupb_json_parsermethod_inputhandler (const upb_json_parsermethod *m)
 
upb_json_parsermethodupb_json_parsermethod_new (const upb_msgdef *md, const void *owner)
 
upb_json_printerupb_json_printer_create (upb_env *e, const upb_handlers *h, upb_bytessink *output)
 
upb_sinkupb_json_printer_input (upb_json_printer *p)
 
const upb_handlersupb_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_mapupb_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_mapiterupb_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_arenaupb_msg_arena (const upb_msg *msg)
 
static const upb_msglayout_fieldupb_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_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)
 
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_fielddefupb_msg_iter_field (const upb_msg_field_iter *iter)
 
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)
 
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_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)
 
upb_msgdefupb_msgdef_new (const void *owner)
 
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)
 
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_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 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_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)
 
bool upb_oneofdef_addfield (upb_oneofdef *o, upb_fielddef *f, const void *ref_donor, upb_status *s)
 
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)
 
upb_oneofdefupb_oneofdef_new (const void *owner)
 
const upb_fielddefupb_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_encoderupb_pb_encoder_create (upb_env *env, const upb_handlers *h, upb_bytessink *output)
 
upb_sinkupb_pb_encoder_input (upb_pb_encoder *e)
 
const upb_handlersupb_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_pbdecodermethodupb_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_pbdecoderupb_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_bytessinkupb_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)
 
voidupb_pbdecoder_startbc (void *closure, const void *pc, size_t size_hint)
 
voidupb_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)
 
const upb_pbdecodermethodupb_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_defupb_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_errorspaceupb_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_defupb_symtab_iter_def (const upb_symtab_iter *iter)
 
const upb_defupb_symtab_lookup (const upb_symtab *s, const char *sym)
 
const upb_enumdefupb_symtab_lookupenum (const upb_symtab *s, const char *sym)
 
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_symtab_next (upb_symtab_iter *iter)
 
const upb_defupb_symtab_resolve (const upb_symtab *s, const char *base, const char *sym)
 
upb_textprinterupb_textprinter_create (upb_env *env, const upb_handlers *h, upb_bytessink *output)
 
upb_sinkupb_textprinter_input (upb_textprinter *p)
 
const upb_handlersupb_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_fielddefupb_trygetfield (const upb_refcounted *def)
 
static const upb_oneofdefupb_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_msgdefupbdefs_google_protobuf_DescriptorProto_ExtensionRange_get (const void *owner)
 
const upb_msgdefupbdefs_google_protobuf_DescriptorProto_get (const void *owner)
 
const upb_msgdefupbdefs_google_protobuf_DescriptorProto_ReservedRange_get (const void *owner)
 
const upb_msgdefupbdefs_google_protobuf_EnumDescriptorProto_get (const void *owner)
 
const upb_msgdefupbdefs_google_protobuf_EnumOptions_get (const void *owner)
 
const upb_msgdefupbdefs_google_protobuf_EnumValueDescriptorProto_get (const void *owner)
 
const upb_msgdefupbdefs_google_protobuf_EnumValueOptions_get (const void *owner)
 
const upb_msgdefupbdefs_google_protobuf_FieldDescriptorProto_get (const void *owner)
 
const upb_enumdefupbdefs_google_protobuf_FieldDescriptorProto_Label_get (const void *owner)
 
const upb_enumdefupbdefs_google_protobuf_FieldDescriptorProto_Type_get (const void *owner)
 
const upb_enumdefupbdefs_google_protobuf_FieldOptions_CType_get (const void *owner)
 
const upb_msgdefupbdefs_google_protobuf_FieldOptions_get (const void *owner)
 
const upb_enumdefupbdefs_google_protobuf_FieldOptions_JSType_get (const void *owner)
 
const upb_msgdefupbdefs_google_protobuf_FileDescriptorProto_get (const void *owner)
 
const upb_msgdefupbdefs_google_protobuf_FileDescriptorSet_get (const void *owner)
 
const upb_msgdefupbdefs_google_protobuf_FileOptions_get (const void *owner)
 
const upb_enumdefupbdefs_google_protobuf_FileOptions_OptimizeMode_get (const void *owner)
 
const upb_msgdefupbdefs_google_protobuf_MessageOptions_get (const void *owner)
 
const upb_msgdefupbdefs_google_protobuf_MethodDescriptorProto_get (const void *owner)
 
const upb_msgdefupbdefs_google_protobuf_MethodOptions_get (const void *owner)
 
const upb_msgdefupbdefs_google_protobuf_OneofDescriptorProto_get (const void *owner)
 
const upb_msgdefupbdefs_google_protobuf_ServiceDescriptorProto_get (const void *owner)
 
const upb_msgdefupbdefs_google_protobuf_ServiceOptions_get (const void *owner)
 
const upb_msgdefupbdefs_google_protobuf_SourceCodeInfo_get (const void *owner)
 
const upb_msgdefupbdefs_google_protobuf_SourceCodeInfo_Location_get (const void *owner)
 
const upb_msgdefupbdefs_google_protobuf_UninterpretedOption_get (const void *owner)
 
const upb_msgdefupbdefs_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)
 

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 upb_tabval arrays [187]
 
static const signed char b64table []
 
static const char dummy_char
 
static const upb_enumdef enums [5]
 
static const char eof_ch = 'e'
 
static const upb_fielddef fields [107]
 
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 [19]
 
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 upb_tabent intentries [18]
 
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
 
static const upb_msgdef msgs [22]
 
const char neginf [] = "\"-Infinity\""
 
const size_t ptr_words = sizeof(void*) / sizeof(uint32_t)
 
uint32_t static_refcount = -1
 
static const upb_tabent strentries [236]
 
static char suspend_capture
 
const char untracked_val
 
upb_alloc upb_alloc_global = {&upb_global_allocfunc}
 
const uint8_t upb_desctype_to_fieldtype []
 
static const uint8_t upb_desctype_to_fieldtype2 []
 
const struct upb_refcounted_vtbl upb_enumdef_vtbl = {&visitenum, &freeenum}
 
const struct upb_refcounted_vtbl upb_fielddef_vtbl = {visitfield, freefield}
 
const struct upb_refcounted_vtbl upb_filedef_vtbl = {visitfiledef, freefiledef}
 
const struct upb_refcounted_vtbl upb_msgdef_vtbl = {visitmsg, freemsg}
 
const struct upb_refcounted_vtbl upb_oneofdef_vtbl = {visitoneof, freeoneof}
 
const uint8_t upb_pb_native_wire_types []
 
const voidUPB_UNTRACKED_REF = &untracked_val
 
upb_errorspace upb_upberr = {"upb error"}
 
static const struct upb_refcounted_vtbl vtbl = {visithandlers, freehandlers}
 

Macro Definition Documentation

◆ _XOPEN_SOURCE

#define _XOPEN_SOURCE   700

Definition at line 2 of file ruby/ext/google/protobuf_c/upb.c.

◆ ARRAY_SIZE

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

Definition at line 6442 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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;

Definition at line 12218 of file ruby/ext/google/protobuf_c/upb.c.

◆ CHECK_RETURN_TOP

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

Definition at line 15207 of file ruby/ext/google/protobuf_c/upb.c.

◆ CHECK_SUSPEND

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

Definition at line 10516 of file ruby/ext/google/protobuf_c/upb.c.

◆ CHECK_TRUE

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

Definition at line 4718 of file ruby/ext/google/protobuf_c/upb.c.

◆ CHK [1/3]

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

Definition at line 16331 of file ruby/ext/google/protobuf_c/upb.c.

◆ CHK [2/3]

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

Definition at line 16331 of file ruby/ext/google/protobuf_c/upb.c.

◆ CHK [3/3]

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

Definition at line 16331 of file ruby/ext/google/protobuf_c/upb.c.

◆ CHKFMT

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

Definition at line 16330 of file ruby/ext/google/protobuf_c/upb.c.

◆ CHKLENGTH

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

Definition at line 16255 of file ruby/ext/google/protobuf_c/upb.c.

◆ DEREF

#define DEREF (   msg,
  ofs,
  type 
)    *PTR_AT(msg, ofs, type)

upb_msg

Definition at line 4812 of file ruby/ext/google/protobuf_c/upb.c.

◆ DEREF_ARR

#define DEREF_ARR (   arr,
  i,
  type 
)    ((type*)arr->data)[i]

upb_array

Definition at line 4959 of file ruby/ext/google/protobuf_c/upb.c.

◆ EMPTYLABEL

#define EMPTYLABEL   -1

Definition at line 9523 of file ruby/ext/google/protobuf_c/upb.c.

◆ ENCODE_MAX_NESTING

#define ENCODE_MAX_NESTING   64

Definition at line 4717 of file ruby/ext/google/protobuf_c/upb.c.

◆ EPOCH_YEAR

#define EPOCH_YEAR   1970

Definition at line 14302 of file ruby/ext/google/protobuf_c/upb.c.

◆ F

#define F (   msg,
  field 
)    upbdefs_google_protobuf_ ## msg ## _f_ ## field(m)

Code to register handlers

Definition at line 9347 of file ruby/ext/google/protobuf_c/upb.c.

◆ LABEL_ENDMSG

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

Definition at line 10088 of file ruby/ext/google/protobuf_c/upb.c.

◆ LABEL_FIELD

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

Definition at line 10087 of file ruby/ext/google/protobuf_c/upb.c.

◆ LABEL_LOOPBREAK

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

Definition at line 10086 of file ruby/ext/google/protobuf_c/upb.c.

◆ LABEL_LOOPSTART

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

Definition at line 10085 of file ruby/ext/google/protobuf_c/upb.c.

◆ MAXLABEL

#define MAXLABEL   5

Definition at line 9522 of file ruby/ext/google/protobuf_c/upb.c.

◆ MIX

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

Definition at line 7217 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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 4621 of file ruby/ext/google/protobuf_c/upb.c.

◆ PARSER_CHECK_RETURN

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

Definition at line 12904 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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)); \
})

◆ PTR_AT

#define PTR_AT (   msg,
  ofs,
  type 
)    (type*)((char*)msg + ofs)

Definition at line 4715 of file ruby/ext/google/protobuf_c/upb.c.

◆ SETTER

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

Definition at line 4257 of file ruby/ext/google/protobuf_c/upb.c.

◆ STRINGIFY_HELPER

#define STRINGIFY_HELPER (   x)    #x

Definition at line 12360 of file ruby/ext/google/protobuf_c/upb.c.

◆ STRINGIFY_MACROVAL

#define STRINGIFY_MACROVAL (   x)    STRINGIFY_HELPER(x)

Definition at line 12361 of file ruby/ext/google/protobuf_c/upb.c.

◆ SUBH

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

Definition at line 4014 of file ruby/ext/google/protobuf_c/upb.c.

◆ SUBH_F

#define SUBH_F (   h,
  f 
)    SUBH(h, f->index_)

Definition at line 4017 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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 11977 of file ruby/ext/google/protobuf_c/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 11977 of file ruby/ext/google/protobuf_c/upb.c.

◆ TM_YEAR_BASE

#define TM_YEAR_BASE   1900

Definition at line 14303 of file ruby/ext/google/protobuf_c/upb.c.

◆ TRY

#define TRY (   type)    if (upb_handlers_getselector(f, type, &sel)) upb_inttable_insert(&t, sel, v);

◆ 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 12335 of file ruby/ext/google/protobuf_c/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 12335 of file ruby/ext/google/protobuf_c/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 12335 of file ruby/ext/google/protobuf_c/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 16333 of file ruby/ext/google/protobuf_c/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 16357 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_alignof

#define upb_alignof (   t)    offsetof(struct { char c; t x; }, x)

upb_msgval

Definition at line 4722 of file ruby/ext/google/protobuf_c/upb.c.

◆ UPB_DURATION_MAX_JSON_LEN

#define UPB_DURATION_MAX_JSON_LEN   23

Definition at line 16935 of file ruby/ext/google/protobuf_c/upb.c.

◆ UPB_DURATION_MAX_NANO_LEN

#define UPB_DURATION_MAX_NANO_LEN   9

Definition at line 16936 of file ruby/ext/google/protobuf_c/upb.c.

◆ UPB_FIELD_AT [1/2]

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

Definition at line 5476 of file ruby/ext/google/protobuf_c/upb.c.

◆ UPB_FIELD_AT [2/2]

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

Definition at line 5476 of file ruby/ext/google/protobuf_c/upb.c.

◆ UPB_JSON_MAX_DEPTH

#define UPB_JSON_MAX_DEPTH   64

Definition at line 12639 of file ruby/ext/google/protobuf_c/upb.c.

◆ UPB_MAX_MESSAGE_NESTING

#define UPB_MAX_MESSAGE_NESTING   64

Definition at line 8627 of file ruby/ext/google/protobuf_c/upb.c.

◆ UPB_MAXARRSIZE

#define UPB_MAXARRSIZE   16 /* 64k. */

Definition at line 6439 of file ruby/ext/google/protobuf_c/upb.c.

◆ UPB_PB_VARINT_MAX_LEN

#define UPB_PB_VARINT_MAX_LEN   10

Definition at line 3520 of file ruby/ext/google/protobuf_c/upb.c.

◆ UPB_READ_ONEOF [1/2]

#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 5479 of file ruby/ext/google/protobuf_c/upb.c.

◆ UPB_READ_ONEOF [2/2]

#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 5479 of file ruby/ext/google/protobuf_c/upb.c.

◆ UPB_SIZE [1/2]

#define UPB_SIZE (   size32,
  size64 
)    size64

Definition at line 5473 of file ruby/ext/google/protobuf_c/upb.c.

◆ UPB_SIZE [2/2]

#define UPB_SIZE (   size32,
  size64 
)    size64

Definition at line 5473 of file ruby/ext/google/protobuf_c/upb.c.

◆ UPB_TIMESTAMP_BEFORE_NANO_LEN

#define UPB_TIMESTAMP_BEFORE_NANO_LEN   19

Definition at line 17005 of file ruby/ext/google/protobuf_c/upb.c.

◆ UPB_TIMESTAMP_MAX_JSON_LEN

#define UPB_TIMESTAMP_MAX_JSON_LEN   31

Definition at line 17004 of file ruby/ext/google/protobuf_c/upb.c.

◆ UPB_TIMESTAMP_MAX_NANO_LEN

#define UPB_TIMESTAMP_MAX_NANO_LEN   9

Definition at line 17006 of file ruby/ext/google/protobuf_c/upb.c.

◆ UPB_WRITE_ONEOF [1/2]

#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 5484 of file ruby/ext/google/protobuf_c/upb.c.

◆ UPB_WRITE_ONEOF [2/2]

#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 5484 of file ruby/ext/google/protobuf_c/upb.c.

◆ VARINT_CASE [1/2]

#define VARINT_CASE (   ctype,
  decode 
)
Value:
{ \
const char *ptr = val.data; \
const char *limit = ptr + val.size; \
while (ptr < limit) { \
uint64_t val; \
void *field_mem; \
ctype decoded; \
CHK(upb_decode_varint(&ptr, limit, &val)); \
decoded = (decode)(val); \
field_mem = upb_array_add(arr, 1); \
CHK(field_mem); \
memcpy(field_mem, &decoded, sizeof(ctype)); \
} \
return true; \
}

◆ 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)

◆ VMCASE

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

◆ VOIDPTR_AT

#define VOIDPTR_AT (   msg,
  ofs 
)    PTR_AT(msg, ofs, void)

Definition at line 4716 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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_INITIALIZER; \
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 17253 of file ruby/ext/google/protobuf_c/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)

Definition at line 6512 of file ruby/ext/google/protobuf_c/upb.c.

◆ hashfunc_t

typedef uint32_t hashfunc_t(upb_tabkey key)

Definition at line 6511 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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 12642 of file ruby/ext/google/protobuf_c/upb.c.

◆ anonymous enum

anonymous enum
Enumerator
MULTIPART_INACTIVE 
MULTIPART_ACCUMULATE 
MULTIPART_PUSHEAGERLY 

Definition at line 13278 of file ruby/ext/google/protobuf_c/upb.c.

◆ color_t

enum color_t
Enumerator
BLACK 
GRAY 
GREEN 
WHITE 

Definition at line 5849 of file ruby/ext/google/protobuf_c/upb.c.

Function Documentation

◆ _upb_def_validate()

bool _upb_def_validate ( upb_def *const *  defs,
size_t  n,
upb_status s 
)

Definition at line 1499 of file ruby/ext/google/protobuf_c/upb.c.

◆ accumulate()

static void accumulate ( upb_pb_encoder e)
static

Definition at line 11773 of file ruby/ext/google/protobuf_c/upb.c.

◆ accumulate_append()

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

Definition at line 13223 of file ruby/ext/google/protobuf_c/upb.c.

◆ accumulate_clear()

static void accumulate_clear ( upb_json_parser p)
static

Definition at line 13194 of file ruby/ext/google/protobuf_c/upb.c.

◆ accumulate_getptr()

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

Definition at line 13256 of file ruby/ext/google/protobuf_c/upb.c.

◆ accumulate_realloc()

static bool accumulate_realloc ( upb_json_parser p,
size_t  need 
)
static

Definition at line 13200 of file ruby/ext/google/protobuf_c/upb.c.

◆ add_field()

static void add_field ( upb_msgdef m,
upb_fielddef f,
const void ref_donor 
)
static

Definition at line 2581 of file ruby/ext/google/protobuf_c/upb.c.

◆ add_jsonname_table()

static void add_jsonname_table ( upb_json_parsermethod m,
const upb_msgdef md 
)
static

Definition at line 15968 of file ruby/ext/google/protobuf_c/upb.c.

◆ advance()

static void advance ( upb_pbdecoder d,
size_t  len 
)
static

Definition at line 10631 of file ruby/ext/google/protobuf_c/upb.c.

◆ advance_to_matching()

static void advance_to_matching ( upb_symtab_iter iter)
static

Definition at line 3488 of file ruby/ext/google/protobuf_c/upb.c.

◆ advancetobuf()

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

Definition at line 10664 of file ruby/ext/google/protobuf_c/upb.c.

◆ align_up()

static size_t align_up ( size_t  val,
size_t  align 
)
static

Definition at line 5222 of file ruby/ext/google/protobuf_c/upb.c.

◆ align_up_max()

static size_t align_up_max ( size_t  size)
static

Definition at line 7439 of file ruby/ext/google/protobuf_c/upb.c.

◆ as_double()

static double as_double ( uint64_t  n)
static

Definition at line 10981 of file ruby/ext/google/protobuf_c/upb.c.

◆ as_float()

static float as_float ( uint32_t  n)
static

Definition at line 10982 of file ruby/ext/google/protobuf_c/upb.c.

◆ assert_accumulate_empty()

static void assert_accumulate_empty ( upb_json_parser p)
static

Definition at line 13189 of file ruby/ext/google/protobuf_c/upb.c.

◆ assign_msg_indices()

static bool assign_msg_indices ( upb_msgdef m,
upb_status s 
)
static

Definition at line 1355 of file ruby/ext/google/protobuf_c/upb.c.

◆ assign_msg_wellknowntype()

static void assign_msg_wellknowntype ( upb_msgdef m)
static

Definition at line 1456 of file ruby/ext/google/protobuf_c/upb.c.

◆ b64lookup()

int32_t b64lookup ( unsigned char  ch)

Definition at line 13078 of file ruby/ext/google/protobuf_c/upb.c.

◆ base64_push()

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

Definition at line 13084 of file ruby/ext/google/protobuf_c/upb.c.

◆ begin()

static size_t begin ( const upb_table t)
static

Definition at line 6691 of file ruby/ext/google/protobuf_c/upb.c.

◆ between()

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

Definition at line 2461 of file ruby/ext/google/protobuf_c/upb.c.

◆ bufleft()

static size_t bufleft ( const upb_pbdecoder d)
static

Definition at line 10616 of file ruby/ext/google/protobuf_c/upb.c.

◆ callstacksize()

static size_t callstacksize ( upb_pbdecoder d,
size_t  entries 
)
static

Definition at line 10566 of file ruby/ext/google/protobuf_c/upb.c.

◆ capture_begin()

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

Definition at line 13348 of file ruby/ext/google/protobuf_c/upb.c.

◆ capture_end()

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

Definition at line 13354 of file ruby/ext/google/protobuf_c/upb.c.

◆ capture_resume()

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

Definition at line 13386 of file ruby/ext/google/protobuf_c/upb.c.

◆ capture_suspend()

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

Definition at line 13367 of file ruby/ext/google/protobuf_c/upb.c.

◆ check()

static void check ( upb_inttable t)
static

Definition at line 6879 of file ruby/ext/google/protobuf_c/upb.c.

◆ check_field_add()

static bool check_field_add ( const upb_msgdef m,
const upb_fielddef f,
upb_status s 
)
static

Definition at line 2563 of file ruby/ext/google/protobuf_c/upb.c.

◆ check_stack()

static bool check_stack ( upb_json_parser p)
static

Definition at line 13000 of file ruby/ext/google/protobuf_c/upb.c.

◆ checked_add()

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

Definition at line 13020 of file ruby/ext/google/protobuf_c/upb.c.

◆ checkpoint()

static void checkpoint ( upb_pbdecoder d)
static

Definition at line 10670 of file ruby/ext/google/protobuf_c/upb.c.

◆ checkref()

static void checkref ( const upb_refcounted r,
const void owner,
bool  ref2 
)
static

Definition at line 5797 of file ruby/ext/google/protobuf_c/upb.c.

◆ checksetdefault()

static bool checksetdefault ( upb_fielddef f,
upb_fieldtype_t  type 
)
static

Definition at line 2265 of file ruby/ext/google/protobuf_c/upb.c.

◆ checkstart()

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

Definition at line 4166 of file ruby/ext/google/protobuf_c/upb.c.

◆ chkdefaulttype()

static void chkdefaulttype ( const upb_fielddef f,
upb_fieldtype_t  type 
)
static

Definition at line 1986 of file ruby/ext/google/protobuf_c/upb.c.

◆ cmp_fields()

int cmp_fields ( const void p1,
const void p2 
)

Definition at line 1349 of file ruby/ext/google/protobuf_c/upb.c.

◆ color()

static color_t color ( tarjan t,
const upb_refcounted r 
)
static

Definition at line 5880 of file ruby/ext/google/protobuf_c/upb.c.

◆ commit()

static bool commit ( upb_pb_encoder e)
static

Definition at line 11746 of file ruby/ext/google/protobuf_c/upb.c.

◆ compile_method()

static void compile_method ( compiler c,
upb_pbdecodermethod method 
)
static

Definition at line 10246 of file ruby/ext/google/protobuf_c/upb.c.

◆ compile_methods()

static void compile_methods ( compiler c)
static

Definition at line 10339 of file ruby/ext/google/protobuf_c/upb.c.

◆ consumebytes()

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

Definition at line 10828 of file ruby/ext/google/protobuf_c/upb.c.

◆ consumes_input()

static bool consumes_input ( opcode  op)
static

Definition at line 10536 of file ruby/ext/google/protobuf_c/upb.c.

◆ crossref()

static void crossref ( const upb_refcounted r,
const upb_refcounted subobj,
void _t 
)
static

Definition at line 6022 of file ruby/ext/google/protobuf_c/upb.c.

◆ curbufleft()

static size_t curbufleft ( const upb_pbdecoder d)
static

Definition at line 10610 of file ruby/ext/google/protobuf_c/upb.c.

◆ dbl2uint64()

static uint64_t dbl2uint64 ( double  d)
static

Definition at line 11907 of file ruby/ext/google/protobuf_c/upb.c.

◆ decode_fixed32()

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

Definition at line 10960 of file ruby/ext/google/protobuf_c/upb.c.

◆ decode_fixed64()

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

Definition at line 10967 of file ruby/ext/google/protobuf_c/upb.c.

◆ decode_v32()

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

Definition at line 10940 of file ruby/ext/google/protobuf_c/upb.c.

◆ decode_varint()

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

Definition at line 10917 of file ruby/ext/google/protobuf_c/upb.c.

◆ decoder_pop()

static void decoder_pop ( upb_pbdecoder d)
static

Definition at line 11016 of file ruby/ext/google/protobuf_c/upb.c.

◆ decoder_push()

static bool decoder_push ( upb_pbdecoder d,
uint64_t  end 
)
static

Definition at line 10985 of file ruby/ext/google/protobuf_c/upb.c.

◆ default_err()

static bool default_err ( void ud,
const upb_status status 
)
static

Definition at line 7593 of file ruby/ext/google/protobuf_c/upb.c.

◆ delim_remaining()

size_t delim_remaining ( const upb_pbdecoder d)

Definition at line 10626 of file ruby/ext/google/protobuf_c/upb.c.

◆ descreader_cleanup()

void descreader_cleanup ( void _r)

Definition at line 9440 of file ruby/ext/google/protobuf_c/upb.c.

◆ dispatch()

static int32_t dispatch ( upb_pbdecoder d)
static

Definition at line 11112 of file ruby/ext/google/protobuf_c/upb.c.

◆ dispatchtarget()

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

Definition at line 10015 of file ruby/ext/google/protobuf_c/upb.c.

◆ div_round_up()

static size_t div_round_up ( size_t  n,
size_t  d 
)
static

Definition at line 5227 of file ruby/ext/google/protobuf_c/upb.c.

◆ do_tarjan()

static void do_tarjan ( const upb_refcounted obj,
tarjan t 
)
static

Definition at line 6003 of file ruby/ext/google/protobuf_c/upb.c.

◆ does_fieldmask_end()

static bool does_fieldmask_end ( upb_json_parser p)
static

Definition at line 15199 of file ruby/ext/google/protobuf_c/upb.c.

◆ does_fieldmask_start()

static bool does_fieldmask_start ( upb_json_parser p)
static

Definition at line 15193 of file ruby/ext/google/protobuf_c/upb.c.

◆ does_number_wrapper_end()

static bool does_number_wrapper_end ( upb_json_parser p)
static

Definition at line 15171 of file ruby/ext/google/protobuf_c/upb.c.

◆ does_number_wrapper_start()

static bool does_number_wrapper_start ( upb_json_parser p)
static

Definition at line 15165 of file ruby/ext/google/protobuf_c/upb.c.

◆ does_string_wrapper_end()

static bool does_string_wrapper_end ( upb_json_parser p)
static

Definition at line 15185 of file ruby/ext/google/protobuf_c/upb.c.

◆ does_string_wrapper_start()

static bool does_string_wrapper_start ( upb_json_parser p)
static

Definition at line 15179 of file ruby/ext/google/protobuf_c/upb.c.

◆ doset()

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

Definition at line 4051 of file ruby/ext/google/protobuf_c/upb.c.

◆ effective_closure_type()

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

Definition at line 4133 of file ruby/ext/google/protobuf_c/upb.c.

◆ emptyent()

static upb_tabent* emptyent ( upb_table t)
static

Definition at line 6556 of file ruby/ext/google/protobuf_c/upb.c.

◆ encode_bytes()

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

Definition at line 11761 of file ruby/ext/google/protobuf_c/upb.c.

◆ encode_enddelimfield()

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

Definition at line 11952 of file ruby/ext/google/protobuf_c/upb.c.

◆ encode_endgroup()

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

Definition at line 11961 of file ruby/ext/google/protobuf_c/upb.c.

◆ encode_fixed32()

static bool encode_fixed32 ( upb_pb_encoder e,
uint32_t  val 
)
static

Definition at line 11893 of file ruby/ext/google/protobuf_c/upb.c.

◆ encode_fixed64()

static bool encode_fixed64 ( upb_pb_encoder e,
uint64_t  val 
)
static

Definition at line 11888 of file ruby/ext/google/protobuf_c/upb.c.

◆ encode_startdelimfield()

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

Definition at line 11941 of file ruby/ext/google/protobuf_c/upb.c.

◆ encode_startgroup()

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

Definition at line 11957 of file ruby/ext/google/protobuf_c/upb.c.

◆ encode_startstr()

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

Definition at line 11965 of file ruby/ext/google/protobuf_c/upb.c.

◆ encode_strbuf()

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

Definition at line 11970 of file ruby/ext/google/protobuf_c/upb.c.

◆ encode_tag()

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

Definition at line 11881 of file ruby/ext/google/protobuf_c/upb.c.

◆ encode_unknown()

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

Definition at line 11946 of file ruby/ext/google/protobuf_c/upb.c.

◆ encode_varint()

static bool encode_varint ( upb_pb_encoder e,
uint64_t  val 
)
static

Definition at line 11898 of file ruby/ext/google/protobuf_c/upb.c.

◆ encoder_advance()

static void encoder_advance ( upb_pb_encoder e,
size_t  bytes 
)
static

Definition at line 11739 of file ruby/ext/google/protobuf_c/upb.c.

◆ end()

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

Definition at line 15901 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_any_member()

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

Definition at line 14669 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_any_membername()

static bool end_any_membername ( upb_json_parser p)
static

Definition at line 14623 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_any_object()

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

Definition at line 14907 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_any_stringval()

static bool end_any_stringval ( upb_json_parser p)
static

Definition at line 13883 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_array()

static void end_array ( upb_json_parser p)
static

Definition at line 14855 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_bool()

static bool end_bool ( upb_json_parser p,
bool  val 
)
static

Definition at line 13707 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_day()

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

Definition at line 14191 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_delim()

static bool end_delim ( upb_pb_encoder e)
static

Definition at line 11829 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_duration_base()

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

Definition at line 14052 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_fieldmask_object()

static void end_fieldmask_object ( upb_json_parser p)
static

Definition at line 15049 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_fieldmask_path()

static bool end_fieldmask_path ( upb_json_parser p)
static

Definition at line 14444 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_fieldmask_path_text()

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

Definition at line 14402 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_frame()

static void end_frame ( upb_json_printer p)
static

Definition at line 16464 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_hex()

static bool end_hex ( upb_json_parser p)
static

Definition at line 13439 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_hour()

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

Definition at line 14203 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_listvalue_object()

static void end_listvalue_object ( upb_json_parser p)
static

Definition at line 15128 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_member()

static void end_member ( upb_json_parser p)
static

Definition at line 14640 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_membername()

static bool end_membername ( upb_json_parser p)
static

Definition at line 14588 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_minute()

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

Definition at line 14215 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_month()

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

Definition at line 14179 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_null()

static bool end_null ( upb_json_parser p)
static

Definition at line 13755 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_number()

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

Definition at line 13516 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_number_nontop()

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

Definition at line 13503 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_object()

static void end_object ( upb_json_parser p)
static

Definition at line 14890 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_second()

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

Definition at line 14227 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_stringval()

static bool end_stringval ( upb_json_parser p)
static

Definition at line 14004 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_stringval_nontop()

static bool end_stringval_nontop ( upb_json_parser p)
static

Definition at line 13927 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_structvalue_object()

static void end_structvalue_object ( upb_json_parser p)
static

Definition at line 15145 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_subobject()

static void end_subobject ( upb_json_parser p)
static

Definition at line 14759 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_subobject_full()

static void end_subobject_full ( upb_json_parser p)
static

Definition at line 14780 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_text()

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

Definition at line 13471 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_timestamp_fraction()

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

Definition at line 14243 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_timestamp_zone()

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

Definition at line 14343 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_value_object()

static void end_value_object ( upb_json_parser p)
static

Definition at line 15111 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_wrapper_object()

static void end_wrapper_object ( upb_json_parser p)
static

Definition at line 15067 of file ruby/ext/google/protobuf_c/upb.c.

◆ end_year()

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

Definition at line 14167 of file ruby/ext/google/protobuf_c/upb.c.

◆ endfield()

static int endfield ( upb_textprinter p)
static

Definition at line 12233 of file ruby/ext/google/protobuf_c/upb.c.

◆ endmap()

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

Definition at line 16516 of file ruby/ext/google/protobuf_c/upb.c.

◆ endmsg()

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

Definition at line 11931 of file ruby/ext/google/protobuf_c/upb.c.

◆ endseq()

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

Definition at line 16499 of file ruby/ext/google/protobuf_c/upb.c.

◆ endseq_fieldmask()

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

Definition at line 16867 of file ruby/ext/google/protobuf_c/upb.c.

◆ enum_endmsg()

static bool enum_endmsg ( void closure,
const void hd,
upb_status status 
)
static

Handlers for google.protobuf.EnumDescriptorProto.

Definition at line 8980 of file ruby/ext/google/protobuf_c/upb.c.

◆ enum_onname()

static size_t enum_onname ( void closure,
const void hd,
const char *  buf,
size_t  n,
const upb_bufhandle handle 
)
static

Definition at line 8997 of file ruby/ext/google/protobuf_c/upb.c.

◆ enumdefaultint32()

static bool enumdefaultint32 ( const upb_fielddef f,
int32_t *  val 
)
static

Definition at line 1789 of file ruby/ext/google/protobuf_c/upb.c.

◆ enumdefaultstr()

static const char* enumdefaultstr ( const upb_fielddef f)
static

Definition at line 1762 of file ruby/ext/google/protobuf_c/upb.c.

◆ enumval_endmsg()

static bool enumval_endmsg ( void closure,
const void hd,
upb_status status 
)
static

Definition at line 8962 of file ruby/ext/google/protobuf_c/upb.c.

◆ enumval_onname()

static size_t enumval_onname ( void closure,
const void hd,
const char *  buf,
size_t  n,
const upb_bufhandle handle 
)
static

Definition at line 8942 of file ruby/ext/google/protobuf_c/upb.c.

◆ enumval_onnumber()

static bool enumval_onnumber ( void closure,
const void hd,
int32_t  val 
)
static

Definition at line 8954 of file ruby/ext/google/protobuf_c/upb.c.

◆ enumval_startmsg()

static bool enumval_startmsg ( void closure,
const void hd 
)
static

Handlers for google.protobuf.EnumValueDescriptorProto.

Definition at line 8934 of file ruby/ext/google/protobuf_c/upb.c.

◆ epoch()

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

Definition at line 14316 of file ruby/ext/google/protobuf_c/upb.c.

◆ err()

static UPB_NORETURN void err ( tarjan t)
static

Definition at line 5856 of file ruby/ext/google/protobuf_c/upb.c.

◆ escape()

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

Definition at line 13415 of file ruby/ext/google/protobuf_c/upb.c.

◆ escape_char()

static char escape_char ( char  in)
static

Definition at line 13399 of file ruby/ext/google/protobuf_c/upb.c.

◆ field_endmsg()

static bool field_endmsg ( void closure,
const void hd,
upb_status status 
)
static

Definition at line 9094 of file ruby/ext/google/protobuf_c/upb.c.

◆ field_ondefaultval()

static size_t field_ondefaultval ( void closure,
const void hd,
const char *  buf,
size_t  n,
const upb_bufhandle handle 
)
static

Definition at line 9204 of file ruby/ext/google/protobuf_c/upb.c.

◆ field_onextendee()

static size_t field_onextendee ( void closure,
const void hd,
const char *  buf,
size_t  n,
const upb_bufhandle handle 
)
static

Definition at line 9191 of file ruby/ext/google/protobuf_c/upb.c.

◆ field_onlabel()

static bool field_onlabel ( void closure,
const void hd,
int32_t  val 
)
static

Definition at line 9147 of file ruby/ext/google/protobuf_c/upb.c.

◆ field_onlazy()

static bool field_onlazy ( void closure,
const void hd,
bool  val 
)
static

Definition at line 9123 of file ruby/ext/google/protobuf_c/upb.c.

◆ field_onname()

static size_t field_onname ( void closure,
const void hd,
const char *  buf,
size_t  n,
const upb_bufhandle handle 
)
static

Definition at line 9165 of file ruby/ext/google/protobuf_c/upb.c.

◆ field_onnumber()

static bool field_onnumber ( void closure,
const void hd,
int32_t  val 
)
static

Definition at line 9155 of file ruby/ext/google/protobuf_c/upb.c.

◆ field_ononeofindex()

static bool field_ononeofindex ( void closure,
const void hd,
int32_t  index 
)
static

Definition at line 9218 of file ruby/ext/google/protobuf_c/upb.c.

◆ field_onpacked()

static bool field_onpacked ( void closure,
const void hd,
bool  val 
)
static

Definition at line 9131 of file ruby/ext/google/protobuf_c/upb.c.

◆ field_ontype()

static bool field_ontype ( void closure,
const void hd,
int32_t  val 
)
static

Definition at line 9139 of file ruby/ext/google/protobuf_c/upb.c.

◆ field_ontypename()

static size_t field_ontypename ( void closure,
const void hd,
const char *  buf,
size_t  n,
const upb_bufhandle handle 
)
static

Definition at line 9178 of file ruby/ext/google/protobuf_c/upb.c.

◆ field_rank()

uint32_t field_rank ( const upb_fielddef f)

Definition at line 1340 of file ruby/ext/google/protobuf_c/upb.c.

◆ field_startmsg()

static bool field_startmsg ( void closure,
const void hd 
)
static

Handlers for google.protobuf.FieldDescriptorProto

Definition at line 9011 of file ruby/ext/google/protobuf_c/upb.c.

◆ file_end()

static bool file_end ( void closure,
const void hd,
upb_status status 
)
static

Definition at line 8783 of file ruby/ext/google/protobuf_c/upb.c.

◆ file_endext()

static bool file_endext ( void closure,
const void hd 
)
static

Definition at line 8910 of file ruby/ext/google/protobuf_c/upb.c.

◆ file_ondep()

static size_t file_ondep ( void closure,
const void hd,
const char *  buf,
size_t  n,
const upb_bufhandle handle 
)
static

Definition at line 8920 of file ruby/ext/google/protobuf_c/upb.c.

◆ file_onname()

static size_t file_onname ( void closure,
const void hd,
const char *  buf,
size_t  n,
const upb_bufhandle handle 
)
static

Definition at line 8790 of file ruby/ext/google/protobuf_c/upb.c.

◆ file_onpackage()

static size_t file_onpackage ( void closure,
const void hd,
const char *  buf,
size_t  n,
const upb_bufhandle handle 
)
static

Definition at line 8807 of file ruby/ext/google/protobuf_c/upb.c.

◆ file_onphpnamespace()

static size_t file_onphpnamespace ( void closure,
const void hd,
const char *  buf,
size_t  n,
const upb_bufhandle handle 
)
static

Definition at line 8835 of file ruby/ext/google/protobuf_c/upb.c.

◆ file_onphpprefix()

static size_t file_onphpprefix ( void closure,
const void hd,
const char *  buf,
size_t  n,
const upb_bufhandle handle 
)
static

Definition at line 8851 of file ruby/ext/google/protobuf_c/upb.c.

◆ file_onsyntax()

static size_t file_onsyntax ( void closure,
const void hd,
const char *  buf,
size_t  n,
const upb_bufhandle handle 
)
static

Definition at line 8866 of file ruby/ext/google/protobuf_c/upb.c.

◆ file_start()

static bool file_start ( void closure,
const void hd 
)
static

Handlers for google.protobuf.FileDescriptorProto.

Definition at line 8776 of file ruby/ext/google/protobuf_c/upb.c.

◆ file_startenum()

static void* file_startenum ( void closure,
const void hd 
)
static

Definition at line 8894 of file ruby/ext/google/protobuf_c/upb.c.

◆ file_startext()

static void* file_startext ( void closure,
const void hd 
)
static

Definition at line 8903 of file ruby/ext/google/protobuf_c/upb.c.

◆ file_startmsg()

static void* file_startmsg ( void closure,
const void hd 
)
static

Definition at line 8885 of file ruby/ext/google/protobuf_c/upb.c.

◆ file_startphpnamespace()

static void* file_startphpnamespace ( void closure,
const void hd,
size_t  size_hint 
)
static

Definition at line 8823 of file ruby/ext/google/protobuf_c/upb.c.

◆ fileset_startfile()

static void* fileset_startfile ( void closure,
const void hd 
)
static

Handlers for google.protobuf.FileDescriptorSet.

Definition at line 8766 of file ruby/ext/google/protobuf_c/upb.c.

◆ find_methods()

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

Definition at line 10312 of file ruby/ext/google/protobuf_c/upb.c.

◆ find_submethod()

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

Definition at line 10047 of file ruby/ext/google/protobuf_c/upb.c.

◆ findentry()

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

Definition at line 6565 of file ruby/ext/google/protobuf_c/upb.c.

◆ findentry_mutable()

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

Definition at line 6578 of file ruby/ext/google/protobuf_c/upb.c.

◆ flt2uint32()

static uint32_t flt2uint32 ( float  d)
static

Definition at line 11913 of file ruby/ext/google/protobuf_c/upb.c.

◆ fmt_bool()

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

Definition at line 16286 of file ruby/ext/google/protobuf_c/upb.c.

◆ fmt_double()

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

Definition at line 16264 of file ruby/ext/google/protobuf_c/upb.c.

◆ fmt_float()

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

Definition at line 16280 of file ruby/ext/google/protobuf_c/upb.c.

◆ fmt_int64_as_number()

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

Definition at line 16292 of file ruby/ext/google/protobuf_c/upb.c.

◆ fmt_int64_as_string()

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

Definition at line 16305 of file ruby/ext/google/protobuf_c/upb.c.

◆ fmt_uint64_as_number()

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

Definition at line 16298 of file ruby/ext/google/protobuf_c/upb.c.

◆ fmt_uint64_as_string()

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

Definition at line 16311 of file ruby/ext/google/protobuf_c/upb.c.

◆ free_json_parsermethod()

static void free_json_parsermethod ( upb_refcounted r)
static

Definition at line 15951 of file ruby/ext/google/protobuf_c/upb.c.

◆ freecompiler()

static void freecompiler ( compiler c)
static

Definition at line 9656 of file ruby/ext/google/protobuf_c/upb.c.

◆ freeenum()

static void freeenum ( upb_refcounted r)
static

Definition at line 1579 of file ruby/ext/google/protobuf_c/upb.c.

◆ freefield()

static void freefield ( upb_refcounted r)
static

Definition at line 1751 of file ruby/ext/google/protobuf_c/upb.c.

◆ freefiledef()

static void freefiledef ( upb_refcounted r)
static

Definition at line 2996 of file ruby/ext/google/protobuf_c/upb.c.

◆ freegroup()

static void freegroup ( upb_refcounted r)
static

Definition at line 9527 of file ruby/ext/google/protobuf_c/upb.c.

◆ freehandlers()

static void freehandlers ( upb_refcounted r)
static

Definition at line 3931 of file ruby/ext/google/protobuf_c/upb.c.

◆ freemethod()

static void freemethod ( upb_refcounted r)
static

Definition at line 9561 of file ruby/ext/google/protobuf_c/upb.c.

◆ freemsg()

static void freemsg ( upb_refcounted r)
static

Definition at line 2498 of file ruby/ext/google/protobuf_c/upb.c.

◆ freeobj()

static void freeobj ( upb_refcounted o)
static

Definition at line 6245 of file ruby/ext/google/protobuf_c/upb.c.

◆ freeoneof()

static void freeoneof ( upb_refcounted r)
static

Definition at line 2803 of file ruby/ext/google/protobuf_c/upb.c.

◆ freestr()

static void freestr ( str_t s)
static

Definition at line 1112 of file ruby/ext/google/protobuf_c/upb.c.

◆ freestrpc()

void freestrpc ( void ptr)

Definition at line 16133 of file ruby/ext/google/protobuf_c/upb.c.

◆ freeze()

static bool freeze ( upb_refcounted *const *  roots,
int  n,
upb_status s,
int  maxdepth 
)
static

Definition at line 6033 of file ruby/ext/google/protobuf_c/upb.c.

◆ generate_delimfield()

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

Definition at line 10152 of file ruby/ext/google/protobuf_c/upb.c.

◆ generate_msgfield()

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

Definition at line 10091 of file ruby/ext/google/protobuf_c/upb.c.

◆ generate_primitivefield()

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

Definition at line 10191 of file ruby/ext/google/protobuf_c/upb.c.

◆ get_encoded_tag()

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

Definition at line 9970 of file ruby/ext/google/protobuf_c/upb.c.

◆ getattr()

static uint64_t getattr ( const tarjan t,
const upb_refcounted r 
)
static

Definition at line 5868 of file ruby/ext/google/protobuf_c/upb.c.

◆ getbytes()

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

Definition at line 10861 of file ruby/ext/google/protobuf_c/upb.c.

◆ getbytes_slow()

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

Definition at line 10838 of file ruby/ext/google/protobuf_c/upb.c.

◆ getentry_mutable()

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

Definition at line 6561 of file ruby/ext/google/protobuf_c/upb.c.

◆ getofs()

static int32_t getofs ( uint32_t  instruction)
static

Definition at line 9690 of file ruby/ext/google/protobuf_c/upb.c.

◆ getsel()

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

Definition at line 9994 of file ruby/ext/google/protobuf_c/upb.c.

◆ getsel_for_handlertype()

static upb_selector_t getsel_for_handlertype ( upb_json_parser p,
upb_handlertype_t  type 
)
static

Definition at line 12987 of file ruby/ext/google/protobuf_c/upb.c.

◆ goto_endmsg()

static void goto_endmsg ( upb_pbdecoder d)
static

Definition at line 11099 of file ruby/ext/google/protobuf_c/upb.c.

◆ group()

static uint32_t* group ( tarjan t,
upb_refcounted r 
)
static

Definition at line 5943 of file ruby/ext/google/protobuf_c/upb.c.

◆ groupleader()

static upb_refcounted* groupleader ( tarjan t,
upb_refcounted r 
)
static

Definition at line 5957 of file ruby/ext/google/protobuf_c/upb.c.

◆ handle_mapentry()

static bool handle_mapentry ( upb_json_parser p)
static

Definition at line 14541 of file ruby/ext/google/protobuf_c/upb.c.

◆ handlers_getsel()

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

Definition at line 4039 of file ruby/ext/google/protobuf_c/upb.c.

◆ haslazyhandlers()

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

Definition at line 10072 of file ruby/ext/google/protobuf_c/upb.c.

◆ hexdigit()

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

Definition at line 13424 of file ruby/ext/google/protobuf_c/upb.c.

◆ idx()

static uint32_t idx ( tarjan t,
const upb_refcounted r 
)
static

Definition at line 5925 of file ruby/ext/google/protobuf_c/upb.c.

◆ in_buf()

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

Definition at line 10636 of file ruby/ext/google/protobuf_c/upb.c.

◆ in_residual_buf()

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

Definition at line 10640 of file ruby/ext/google/protobuf_c/upb.c.

◆ indent()

static int indent ( upb_textprinter p)
static

Definition at line 12225 of file ruby/ext/google/protobuf_c/upb.c.

◆ init()

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

Definition at line 6529 of file ruby/ext/google/protobuf_c/upb.c.

◆ init_frame()

static void init_frame ( upb_jsonparser_frame frame)
static

Definition at line 12824 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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

Definition at line 6597 of file ruby/ext/google/protobuf_c/upb.c.

◆ instruction_len()

static int instruction_len ( uint32_t  instr)
static

Definition at line 9663 of file ruby/ext/google/protobuf_c/upb.c.

◆ int_arrent()

static upb_tabval int_arrent ( const upb_inttable_iter i)
static

Definition at line 7095 of file ruby/ext/google/protobuf_c/upb.c.

◆ int_tabent()

static const upb_tabent* int_tabent ( const upb_inttable_iter i)
static

Definition at line 7090 of file ruby/ext/google/protobuf_c/upb.c.

◆ inteql()

static bool inteql ( upb_tabkey  k1,
lookupkey_t  k2 
)
static

Definition at line 6852 of file ruby/ext/google/protobuf_c/upb.c.

◆ inthash()

static uint32_t inthash ( upb_tabkey  key)
static

Definition at line 6850 of file ruby/ext/google/protobuf_c/upb.c.

◆ intkey()

static lookupkey_t intkey ( uintptr_t  key)
static

Definition at line 6505 of file ruby/ext/google/protobuf_c/upb.c.

◆ inttable_val()

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

Definition at line 6860 of file ruby/ext/google/protobuf_c/upb.c.

◆ inttable_val_const()

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

Definition at line 6870 of file ruby/ext/google/protobuf_c/upb.c.

◆ is_fieldmask()

static bool is_fieldmask ( const upb_msgdef m)
static

Definition at line 15030 of file ruby/ext/google/protobuf_c/upb.c.

◆ is_fieldmask_object()

static bool is_fieldmask_object ( upb_json_parser p)
static

Definition at line 15203 of file ruby/ext/google/protobuf_c/upb.c.

◆ is_json_escaped()

UPB_INLINE bool is_json_escaped ( char  c)

Definition at line 16190 of file ruby/ext/google/protobuf_c/upb.c.

◆ is_number_wrapper_object()

static bool is_number_wrapper_object ( upb_json_parser p)
static

Definition at line 15175 of file ruby/ext/google/protobuf_c/upb.c.

◆ is_pow2()

bool is_pow2 ( uint64_t  v)

Definition at line 6458 of file ruby/ext/google/protobuf_c/upb.c.

◆ is_power_of_two()

static bool is_power_of_two ( size_t  val)
static

Definition at line 5217 of file ruby/ext/google/protobuf_c/upb.c.

◆ is_string_wrapper()

static bool is_string_wrapper ( const upb_msgdef m)
static

Definition at line 15024 of file ruby/ext/google/protobuf_c/upb.c.

◆ is_string_wrapper_object()

static bool is_string_wrapper_object ( upb_json_parser p)
static

Definition at line 15189 of file ruby/ext/google/protobuf_c/upb.c.

◆ is_top_level()

static bool is_top_level ( upb_json_parser p)
static

Definition at line 15150 of file ruby/ext/google/protobuf_c/upb.c.

◆ is_wellknown_field()

static bool is_wellknown_field ( upb_json_parser p,
upb_wellknowntype_t  type 
)
static

Definition at line 15158 of file ruby/ext/google/protobuf_c/upb.c.

◆ is_wellknown_msg()

static bool is_wellknown_msg ( upb_json_parser p,
upb_wellknowntype_t  type 
)
static

Definition at line 15154 of file ruby/ext/google/protobuf_c/upb.c.

◆ isfull()

static bool isfull ( upb_table t)
static

Definition at line 6521 of file ruby/ext/google/protobuf_c/upb.c.

◆ isleap()

static bool isleap ( int  year)
static

Definition at line 14305 of file ruby/ext/google/protobuf_c/upb.c.

◆ json_nice_escape()

const UPB_INLINE char* json_nice_escape ( char  c)

Definition at line 16196 of file ruby/ext/google/protobuf_c/upb.c.

◆ json_parser_any_frame_free()

static void json_parser_any_frame_free ( upb_jsonparser_any_frame frame)
static

Definition at line 12938 of file ruby/ext/google/protobuf_c/upb.c.

◆ json_parser_any_frame_has_type_url()

static bool json_parser_any_frame_has_type_url ( upb_jsonparser_any_frame frame)
static

Definition at line 12946 of file ruby/ext/google/protobuf_c/upb.c.

◆ json_parser_any_frame_has_value()

static bool json_parser_any_frame_has_value ( upb_jsonparser_any_frame frame)
static

Definition at line 12961 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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

Definition at line 12956 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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

Definition at line 12951 of file ruby/ext/google/protobuf_c/upb.c.

◆ json_parser_any_frame_reset()

static void json_parser_any_frame_reset ( upb_jsonparser_any_frame frame)
static

Definition at line 12906 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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

Definition at line 12975 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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

Definition at line 12967 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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

Definition at line 12916 of file ruby/ext/google/protobuf_c/upb.c.

◆ json_parser_reset()

static void json_parser_reset ( upb_json_parser p)
static

Definition at line 15919 of file ruby/ext/google/protobuf_c/upb.c.

◆ json_printer_reset()

static void json_printer_reset ( upb_json_printer p)
static

Definition at line 17455 of file ruby/ext/google/protobuf_c/upb.c.

◆ label()

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

Definition at line 9712 of file ruby/ext/google/protobuf_c/upb.c.

◆ labelref()

static int32_t labelref ( compiler c,
int  label 
)
static

Definition at line 9736 of file ruby/ext/google/protobuf_c/upb.c.

◆ log2ceil()

int log2ceil ( uint64_t  v)

Definition at line 6460 of file ruby/ext/google/protobuf_c/upb.c.

◆ lookup()

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

Definition at line 6583 of file ruby/ext/google/protobuf_c/upb.c.

◆ lower_camel_push()

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

Definition at line 14427 of file ruby/ext/google/protobuf_c/upb.c.

◆ lowlink()

static uint32_t lowlink ( tarjan t,
const upb_refcounted r 
)
static

Definition at line 5930 of file ruby/ext/google/protobuf_c/upb.c.

◆ mapkey_bytes()

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

Definition at line 16692 of file ruby/ext/google/protobuf_c/upb.c.

◆ mapkey_endstr()

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

Definition at line 16661 of file ruby/ext/google/protobuf_c/upb.c.

◆ mapkey_str()

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

Definition at line 16654 of file ruby/ext/google/protobuf_c/upb.c.

◆ mapkeyval_startstr()

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

Definition at line 16645 of file ruby/ext/google/protobuf_c/upb.c.

◆ mapvalue_endstr()

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

Definition at line 16668 of file ruby/ext/google/protobuf_c/upb.c.

◆ mapvalue_enum()

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

Definition at line 16437 of file ruby/ext/google/protobuf_c/upb.c.

◆ maybeput()

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

Definition at line 10067 of file ruby/ext/google/protobuf_c/upb.c.

◆ merge()

static void merge ( upb_refcounted r,
upb_refcounted from 
)
static

Definition at line 6188 of file ruby/ext/google/protobuf_c/upb.c.

◆ merged()

static bool merged ( const upb_refcounted r,
const upb_refcounted r2 
)
static

Definition at line 6184 of file ruby/ext/google/protobuf_c/upb.c.

◆ mgroup_new()

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

Definition at line 10395 of file ruby/ext/google/protobuf_c/upb.c.

◆ msg_end()

static bool msg_end ( void closure,
const void hd,
upb_status status 
)
static

Definition at line 9255 of file ruby/ext/google/protobuf_c/upb.c.

◆ msg_endext()

static bool msg_endext ( void closure,
const void hd 
)
static

Definition at line 9298 of file ruby/ext/google/protobuf_c/upb.c.

◆ msg_endfield()

static bool msg_endfield ( void closure,
const void hd 
)
static

Definition at line 9317 of file ruby/ext/google/protobuf_c/upb.c.

◆ msg_name()

static size_t msg_name ( void closure,
const void hd,
const char *  buf,
size_t  n,
const upb_bufhandle handle 
)
static

Definition at line 9267 of file ruby/ext/google/protobuf_c/upb.c.

◆ msg_onmapentry()

static bool msg_onmapentry ( void closure,
const void hd,
bool  mapentry 
)
static

Definition at line 9333 of file ruby/ext/google/protobuf_c/upb.c.

◆ msg_start()

static bool msg_start ( void closure,
const void hd 
)
static

Handlers for google.protobuf.DescriptorProto

Definition at line 9247 of file ruby/ext/google/protobuf_c/upb.c.

◆ msg_startext()

static void* msg_startext ( void closure,
const void hd 
)
static

Definition at line 9291 of file ruby/ext/google/protobuf_c/upb.c.

◆ msg_startfield()

static void* msg_startfield ( void closure,
const void hd 
)
static

Definition at line 9308 of file ruby/ext/google/protobuf_c/upb.c.

◆ msg_startmsg()

static void* msg_startmsg ( void closure,
const void hd 
)
static

Definition at line 9282 of file ruby/ext/google/protobuf_c/upb.c.

◆ msgdef_name()

static const char* msgdef_name ( const upb_msgdef m)
static

Definition at line 1228 of file ruby/ext/google/protobuf_c/upb.c.

◆ multipart_end()

static void multipart_end ( upb_json_parser p)
static

Definition at line 13335 of file ruby/ext/google/protobuf_c/upb.c.

◆ multipart_start()

static void multipart_start ( upb_json_parser p,
upb_selector_t  sel 
)
static

Definition at line 13301 of file ruby/ext/google/protobuf_c/upb.c.

◆ multipart_startaccum()

static void multipart_startaccum ( upb_json_parser p)
static

Definition at line 13293 of file ruby/ext/google/protobuf_c/upb.c.

◆ multipart_text()

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

Definition at line 13308 of file ruby/ext/google/protobuf_c/upb.c.

◆ MurmurHash2()

uint32_t MurmurHash2 ( const void key,
size_t  len,
uint32_t  seed 
)

Definition at line 7219 of file ruby/ext/google/protobuf_c/upb.c.

◆ mutable_array()

static upb_tabval* mutable_array ( upb_inttable t)
static

Definition at line 6856 of file ruby/ext/google/protobuf_c/upb.c.

◆ mutable_entries()

static upb_tabent* mutable_entries ( upb_table t)
static

Definition at line 6517 of file ruby/ext/google/protobuf_c/upb.c.

◆ new_tag()

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

Definition at line 11869 of file ruby/ext/google/protobuf_c/upb.c.

◆ newcompiler()

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

Definition at line 9643 of file ruby/ext/google/protobuf_c/upb.c.

◆ newformsg()

static upb_handlers* newformsg ( const upb_msgdef m,
const void owner,
dfs_state s 
)
static

Definition at line 3975 of file ruby/ext/google/protobuf_c/upb.c.

◆ newgroup()

mgroup* newgroup ( const void owner)

Definition at line 9548 of file ruby/ext/google/protobuf_c/upb.c.

◆ newmethod()

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

Definition at line 9578 of file ruby/ext/google/protobuf_c/upb.c.

◆ newstr()

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

Definition at line 1103 of file ruby/ext/google/protobuf_c/upb.c.

◆ newstrpc()

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

Definition at line 16140 of file ruby/ext/google/protobuf_c/upb.c.

◆ newstrpc_str()

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

Definition at line 16161 of file ruby/ext/google/protobuf_c/upb.c.

◆ next()

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

Definition at line 6682 of file ruby/ext/google/protobuf_c/upb.c.

◆ nonbase64()

bool nonbase64 ( unsigned char  ch)

Definition at line 13082 of file ruby/ext/google/protobuf_c/upb.c.

◆ nullz()

static void nullz ( upb_status status)
static

Definition at line 7353 of file ruby/ext/google/protobuf_c/upb.c.

◆ offset()

uint64_t offset ( const upb_pbdecoder d)

Definition at line 10621 of file ruby/ext/google/protobuf_c/upb.c.

◆ oneof_name()

static size_t oneof_name ( void closure,
const void hd,
const char *  buf,
size_t  n,
const upb_bufhandle handle 
)
static

Handlers for google.protobuf.OneofDescriptorProto.

Definition at line 9230 of file ruby/ext/google/protobuf_c/upb.c.

◆ onmreg()

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

Definition at line 12442 of file ruby/ext/google/protobuf_c/upb.c.

◆ oom()

static UPB_NORETURN void oom ( tarjan t)
static

Definition at line 5857 of file ruby/ext/google/protobuf_c/upb.c.

◆ op_has_longofs()

bool op_has_longofs ( int32_t  instruction)

Definition at line 9672 of file ruby/ext/google/protobuf_c/upb.c.

◆ outer_frame()

upb_pbdecoder_frame* outer_frame ( upb_pbdecoder d)

Definition at line 11165 of file ruby/ext/google/protobuf_c/upb.c.

◆ parse()

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

Definition at line 15489 of file ruby/ext/google/protobuf_c/upb.c.

◆ parse_default()

static bool parse_default ( char *  str,
upb_fielddef f 
)
static

Definition at line 9025 of file ruby/ext/google/protobuf_c/upb.c.

◆ parse_mapentry_key()

static bool parse_mapentry_key ( upb_json_parser p)
static

Definition at line 14468 of file ruby/ext/google/protobuf_c/upb.c.

◆ parse_number()

static bool parse_number ( upb_json_parser p,
bool  is_quoted 
)
static

Definition at line 13663 of file ruby/ext/google/protobuf_c/upb.c.

◆ parse_number_from_buffer()

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

Definition at line 13542 of file ruby/ext/google/protobuf_c/upb.c.

◆ parse_timestamp_number()

static int parse_timestamp_number ( upb_json_parser p)
static

Definition at line 14145 of file ruby/ext/google/protobuf_c/upb.c.

◆ parser_getsel()

static upb_selector_t parser_getsel ( upb_json_parser p)
static

Definition at line 12995 of file ruby/ext/google/protobuf_c/upb.c.

◆ parser_putbool()

static bool parser_putbool ( upb_json_parser p,
bool  val 
)
static

Definition at line 13686 of file ruby/ext/google/protobuf_c/upb.c.

◆ pcofs()

static uint32_t pcofs ( compiler c)
static

Definition at line 9707 of file ruby/ext/google/protobuf_c/upb.c.

◆ peekbytes()

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

Definition at line 10884 of file ruby/ext/google/protobuf_c/upb.c.

◆ peekbytes_slow()

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

Definition at line 10872 of file ruby/ext/google/protobuf_c/upb.c.

◆ pop()

static upb_refcounted* pop ( tarjan t)
static

Definition at line 5904 of file ruby/ext/google/protobuf_c/upb.c.

◆ print_comma()

static void print_comma ( upb_json_printer p)
static

Definition at line 16178 of file ruby/ext/google/protobuf_c/upb.c.

◆ print_data()

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

Definition at line 16171 of file ruby/ext/google/protobuf_c/upb.c.

◆ print_enum_symbolic_name()

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

Definition at line 16413 of file ruby/ext/google/protobuf_c/upb.c.

◆ printer_enddurationmsg()

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

Definition at line 16938 of file ruby/ext/google/protobuf_c/upb.c.

◆ printer_endmsg()

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

Definition at line 16479 of file ruby/ext/google/protobuf_c/upb.c.

◆ printer_endmsg_fieldmask()

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

Definition at line 17101 of file ruby/ext/google/protobuf_c/upb.c.

◆ printer_endmsg_noframe()

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

Definition at line 17079 of file ruby/ext/google/protobuf_c/upb.c.

◆ printer_endtimestampmsg()

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

Definition at line 17008 of file ruby/ext/google/protobuf_c/upb.c.

◆ printer_sethandlers()

void printer_sethandlers ( const void closure,
upb_handlers h 
)

Definition at line 17310 of file ruby/ext/google/protobuf_c/upb.c.

◆ printer_sethandlers_any()

void printer_sethandlers_any ( const void closure,
upb_handlers h 
)

Definition at line 17122 of file ruby/ext/google/protobuf_c/upb.c.

◆ printer_sethandlers_duration()

void printer_sethandlers_duration ( const void closure,
upb_handlers h 
)

Definition at line 17176 of file ruby/ext/google/protobuf_c/upb.c.

◆ printer_sethandlers_fieldmask()

void printer_sethandlers_fieldmask ( const void closure,
upb_handlers h 
)

Definition at line 17157 of file ruby/ext/google/protobuf_c/upb.c.

◆ printer_sethandlers_listvalue()

void printer_sethandlers_listvalue ( const void closure,
upb_handlers h 
)

Definition at line 17276 of file ruby/ext/google/protobuf_c/upb.c.

◆ printer_sethandlers_mapentry()

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

Definition at line 16724 of file ruby/ext/google/protobuf_c/upb.c.

◆ printer_sethandlers_structvalue()

void printer_sethandlers_structvalue ( const void closure,
upb_handlers h 
)

Definition at line 17293 of file ruby/ext/google/protobuf_c/upb.c.

◆ printer_sethandlers_timestamp()

void printer_sethandlers_timestamp ( const void closure,
upb_handlers h 
)

Definition at line 17196 of file ruby/ext/google/protobuf_c/upb.c.

◆ printer_sethandlers_value()

void printer_sethandlers_value ( const void closure,
upb_handlers h 
)

Definition at line 17214 of file ruby/ext/google/protobuf_c/upb.c.

◆ printer_startdurationmsg()

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

Definition at line 16926 of file ruby/ext/google/protobuf_c/upb.c.

◆ printer_startmsg()

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

Definition at line 16469 of file ruby/ext/google/protobuf_c/upb.c.

◆ printer_startmsg_fieldmask()

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

Definition at line 17090 of file ruby/ext/google/protobuf_c/upb.c.

◆ printer_startmsg_noframe()

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

Definition at line 17070 of file ruby/ext/google/protobuf_c/upb.c.

◆ printer_starttimestampmsg()

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

Definition at line 16995 of file ruby/ext/google/protobuf_c/upb.c.

◆ push()

static void push ( tarjan t,
const upb_refcounted r 
)
static

Definition at line 5890 of file ruby/ext/google/protobuf_c/upb.c.

◆ pushtagdelim()

static bool pushtagdelim ( upb_pbdecoder d,
uint32_t  arg 
)
static

Definition at line 11004 of file ruby/ext/google/protobuf_c/upb.c.

◆ put32()

static void put32 ( compiler c,
uint32_t  v 
)
static

Definition at line 9754 of file ruby/ext/google/protobuf_c/upb.c.

◆ putbuf()

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

Definition at line 11698 of file ruby/ext/google/protobuf_c/upb.c.

◆ putbytes()

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

Definition at line 16534 of file ruby/ext/google/protobuf_c/upb.c.

◆ putchecktag()

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

Definition at line 9978 of file ruby/ext/google/protobuf_c/upb.c.

◆ putescaped()

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

Definition at line 12239 of file ruby/ext/google/protobuf_c/upb.c.

◆ putf()

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

Definition at line 12286 of file ruby/ext/google/protobuf_c/upb.c.

◆ putkey()

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

Definition at line 16320 of file ruby/ext/google/protobuf_c/upb.c.

◆ putnanos()

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

Definition at line 16821 of file ruby/ext/google/protobuf_c/upb.c.

◆ putnull()

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

Definition at line 16917 of file ruby/ext/google/protobuf_c/upb.c.

◆ putop()

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

Definition at line 9769 of file ruby/ext/google/protobuf_c/upb.c.

◆ putpush()

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

Definition at line 10033 of file ruby/ext/google/protobuf_c/upb.c.

◆ putseconds()

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

Definition at line 16813 of file ruby/ext/google/protobuf_c/upb.c.

◆ putsel()

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

Definition at line 10058 of file ruby/ext/google/protobuf_c/upb.c.

◆ putstr()

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

Definition at line 16524 of file ruby/ext/google/protobuf_c/upb.c.

◆ putstr_nokey()

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

Definition at line 16838 of file ruby/ext/google/protobuf_c/upb.c.

◆ putstring()

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

Definition at line 16212 of file ruby/ext/google/protobuf_c/upb.c.

◆ refe()

static const upb_enumdef* refe ( const upb_enumdef e,
const void owner 
)
static

Definition at line 8552 of file ruby/ext/google/protobuf_c/upb.c.

◆ refgroup()

static void refgroup ( uint32_t *  group)
static

Definition at line 5551 of file ruby/ext/google/protobuf_c/upb.c.

◆ refm()

static const upb_msgdef* refm ( const upb_msgdef m,
const void owner 
)
static

Definition at line 8547 of file ruby/ext/google/protobuf_c/upb.c.

◆ reghandlers()

static void reghandlers ( const void closure,
upb_handlers h 
)
static

Definition at line 9349 of file ruby/ext/google/protobuf_c/upb.c.

◆ release_containingtype()

static void release_containingtype ( upb_fielddef f)
static

Definition at line 1951 of file ruby/ext/google/protobuf_c/upb.c.

◆ release_ref2()

static void release_ref2 ( const upb_refcounted obj,
const upb_refcounted subobj,
void closure 
)
static

Definition at line 6213 of file ruby/ext/google/protobuf_c/upb.c.

◆ release_subdef()

static void release_subdef ( upb_fielddef f)
static

Definition at line 2372 of file ruby/ext/google/protobuf_c/upb.c.

◆ repack()

static uint64_t repack ( uint64_t  dispatch,
int  new_wt2 
)
static

Definition at line 10004 of file ruby/ext/google/protobuf_c/upb.c.

◆ repeated_bytes()

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

Definition at line 16683 of file ruby/ext/google/protobuf_c/upb.c.

◆ repeated_endstr()

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

Definition at line 16638 of file ruby/ext/google/protobuf_c/upb.c.

◆ repeated_enum()

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

Definition at line 16426 of file ruby/ext/google/protobuf_c/upb.c.

◆ repeated_startstr()

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

Definition at line 16621 of file ruby/ext/google/protobuf_c/upb.c.

◆ repeated_startstr_fieldmask()

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

Definition at line 16874 of file ruby/ext/google/protobuf_c/upb.c.

◆ repeated_startsubmsg()

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

Definition at line 16451 of file ruby/ext/google/protobuf_c/upb.c.

◆ repeated_str()

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

Definition at line 16631 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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

Definition at line 16884 of file ruby/ext/google/protobuf_c/upb.c.

◆ reserve()

static bool reserve ( upb_pb_encoder e,
size_t  bytes 
)
static

Definition at line 11709 of file ruby/ext/google/protobuf_c/upb.c.

◆ returntype()

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

Definition at line 4046 of file ruby/ext/google/protobuf_c/upb.c.

◆ rm()

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

Definition at line 6643 of file ruby/ext/google/protobuf_c/upb.c.

◆ run_decoder_vm()

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

Definition at line 11175 of file ruby/ext/google/protobuf_c/upb.c.

◆ saturating_multiply()

static size_t saturating_multiply ( size_t  a,
size_t  b 
)
static

Definition at line 13026 of file ruby/ext/google/protobuf_c/upb.c.

◆ scalar_bytes()

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

Definition at line 16675 of file ruby/ext/google/protobuf_c/upb.c.

◆ scalar_endstr()

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

Definition at line 16614 of file ruby/ext/google/protobuf_c/upb.c.

◆ scalar_enum()

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

Definition at line 16393 of file ruby/ext/google/protobuf_c/upb.c.

◆ scalar_startstr()

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

Definition at line 16597 of file ruby/ext/google/protobuf_c/upb.c.

◆ scalar_startstr_nokey()

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

Definition at line 16829 of file ruby/ext/google/protobuf_c/upb.c.

◆ scalar_startstr_onlykey()

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

Definition at line 17113 of file ruby/ext/google/protobuf_c/upb.c.

◆ scalar_startsubmsg()

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

Definition at line 16447 of file ruby/ext/google/protobuf_c/upb.c.

◆ scalar_str()

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

Definition at line 16607 of file ruby/ext/google/protobuf_c/upb.c.

◆ set_bytecode_handlers()

static void set_bytecode_handlers ( mgroup g)
static

Definition at line 10352 of file ruby/ext/google/protobuf_c/upb.c.

◆ set_delim_end()

static void set_delim_end ( upb_pbdecoder d)
static

Definition at line 10646 of file ruby/ext/google/protobuf_c/upb.c.

◆ set_enum_hd()

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

Definition at line 16701 of file ruby/ext/google/protobuf_c/upb.c.

◆ set_gray()

static void set_gray ( tarjan t,
const upb_refcounted r 
)
static

Definition at line 5884 of file ruby/ext/google/protobuf_c/upb.c.

◆ set_lowlink()

static void set_lowlink ( tarjan t,
const upb_refcounted r,
uint32_t  lowlink 
)
static

Definition at line 5938 of file ruby/ext/google/protobuf_c/upb.c.

◆ set_name_table()

static void set_name_table ( upb_json_parser p,
upb_jsonparser_frame frame 
)
static

Definition at line 13010 of file ruby/ext/google/protobuf_c/upb.c.

◆ setattr()

static void setattr ( tarjan t,
const upb_refcounted r,
uint64_t  attr 
)
static

Definition at line 5875 of file ruby/ext/google/protobuf_c/upb.c.

◆ seterr()

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

Definition at line 10592 of file ruby/ext/google/protobuf_c/upb.c.

◆ sethandlers()

static void sethandlers ( mgroup g,
bool  allowjit 
)
static

Definition at line 10384 of file ruby/ext/google/protobuf_c/upb.c.

◆ setofs()

static void setofs ( uint32_t *  instruction,
int32_t  ofs 
)
static

Definition at line 9698 of file ruby/ext/google/protobuf_c/upb.c.

◆ shortname()

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

Definition at line 12220 of file ruby/ext/google/protobuf_c/upb.c.

◆ skip()

static int32_t skip ( upb_pbdecoder d,
size_t  bytes 
)
static

Definition at line 10684 of file ruby/ext/google/protobuf_c/upb.c.

◆ stacksize()

static size_t stacksize ( upb_pbdecoder d,
size_t  entries 
)
static

Definition at line 10561 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_any_member()

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

Definition at line 14664 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_any_object()

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

Definition at line 14901 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_any_stringval()

static bool start_any_stringval ( upb_json_parser p)
static

Definition at line 13787 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_array()

static bool start_array ( upb_json_parser p)
static

Definition at line 14798 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_day()

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

Definition at line 14187 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_delim()

static bool start_delim ( upb_pb_encoder e)
static

Definition at line 11785 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_duration_base()

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

Definition at line 14048 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_fieldmask_object()

static void start_fieldmask_object ( upb_json_parser p)
static

Definition at line 15035 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_fieldmask_path()

static bool start_fieldmask_path ( upb_json_parser p)
static

Definition at line 14408 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_fieldmask_path_text()

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

Definition at line 14398 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_frame()

static void start_frame ( upb_json_printer p)
static

Definition at line 16458 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_hex()

static void start_hex ( upb_json_parser p)
static

Definition at line 13420 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_hour()

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

Definition at line 14199 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_jsonparser_frame()

static upb_jsonparser_frame* start_jsonparser_frame ( upb_json_parser p)
static

Definition at line 12884 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_listvalue_object()

static void start_listvalue_object ( upb_json_parser p)
static

Definition at line 15116 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_member()

static void start_member ( upb_json_parser p)
static

Definition at line 14461 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_minute()

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

Definition at line 14211 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_month()

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

Definition at line 14175 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_number()

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

Definition at line 13475 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_object()

static void start_object ( upb_json_parser p)
static

Definition at line 14884 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_second()

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

Definition at line 14223 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_stringval()

static bool start_stringval ( upb_json_parser p)
static

Definition at line 13792 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_structvalue_object()

static void start_structvalue_object ( upb_json_parser p)
static

Definition at line 15133 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_subobject()

static bool start_subobject ( upb_json_parser p)
static

Definition at line 14674 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_subobject_full()

static bool start_subobject_full ( upb_json_parser p)
static

Definition at line 14735 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_text()

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

Definition at line 13467 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_timestamp_base()

static void start_timestamp_base ( upb_json_parser p)
static

Definition at line 14235 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_timestamp_fraction()

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

Definition at line 14239 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_timestamp_zone()

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

Definition at line 14298 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_value_object()

static void start_value_object ( upb_json_parser p,
int  value_type 
)
static

Definition at line 15072 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_wrapper_object()

static void start_wrapper_object ( upb_json_parser p)
static

Definition at line 15055 of file ruby/ext/google/protobuf_c/upb.c.

◆ start_year()

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

Definition at line 14163 of file ruby/ext/google/protobuf_c/upb.c.

◆ startmap()

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

Definition at line 16507 of file ruby/ext/google/protobuf_c/upb.c.

◆ startmap_nokey()

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

Definition at line 16908 of file ruby/ext/google/protobuf_c/upb.c.

◆ startmsg()

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

Definition at line 11922 of file ruby/ext/google/protobuf_c/upb.c.

◆ startseq()

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

Definition at line 16490 of file ruby/ext/google/protobuf_c/upb.c.

◆ startseq_fieldmask()

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

Definition at line 16859 of file ruby/ext/google/protobuf_c/upb.c.

◆ startseq_nokey()

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

Definition at line 16850 of file ruby/ext/google/protobuf_c/upb.c.

◆ str_tabent()

static const upb_tabent* str_tabent ( const upb_strtable_iter i)
static

Definition at line 6798 of file ruby/ext/google/protobuf_c/upb.c.

◆ strcopy()

static upb_tabkey strcopy ( lookupkey_t  k2,
upb_alloc a 
)
static

Definition at line 6700 of file ruby/ext/google/protobuf_c/upb.c.

◆ streql()

static bool streql ( upb_tabkey  k1,
lookupkey_t  k2 
)
static

Definition at line 6715 of file ruby/ext/google/protobuf_c/upb.c.

◆ strhash()

static uint32_t strhash ( upb_tabkey  key)
static

Definition at line 6709 of file ruby/ext/google/protobuf_c/upb.c.

◆ stringsink_start()

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

Definition at line 12714 of file ruby/ext/google/protobuf_c/upb.c.

◆ stringsink_string()

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

Definition at line 12722 of file ruby/ext/google/protobuf_c/upb.c.

◆ strkey2()

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

Definition at line 6498 of file ruby/ext/google/protobuf_c/upb.c.

◆ suspend_save()

static size_t suspend_save ( upb_pbdecoder d)
static

Definition at line 10795 of file ruby/ext/google/protobuf_c/upb.c.

◆ switchtobuf()

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

Definition at line 10657 of file ruby/ext/google/protobuf_c/upb.c.

◆ symtab_add()

static bool symtab_add ( upb_symtab s,
upb_def *const *  defs,
size_t  n,
void ref_donor,
upb_refcounted freeze_also,
upb_status status 
)
static

Definition at line 3284 of file ruby/ext/google/protobuf_c/upb.c.

◆ T()

T ( double  ,
double  ,
dbl2uint64  ,
encode_fixed64   
)

Definition at line 11986 of file ruby/ext/google/protobuf_c/upb.c.

◆ tarjan_newgroup()

static void tarjan_newgroup ( tarjan t)
static

Definition at line 5913 of file ruby/ext/google/protobuf_c/upb.c.

◆ tarjan_visit()

static void tarjan_visit ( const upb_refcounted obj,
const upb_refcounted subobj,
void closure 
)
static

Definition at line 5982 of file ruby/ext/google/protobuf_c/upb.c.

◆ textprinter_endmsg()

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

Definition at line 12325 of file ruby/ext/google/protobuf_c/upb.c.

◆ textprinter_endstr()

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

Definition at line 12400 of file ruby/ext/google/protobuf_c/upb.c.

◆ textprinter_endsubmsg()

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

Definition at line 12430 of file ruby/ext/google/protobuf_c/upb.c.

◆ textprinter_putbool()

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

Definition at line 12348 of file ruby/ext/google/protobuf_c/upb.c.

◆ textprinter_putenum()

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

Definition at line 12373 of file ruby/ext/google/protobuf_c/upb.c.

◆ textprinter_putstr()

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

Definition at line 12408 of file ruby/ext/google/protobuf_c/upb.c.

◆ textprinter_reset()

static void textprinter_reset ( upb_textprinter p,
bool  single_line 
)
static

Definition at line 12501 of file ruby/ext/google/protobuf_c/upb.c.

◆ textprinter_startmsg()

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

Definition at line 12316 of file ruby/ext/google/protobuf_c/upb.c.

◆ textprinter_startstr()

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

Definition at line 12390 of file ruby/ext/google/protobuf_c/upb.c.

◆ textprinter_startsubmsg()

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

Definition at line 12419 of file ruby/ext/google/protobuf_c/upb.c.

◆ top()

static upb_pb_encoder_segment* top ( upb_pb_encoder e)
static

Definition at line 11703 of file ruby/ext/google/protobuf_c/upb.c.

◆ track()

static void track ( const upb_refcounted r,
const void owner,
bool  ref2 
)
static

Definition at line 5785 of file ruby/ext/google/protobuf_c/upb.c.

◆ trackfree()

static void trackfree ( const upb_refcounted r)
static

Definition at line 5807 of file ruby/ext/google/protobuf_c/upb.c.

◆ trackinit()

static void trackinit ( upb_refcounted r)
static

Definition at line 5803 of file ruby/ext/google/protobuf_c/upb.c.

◆ trygetattr()

static uint64_t trygetattr ( const tarjan t,
const upb_refcounted r 
)
static

Definition at line 5862 of file ruby/ext/google/protobuf_c/upb.c.

◆ trygetsel()

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

Definition at line 4019 of file ruby/ext/google/protobuf_c/upb.c.

◆ uninit()

static void uninit ( upb_table t,
upb_alloc a 
)
static

Definition at line 6551 of file ruby/ext/google/protobuf_c/upb.c.

◆ unref()

static void unref ( const upb_refcounted r)
static

Definition at line 6224 of file ruby/ext/google/protobuf_c/upb.c.

◆ unrefgroup()

static bool unrefgroup ( uint32_t *  group)
static

Definition at line 5556 of file ruby/ext/google/protobuf_c/upb.c.

◆ untrack()

static void untrack ( const upb_refcounted r,
const void owner,
bool  ref2 
)
static

Definition at line 5791 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_append_unknown()

static bool upb_append_unknown ( upb_decstate d,
upb_decframe frame,
const char *  start 
)
static

Definition at line 628 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_arena_addblock()

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

Definition at line 7457 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_arena_addcleanup()

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

Definition at line 7572 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_arena_allocblock()

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

Definition at line 7472 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_arena_bytesallocated()

size_t upb_arena_bytesallocated ( const upb_arena a)

Definition at line 7586 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_arena_doalloc()

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

Definition at line 7486 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_arena_init()

void upb_arena_init ( upb_arena a)

Definition at line 7524 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_arena_init2()

void upb_arena_init2 ( upb_arena a,
void mem,
size_t  size,
upb_alloc alloc 
)

Definition at line 7534 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_arena_uninit()

void upb_arena_uninit ( upb_arena a)

Definition at line 7546 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_array_add()

static void* upb_array_add ( upb_array arr,
size_t  elements 
)
static

Definition at line 692 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_array_get()

upb_msgval upb_array_get ( const upb_array arr,
size_t  i 
)

Definition at line 4987 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_array_grow()

static bool upb_array_grow ( upb_array arr,
size_t  elements 
)
static

Definition at line 663 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_array_new()

upb_array* upb_array_new ( upb_fieldtype_t  type,
upb_arena a 
)

upb_array

Definition at line 4961 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_array_reserve()

static void* upb_array_reserve ( upb_array arr,
size_t  elements 
)
static

Definition at line 685 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_array_set()

bool upb_array_set ( upb_array arr,
size_t  i,
upb_msgval  val 
)

Definition at line 4992 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_array_size()

size_t upb_array_size ( const upb_array arr)

Definition at line 4979 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_array_type()

upb_fieldtype_t upb_array_type ( const upb_array arr)

Definition at line 4983 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_bufhandle_objofs()

size_t upb_bufhandle_objofs ( const upb_bufhandle h)

Definition at line 4576 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_bufsink_free()

void upb_bufsink_free ( upb_bufsink sink)

Definition at line 6417 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_bufsink_getdata()

const char* upb_bufsink_getdata ( const upb_bufsink sink,
size_t *  len 
)

Definition at line 6426 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_bufsink_new()

upb_bufsink* upb_bufsink_new ( upb_env env)

Definition at line 6401 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_bufsink_sink()

upb_bytessink* upb_bufsink_sink ( upb_bufsink sink)

Definition at line 6422 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_bufsink_start()

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

Definition at line 6369 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_bufsink_string()

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

Definition at line 6377 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_bufsrc_putbuf()

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

Definition at line 6344 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_byteshandler_init()

void upb_byteshandler_init ( upb_byteshandler h)

Definition at line 4582 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_byteshandler_setendstr()

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

Definition at line 4605 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_byteshandler_setstartstr()

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

Definition at line 4591 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_byteshandler_setstring()

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

Definition at line 4598 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_byteshandler_uninit()

void upb_byteshandler_uninit ( upb_byteshandler h)

Definition at line 4587 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_calloc()

static void* upb_calloc ( size_t  size)
static

Definition at line 3919 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_check_alloc()

static void upb_check_alloc ( upb_table t,
upb_alloc a 
)
static

Definition at line 6445 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_decode()

bool upb_decode ( upb_strview  buf,
void msg,
const upb_msglayout l 
)

Definition at line 1084 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_decode_32bit()

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

Definition at line 586 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_decode_32bitfield()

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

Definition at line 850 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_decode_64bit()

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

Definition at line 578 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_decode_64bitfield()

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

Definition at line 826 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_decode_delimitedfield()

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

Definition at line 967 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_decode_field()

static bool upb_decode_field ( upb_decstate d,
upb_decframe frame 
)
static

Definition at line 1012 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_decode_fixedpacked()

static bool upb_decode_fixedpacked ( upb_array arr,
upb_strview  data,
int  elem_size 
)
static

Definition at line 874 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_decode_message()

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

Definition at line 1068 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_decode_prepareslot()

static char* upb_decode_prepareslot ( upb_decframe frame,
const upb_msglayout_field field 
)
static

Definition at line 733 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_decode_setpresent()

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

Definition at line 746 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_decode_string()

static bool upb_decode_string ( const char **  ptr,
const char *  limit,
upb_strview val 
)
static

Definition at line 611 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_decode_submsg()

static bool upb_decode_submsg ( upb_decstate d,
upb_decframe frame,
const char *  limit,
const upb_msglayout_field field,
int  group_number 
)
static

Definition at line 759 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_decode_tag()

static bool upb_decode_tag ( const char **  ptr,
const char *  limit,
int *  field_number,
int *  wire_type 
)
static

Definition at line 594 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_decode_toarray()

static bool upb_decode_toarray ( upb_decstate d,
upb_decframe frame,
const char *  field_start,
const upb_msglayout_field field,
upb_strview  val 
)
static

Definition at line 886 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_decode_varint()

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

Definition at line 551 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_decode_varint32()

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

Definition at line 570 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_decode_varintfield()

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

Definition at line 781 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_def_file()

const upb_filedef* upb_def_file ( const upb_def d)

Definition at line 1211 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_def_freeze()

bool upb_def_freeze ( upb_def *const *  defs,
size_t  n,
upb_status s 
)

Definition at line 1553 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_def_fullname()

const char* upb_def_fullname ( const upb_def d)

Definition at line 1178 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_def_init()

static bool upb_def_init ( upb_def def,
upb_deftype_t  type,
const struct upb_refcounted_vtbl vtbl,
const void owner 
)
static

Definition at line 1213 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_def_name()

const char* upb_def_name ( const upb_def d)

Definition at line 1180 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_def_setfullname()

bool upb_def_setfullname ( upb_def def,
const char *  fullname,
upb_status s 
)

Definition at line 1194 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_def_type()

upb_deftype_t upb_def_type ( const upb_def d)

Definition at line 1176 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_def_uninit()

static void upb_def_uninit ( upb_def def)
static

Definition at line 1224 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_descreader_create()

upb_descreader* upb_descreader_create ( upb_env e,
const upb_handlers h 
)

Definition at line 9462 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_descreader_endcontainer()

bool upb_descreader_endcontainer ( upb_descreader r)

Definition at line 8719 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_descreader_file()

upb_filedef* upb_descreader_file ( const upb_descreader r,
size_t  i 
)

Definition at line 9483 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_descreader_filecount()

size_t upb_descreader_filecount ( const upb_descreader r)

Definition at line 9479 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_descreader_getoneof()

static upb_oneofdef* upb_descreader_getoneof ( upb_descreader r,
uint32_t  index 
)
static

Definition at line 8744 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_descreader_input()

upb_sink* upb_descreader_input ( upb_descreader r)

Definition at line 9492 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_descreader_last()

static upb_def* upb_descreader_last ( upb_descreader r)
static

Definition at line 8705 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_descreader_newhandlers()

const upb_handlers* upb_descreader_newhandlers ( const void owner)

Definition at line 9496 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_descreader_qualify()

static bool upb_descreader_qualify ( upb_filedef f,
char *  str,
int32_t  start 
)
static

Definition at line 8678 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_descreader_setscopename()

void upb_descreader_setscopename ( upb_descreader r,
char *  str 
)

Definition at line 8738 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_descreader_startcontainer()

void upb_descreader_startcontainer ( upb_descreader r)

Definition at line 8711 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_descreader_top()

static upb_msgdef* upb_descreader_top ( upb_descreader r)
static

Definition at line 8697 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_dumptostderr()

bool upb_dumptostderr ( void closure,
const upb_status status 
)

Definition at line 7343 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_encode()

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

Definition at line 3885 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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

Definition at line 3668 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_encode_growbuffer()

static bool upb_encode_growbuffer ( upb_encstate e,
size_t  bytes 
)
static

Definition at line 3575 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_encode_message()

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

Definition at line 3843 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_encode_reserve()

static bool upb_encode_reserve ( upb_encstate e,
size_t  bytes 
)
static

Definition at line 3592 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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

Definition at line 3768 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_encode_varint()

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

Definition at line 3546 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_enum_begin()

void upb_enum_begin ( upb_enum_iter i,
const upb_enumdef e 
)

Definition at line 1687 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_enum_done()

bool upb_enum_done ( upb_enum_iter iter)

Definition at line 1693 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_enum_iter_name()

const char* upb_enum_iter_name ( upb_enum_iter iter)

Definition at line 1711 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_enum_iter_number()

int32_t upb_enum_iter_number ( upb_enum_iter iter)

Definition at line 1715 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_enum_next()

void upb_enum_next ( upb_enum_iter iter)

Definition at line 1692 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_enumdef_addval()

bool upb_enumdef_addval ( upb_enumdef e,
const char *  name,
int32_t  num,
upb_status status 
)

Definition at line 1633 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_enumdef_default()

int32_t upb_enumdef_default ( const upb_enumdef e)

Definition at line 1668 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_enumdef_freeze()

bool upb_enumdef_freeze ( upb_enumdef e,
upb_status status 
)

Definition at line 1615 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_enumdef_fullname()

const char* upb_enumdef_fullname ( const upb_enumdef e)

Definition at line 1620 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_enumdef_iton()

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

Definition at line 1705 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_enumdef_name()

const char* upb_enumdef_name ( const upb_enumdef e)

Definition at line 1624 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_enumdef_new()

upb_enumdef* upb_enumdef_new ( const void owner)

Definition at line 1595 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_enumdef_ntoi()

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

Definition at line 1695 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_enumdef_numvals()

int upb_enumdef_numvals ( const upb_enumdef e)

Definition at line 1683 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_enumdef_setdefault()

bool upb_enumdef_setdefault ( upb_enumdef e,
int32_t  val,
upb_status s 
)

Definition at line 1673 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_enumdef_setfullname()

bool upb_enumdef_setfullname ( upb_enumdef e,
const char *  fullname,
upb_status s 
)

Definition at line 1628 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_env_addcleanup()

bool upb_env_addcleanup ( upb_env e,
upb_cleanup_func func,
void ud 
)

Definition at line 7655 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_env_bytesallocated()

size_t upb_env_bytesallocated ( const upb_env e)

Definition at line 7659 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_env_free()

void upb_env_free ( upb_env e,
void ptr 
)

Definition at line 7651 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_env_init()

void upb_env_init ( upb_env e)

Definition at line 7614 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_env_init2()

void upb_env_init2 ( upb_env e,
void mem,
size_t  n,
upb_alloc alloc 
)

Definition at line 7619 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_env_initonly()

void upb_env_initonly ( upb_env e)

Definition at line 7608 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_env_malloc()

void* upb_env_malloc ( upb_env e,
size_t  size 
)

Definition at line 7643 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_env_realloc()

void* upb_env_realloc ( upb_env e,
void ptr,
size_t  oldsize,
size_t  size 
)

Definition at line 7647 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_env_reporterror()

bool upb_env_reporterror ( upb_env e,
const upb_status status 
)

Definition at line 7638 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_env_reporterrorsto()

void upb_env_reporterrorsto ( upb_env e,
upb_status s 
)

Definition at line 7633 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_env_seterrorfunc()

void upb_env_seterrorfunc ( upb_env e,
upb_error_func func,
void ud 
)

Definition at line 7628 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_env_uninit()

void upb_env_uninit ( upb_env e)

Definition at line 7624 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_checkdescriptortype()

bool upb_fielddef_checkdescriptortype ( int32_t  type)

Definition at line 2469 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_checkintfmt()

bool upb_fielddef_checkintfmt ( int32_t  fmt)

Definition at line 2467 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_checklabel()

bool upb_fielddef_checklabel ( int32_t  label)

Definition at line 2465 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_checktype()

bool upb_fielddef_checktype ( int32_t  type)

Definition at line 2466 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_containingoneof()

const upb_oneofdef* upb_fielddef_containingoneof ( const upb_fielddef f)

Definition at line 1939 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_containingtype()

const upb_msgdef* upb_fielddef_containingtype ( const upb_fielddef f)

Definition at line 1935 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_containingtype_mutable()

upb_msgdef* upb_fielddef_containingtype_mutable ( upb_fielddef f)

Definition at line 1943 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_containingtypename()

const char* upb_fielddef_containingtypename ( upb_fielddef f)

Definition at line 1947 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_defaultbool()

bool upb_fielddef_defaultbool ( const upb_fielddef f)

Definition at line 2019 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_defaultdouble()

double upb_fielddef_defaultdouble ( const upb_fielddef f)

Definition at line 2029 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_defaultfloat()

float upb_fielddef_defaultfloat ( const upb_fielddef f)

Definition at line 2024 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_defaultint32()

int32_t upb_fielddef_defaultint32 ( const upb_fielddef f)

Definition at line 1997 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_defaultint64()

int64_t upb_fielddef_defaultint64 ( const upb_fielddef f)

Definition at line 1992 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_defaultstr()

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

Definition at line 2034 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_defaultuint32()

uint32_t upb_fielddef_defaultuint32 ( const upb_fielddef f)

Definition at line 2014 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_defaultuint64()

uint64_t upb_fielddef_defaultuint64 ( const upb_fielddef f)

Definition at line 2009 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_descriptortype()

upb_descriptortype_t upb_fielddef_descriptortype ( const upb_fielddef f)

Definition at line 2193 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_enumhasdefaultint32()

bool upb_fielddef_enumhasdefaultint32 ( const upb_fielddef f)

Definition at line 2345 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_enumhasdefaultstr()

bool upb_fielddef_enumhasdefaultstr ( const upb_fielddef f)

Definition at line 2351 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_enumsubdef()

const upb_enumdef* upb_fielddef_enumsubdef ( const upb_fielddef f)

Definition at line 2090 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_fullname()

const char* upb_fielddef_fullname ( const upb_fielddef e)

Definition at line 1729 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_getjsonname()

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

Definition at line 1896 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_haspresence()

bool upb_fielddef_haspresence ( const upb_fielddef f)

Definition at line 2447 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_hassubdef()

bool upb_fielddef_hassubdef ( const upb_fielddef f)

Definition at line 2457 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_index()

uint32_t upb_fielddef_index ( const upb_fielddef f)

Definition at line 1860 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_init_default()

static void upb_fielddef_init_default ( upb_fielddef f)
static

Definition at line 2057 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_intfmt()

upb_intfmt_t upb_fielddef_intfmt ( const upb_fielddef f)

Definition at line 1868 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_isextension()

bool upb_fielddef_isextension ( const upb_fielddef f)

Definition at line 1880 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_ismap()

bool upb_fielddef_ismap ( const upb_fielddef f)

Definition at line 2442 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_isprimitive()

bool upb_fielddef_isprimitive ( const upb_fielddef f)

Definition at line 2438 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_isseq()

bool upb_fielddef_isseq ( const upb_fielddef f)

Definition at line 2434 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_isstring()

bool upb_fielddef_isstring ( const upb_fielddef f)

Definition at line 2429 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_issubmsg()

bool upb_fielddef_issubmsg ( const upb_fielddef f)

Definition at line 2425 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_istagdelim()

bool upb_fielddef_istagdelim ( const upb_fielddef f)

Definition at line 1872 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_label()

upb_label_t upb_fielddef_label ( const upb_fielddef f)

Definition at line 1864 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_lazy()

bool upb_fielddef_lazy ( const upb_fielddef f)

Definition at line 1884 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_msgsubdef()

const upb_msgdef* upb_fielddef_msgsubdef ( const upb_fielddef f)

Definition at line 2085 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_name()

const char* upb_fielddef_name ( const upb_fielddef f)

Definition at line 1892 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_new()

upb_fielddef* upb_fielddef_new ( const void o)

Definition at line 1817 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_number()

uint32_t upb_fielddef_number ( const upb_fielddef f)

Definition at line 1876 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_packed()

bool upb_fielddef_packed ( const upb_fielddef f)

Definition at line 1888 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_setcontainingtypename()

bool upb_fielddef_setcontainingtypename ( upb_fielddef f,
const char *  name,
upb_status s 
)

Definition at line 1955 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_setdefaultbool()

void upb_fielddef_setdefaultbool ( upb_fielddef f,
bool  value 
)

Definition at line 2303 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_setdefaultcstr()

void upb_fielddef_setdefaultcstr ( upb_fielddef f,
const char *  str,
upb_status s 
)

Definition at line 2339 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_setdefaultdouble()

void upb_fielddef_setdefaultdouble ( upb_fielddef f,
double  value 
)

Definition at line 2313 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_setdefaultfloat()

void upb_fielddef_setdefaultfloat ( upb_fielddef f,
float  value 
)

Definition at line 2308 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_setdefaultint32()

void upb_fielddef_setdefaultint32 ( upb_fielddef f,
int32_t  value 
)

Definition at line 2285 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_setdefaultint64()

void upb_fielddef_setdefaultint64 ( upb_fielddef f,
int64_t  value 
)

Definition at line 2280 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_setdefaultstr()

bool upb_fielddef_setdefaultstr ( upb_fielddef f,
const void str,
size_t  len,
upb_status s 
)

Definition at line 2318 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_setdefaultuint32()

void upb_fielddef_setdefaultuint32 ( upb_fielddef f,
uint32_t  value 
)

Definition at line 2298 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_setdefaultuint64()

void upb_fielddef_setdefaultuint64 ( upb_fielddef f,
uint64_t  value 
)

Definition at line 2293 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_setdescriptortype()

void upb_fielddef_setdescriptortype ( upb_fielddef f,
int  type 
)

Definition at line 2132 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_setenumsubdef()

bool upb_fielddef_setenumsubdef ( upb_fielddef f,
const upb_enumdef subdef,
upb_status s 
)

Definition at line 2397 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_setintfmt()

void upb_fielddef_setintfmt ( upb_fielddef f,
upb_intfmt_t  fmt 
)

Definition at line 2253 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_setisextension()

void upb_fielddef_setisextension ( upb_fielddef f,
bool  is_extension 
)

Definition at line 2232 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_setlabel()

void upb_fielddef_setlabel ( upb_fielddef f,
upb_label_t  label 
)

Definition at line 2247 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_setlazy()

void upb_fielddef_setlazy ( upb_fielddef f,
bool  lazy 
)

Definition at line 2237 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_setmsgsubdef()

bool upb_fielddef_setmsgsubdef ( upb_fielddef f,
const upb_msgdef subdef,
upb_status s 
)

Definition at line 2392 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_setname()

bool upb_fielddef_setname ( upb_fielddef f,
const char *  name,
upb_status s 
)

Definition at line 1978 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_setnumber()

bool upb_fielddef_setnumber ( upb_fielddef f,
uint32_t  number,
upb_status s 
)

Definition at line 2109 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_setpacked()

void upb_fielddef_setpacked ( upb_fielddef f,
bool  packed 
)

Definition at line 2242 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_setsubdef()

bool upb_fielddef_setsubdef ( upb_fielddef f,
const upb_def subdef,
upb_status s 
)

Definition at line 2380 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_setsubdefname()

bool upb_fielddef_setsubdefname ( upb_fielddef f,
const char *  name,
upb_status s 
)

Definition at line 2402 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_settagdelim()

void upb_fielddef_settagdelim ( upb_fielddef f,
bool  tag_delim 
)

Definition at line 2259 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_settype()

void upb_fielddef_settype ( upb_fielddef f,
upb_fieldtype_t  type 
)

Definition at line 2123 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_subdef()

const upb_def* upb_fielddef_subdef ( const upb_fielddef f)

Definition at line 2081 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_subdef_mutable()

upb_def* upb_fielddef_subdef_mutable ( upb_fielddef f)

Definition at line 2095 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_subdefname()

const char* upb_fielddef_subdefname ( const upb_fielddef f)

Definition at line 2099 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_type()

upb_fieldtype_t upb_fielddef_type ( const upb_fielddef f)

Definition at line 1855 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_typeisset()

bool upb_fielddef_typeisset ( const upb_fielddef f)

Definition at line 1851 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_uninit_default()

static void upb_fielddef_uninit_default ( upb_fielddef f)
static

Definition at line 1724 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fieldtotabtype()

static upb_ctype_t upb_fieldtotabtype ( upb_fieldtype_t  type)
static

Definition at line 4789 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fieldtype_mapkeyok()

bool upb_fieldtype_mapkeyok ( upb_fieldtype_t  type)

Definition at line 4709 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_filedef_adddef()

bool upb_filedef_adddef ( upb_filedef f,
upb_def def,
const void ref_donor,
upb_status s 
)

Definition at line 3176 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_filedef_adddep()

bool upb_filedef_adddep ( upb_filedef f,
const upb_filedef dep 
)

Definition at line 3198 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_filedef_def()

const upb_def* upb_filedef_def ( const upb_filedef f,
size_t  i 
)

Definition at line 3080 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_filedef_defcount()

size_t upb_filedef_defcount ( const upb_filedef f)

Definition at line 3072 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_filedef_dep()

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

Definition at line 3090 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_filedef_depcount()

size_t upb_filedef_depcount ( const upb_filedef f)

Definition at line 3076 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_filedef_name()

const char* upb_filedef_name ( const upb_filedef f)

Definition at line 3052 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_filedef_new()

upb_filedef* upb_filedef_new ( const void owner)

Definition at line 3015 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_filedef_package()

const char* upb_filedef_package ( const upb_filedef f)

Definition at line 3056 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_filedef_phpnamespace()

const char* upb_filedef_phpnamespace ( const upb_filedef f)

Definition at line 3064 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_filedef_phpprefix()

const char* upb_filedef_phpprefix ( const upb_filedef f)

Definition at line 3060 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_filedef_setname()

bool upb_filedef_setname ( upb_filedef f,
const char *  name,
upb_status s 
)

Definition at line 3100 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_filedef_setpackage()

bool upb_filedef_setpackage ( upb_filedef f,
const char *  package,
upb_status s 
)

Definition at line 3111 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_filedef_setphpnamespace()

bool upb_filedef_setphpnamespace ( upb_filedef f,
const char *  phpnamespace,
upb_status s 
)

Definition at line 3136 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_filedef_setphpprefix()

bool upb_filedef_setphpprefix ( upb_filedef f,
const char *  phpprefix,
upb_status s 
)

Definition at line 3124 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_filedef_setsyntax()

bool upb_filedef_setsyntax ( upb_filedef f,
upb_syntax_t  syntax,
upb_status s 
)

Definition at line 3148 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_filedef_syntax()

upb_syntax_t upb_filedef_syntax ( const upb_filedef f)

Definition at line 3068 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_find_field()

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

Definition at line 999 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_getarr()

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

Definition at line 698 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_getorcreatearr()

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

Definition at line 704 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_global_allocfunc()

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

Definition at line 7419 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_gstrndup()

static char* upb_gstrndup ( const char *  buf,
size_t  n 
)
static

Definition at line 8648 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlerattr_alwaysok()

bool upb_handlerattr_alwaysok ( const upb_handlerattr attr)

Definition at line 4570 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlerattr_closuretype()

const void* upb_handlerattr_closuretype ( const upb_handlerattr attr)

Definition at line 4551 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlerattr_init()

void upb_handlerattr_init ( upb_handlerattr attr)

Definition at line 4532 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlerattr_returnclosuretype()

const void* upb_handlerattr_returnclosuretype ( const upb_handlerattr attr)

Definition at line 4561 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlerattr_setalwaysok()

bool upb_handlerattr_setalwaysok ( upb_handlerattr attr,
bool  alwaysok 
)

Definition at line 4565 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlerattr_setclosuretype()

bool upb_handlerattr_setclosuretype ( upb_handlerattr attr,
const void type 
)

Definition at line 4546 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlerattr_sethandlerdata()

bool upb_handlerattr_sethandlerdata ( upb_handlerattr attr,
const void hd 
)

Definition at line 4541 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlerattr_setreturnclosuretype()

bool upb_handlerattr_setreturnclosuretype ( upb_handlerattr attr,
const void type 
)

Definition at line 4555 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlerattr_uninit()

void upb_handlerattr_uninit ( upb_handlerattr attr)

Definition at line 4537 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlers_addcleanup()

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

Definition at line 4336 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlers_clearerr()

void upb_handlers_clearerr ( upb_handlers h)

Definition at line 4252 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlers_freeze()

bool upb_handlers_freeze ( upb_handlers *const *  handlers,
int  n,
upb_status s 
)

Definition at line 4349 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlers_getattr()

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

Definition at line 4320 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlers_getprimitivehandlertype()

upb_handlertype_t upb_handlers_getprimitivehandlertype ( const upb_fielddef f)

Definition at line 4433 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlers_getselector()

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

Definition at line 4447 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlers_getsubhandlers()

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

Definition at line 4314 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlers_getsubhandlers_sel()

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

Definition at line 4328 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlers_msgdef()

const upb_msgdef* upb_handlers_msgdef ( const upb_handlers h)

Definition at line 4334 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlers_new()

upb_handlers* upb_handlers_new ( const upb_msgdef md,
const void owner 
)

Definition at line 4189 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlers_newfrozen()

const upb_handlers* upb_handlers_newfrozen ( const upb_msgdef m,
const void owner,
upb_handlers_callback callback,
const void closure 
)

Definition at line 4222 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlers_selectorbaseoffset()

uint32_t upb_handlers_selectorbaseoffset ( const upb_fielddef f)

Definition at line 4510 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlers_selectorcount()

uint32_t upb_handlers_selectorcount ( const upb_fielddef f)

Definition at line 4514 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlers_setendmsg()

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

Definition at line 4293 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlers_setstartmsg()

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

Definition at line 4287 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlers_setsubhandlers()

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

Definition at line 4300 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlers_setunknown()

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

Definition at line 4281 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_handlers_status()

const upb_status* upb_handlers_status ( upb_handlers h)

Definition at line 4247 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_inttable_begin()

void upb_inttable_begin ( upb_inttable_iter i,
const upb_inttable t 
)

Definition at line 7100 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_inttable_compact2()

void upb_inttable_compact2 ( upb_inttable t,
upb_alloc a 
)

Definition at line 7029 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_inttable_count()

size_t upb_inttable_count ( const upb_inttable t)

Definition at line 6875 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_inttable_done()

bool upb_inttable_done ( const upb_inttable_iter i)

Definition at line 7122 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_inttable_init2()

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

Definition at line 6915 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_inttable_insert2()

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

Definition at line 6924 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_inttable_insertptr2()

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

Definition at line 7014 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_inttable_iter_isequal()

bool upb_inttable_iter_isequal ( const upb_inttable_iter i1,
const upb_inttable_iter i2 
)

Definition at line 7149 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_inttable_iter_key()

uintptr_t upb_inttable_iter_key ( const upb_inttable_iter i)

Definition at line 7132 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_inttable_iter_setdone()

void upb_inttable_iter_setdone ( upb_inttable_iter i)

Definition at line 7144 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_inttable_iter_value()

upb_value upb_inttable_iter_value ( const upb_inttable_iter i)

Definition at line 7137 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_inttable_lookup()

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

Definition at line 6967 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_inttable_lookupptr()

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

Definition at line 7020 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_inttable_next()

void upb_inttable_next ( upb_inttable_iter iter)

Definition at line 7107 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_inttable_pop()

upb_value upb_inttable_pop ( upb_inttable t)

Definition at line 7007 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_inttable_push2()

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

Definition at line 7002 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_inttable_remove()

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

Definition at line 6981 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_inttable_removeptr()

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

Definition at line 7025 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_inttable_replace()

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

Definition at line 6974 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_inttable_sizedinit()

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

Definition at line 6895 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_inttable_uninit2()

void upb_inttable_uninit2 ( upb_inttable t,
upb_alloc a 
)

Definition at line 6919 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_isalphanum()

static bool upb_isalphanum ( char  c)
static

Definition at line 1123 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_isbetween()

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

Definition at line 1115 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_isfield()

static bool upb_isfield ( const upb_refcounted def)
static

Definition at line 1161 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_isident()

static bool upb_isident ( const char *  str,
size_t  len,
bool  full,
upb_status s 
)
static

Definition at line 1127 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_isletter()

static bool upb_isletter ( char  c)
static

Definition at line 1119 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_isoneof()

static bool upb_isoneof ( const upb_refcounted def)
static

Definition at line 1157 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_join()

static char* upb_join ( const char *  base,
const char *  name 
)
static

Definition at line 8661 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_json_parser_create()

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 
)

Definition at line 16019 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_json_parser_input()

upb_bytessink* upb_json_parser_input ( upb_json_parser p)

Definition at line 16061 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_json_parsermethod_inputhandler()

const upb_byteshandler* upb_json_parsermethod_inputhandler ( const upb_json_parsermethod m)

Definition at line 16086 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_json_parsermethod_new()

upb_json_parsermethod* upb_json_parsermethod_new ( const upb_msgdef md,
const void owner 
)

Definition at line 16065 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_json_printer_create()

upb_json_printer* upb_json_printer_create ( upb_env e,
const upb_handlers h,
upb_bytessink output 
)

Definition at line 17462 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_json_printer_input()

upb_sink* upb_json_printer_input ( upb_json_printer p)

Definition at line 17483 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_json_printer_newhandlers()

const upb_handlers* upb_json_printer_newhandlers ( const upb_msgdef md,
bool  preserve_fieldnames,
const void owner 
)

Definition at line 17487 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_loaddescriptor()

upb_filedef** upb_loaddescriptor ( const char *  buf,
size_t  n,
const void owner,
upb_status status 
)

Definition at line 12146 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_map_del()

bool upb_map_del ( upb_map map,
upb_msgval  key 
)

Definition at line 5150 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_map_fromkey()

static upb_msgval upb_map_fromkey ( upb_fieldtype_t  type,
const char *  key,
size_t  len 
)
static

Definition at line 5061 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_map_get()

bool upb_map_get ( const upb_map map,
upb_msgval  key,
upb_msgval val 
)

Definition at line 5116 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_map_keytype()

upb_fieldtype_t upb_map_keytype ( const upb_map map)

Definition at line 5108 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_map_new()

upb_map* upb_map_new ( upb_fieldtype_t  ktype,
upb_fieldtype_t  vtype,
upb_arena a 
)

upb_map

Definition at line 5082 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_map_set()

bool upb_map_set ( upb_map map,
upb_msgval  key,
upb_msgval  val,
upb_msgval removed 
)

Definition at line 5131 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_map_size()

size_t upb_map_size ( const upb_map map)

Definition at line 5104 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_map_tokey()

static void upb_map_tokey ( upb_fieldtype_t  type,
upb_msgval key,
const char **  out_key,
size_t *  out_len 
)
static

Definition at line 5034 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_map_valuetype()

upb_fieldtype_t upb_map_valuetype ( const upb_map map)

Definition at line 5112 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_mapiter_begin()

void upb_mapiter_begin ( upb_mapiter i,
const upb_map map 
)

Definition at line 5171 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_mapiter_done()

bool upb_mapiter_done ( const upb_mapiter i)

Definition at line 5195 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_mapiter_free()

void upb_mapiter_free ( upb_mapiter i,
upb_alloc a 
)

Definition at line 5187 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_mapiter_isequal()

bool upb_mapiter_isequal ( const upb_mapiter i1,
const upb_mapiter i2 
)

Definition at line 5212 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_mapiter_key()

upb_msgval upb_mapiter_key ( const upb_mapiter i)

Definition at line 5199 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_mapiter_new()

upb_mapiter* upb_mapiter_new ( const upb_map t,
upb_alloc a 
)

Definition at line 5176 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_mapiter_next()

void upb_mapiter_next ( upb_mapiter i)

Definition at line 5191 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_mapiter_setdone()

void upb_mapiter_setdone ( upb_mapiter i)

Definition at line 5208 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_mapiter_sizeof()

size_t upb_mapiter_sizeof ( )

upb_mapiter

Definition at line 5167 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_mapiter_value()

upb_msgval upb_mapiter_value ( const upb_mapiter i)

Definition at line 5204 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_mktime()

static int64_t upb_mktime ( const struct tm *  tp)
static

Definition at line 14328 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_addunknown()

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

Definition at line 4852 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_arena()

upb_arena* upb_msg_arena ( const upb_msg msg)

Definition at line 4921 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_checkfield()

static const upb_msglayout_field* upb_msg_checkfield ( int  field_index,
const upb_msglayout l 
)
static

Definition at line 4871 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_field_begin()

void upb_msg_field_begin ( upb_msg_field_iter iter,
const upb_msgdef m 
)

Definition at line 2741 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_field_done()

bool upb_msg_field_done ( const upb_msg_field_iter iter)

Definition at line 2747 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_field_iter_setdone()

void upb_msg_field_iter_setdone ( upb_msg_field_iter iter)

Definition at line 2755 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_field_next()

void upb_msg_field_next ( upb_msg_field_iter iter)

Definition at line 2745 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_fielddefsize()

static uint8_t upb_msg_fielddefsize ( const upb_fielddef f)
static

Definition at line 5253 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_fieldsize()

static uint8_t upb_msg_fieldsize ( const upb_msglayout_field field)
static

Definition at line 4763 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_get()

upb_msgval upb_msg_get ( const upb_msg msg,
int  field_index,
const upb_msglayout l 
)

Definition at line 4942 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_getinternal()

static upb_msg_internal* upb_msg_getinternal ( upb_msg msg)
static

Definition at line 4838 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_getinternal_const()

static const upb_msg_internal* upb_msg_getinternal_const ( const upb_msg msg)
static

Definition at line 4842 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_getinternalwithext()

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

Definition at line 4846 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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 
)

Definition at line 4676 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_getunknown()

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

Definition at line 4865 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_has()

bool upb_msg_has ( const upb_msg msg,
int  field_index,
const upb_msglayout l 
)

Definition at line 4925 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_inoneof()

static bool upb_msg_inoneof ( const upb_msglayout_field field)
static

Definition at line 4877 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_internalsize()

static int upb_msg_internalsize ( const upb_msglayout l)
static

Definition at line 4834 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_iter_field()

upb_fielddef* upb_msg_iter_field ( const upb_msg_field_iter iter)

Definition at line 2751 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_iter_oneof()

upb_oneofdef* upb_msg_iter_oneof ( const upb_msg_oneof_iter iter)

Definition at line 2780 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_new()

upb_msg* upb_msg_new ( const upb_msglayout l,
upb_arena a 
)

upb_msg

Definition at line 4892 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_oneof_begin()

void upb_msg_oneof_begin ( upb_msg_oneof_iter iter,
const upb_msgdef m 
)

Definition at line 2759 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_oneof_done()

bool upb_msg_oneof_done ( const upb_msg_oneof_iter iter)

Definition at line 2776 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_oneof_iter_setdone()

void upb_msg_oneof_iter_setdone ( upb_msg_oneof_iter iter)

Definition at line 2784 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_oneof_next()

void upb_msg_oneof_next ( upb_msg_oneof_iter iter)

Definition at line 2768 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_oneofcase()

static uint32_t* upb_msg_oneofcase ( const upb_msg msg,
int  field_index,
const upb_msglayout l 
)
static

Definition at line 4881 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_set()

void upb_msg_set ( upb_msg msg,
int  field_index,
upb_msgval  val,
const upb_msglayout l 
)

Definition at line 4949 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_setscalarhandler()

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

Message handlers

Definition at line 4639 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msg_sizeof()

static size_t upb_msg_sizeof ( const upb_msglayout l)
static

Definition at line 4888 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgdef_addfield()

bool upb_msgdef_addfield ( upb_msgdef m,
upb_fielddef f,
const void ref_donor,
upb_status s 
)

Definition at line 2592 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgdef_addoneof()

bool upb_msgdef_addoneof ( upb_msgdef m,
upb_oneofdef o,
const void ref_donor,
upb_status s 
)

Definition at line 2626 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgdef_freeze()

bool upb_msgdef_freeze ( upb_msgdef m,
upb_status status 
)

Definition at line 2530 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgdef_fullname()

const char* upb_msgdef_fullname ( const upb_msgdef m)

Definition at line 2535 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgdef_isnumberwrapper()

bool upb_msgdef_isnumberwrapper ( const upb_msgdef m)

Definition at line 2735 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgdef_itof()

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

Definition at line 2670 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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 
)

Definition at line 2698 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgdef_mapentry()

bool upb_msgdef_mapentry ( const upb_msgdef m)

Definition at line 2727 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgdef_name()

const char* upb_msgdef_name ( const upb_msgdef m)

Definition at line 2539 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgdef_new()

upb_msgdef* upb_msgdef_new ( const void owner)

Definition at line 2508 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgdef_ntof()

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

Definition at line 2676 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgdef_ntoo()

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

Definition at line 2687 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgdef_numfields()

int upb_msgdef_numfields ( const upb_msgdef m)

Definition at line 2712 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgdef_numoneofs()

int upb_msgdef_numoneofs ( const upb_msgdef m)

Definition at line 2717 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgdef_setfullname()

bool upb_msgdef_setfullname ( upb_msgdef m,
const char *  fullname,
upb_status s 
)

Definition at line 2543 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgdef_setmapentry()

void upb_msgdef_setmapentry ( upb_msgdef m,
bool  map_entry 
)

Definition at line 2722 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgdef_setsyntax()

bool upb_msgdef_setsyntax ( upb_msgdef m,
upb_syntax_t  syntax 
)

Definition at line 2548 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgdef_syntax()

upb_syntax_t upb_msgdef_syntax ( const upb_msgdef m)

Definition at line 2557 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgdef_wellknowntype()

upb_wellknowntype_t upb_msgdef_wellknowntype ( const upb_msgdef m)

Definition at line 2731 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgfactory_free()

void upb_msgfactory_free ( upb_msgfactory f)

Definition at line 5425 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgfactory_getlayout()

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

Definition at line 5448 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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)

Definition at line 5444 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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

Definition at line 5277 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msglayout_place()

static size_t upb_msglayout_place ( upb_msglayout l,
size_t  size 
)
static

Definition at line 5268 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgval_fromval()

static upb_msgval upb_msgval_fromval ( upb_value  val)
static

Definition at line 4782 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgval_read()

static upb_msgval upb_msgval_read ( const void p,
size_t  ofs,
uint8_t  size 
)
static

Definition at line 4727 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgval_sizeof()

static size_t upb_msgval_sizeof ( upb_fieldtype_t  type)
static

Definition at line 4741 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgval_sizeof2()

static size_t upb_msgval_sizeof2 ( upb_fieldtype_t  type)
static

Definition at line 5231 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgval_write()

static void upb_msgval_write ( void p,
size_t  ofs,
upb_msgval  val,
uint8_t  size 
)
static

Definition at line 4735 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_ok()

bool upb_ok ( const upb_status status)

Definition at line 7380 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_oneof_begin()

void upb_oneof_begin ( upb_oneof_iter iter,
const upb_oneofdef o 
)

Definition at line 2964 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_oneof_done()

bool upb_oneof_done ( upb_oneof_iter iter)

Definition at line 2972 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_oneof_iter_field()

upb_fielddef* upb_oneof_iter_field ( const upb_oneof_iter iter)

Definition at line 2976 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_oneof_iter_setdone()

void upb_oneof_iter_setdone ( upb_oneof_iter iter)

Definition at line 2980 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_oneof_next()

void upb_oneof_next ( upb_oneof_iter iter)

Definition at line 2968 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_oneofdef_addfield()

bool upb_oneofdef_addfield ( upb_oneofdef o,
upb_fielddef f,
const void ref_donor,
upb_status s 
)

Definition at line 2876 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_oneofdef_containingtype()

const upb_msgdef* upb_oneofdef_containingtype ( const upb_oneofdef o)

Definition at line 2864 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_oneofdef_index()

uint32_t upb_oneofdef_index ( const upb_oneofdef o)

Definition at line 2872 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_oneofdef_itof()

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

Definition at line 2958 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_oneofdef_name()

const char* upb_oneofdef_name ( const upb_oneofdef o)

Definition at line 2840 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_oneofdef_new()

upb_oneofdef* upb_oneofdef_new ( const void owner)

Definition at line 2813 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_oneofdef_ntof()

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

Definition at line 2951 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_oneofdef_numfields()

int upb_oneofdef_numfields ( const upb_oneofdef o)

Definition at line 2868 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_oneofdef_setname()

bool upb_oneofdef_setname ( upb_oneofdef o,
const char *  name,
upb_status s 
)

Definition at line 2842 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pb_encoder_create()

upb_pb_encoder* upb_pb_encoder_create ( upb_env env,
const upb_handlers h,
upb_bytessink output 
)

Definition at line 12103 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pb_encoder_input()

upb_sink* upb_pb_encoder_input ( upb_pb_encoder e)

Definition at line 12142 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pb_encoder_newhandlers()

const upb_handlers* upb_pb_encoder_newhandlers ( const upb_msgdef m,
const void owner 
)

Definition at line 12098 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pb_encoder_reset()

void upb_pb_encoder_reset ( upb_pb_encoder e)

Definition at line 12089 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbcodecache_allowjit()

bool upb_pbcodecache_allowjit ( const upb_pbcodecache c)

Definition at line 10456 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbcodecache_getdecodermethod()

const upb_pbdecodermethod* upb_pbcodecache_getdecodermethod ( upb_pbcodecache c,
const upb_pbdecodermethodopts *  opts 
)

Definition at line 10467 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbcodecache_init()

void upb_pbcodecache_init ( upb_pbcodecache c)

Definition at line 10441 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbcodecache_setallowjit()

bool upb_pbcodecache_setallowjit ( upb_pbcodecache c,
bool  allow 
)

Definition at line 10460 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbcodecache_uninit()

void upb_pbcodecache_uninit ( upb_pbcodecache c)

Definition at line 10446 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecoder_bytesparsed()

uint64_t upb_pbdecoder_bytesparsed ( const upb_pbdecoder d)

Definition at line 11524 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecoder_checktag_slow()

UPB_NOINLINE int32_t upb_pbdecoder_checktag_slow ( upb_pbdecoder d,
uint64_t  expected 
)

Definition at line 11018 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecoder_create()

upb_pbdecoder* upb_pbdecoder_create ( upb_env e,
const upb_pbdecodermethod m,
upb_sink sink 
)

Definition at line 11486 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecoder_decode()

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

Definition at line 11464 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecoder_decode_f32()

int32_t upb_pbdecoder_decode_f32 ( upb_pbdecoder d,
uint32_t *  u32 
)

Definition at line 10973 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecoder_decode_f64()

int32_t upb_pbdecoder_decode_f64 ( upb_pbdecoder d,
uint64_t *  u64 
)

Definition at line 10977 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecoder_decode_varint_slow()

UPB_NOINLINE int32_t upb_pbdecoder_decode_varint_slow ( upb_pbdecoder d,
uint64_t *  u64 
)

Definition at line 10899 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecoder_end()

bool upb_pbdecoder_end ( void closure,
const void handler_data 
)

Definition at line 11407 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecoder_input()

upb_bytessink* upb_pbdecoder_input ( upb_pbdecoder d)

Definition at line 11532 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecoder_maxnesting()

size_t upb_pbdecoder_maxnesting ( const upb_pbdecoder d)

Definition at line 11536 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecoder_method()

const upb_pbdecodermethod* upb_pbdecoder_method ( const upb_pbdecoder d)

Definition at line 11528 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecoder_reset()

void upb_pbdecoder_reset ( upb_pbdecoder d)

Definition at line 11477 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecoder_resume()

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

Definition at line 10708 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecoder_seterr()

void upb_pbdecoder_seterr ( upb_pbdecoder d,
const char *  msg 
)

Definition at line 10598 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecoder_setmaxnesting()

bool upb_pbdecoder_setmaxnesting ( upb_pbdecoder d,
size_t  max 
)

Definition at line 11540 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecoder_skipunknown()

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

Definition at line 11035 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecoder_startbc()

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

Definition at line 11384 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecoder_startjit()

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

Definition at line 11396 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecoder_suspend()

size_t upb_pbdecoder_suspend ( upb_pbdecoder d)

Definition at line 10773 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecodermethod_desthandlers()

const upb_handlers* upb_pbdecodermethod_desthandlers ( const upb_pbdecodermethod m)

Definition at line 9602 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecodermethod_inputhandler()

const upb_byteshandler* upb_pbdecodermethod_inputhandler ( const upb_pbdecodermethod m)

Definition at line 9607 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecodermethod_isnative()

bool upb_pbdecodermethod_isnative ( const upb_pbdecodermethod m)

Definition at line 9612 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecodermethod_new()

const upb_pbdecodermethod* upb_pbdecodermethod_new ( const upb_pbdecodermethodopts *  opts,
const void owner 
)

Definition at line 9616 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecodermethodopts_init()

void upb_pbdecodermethodopts_init ( upb_pbdecodermethodopts *  opts,
const upb_handlers h 
)

Definition at line 10485 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pbdecodermethodopts_setlazy()

void upb_pbdecodermethodopts_setlazy ( upb_pbdecodermethodopts *  opts,
bool  lazy 
)

Definition at line 10491 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_put_bytes()

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

Definition at line 3601 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_put_double()

static bool upb_put_double ( upb_encstate e,
double  d 
)
static

Definition at line 3628 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_put_fixed32()

static bool upb_put_fixed32 ( upb_encstate e,
uint32_t  val 
)
static

Definition at line 3612 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_put_fixed64()

static bool upb_put_fixed64 ( upb_encstate e,
uint64_t  val 
)
static

Definition at line 3607 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_put_fixedarray()

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

Definition at line 3659 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_put_float()

static bool upb_put_float ( upb_encstate e,
float  d 
)
static

Definition at line 3635 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_put_tag()

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

Definition at line 3655 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_put_varint()

static bool upb_put_varint ( upb_encstate e,
uint64_t  val 
)
static

Definition at line 3617 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_readcase()

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

Definition at line 3642 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_readhasbit()

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

Definition at line 3649 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_refcounted_checkref()

void upb_refcounted_checkref ( const upb_refcounted r,
const void owner 
)

Definition at line 6327 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_refcounted_donateref()

void upb_refcounted_donateref ( const upb_refcounted r,
const void from,
const void to 
)

Definition at line 6318 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_refcounted_freeze()

bool upb_refcounted_freeze ( upb_refcounted *const *  roots,
int  n,
upb_status s,
int  maxdepth 
)

Definition at line 6331 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_refcounted_init()

bool upb_refcounted_init ( upb_refcounted r,
const struct upb_refcounted_vtbl vtbl,
const void owner 
)

Definition at line 6253 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_refcounted_isfrozen()

bool upb_refcounted_isfrozen ( const upb_refcounted r)

Definition at line 6280 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_refcounted_ref()

void upb_refcounted_ref ( const upb_refcounted r,
const void owner 
)

Definition at line 6284 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_refcounted_ref2()

void upb_refcounted_ref2 ( const upb_refcounted r,
upb_refcounted from 
)

Definition at line 6298 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_refcounted_unref()

void upb_refcounted_unref ( const upb_refcounted r,
const void owner 
)

Definition at line 6291 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_refcounted_unref2()

void upb_refcounted_unref2 ( const upb_refcounted r,
upb_refcounted from 
)

Definition at line 6308 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_resolvename()

static upb_def* upb_resolvename ( const upb_strtable t,
const char *  base,
const char *  sym 
)
static

Definition at line 3260 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_roundup_pow2()

static size_t upb_roundup_pow2 ( size_t  bytes)
static

Definition at line 3567 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_set32()

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

Definition at line 624 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_sethasbit()

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

Definition at line 720 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_setoneofcase()

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

Definition at line 727 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_skip_unknownfielddata()

static bool upb_skip_unknownfielddata ( upb_decstate d,
upb_decframe frame,
int  field_number,
int  wire_type 
)
static

Definition at line 634 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_skip_unknowngroup()

static bool upb_skip_unknowngroup ( upb_decstate d,
int  field_number,
const char *  limit 
)
static

Definition at line 1049 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_status_clear()

void upb_status_clear ( upb_status status)

Definition at line 7373 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_status_copy()

void upb_status_copy ( upb_status to,
const upb_status from 
)

Definition at line 7411 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_status_errcode()

int upb_status_errcode ( const upb_status status)

Definition at line 7386 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_status_errmsg()

const char* upb_status_errmsg ( const upb_status status)

Definition at line 7388 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_status_errspace()

upb_errorspace* upb_status_errspace ( const upb_status status)

Definition at line 7382 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_status_seterrf()

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

Definition at line 7397 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_status_seterrmsg()

void upb_status_seterrmsg ( upb_status status,
const char *  msg 
)

Definition at line 7390 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_status_vseterrf()

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

Definition at line 7404 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_strdup()

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

Definition at line 6468 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_strdup2()

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

Definition at line 6472 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_streq()

static bool upb_streq ( const char *  str,
const char *  buf,
size_t  n 
)
static

Definition at line 8600 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_stringsink_init()

void upb_stringsink_init ( upb_stringsink sink)

Definition at line 12745 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_stringsink_uninit()

void upb_stringsink_uninit ( upb_stringsink sink)

Definition at line 12757 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_strtable_begin()

void upb_strtable_begin ( upb_strtable_iter i,
const upb_strtable t 
)

Definition at line 6802 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_strtable_done()

bool upb_strtable_done ( const upb_strtable_iter i)

Definition at line 6811 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_strtable_init2()

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

Definition at line 6721 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_strtable_insert3()

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

Definition at line 6754 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_strtable_iter_isequal()

bool upb_strtable_iter_isequal ( const upb_strtable_iter i1,
const upb_strtable_iter i2 
)

Definition at line 6837 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_strtable_iter_key()

const char* upb_strtable_iter_key ( const upb_strtable_iter i)

Definition at line 6816 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_strtable_iter_keylength()

size_t upb_strtable_iter_keylength ( const upb_strtable_iter i)

Definition at line 6821 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_strtable_iter_setdone()

void upb_strtable_iter_setdone ( upb_strtable_iter i)

Definition at line 6833 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_strtable_iter_value()

upb_value upb_strtable_iter_value ( const upb_strtable_iter i)

Definition at line 6828 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_strtable_lookup2()

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

Definition at line 6778 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_strtable_next()

void upb_strtable_next ( upb_strtable_iter i)

Definition at line 6807 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_strtable_remove3()

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

Definition at line 6784 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_strtable_resize()

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

Definition at line 6732 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_strtable_uninit2()

void upb_strtable_uninit2 ( upb_strtable t,
upb_alloc a 
)

Definition at line 6725 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_subdef_typecheck()

static bool upb_subdef_typecheck ( upb_fielddef f,
const upb_def subdef,
upb_status s 
)
static

Definition at line 2356 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_symtab_add()

bool upb_symtab_add ( upb_symtab s,
upb_def *const *  defs,
size_t  n,
void ref_donor,
upb_status status 
)

Definition at line 3454 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_symtab_addfile()

bool upb_symtab_addfile ( upb_symtab s,
upb_filedef file,
upb_status status 
)

Definition at line 3459 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_symtab_begin()

void upb_symtab_begin ( upb_symtab_iter iter,
const upb_symtab s,
upb_deftype_t  type 
)

Definition at line 3498 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_symtab_done()

bool upb_symtab_done ( const upb_symtab_iter iter)

Definition at line 3510 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_symtab_free()

void upb_symtab_free ( upb_symtab s)

Definition at line 3208 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_symtab_iter_def()

const upb_def* upb_symtab_iter_def ( const upb_symtab_iter iter)

Definition at line 3514 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_symtab_lookup()

const upb_def* upb_symtab_lookup ( const upb_symtab s,
const char *  sym 
)

Definition at line 3229 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_symtab_lookupenum()

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

Definition at line 3251 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_symtab_lookupmsg()

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

Definition at line 3236 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_symtab_lookupmsg2()

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

Definition at line 3243 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_symtab_new()

upb_symtab* upb_symtab_new ( )

Definition at line 3219 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_symtab_next()

void upb_symtab_next ( upb_symtab_iter iter)

Definition at line 3505 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_symtab_resolve()

const upb_def* upb_symtab_resolve ( const upb_symtab s,
const char *  base,
const char *  sym 
)

Definition at line 3277 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_textprinter_create()

upb_textprinter* upb_textprinter_create ( upb_env env,
const upb_handlers h,
upb_bytessink output 
)

Definition at line 12509 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_textprinter_input()

upb_sink* upb_textprinter_input ( upb_textprinter p)

Definition at line 12526 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_textprinter_newhandlers()

const upb_handlers* upb_textprinter_newhandlers ( const upb_msgdef m,
const void owner 
)

Definition at line 12521 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_textprinter_setsingleline()

void upb_textprinter_setsingleline ( upb_textprinter p,
bool  single_line 
)

Definition at line 12528 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_toval()

static upb_value upb_toval ( upb_msgval  val)
static

Definition at line 4775 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_trygetfield()

static const upb_fielddef* upb_trygetfield ( const upb_refcounted def)
static

Definition at line 1169 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_trygetoneof()

static const upb_oneofdef* upb_trygetoneof ( const upb_refcounted def)
static

Definition at line 1165 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_upberr_setoom()

void upb_upberr_setoom ( upb_status status)

Definition at line 7365 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_validate_enumdef()

static bool upb_validate_enumdef ( const upb_enumdef e,
upb_status s 
)
static

Definition at line 1328 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_validate_field()

static bool upb_validate_field ( upb_fielddef f,
upb_status s 
)
static

Definition at line 1233 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_vdecode_max8_branch32()

upb_decoderet upb_vdecode_max8_branch32 ( upb_decoderet  r)

Definition at line 12560 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_vdecode_max8_branch64()

upb_decoderet upb_vdecode_max8_branch64 ( upb_decoderet  r)

Definition at line 12584 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_zzdecode_32()

static int32_t upb_zzdecode_32 ( uint32_t  n)
static

Definition at line 603 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_zzdecode_64()

static int64_t upb_zzdecode_64 ( uint64_t  n)
static

Definition at line 607 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_zzencode_32()

static uint32_t upb_zzencode_32 ( int32_t  n)
static

Definition at line 3559 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_zzencode_64()

static uint64_t upb_zzencode_64 ( int64_t  n)
static

Definition at line 3560 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_DescriptorProto_ExtensionRange_get()

const upb_msgdef* upbdefs_google_protobuf_DescriptorProto_ExtensionRange_get ( const void owner)

Definition at line 8559 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_DescriptorProto_get()

const upb_msgdef* upbdefs_google_protobuf_DescriptorProto_get ( const void owner)

Definition at line 8558 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_DescriptorProto_ReservedRange_get()

const upb_msgdef* upbdefs_google_protobuf_DescriptorProto_ReservedRange_get ( const void owner)

Definition at line 8560 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_EnumDescriptorProto_get()

const upb_msgdef* upbdefs_google_protobuf_EnumDescriptorProto_get ( const void owner)

Definition at line 8561 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_EnumOptions_get()

const upb_msgdef* upbdefs_google_protobuf_EnumOptions_get ( const void owner)

Definition at line 8562 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_EnumValueDescriptorProto_get()

const upb_msgdef* upbdefs_google_protobuf_EnumValueDescriptorProto_get ( const void owner)

Definition at line 8563 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_EnumValueOptions_get()

const upb_msgdef* upbdefs_google_protobuf_EnumValueOptions_get ( const void owner)

Definition at line 8564 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_FieldDescriptorProto_get()

const upb_msgdef* upbdefs_google_protobuf_FieldDescriptorProto_get ( const void owner)

Definition at line 8565 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_FieldDescriptorProto_Label_get()

const upb_enumdef* upbdefs_google_protobuf_FieldDescriptorProto_Label_get ( const void owner)

Definition at line 8581 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_FieldDescriptorProto_Type_get()

const upb_enumdef* upbdefs_google_protobuf_FieldDescriptorProto_Type_get ( const void owner)

Definition at line 8582 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_FieldOptions_CType_get()

const upb_enumdef* upbdefs_google_protobuf_FieldOptions_CType_get ( const void owner)

Definition at line 8583 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_FieldOptions_get()

const upb_msgdef* upbdefs_google_protobuf_FieldOptions_get ( const void owner)

Definition at line 8566 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_FieldOptions_JSType_get()

const upb_enumdef* upbdefs_google_protobuf_FieldOptions_JSType_get ( const void owner)

Definition at line 8584 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_FileDescriptorProto_get()

const upb_msgdef* upbdefs_google_protobuf_FileDescriptorProto_get ( const void owner)

Definition at line 8567 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_FileDescriptorSet_get()

const upb_msgdef* upbdefs_google_protobuf_FileDescriptorSet_get ( const void owner)

Definition at line 8568 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_FileOptions_get()

const upb_msgdef* upbdefs_google_protobuf_FileOptions_get ( const void owner)

Definition at line 8569 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_FileOptions_OptimizeMode_get()

const upb_enumdef* upbdefs_google_protobuf_FileOptions_OptimizeMode_get ( const void owner)

Definition at line 8585 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_MessageOptions_get()

const upb_msgdef* upbdefs_google_protobuf_MessageOptions_get ( const void owner)

Definition at line 8570 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_MethodDescriptorProto_get()

const upb_msgdef* upbdefs_google_protobuf_MethodDescriptorProto_get ( const void owner)

Definition at line 8571 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_MethodOptions_get()

const upb_msgdef* upbdefs_google_protobuf_MethodOptions_get ( const void owner)

Definition at line 8572 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_OneofDescriptorProto_get()

const upb_msgdef* upbdefs_google_protobuf_OneofDescriptorProto_get ( const void owner)

Definition at line 8573 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_ServiceDescriptorProto_get()

const upb_msgdef* upbdefs_google_protobuf_ServiceDescriptorProto_get ( const void owner)

Definition at line 8574 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_ServiceOptions_get()

const upb_msgdef* upbdefs_google_protobuf_ServiceOptions_get ( const void owner)

Definition at line 8575 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_SourceCodeInfo_get()

const upb_msgdef* upbdefs_google_protobuf_SourceCodeInfo_get ( const void owner)

Definition at line 8576 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_SourceCodeInfo_Location_get()

const upb_msgdef* upbdefs_google_protobuf_SourceCodeInfo_Location_get ( const void owner)

Definition at line 8577 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_UninterpretedOption_get()

const upb_msgdef* upbdefs_google_protobuf_UninterpretedOption_get ( const void owner)

Definition at line 8578 of file ruby/ext/google/protobuf_c/upb.c.

◆ upbdefs_google_protobuf_UninterpretedOption_NamePart_get()

const upb_msgdef* upbdefs_google_protobuf_UninterpretedOption_NamePart_get ( const void owner)

Definition at line 8579 of file ruby/ext/google/protobuf_c/upb.c.

◆ visit()

static void visit ( const upb_refcounted r,
upb_refcounted_visit v,
void closure 
)
static

Definition at line 5811 of file ruby/ext/google/protobuf_c/upb.c.

◆ visit_json_parsermethod()

static void visit_json_parsermethod ( const upb_refcounted r,
upb_refcounted_visit visit,
void closure 
)
static

Definition at line 15944 of file ruby/ext/google/protobuf_c/upb.c.

◆ visitenum()

static void visitenum ( const upb_refcounted r,
upb_refcounted_visit visit,
void closure 
)
static

Definition at line 1570 of file ruby/ext/google/protobuf_c/upb.c.

◆ visitfield()

static void visitfield ( const upb_refcounted r,
upb_refcounted_visit visit,
void closure 
)
static

Definition at line 1733 of file ruby/ext/google/protobuf_c/upb.c.

◆ visitfiledef()

static void visitfiledef ( const upb_refcounted r,
upb_refcounted_visit visit,
void closure 
)
static

Definition at line 2986 of file ruby/ext/google/protobuf_c/upb.c.

◆ visitgroup()

static void visitgroup ( const upb_refcounted r,
upb_refcounted_visit visit,
void closure 
)
static

Definition at line 9537 of file ruby/ext/google/protobuf_c/upb.c.

◆ visithandlers()

static void visithandlers ( const upb_refcounted r,
upb_refcounted_visit visit,
void closure 
)
static

Definition at line 3949 of file ruby/ext/google/protobuf_c/upb.c.

◆ visitmethod()

static void visitmethod ( const upb_refcounted r,
upb_refcounted_visit visit,
void closure 
)
static

Definition at line 9572 of file ruby/ext/google/protobuf_c/upb.c.

◆ visitmsg()

static void visitmsg ( const upb_refcounted r,
upb_refcounted_visit visit,
void closure 
)
static

Definition at line 2475 of file ruby/ext/google/protobuf_c/upb.c.

◆ visitoneof()

static void visitoneof ( const upb_refcounted r,
upb_refcounted_visit visit,
void closure 
)
static

Definition at line 2790 of file ruby/ext/google/protobuf_c/upb.c.

◆ write_err_to()

static bool write_err_to ( void ud,
const upb_status status 
)
static

Definition at line 7599 of file ruby/ext/google/protobuf_c/upb.c.

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 14309 of file ruby/ext/google/protobuf_c/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 15233 of file ruby/ext/google/protobuf_c/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 15458 of file ruby/ext/google/protobuf_c/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 15348 of file ruby/ext/google/protobuf_c/upb.c.

◆ _json_indicies

const unsigned char _json_indicies[]
static

Definition at line 15366 of file ruby/ext/google/protobuf_c/upb.c.

◆ _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 15254 of file ruby/ext/google/protobuf_c/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 15330 of file ruby/ext/google/protobuf_c/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 15312 of file ruby/ext/google/protobuf_c/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 15435 of file ruby/ext/google/protobuf_c/upb.c.

◆ _json_trans_keys

const char _json_trans_keys[]
static

Definition at line 15272 of file ruby/ext/google/protobuf_c/upb.c.

◆ _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 15412 of file ruby/ext/google/protobuf_c/upb.c.

◆ _upb_noclosure

char _upb_noclosure

Definition at line 3929 of file ruby/ext/google/protobuf_c/upb.c.

◆ arrays

const upb_tabval arrays[187]
static

Definition at line 7675 of file ruby/ext/google/protobuf_c/upb.c.

◆ b64table

const signed char b64table[]
static

Definition at line 13040 of file ruby/ext/google/protobuf_c/upb.c.

◆ dummy_char

const char dummy_char
static

Definition at line 10533 of file ruby/ext/google/protobuf_c/upb.c.

◆ enums

static const upb_enumdef enums
static
Initial value:
= {
UPB_ENUMDEF_INIT("google.protobuf.FieldDescriptorProto.Label", UPB_STRTABLE_INIT(3, 3, UPB_CTYPE_INT32, 2, &strentries[188]), UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_CSTR, 0, NULL, &arrays[154], 4, 3), 0, &reftables[258], &reftables[259]),
UPB_ENUMDEF_INIT("google.protobuf.FieldDescriptorProto.Type", UPB_STRTABLE_INIT(18, 31, UPB_CTYPE_INT32, 5, &strentries[192]), UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_CSTR, 0, NULL, &arrays[158], 19, 18), 0, &reftables[260], &reftables[261]),
UPB_ENUMDEF_INIT("google.protobuf.FieldOptions.CType", UPB_STRTABLE_INIT(3, 3, UPB_CTYPE_INT32, 2, &strentries[224]), UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_CSTR, 0, NULL, &arrays[177], 3, 3), 0, &reftables[262], &reftables[263]),
UPB_ENUMDEF_INIT("google.protobuf.FieldOptions.JSType", UPB_STRTABLE_INIT(3, 3, UPB_CTYPE_INT32, 2, &strentries[228]), UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_CSTR, 0, NULL, &arrays[180], 3, 3), 0, &reftables[264], &reftables[265]),
UPB_ENUMDEF_INIT("google.protobuf.FileOptions.OptimizeMode", UPB_STRTABLE_INIT(3, 3, UPB_CTYPE_INT32, 2, &strentries[232]), UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_CSTR, 0, NULL, &arrays[183], 4, 3), 0, &reftables[266], &reftables[267]),
}

Definition at line 7672 of file ruby/ext/google/protobuf_c/upb.c.

◆ eof_ch

const char eof_ch = 'e'
static

Definition at line 12703 of file ruby/ext/google/protobuf_c/upb.c.

◆ fields

static const upb_fielddef fields
static

Definition at line 7671 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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 87 of file ruby/ext/google/protobuf_c/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 110 of file ruby/ext/google/protobuf_c/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
Initial value:

Definition at line 106 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_DescriptorProto_msginit

const upb_msglayout google_protobuf_DescriptorProto_msginit
Initial value:

Definition at line 100 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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 122 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_DescriptorProto_ReservedRange_msginit

const upb_msglayout google_protobuf_DescriptorProto_ReservedRange_msginit
Initial value:

Definition at line 127 of file ruby/ext/google/protobuf_c/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 191 of file ruby/ext/google/protobuf_c/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 205 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit

const upb_msglayout google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit
Initial value:

Definition at line 210 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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 356 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_EnumOptions_msginit

const upb_msglayout google_protobuf_EnumOptions_msginit
Initial value:

Definition at line 362 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_EnumOptions_submsgs

const upb_msglayout* const google_protobuf_EnumOptions_submsgs[1]
static
Initial value:

Definition at line 352 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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 220 of file ruby/ext/google/protobuf_c/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
Initial value:

Definition at line 216 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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 372 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_EnumValueOptions_msginit

const upb_msglayout google_protobuf_EnumValueOptions_msginit
Initial value:

Definition at line 377 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_EnumValueOptions_submsgs

const upb_msglayout* const google_protobuf_EnumValueOptions_submsgs[1]
static
Initial value:

Definition at line 368 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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 137 of file ruby/ext/google/protobuf_c/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
Initial value:

Definition at line 133 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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 151 of file ruby/ext/google/protobuf_c/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
Initial value:

Definition at line 147 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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 322 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_FieldOptions_msginit

const upb_msglayout google_protobuf_FieldOptions_msginit
Initial value:

Definition at line 332 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_FieldOptions_submsgs

const upb_msglayout* const google_protobuf_FieldOptions_submsgs[1]
static
Initial value:

Definition at line 318 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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 56 of file ruby/ext/google/protobuf_c/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 37 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_FileDescriptorSet_msginit

const upb_msglayout google_protobuf_FileDescriptorSet_msginit

◆ google_protobuf_FileDescriptorSet_submsgs

const upb_msglayout* const google_protobuf_FileDescriptorSet_submsgs[1]
static
Initial value:

Definition at line 33 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_FileOptions__fields

const upb_msglayout_field google_protobuf_FileOptions__fields[19]
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},
{999, UPB_SIZE(92, 160), 0, 0, 11, 3},
}

Definition at line 272 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_FileOptions_msginit

const upb_msglayout google_protobuf_FileOptions_msginit
Initial value:

Definition at line 294 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_FileOptions_submsgs

const upb_msglayout* const google_protobuf_FileOptions_submsgs[1]
static
Initial value:

Definition at line 268 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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 477 of file ruby/ext/google/protobuf_c/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 487 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_GeneratedCodeInfo_Annotation_msginit

const upb_msglayout google_protobuf_GeneratedCodeInfo_Annotation_msginit
Initial value:

Definition at line 494 of file ruby/ext/google/protobuf_c/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 304 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_MessageOptions_msginit

const upb_msglayout google_protobuf_MessageOptions_msginit
Initial value:

Definition at line 312 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_MessageOptions_submsgs

const upb_msglayout* const google_protobuf_MessageOptions_submsgs[1]
static
Initial value:

Definition at line 300 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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 253 of file ruby/ext/google/protobuf_c/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
Initial value:

Definition at line 249 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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 402 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_MethodOptions_msginit

const upb_msglayout google_protobuf_MethodOptions_msginit
Initial value:

Definition at line 408 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_MethodOptions_submsgs

const upb_msglayout* const google_protobuf_MethodOptions_submsgs[1]
static
Initial value:

Definition at line 398 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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 174 of file ruby/ext/google/protobuf_c/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
Initial value:

Definition at line 170 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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 342 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_OneofOptions_msginit

const upb_msglayout google_protobuf_OneofOptions_msginit
Initial value:

Definition at line 346 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_OneofOptions_submsgs

const upb_msglayout* const google_protobuf_OneofOptions_submsgs[1]
static
Initial value:

Definition at line 338 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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 237 of file ruby/ext/google/protobuf_c/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 387 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_ServiceOptions_msginit

const upb_msglayout google_protobuf_ServiceOptions_msginit
Initial value:

Definition at line 392 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_ServiceOptions_submsgs

const upb_msglayout* const google_protobuf_ServiceOptions_submsgs[1]
static
Initial value:

Definition at line 383 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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 449 of file ruby/ext/google/protobuf_c/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 459 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_SourceCodeInfo_Location_msginit

const upb_msglayout google_protobuf_SourceCodeInfo_Location_msginit
Initial value:

Definition at line 467 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_SourceCodeInfo_msginit

const upb_msglayout google_protobuf_SourceCodeInfo_msginit
Initial value:

Definition at line 453 of file ruby/ext/google/protobuf_c/upb.c.

◆ 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 418 of file ruby/ext/google/protobuf_c/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 434 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_UninterpretedOption_NamePart_msginit

const upb_msglayout google_protobuf_UninterpretedOption_NamePart_msginit
Initial value:

Definition at line 439 of file ruby/ext/google/protobuf_c/upb.c.

◆ google_protobuf_UninterpretedOption_submsgs

const upb_msglayout* const google_protobuf_UninterpretedOption_submsgs[1]
static

◆ halt

opcode halt = OP_HALT
static

Definition at line 10528 of file ruby/ext/google/protobuf_c/upb.c.

◆ inf

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

Definition at line 16262 of file ruby/ext/google/protobuf_c/upb.c.

◆ intentries

static const upb_tabent intentries
static

◆ json_en_duration_machine

const int json_en_duration_machine = 40
static

Definition at line 15480 of file ruby/ext/google/protobuf_c/upb.c.

◆ json_en_fieldmask_machine

const int json_en_fieldmask_machine = 75
static

Definition at line 15482 of file ruby/ext/google/protobuf_c/upb.c.

◆ json_en_main

const int json_en_main = 1
static

Definition at line 15484 of file ruby/ext/google/protobuf_c/upb.c.

◆ json_en_number_machine

const int json_en_number_machine = 23
static

Definition at line 15478 of file ruby/ext/google/protobuf_c/upb.c.

◆ json_en_string_machine

const int json_en_string_machine = 32
static

Definition at line 15479 of file ruby/ext/google/protobuf_c/upb.c.

◆ json_en_timestamp_machine

const int json_en_timestamp_machine = 47
static

Definition at line 15481 of file ruby/ext/google/protobuf_c/upb.c.

◆ json_en_value_machine

const int json_en_value_machine = 78
static

Definition at line 15483 of file ruby/ext/google/protobuf_c/upb.c.

◆ json_start

const int json_start = 1
static

Definition at line 15476 of file ruby/ext/google/protobuf_c/upb.c.

◆ kControlCharLimit

const char kControlCharLimit = 0x20
static

Definition at line 16188 of file ruby/ext/google/protobuf_c/upb.c.

◆ kPbDecoderStackOverflow

const char* kPbDecoderStackOverflow = "Nesting too deep."

Definition at line 10519 of file ruby/ext/google/protobuf_c/upb.c.

◆ kPbDecoderSubmessageTooLong

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

Definition at line 10520 of file ruby/ext/google/protobuf_c/upb.c.

◆ kUnterminatedVarint

const char* kUnterminatedVarint = "Unterminated varint."
static

Definition at line 10524 of file ruby/ext/google/protobuf_c/upb.c.

◆ MAX_LOAD

const double MAX_LOAD = 0.85
static

Definition at line 6451 of file ruby/ext/google/protobuf_c/upb.c.

◆ maxalign

const size_t maxalign = 16
static

Definition at line 7437 of file ruby/ext/google/protobuf_c/upb.c.

◆ MIN_DENSITY

const double MIN_DENSITY = 0.1
static

Definition at line 6456 of file ruby/ext/google/protobuf_c/upb.c.

◆ msgs

static const upb_msgdef msgs
static
Initial value:
= {
UPB_MSGDEF_INIT("google.protobuf.DescriptorProto", 41, 8, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[0], 11, 10), UPB_STRTABLE_INIT(10, 15, UPB_CTYPE_PTR, 4, &strentries[0]), false, UPB_SYNTAX_PROTO2, UPB_WELLKNOWN_UNSPECIFIED, &reftables[0], &reftables[1]),
UPB_MSGDEF_INIT("google.protobuf.DescriptorProto.ExtensionRange", 5, 0, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[11], 3, 2), UPB_STRTABLE_INIT(2, 3, UPB_CTYPE_PTR, 2, &strentries[16]), false, UPB_SYNTAX_PROTO2, UPB_WELLKNOWN_UNSPECIFIED, &reftables[2], &reftables[3]),
UPB_MSGDEF_INIT("google.protobuf.DescriptorProto.ReservedRange", 5, 0, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[14], 3, 2), UPB_STRTABLE_INIT(2, 3, UPB_CTYPE_PTR, 2, &strentries[20]), false, UPB_SYNTAX_PROTO2, UPB_WELLKNOWN_UNSPECIFIED, &reftables[4], &reftables[5]),
UPB_MSGDEF_INIT("google.protobuf.EnumDescriptorProto", 12, 2, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[17], 4, 3), UPB_STRTABLE_INIT(3, 3, UPB_CTYPE_PTR, 2, &strentries[24]), false, UPB_SYNTAX_PROTO2, UPB_WELLKNOWN_UNSPECIFIED, &reftables[6], &reftables[7]),
UPB_MSGDEF_INIT("google.protobuf.EnumOptions", 9, 1, UPB_INTTABLE_INIT(1, 1, UPB_CTYPE_PTR, 1, &intentries[0], &arrays[21], 4, 2), UPB_STRTABLE_INIT(3, 3, UPB_CTYPE_PTR, 2, &strentries[28]), false, UPB_SYNTAX_PROTO2, UPB_WELLKNOWN_UNSPECIFIED, &reftables[8], &reftables[9]),
UPB_MSGDEF_INIT("google.protobuf.EnumValueDescriptorProto", 9, 1, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[25], 4, 3), UPB_STRTABLE_INIT(3, 3, UPB_CTYPE_PTR, 2, &strentries[32]), false, UPB_SYNTAX_PROTO2, UPB_WELLKNOWN_UNSPECIFIED, &reftables[10], &reftables[11]),
UPB_MSGDEF_INIT("google.protobuf.EnumValueOptions", 8, 1, UPB_INTTABLE_INIT(1, 1, UPB_CTYPE_PTR, 1, &intentries[2], &arrays[29], 2, 1), UPB_STRTABLE_INIT(2, 3, UPB_CTYPE_PTR, 2, &strentries[36]), false, UPB_SYNTAX_PROTO2, UPB_WELLKNOWN_UNSPECIFIED, &reftables[12], &reftables[13]),
UPB_MSGDEF_INIT("google.protobuf.FieldDescriptorProto", 24, 1, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[31], 11, 10), UPB_STRTABLE_INIT(10, 15, UPB_CTYPE_PTR, 4, &strentries[40]), false, UPB_SYNTAX_PROTO2, UPB_WELLKNOWN_UNSPECIFIED, &reftables[14], &reftables[15]),
UPB_MSGDEF_INIT("google.protobuf.FieldOptions", 13, 1, UPB_INTTABLE_INIT(1, 1, UPB_CTYPE_PTR, 1, &intentries[4], &arrays[42], 11, 6), UPB_STRTABLE_INIT(7, 15, UPB_CTYPE_PTR, 4, &strentries[56]), false, UPB_SYNTAX_PROTO2, UPB_WELLKNOWN_UNSPECIFIED, &reftables[16], &reftables[17]),
UPB_MSGDEF_INIT("google.protobuf.FileDescriptorProto", 43, 6, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[53], 13, 12), UPB_STRTABLE_INIT(12, 15, UPB_CTYPE_PTR, 4, &strentries[72]), false, UPB_SYNTAX_PROTO2, UPB_WELLKNOWN_UNSPECIFIED, &reftables[18], &reftables[19]),
UPB_MSGDEF_INIT("google.protobuf.FileDescriptorSet", 7, 1, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[66], 2, 1), UPB_STRTABLE_INIT(1, 3, UPB_CTYPE_PTR, 2, &strentries[88]), false, UPB_SYNTAX_PROTO2, UPB_WELLKNOWN_UNSPECIFIED, &reftables[20], &reftables[21]),
UPB_MSGDEF_INIT("google.protobuf.FileOptions", 38, 1, UPB_INTTABLE_INIT(1, 1, UPB_CTYPE_PTR, 1, &intentries[6], &arrays[68], 42, 17), UPB_STRTABLE_INIT(18, 31, UPB_CTYPE_PTR, 5, &strentries[92]), false, UPB_SYNTAX_PROTO2, UPB_WELLKNOWN_UNSPECIFIED, &reftables[22], &reftables[23]),
UPB_MSGDEF_INIT("google.protobuf.MessageOptions", 11, 1, UPB_INTTABLE_INIT(1, 1, UPB_CTYPE_PTR, 1, &intentries[8], &arrays[110], 8, 4), UPB_STRTABLE_INIT(5, 7, UPB_CTYPE_PTR, 3, &strentries[124]), false, UPB_SYNTAX_PROTO2, UPB_WELLKNOWN_UNSPECIFIED, &reftables[24], &reftables[25]),
UPB_MSGDEF_INIT("google.protobuf.MethodDescriptorProto", 16, 1, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[118], 7, 6), UPB_STRTABLE_INIT(6, 7, UPB_CTYPE_PTR, 3, &strentries[132]), false, UPB_SYNTAX_PROTO2, UPB_WELLKNOWN_UNSPECIFIED, &reftables[26], &reftables[27]),
UPB_MSGDEF_INIT("google.protobuf.MethodOptions", 8, 1, UPB_INTTABLE_INIT(2, 3, UPB_CTYPE_PTR, 2, &intentries[10], &arrays[125], 1, 0), UPB_STRTABLE_INIT(2, 3, UPB_CTYPE_PTR, 2, &strentries[140]), false, UPB_SYNTAX_PROTO2, UPB_WELLKNOWN_UNSPECIFIED, &reftables[28], &reftables[29]),
UPB_MSGDEF_INIT("google.protobuf.OneofDescriptorProto", 6, 0, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[126], 2, 1), UPB_STRTABLE_INIT(1, 3, UPB_CTYPE_PTR, 2, &strentries[144]), false, UPB_SYNTAX_PROTO2, UPB_WELLKNOWN_UNSPECIFIED, &reftables[30], &reftables[31]),
UPB_MSGDEF_INIT("google.protobuf.ServiceDescriptorProto", 12, 2, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[128], 4, 3), UPB_STRTABLE_INIT(3, 3, UPB_CTYPE_PTR, 2, &strentries[148]), false, UPB_SYNTAX_PROTO2, UPB_WELLKNOWN_UNSPECIFIED, &reftables[32], &reftables[33]),
UPB_MSGDEF_INIT("google.protobuf.ServiceOptions", 8, 1, UPB_INTTABLE_INIT(2, 3, UPB_CTYPE_PTR, 2, &intentries[14], &arrays[132], 1, 0), UPB_STRTABLE_INIT(2, 3, UPB_CTYPE_PTR, 2, &strentries[152]), false, UPB_SYNTAX_PROTO2, UPB_WELLKNOWN_UNSPECIFIED, &reftables[34], &reftables[35]),
UPB_MSGDEF_INIT("google.protobuf.SourceCodeInfo", 7, 1, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[133], 2, 1), UPB_STRTABLE_INIT(1, 3, UPB_CTYPE_PTR, 2, &strentries[156]), false, UPB_SYNTAX_PROTO2, UPB_WELLKNOWN_UNSPECIFIED, &reftables[36], &reftables[37]),
UPB_MSGDEF_INIT("google.protobuf.SourceCodeInfo.Location", 20, 0, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[135], 7, 5), UPB_STRTABLE_INIT(5, 7, UPB_CTYPE_PTR, 3, &strentries[160]), false, UPB_SYNTAX_PROTO2, UPB_WELLKNOWN_UNSPECIFIED, &reftables[38], &reftables[39]),
UPB_MSGDEF_INIT("google.protobuf.UninterpretedOption", 19, 1, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[142], 9, 7), UPB_STRTABLE_INIT(7, 15, UPB_CTYPE_PTR, 4, &strentries[168]), false, UPB_SYNTAX_PROTO2, UPB_WELLKNOWN_UNSPECIFIED, &reftables[40], &reftables[41]),
UPB_MSGDEF_INIT("google.protobuf.UninterpretedOption.NamePart", 7, 0, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[151], 3, 2), UPB_STRTABLE_INIT(2, 3, UPB_CTYPE_PTR, 2, &strentries[184]), false, UPB_SYNTAX_PROTO2, UPB_WELLKNOWN_UNSPECIFIED, &reftables[42], &reftables[43]),
}

Definition at line 7670 of file ruby/ext/google/protobuf_c/upb.c.

◆ neginf

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

Definition at line 16261 of file ruby/ext/google/protobuf_c/upb.c.

◆ ptr_words

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

Definition at line 9660 of file ruby/ext/google/protobuf_c/upb.c.

◆ static_refcount

uint32_t static_refcount = -1

Definition at line 5545 of file ruby/ext/google/protobuf_c/upb.c.

◆ strentries

static const upb_tabent strentries
static

Definition at line 7673 of file ruby/ext/google/protobuf_c/upb.c.

◆ suspend_capture

char suspend_capture
static

Definition at line 12985 of file ruby/ext/google/protobuf_c/upb.c.

◆ untracked_val

const char untracked_val

Definition at line 5514 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_alloc_global

upb_alloc upb_alloc_global = {&upb_global_allocfunc}

Definition at line 7431 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_desctype_to_fieldtype

const uint8_t upb_desctype_to_fieldtype[]

◆ upb_desctype_to_fieldtype2

const uint8_t upb_desctype_to_fieldtype2[]
static

◆ upb_enumdef_vtbl

const struct upb_refcounted_vtbl upb_enumdef_vtbl = {&visitenum, &freeenum}

Definition at line 1593 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_fielddef_vtbl

const struct upb_refcounted_vtbl upb_fielddef_vtbl = {visitfield, freefield}

Definition at line 1815 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_filedef_vtbl

const struct upb_refcounted_vtbl upb_filedef_vtbl = {visitfiledef, freefiledef}

Definition at line 3013 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_msgdef_vtbl

const struct upb_refcounted_vtbl upb_msgdef_vtbl = {visitmsg, freemsg}

Definition at line 2506 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_oneofdef_vtbl

const struct upb_refcounted_vtbl upb_oneofdef_vtbl = {visitoneof, freeoneof}

Definition at line 2811 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_pb_native_wire_types

const uint8_t upb_pb_native_wire_types[]

◆ UPB_UNTRACKED_REF

const void* UPB_UNTRACKED_REF = &untracked_val

Definition at line 5515 of file ruby/ext/google/protobuf_c/upb.c.

◆ upb_upberr

upb_errorspace upb_upberr = {"upb error"}

Definition at line 7363 of file ruby/ext/google/protobuf_c/upb.c.

◆ vtbl

const struct upb_refcounted_vtbl vtbl = {visithandlers, freehandlers}
static

Definition at line 3964 of file ruby/ext/google/protobuf_c/upb.c.

google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit
const upb_msglayout google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:210
google_protobuf_UninterpretedOption__fields
static const upb_msglayout_field google_protobuf_UninterpretedOption__fields[7]
Definition: ruby/ext/google/protobuf_c/upb.c:418
UPB_SYNTAX_PROTO2
@ UPB_SYNTAX_PROTO2
Definition: php/ext/google/protobuf/upb.h:3140
google_protobuf_ServiceOptions__fields
static const upb_msglayout_field google_protobuf_ServiceOptions__fields[2]
Definition: ruby/ext/google/protobuf_c/upb.c:387
name
GLuint const GLchar * name
Definition: glcorearb.h:3055
strentries
static const upb_tabent strentries[236]
Definition: ruby/ext/google/protobuf_c/upb.c:7673
upb_func
void upb_func()
Definition: php/ext/google/protobuf/upb.h:395
google_protobuf_DescriptorProto_ReservedRange_msginit
const upb_msglayout google_protobuf_DescriptorProto_ReservedRange_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:127
UPB_ENUMDEF_INIT
#define UPB_ENUMDEF_INIT(name, ntoi, iton, defaultval, refs, ref2s)
Definition: ruby/ext/google/protobuf_c/upb.h:2954
google_protobuf_OneofDescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_OneofDescriptorProto_submsgs[1]
Definition: ruby/ext/google/protobuf_c/upb.c:170
UPB_STRTABLE_INIT
#define UPB_STRTABLE_INIT(count, mask, ctype, size_lg2, entries)
Definition: ruby/ext/google/protobuf_c/upb.h:1126
upb_fielddef_name
const char * upb_fielddef_name(const upb_fielddef *f)
Definition: ruby/ext/google/protobuf_c/upb.c:1892
NULL
NULL
Definition: test_security_zap.cpp:405
google_protobuf_FieldDescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_FieldDescriptorProto_submsgs[1]
Definition: ruby/ext/google/protobuf_c/upb.c:147
UPB_SIZE
#define UPB_SIZE(size32, size64)
Definition: ruby/ext/google/protobuf_c/upb.c:5473
UPB_TABVALUE_EMPTY_INIT
#define UPB_TABVALUE_EMPTY_INIT
Definition: php/ext/google/protobuf/upb.h:2777
length
GLenum GLuint GLenum GLsizei length
Definition: glcorearb.h:2695
google_protobuf_FieldOptions_msginit
const upb_msglayout google_protobuf_FieldOptions_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:332
arrays
const GLuint * arrays
Definition: glcorearb.h:3507
google_protobuf_FileDescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_FileDescriptorProto_submsgs[6]
Definition: ruby/ext/google/protobuf_c/upb.c:47
printer_startmsg_noframe
static bool printer_startmsg_noframe(void *closure, const void *handler_data)
Definition: ruby/ext/google/protobuf_c/upb.c:17070
google_protobuf_EnumDescriptorProto_msginit
const upb_msglayout google_protobuf_EnumDescriptorProto_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:199
google_protobuf_ServiceDescriptorProto_msginit
const upb_msglayout google_protobuf_ServiceDescriptorProto_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:243
google_protobuf_OneofOptions_submsgs
static const upb_msglayout *const google_protobuf_OneofOptions_submsgs[1]
Definition: ruby/ext/google/protobuf_c/upb.c:338
google_protobuf_OneofOptions_msginit
const upb_msglayout google_protobuf_OneofOptions_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:346
UPB_MSGDEF_INIT
#define UPB_MSGDEF_INIT(name, selector_count, submsg_field_count, itof, ntof, map_entry, syntax, well_known_type, refs, ref2s)
Definition: ruby/ext/google/protobuf_c/upb.h:2754
UPB_TYPE_INT32
@ UPB_TYPE_INT32
Definition: php/ext/google/protobuf/upb.h:415
google_protobuf_UninterpretedOption_submsgs
static const upb_msglayout *const google_protobuf_UninterpretedOption_submsgs[1]
Definition: ruby/ext/google/protobuf_c/upb.c:414
UPB_CTYPE_CSTR
@ UPB_CTYPE_CSTR
Definition: php/ext/google/protobuf/upb.h:2648
google_protobuf_EnumDescriptorProto_EnumReservedRange__fields
static const upb_msglayout_field google_protobuf_EnumDescriptorProto_EnumReservedRange__fields[2]
Definition: ruby/ext/google/protobuf_c/upb.c:205
google_protobuf_MethodOptions_msginit
const upb_msglayout google_protobuf_MethodOptions_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:408
google_protobuf_GeneratedCodeInfo_Annotation_msginit
const upb_msglayout google_protobuf_GeneratedCodeInfo_Annotation_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:494
google_protobuf_SourceCodeInfo_msginit
const upb_msglayout google_protobuf_SourceCodeInfo_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:453
google_protobuf_SourceCodeInfo_Location__fields
static const upb_msglayout_field google_protobuf_SourceCodeInfo_Location__fields[5]
Definition: ruby/ext/google/protobuf_c/upb.c:459
upb_fielddef_isseq
bool upb_fielddef_isseq(const upb_fielddef *f)
Definition: ruby/ext/google/protobuf_c/upb.c:2434
google_protobuf_MessageOptions_msginit
const upb_msglayout google_protobuf_MessageOptions_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:312
upb_put_varint
static bool upb_put_varint(upb_encstate *e, uint64_t val)
Definition: ruby/ext/google/protobuf_c/upb.c:3617
google_protobuf_GeneratedCodeInfo_submsgs
static const upb_msglayout *const google_protobuf_GeneratedCodeInfo_submsgs[1]
Definition: ruby/ext/google/protobuf_c/upb.c:473
UPB_CTYPE_INT32
@ UPB_CTYPE_INT32
Definition: php/ext/google/protobuf/upb.h:2643
UPB_TYPE_FLOAT
@ UPB_TYPE_FLOAT
Definition: php/ext/google/protobuf/upb.h:414
dummy
ReturnVal dummy
Definition: register_benchmark_test.cc:68
google_protobuf_FileDescriptorSet_submsgs
static const upb_msglayout *const google_protobuf_FileDescriptorSet_submsgs[1]
Definition: ruby/ext/google/protobuf_c/upb.c:33
UPB_WIRE_TYPE_VARINT
@ UPB_WIRE_TYPE_VARINT
Definition: php/ext/google/protobuf/upb.h:399
upb_msg_set
void upb_msg_set(upb_msg *msg, int field_index, upb_msgval val, const upb_msglayout *l)
Definition: ruby/ext/google/protobuf_c/upb.c:4949
google_protobuf_GeneratedCodeInfo__fields
static const upb_msglayout_field google_protobuf_GeneratedCodeInfo__fields[1]
Definition: ruby/ext/google/protobuf_c/upb.c:477
putkey
static bool putkey(void *closure, const void *handler_data)
Definition: ruby/ext/google/protobuf_c/upb.c:16320
google_protobuf_EnumValueOptions_submsgs
static const upb_msglayout *const google_protobuf_EnumValueOptions_submsgs[1]
Definition: ruby/ext/google/protobuf_c/upb.c:368
encode_tag
static bool encode_tag(upb_pb_encoder *e, const tag_t *tag)
Definition: ruby/ext/google/protobuf_c/upb.c:11881
google_protobuf_DescriptorProto_ExtensionRange__fields
static const upb_msglayout_field google_protobuf_DescriptorProto_ExtensionRange__fields[3]
Definition: ruby/ext/google/protobuf_c/upb.c:110
google_protobuf_MessageOptions_submsgs
static const upb_msglayout *const google_protobuf_MessageOptions_submsgs[1]
Definition: ruby/ext/google/protobuf_c/upb.c:300
UPB_HANDLERATTR_INITIALIZER
#define UPB_HANDLERATTR_INITIALIZER
Definition: ruby/ext/google/protobuf_c/upb.h:4261
UPB_TYPE_UINT32
@ UPB_TYPE_UINT32
Definition: php/ext/google/protobuf/upb.h:416
parser_getsel
static upb_selector_t parser_getsel(upb_json_parser *p)
Definition: ruby/ext/google/protobuf_c/upb.c:12995
UPB_WIRE_TYPE_START_GROUP
@ UPB_WIRE_TYPE_START_GROUP
Definition: php/ext/google/protobuf/upb.h:402
google_protobuf_EnumOptions__fields
static const upb_msglayout_field google_protobuf_EnumOptions__fields[3]
Definition: ruby/ext/google/protobuf_c/upb.c:356
google_protobuf_MessageOptions__fields
static const upb_msglayout_field google_protobuf_MessageOptions__fields[5]
Definition: ruby/ext/google/protobuf_c/upb.c:304
google_protobuf_FileDescriptorSet__fields
static const upb_msglayout_field google_protobuf_FileDescriptorSet__fields[1]
Definition: ruby/ext/google/protobuf_c/upb.c:37
google_protobuf_DescriptorProto__fields
static const upb_msglayout_field google_protobuf_DescriptorProto__fields[10]
Definition: ruby/ext/google/protobuf_c/upb.c:87
offset
GLintptr offset
Definition: glcorearb.h:2944
upb_msg_handlerdata
Definition: php/ext/google/protobuf/upb.c:3750
google_protobuf_ServiceOptions_submsgs
static const upb_msglayout *const google_protobuf_ServiceOptions_submsgs[1]
Definition: ruby/ext/google/protobuf_c/upb.c:383
upb_decode_varint
static bool upb_decode_varint(const char **ptr, const char *limit, uint64_t *val)
Definition: ruby/ext/google/protobuf_c/upb.c:551
start
GLuint start
Definition: glcorearb.h:2858
google_protobuf_ExtensionRangeOptions_submsgs
static const upb_msglayout *const google_protobuf_ExtensionRangeOptions_submsgs[1]
Definition: ruby/ext/google/protobuf_c/upb.c:133
google_protobuf_EnumValueDescriptorProto_msginit
const upb_msglayout google_protobuf_EnumValueDescriptorProto_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:226
google_protobuf_ExtensionRangeOptions__fields
static const upb_msglayout_field google_protobuf_ExtensionRangeOptions__fields[1]
Definition: ruby/ext/google/protobuf_c/upb.c:137
google_protobuf_MethodDescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_MethodDescriptorProto_submsgs[1]
Definition: ruby/ext/google/protobuf_c/upb.c:249
google_protobuf_FieldDescriptorProto_msginit
const upb_msglayout google_protobuf_FieldDescriptorProto_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:164
UPB_WIRE_TYPE_END_GROUP
@ UPB_WIRE_TYPE_END_GROUP
Definition: php/ext/google/protobuf/upb.h:403
google_protobuf_ServiceOptions_msginit
const upb_msglayout google_protobuf_ServiceOptions_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:392
google_protobuf_OneofOptions__fields
static const upb_msglayout_field google_protobuf_OneofOptions__fields[1]
Definition: ruby/ext/google/protobuf_c/upb.c:342
google_protobuf_FieldOptions_submsgs
static const upb_msglayout *const google_protobuf_FieldOptions_submsgs[1]
Definition: ruby/ext/google/protobuf_c/upb.c:318
testing::internal::fmt
GTEST_API_ const char * fmt
Definition: gtest.h:1835
google_protobuf_SourceCodeInfo__fields
static const upb_msglayout_field google_protobuf_SourceCodeInfo__fields[1]
Definition: ruby/ext/google/protobuf_c/upb.c:449
p
const char * p
Definition: gmock-matchers_test.cc:3863
UPB_WELLKNOWN_UNSPECIFIED
@ UPB_WELLKNOWN_UNSPECIFIED
Definition: php/ext/google/protobuf/upb.h:3149
google_protobuf_FileOptions_submsgs
static const upb_msglayout *const google_protobuf_FileOptions_submsgs[1]
Definition: ruby/ext/google/protobuf_c/upb.c:268
UPB_TYPE_DOUBLE
@ UPB_TYPE_DOUBLE
Definition: php/ext/google/protobuf/upb.h:423
UPB_TYPE_STRING
@ UPB_TYPE_STRING
Definition: php/ext/google/protobuf/upb.h:419
commit
static bool commit(upb_pb_encoder *e)
Definition: ruby/ext/google/protobuf_c/upb.c:11746
UPB_WIRE_TYPE_64BIT
@ UPB_WIRE_TYPE_64BIT
Definition: php/ext/google/protobuf/upb.h:400
upb_msgdef_itof
const upb_fielddef * upb_msgdef_itof(const upb_msgdef *m, uint32_t i)
Definition: ruby/ext/google/protobuf_c/upb.c:2670
google_protobuf_FileOptions__fields
static const upb_msglayout_field google_protobuf_FileOptions__fields[19]
Definition: ruby/ext/google/protobuf_c/upb.c:272
UPB_WIRE_TYPE_DELIMITED
@ UPB_WIRE_TYPE_DELIMITED
Definition: php/ext/google/protobuf/upb.h:401
google_protobuf_OneofDescriptorProto__fields
static const upb_msglayout_field google_protobuf_OneofDescriptorProto__fields[2]
Definition: ruby/ext/google/protobuf_c/upb.c:174
upb_fielddef
Definition: php/ext/google/protobuf/upb.c:1118
google_protobuf_UninterpretedOption_NamePart_msginit
const upb_msglayout google_protobuf_UninterpretedOption_NamePart_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:439
byte
SETUP_TEARDOWN_TESTCONTEXT typedef uint8_t byte
Definition: test_stream.cpp:12
d
d
upb_array_add
static void * upb_array_add(upb_array *arr, size_t elements)
Definition: ruby/ext/google/protobuf_c/upb.c:692
UPB_TYPE_MESSAGE
@ UPB_TYPE_MESSAGE
Definition: php/ext/google/protobuf/upb.h:421
google_protobuf_OneofDescriptorProto_msginit
const upb_msglayout google_protobuf_OneofDescriptorProto_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:179
buf
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glcorearb.h:4175
UPB_TYPE_ENUM
@ UPB_TYPE_ENUM
Definition: php/ext/google/protobuf/upb.h:417
google_protobuf_DescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_DescriptorProto_submsgs[8]
Definition: ruby/ext/google/protobuf_c/upb.c:77
indent
static int indent(upb_textprinter *p)
Definition: ruby/ext/google/protobuf_c/upb.c:12225
UPB_TYPE_UINT64
@ UPB_TYPE_UINT64
Definition: php/ext/google/protobuf/upb.h:425
google_protobuf_SourceCodeInfo_submsgs
static const upb_msglayout *const google_protobuf_SourceCodeInfo_submsgs[1]
Definition: ruby/ext/google/protobuf_c/upb.c:445
UPB_WIRE_TYPE_32BIT
@ UPB_WIRE_TYPE_32BIT
Definition: php/ext/google/protobuf/upb.h:404
google_protobuf_ServiceDescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_ServiceDescriptorProto_submsgs[2]
Definition: ruby/ext/google/protobuf_c/upb.c:232
google_protobuf_FieldDescriptorProto__fields
static const upb_msglayout_field google_protobuf_FieldDescriptorProto__fields[10]
Definition: ruby/ext/google/protobuf_c/upb.c:151
upb_handlers_msgdef
const upb_msgdef * upb_handlers_msgdef(const upb_handlers *h)
Definition: ruby/ext/google/protobuf_c/upb.c:4334
fields
static const upb_fielddef fields[107]
Definition: ruby/ext/google/protobuf_c/upb.c:7671
VMCASE
#define VMCASE(op, code)
endfield
static int endfield(upb_textprinter *p)
Definition: ruby/ext/google/protobuf_c/upb.c:12233
type
GLenum type
Definition: glcorearb.h:2695
google_protobuf_FieldOptions__fields
static const upb_msglayout_field google_protobuf_FieldOptions__fields[7]
Definition: ruby/ext/google/protobuf_c/upb.c:322
UPB_INTTABLE_INIT
#define UPB_INTTABLE_INIT(count, mask, ctype, size_lg2, ent, a, asize, acount)
Definition: php/ext/google/protobuf/upb.h:2830
UPB_TABKEY_NONE
#define UPB_TABKEY_NONE
Definition: ruby/ext/google/protobuf_c/upb.h:980
len
int len
Definition: php/ext/google/protobuf/map.c:206
trygetsel
static int32_t trygetsel(upb_handlers *h, const upb_fielddef *f, upb_handlertype_t type)
Definition: ruby/ext/google/protobuf_c/upb.c:4019
intentries
static const upb_tabent intentries[18]
Definition: ruby/ext/google/protobuf_c/upb.c:7674
UPB_TABKEY_NUM
#define UPB_TABKEY_NUM(n)
Definition: ruby/ext/google/protobuf_c/upb.h:979
google_protobuf_EnumValueOptions__fields
static const upb_msglayout_field google_protobuf_EnumValueOptions__fields[2]
Definition: ruby/ext/google/protobuf_c/upb.c:372
google_protobuf_MethodDescriptorProto_msginit
const upb_msglayout google_protobuf_MethodDescriptorProto_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:262
google_protobuf_FileDescriptorProto_msginit
const upb_msglayout google_protobuf_FileDescriptorProto_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:71
google_protobuf_ExtensionRangeOptions_msginit
const upb_msglayout google_protobuf_ExtensionRangeOptions_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:141
google_protobuf_ServiceDescriptorProto__fields
static const upb_msglayout_field google_protobuf_ServiceDescriptorProto__fields[3]
Definition: ruby/ext/google/protobuf_c/upb.c:237
doset
static bool doset(upb_handlers *h, int32_t sel, const upb_fielddef *f, upb_handlertype_t type, upb_func *func, upb_handlerattr *attr)
Definition: ruby/ext/google/protobuf_c/upb.c:4051
func
GLenum func
Definition: glcorearb.h:3052
UPB_CTYPE_PTR
@ UPB_CTYPE_PTR
Definition: php/ext/google/protobuf/upb.h:2649
google_protobuf_DescriptorProto_ExtensionRange_submsgs
static const upb_msglayout *const google_protobuf_DescriptorProto_ExtensionRange_submsgs[1]
Definition: ruby/ext/google/protobuf_c/upb.c:106
google_protobuf_UninterpretedOption_msginit
const upb_msglayout google_protobuf_UninterpretedOption_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:428
m
const upb_json_parsermethod * m
Definition: ruby/ext/google/protobuf_c/upb.h:10501
UPB_FIELD_AT
#define UPB_FIELD_AT(msg, fieldtype, offset)
Definition: ruby/ext/google/protobuf_c/upb.c:5476
google_protobuf_MethodDescriptorProto__fields
static const upb_msglayout_field google_protobuf_MethodDescriptorProto__fields[6]
Definition: ruby/ext/google/protobuf_c/upb.c:253
google_protobuf_FileOptions_msginit
const upb_msglayout google_protobuf_FileOptions_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:294
UPB_TYPE_BYTES
@ UPB_TYPE_BYTES
Definition: php/ext/google/protobuf/upb.h:420
google_protobuf_DescriptorProto_ExtensionRange_msginit
const upb_msglayout google_protobuf_DescriptorProto_ExtensionRange_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:116
dst
GLenum GLenum dst
Definition: glcorearb.h:3364
google_protobuf_EnumDescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_EnumDescriptorProto_submsgs[3]
Definition: ruby/ext/google/protobuf_c/upb.c:185
UPB_TABVALUE_PTR_INIT
#define UPB_TABVALUE_PTR_INIT(v)
Definition: ruby/ext/google/protobuf_c/upb.h:1061
google_protobuf_UninterpretedOption_NamePart__fields
static const upb_msglayout_field google_protobuf_UninterpretedOption_NamePart__fields[2]
Definition: ruby/ext/google/protobuf_c/upb.c:434
google_protobuf_EnumDescriptorProto__fields
static const upb_msglayout_field google_protobuf_EnumDescriptorProto__fields[5]
Definition: ruby/ext/google/protobuf_c/upb.c:191
UPB_TYPE_INT64
@ UPB_TYPE_INT64
Definition: php/ext/google/protobuf/upb.h:424
upb_handlerattr
Definition: php/ext/google/protobuf/upb.h:4085
data
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: glcorearb.h:2879
google_protobuf_DescriptorProto_msginit
const upb_msglayout google_protobuf_DescriptorProto_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:100
google_protobuf_EnumOptions_submsgs
static const upb_msglayout *const google_protobuf_EnumOptions_submsgs[1]
Definition: ruby/ext/google/protobuf_c/upb.c:352
val
GLuint GLfloat * val
Definition: glcorearb.h:3604
google_protobuf_FileDescriptorProto__fields
static const upb_msglayout_field google_protobuf_FileDescriptorProto__fields[12]
Definition: ruby/ext/google/protobuf_c/upb.c:56
google_protobuf_EnumValueOptions_msginit
const upb_msglayout google_protobuf_EnumValueOptions_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:377
google_protobuf_SourceCodeInfo_Location_msginit
const upb_msglayout google_protobuf_SourceCodeInfo_Location_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:467
f
GLfloat f
Definition: glcorearb.h:3964
value
GLsizei const GLfloat * value
Definition: glcorearb.h:3093
google_protobuf_MethodOptions_submsgs
static const upb_msglayout *const google_protobuf_MethodOptions_submsgs[1]
Definition: ruby/ext/google/protobuf_c/upb.c:398
google_protobuf_GeneratedCodeInfo_Annotation__fields
static const upb_msglayout_field google_protobuf_GeneratedCodeInfo_Annotation__fields[4]
Definition: ruby/ext/google/protobuf_c/upb.c:487
google_protobuf_MethodOptions__fields
static const upb_msglayout_field google_protobuf_MethodOptions__fields[3]
Definition: ruby/ext/google/protobuf_c/upb.c:402
google_protobuf_EnumOptions_msginit
const upb_msglayout google_protobuf_EnumOptions_msginit
Definition: ruby/ext/google/protobuf_c/upb.c:362
google_protobuf_EnumValueDescriptorProto__fields
static const upb_msglayout_field google_protobuf_EnumValueDescriptorProto__fields[3]
Definition: ruby/ext/google/protobuf_c/upb.c:220
UPB_TYPE_BOOL
@ UPB_TYPE_BOOL
Definition: php/ext/google/protobuf/upb.h:412
upb_handlers
Definition: php/ext/google/protobuf/upb.c:3269
google_protobuf_EnumValueDescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_EnumValueDescriptorProto_submsgs[1]
Definition: ruby/ext/google/protobuf_c/upb.c:216
upb_msgdef
Definition: php/ext/google/protobuf/upb.c:1146
printer_endmsg_noframe
static bool printer_endmsg_noframe(void *closure, const void *handler_data, upb_status *s)
Definition: ruby/ext/google/protobuf_c/upb.c:17079
h
GLfloat GLfloat GLfloat GLfloat h
Definition: glcorearb.h:4147
google_protobuf_DescriptorProto_ReservedRange__fields
static const upb_msglayout_field google_protobuf_DescriptorProto_ReservedRange__fields[2]
Definition: ruby/ext/google/protobuf_c/upb.c:122


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:04