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

Go to the source code of this file.

Classes

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

Macros

#define ARRAY_SIZE(x)   ((sizeof(x)/sizeof(0[x])) / ((size_t)(!(sizeof(x) % sizeof(0[x])))))
 
#define CASE(capitaltype, smalltype, ctype, min, max)
 
#define CASE(ctype, type, wire_type, encodeval)
 
#define CHECK(x)   if ((x) < 0) goto err;
 
#define CHECK_RETURN_TOP(x)   if (!(x)) goto error
 
#define CHECK_SUSPEND(x)   if (!(x)) return upb_pbdecoder_suspend(d);
 
#define CHECK_TRUE(x)   if (!(x)) { return false; }
 
#define CHK(val)   if (!(val)) return false;
 
#define CHK(x)   if (!(x)) { return false; }
 
#define CHK(x)   if (!(x)) { return false; }
 
#define CHK(x)   do { if (!(x)) { return false; } } while(0)
 
#define CHK_OOM(x)   if (!(x)) { upb_status_setoom(ctx->status); return false; }
 
#define CHKFMT(val)   if ((val) == (size_t)-1) return false;
 
#define CHKLENGTH(x)   if (!(x)) return -1;
 
#define 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 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, upb_fielddef_index(f))
 
#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(type)   offsetof (struct { char c; type member; }, member)
 
#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_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  upb_deftype_t { UPB_DEFTYPE_MSG = 0, UPB_DEFTYPE_ENUM = 1, UPB_DEFTYPE_FIELD = 2, UPB_DEFTYPE_ONEOF = 3 }
 

Functions

bool _upb_symtab_loaddefinit (upb_symtab *s, const upb_def_init *init)
 
static void accumulate (upb_pb_encoder *e)
 
static bool accumulate_append (upb_json_parser *p, const char *buf, size_t len, bool can_alias)
 
static void accumulate_clear (upb_json_parser *p)
 
static const char * accumulate_getptr (upb_json_parser *p, size_t *len)
 
static bool accumulate_realloc (upb_json_parser *p, size_t need)
 
static void advance (upb_pbdecoder *d, size_t len)
 
static void advancetobuf (upb_pbdecoder *d, const char *buf, size_t len)
 
static size_t align_up (size_t val, size_t align)
 
static size_t align_up_max (size_t size)
 
static double as_double (uint64_t n)
 
static float as_float (uint32_t n)
 
static void assert_accumulate_empty (upb_json_parser *p)
 
static bool assign_msg_indices (upb_msgdef *m, upb_status *s)
 
static void assign_msg_wellknowntype (upb_msgdef *m)
 
int32_t b64lookup (unsigned char ch)
 
static bool base64_push (upb_json_parser *p, upb_selector_t sel, const char *ptr, size_t len)
 
static size_t begin (const upb_table *t)
 
static bool between (int32_t x, int32_t low, int32_t high)
 
static size_t bufleft (const upb_pbdecoder *d)
 
static bool build_filedef (const symtab_addctx *ctx, upb_filedef *file, const google_protobuf_FileDescriptorProto *file_proto)
 
static size_t callstacksize (upb_pbdecoder *d, size_t entries)
 
static void capture_begin (upb_json_parser *p, const char *ptr)
 
static bool capture_end (upb_json_parser *p, const char *ptr)
 
static void capture_resume (upb_json_parser *p, const char *ptr)
 
static void capture_suspend (upb_json_parser *p, const char **ptr)
 
static void check (upb_inttable *t)
 
static bool check_stack (upb_json_parser *p)
 
static bool checked_add (size_t a, size_t b, size_t *c)
 
static void checkpoint (upb_pbdecoder *d)
 
bool checkstart (upb_handlers *h, const upb_fielddef *f, upb_handlertype_t type, upb_status *status)
 
static void chkdefaulttype (const upb_fielddef *f, int ctype)
 
int cmp_fields (const void *p1, const void *p2)
 
static bool commit (upb_pb_encoder *e)
 
static void compile_method (compiler *c, upb_pbdecodermethod *method)
 
static void compile_methods (compiler *c)
 
static UPB_FORCEINLINE void consumebytes (upb_pbdecoder *d, void *buf, size_t bytes)
 
static bool consumes_input (opcode op)
 
static void count_types_in_file (const google_protobuf_FileDescriptorProto *file_proto, decl_counts *counts)
 
static void count_types_in_msg (const google_protobuf_DescriptorProto *msg_proto, decl_counts *counts)
 
static bool create_enumdef (const symtab_addctx *ctx, const char *prefix, const google_protobuf_EnumDescriptorProto *enum_proto)
 
static bool create_fielddef (const symtab_addctx *ctx, const char *prefix, upb_msgdef *m, const google_protobuf_FieldDescriptorProto *field_proto)
 
static bool create_msgdef (const symtab_addctx *ctx, const char *prefix, const google_protobuf_DescriptorProto *msg_proto)
 
static bool create_oneofdef (const symtab_addctx *ctx, upb_msgdef *m, const google_protobuf_OneofDescriptorProto *oneof_proto)
 
static size_t curbufleft (const upb_pbdecoder *d)
 
static uint64_t dbl2uint64 (double d)
 
static UPB_FORCEINLINE int32_t decode_fixed32 (upb_pbdecoder *d, uint32_t *u32)
 
static UPB_FORCEINLINE int32_t decode_fixed64 (upb_pbdecoder *d, uint64_t *u64)
 
static UPB_FORCEINLINE int32_t decode_v32 (upb_pbdecoder *d, uint32_t *u32)
 
static UPB_FORCEINLINE int32_t decode_varint (upb_pbdecoder *d, uint64_t *u64)
 
static void decoder_pop (upb_pbdecoder *d)
 
static bool decoder_push (upb_pbdecoder *d, uint64_t end)
 
size_t delim_remaining (const upb_pbdecoder *d)
 
static int32_t dispatch (upb_pbdecoder *d)
 
static void dispatchtarget (compiler *c, upb_pbdecodermethod *method, const upb_fielddef *f, int wire_type)
 
static size_t div_round_up (size_t n, size_t d)
 
static bool does_fieldmask_end (upb_json_parser *p)
 
static bool does_fieldmask_start (upb_json_parser *p)
 
static bool does_number_wrapper_end (upb_json_parser *p)
 
static bool does_number_wrapper_start (upb_json_parser *p)
 
static bool does_string_wrapper_end (upb_json_parser *p)
 
static bool does_string_wrapper_start (upb_json_parser *p)
 
static bool doset (upb_handlers *h, int32_t sel, const upb_fielddef *f, upb_handlertype_t type, upb_func *func, const upb_handlerattr *attr)
 
const 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)
 
int64_t epoch (int year, int yday, int hour, int min, int sec)
 
static bool escape (upb_json_parser *p, const char *ptr)
 
static char escape_char (char in)
 
uint32_t field_rank (const upb_fielddef *f)
 
static void find_methods (compiler *c, const upb_handlers *h)
 
static upb_pbdecodermethodfind_submethod (const compiler *c, const upb_pbdecodermethod *method, const upb_fielddef *f)
 
static const upb_tabentfindentry (const upb_table *t, lookupkey_t key, uint32_t hash, eqlfunc_t *eql)
 
static upb_tabentfindentry_mutable (upb_table *t, lookupkey_t key, uint32_t hash, eqlfunc_t *eql)
 
static uint32_t flt2uint32 (float d)
 
static size_t fmt_bool (bool val, char *buf, size_t length)
 
static size_t fmt_double (double val, char *buf, size_t length)
 
static size_t fmt_float (float val, char *buf, size_t length)
 
static size_t fmt_int64_as_number (long long val, char *buf, size_t length)
 
static size_t fmt_int64_as_string (long long val, char *buf, size_t length)
 
static size_t fmt_uint64_as_number (unsigned long long val, char *buf, size_t length)
 
static size_t fmt_uint64_as_string (unsigned long long val, char *buf, size_t length)
 
static void freecompiler (compiler *c)
 
static void freegroup (mgroup *g)
 
static void freemethod (upb_pbdecodermethod *method)
 
void freestrpc (void *ptr)
 
static void generate_delimfield (compiler *c, const upb_fielddef *f, upb_pbdecodermethod *method)
 
static void generate_msgfield (compiler *c, const upb_fielddef *f, upb_pbdecodermethod *method)
 
static void generate_primitivefield (compiler *c, const upb_fielddef *f, upb_pbdecodermethod *method)
 
static uint64_t get_encoded_tag (const upb_fielddef *f, int wire_type)
 
static UPB_FORCEINLINE int32_t getbytes (upb_pbdecoder *d, void *buf, size_t bytes)
 
static UPB_NOINLINE int32_t getbytes_slow (upb_pbdecoder *d, void *buf, size_t bytes)
 
static upb_tabentgetentry_mutable (upb_table *t, uint32_t hash)
 
static int32_t getofs (uint32_t instruction)
 
static upb_selector_t getsel (const upb_fielddef *f, upb_handlertype_t type)
 
static upb_selector_t getsel_for_handlertype (upb_json_parser *p, upb_handlertype_t type)
 
static void goto_endmsg (upb_pbdecoder *d)
 
static bool handle_mapentry (upb_json_parser *p)
 
static upb_selector_t handlers_getsel (upb_handlers *h, const upb_fielddef *f, upb_handlertype_t type)
 
static bool haslazyhandlers (const upb_handlers *h, const upb_fielddef *f)
 
static void hexdigit (upb_json_parser *p, const char *ptr)
 
static bool in_buf (const char *p, const char *buf, const char *end)
 
static bool in_residual_buf (const upb_pbdecoder *d, const char *p)
 
static int indent (upb_textprinter *p)
 
static bool init (upb_table *t, upb_ctype_t ctype, uint8_t size_lg2, upb_alloc *a)
 
static void init_frame (upb_jsonparser_frame *frame)
 
static void insert (upb_table *t, lookupkey_t key, upb_tabkey tabkey, upb_value val, uint32_t hash, hashfunc_t *hashfunc, eqlfunc_t *eql)
 
static int instruction_len (uint32_t instr)
 
static upb_tabval int_arrent (const upb_inttable_iter *i)
 
static const upb_tabentint_tabent (const upb_inttable_iter *i)
 
static bool inteql (upb_tabkey k1, lookupkey_t k2)
 
static uint32_t inthash (upb_tabkey key)
 
static lookupkey_t intkey (uintptr_t key)
 
static upb_tabvalinttable_val (upb_inttable *t, uintptr_t key)
 
static const upb_tabvalinttable_val_const (const upb_inttable *t, uintptr_t key)
 
static bool is_fieldmask (const upb_msgdef *m)
 
UPB_INLINE bool is_json_escaped (char c)
 
static bool is_number_wrapper_object (upb_json_parser *p)
 
bool is_pow2 (uint64_t v)
 
static bool is_power_of_two (size_t val)
 
static bool is_string_wrapper (const upb_msgdef *m)
 
static bool is_string_wrapper_object (upb_json_parser *p)
 
static bool is_top_level (upb_json_parser *p)
 
static bool is_wellknown_field (upb_json_parser *p, upb_wellknowntype_t type)
 
static bool is_wellknown_msg (upb_json_parser *p, upb_wellknowntype_t type)
 
static bool isfull (upb_table *t)
 
static bool isleap (int year)
 
const UPB_INLINE char * json_nice_escape (char c)
 
static void json_parser_any_frame_free (upb_jsonparser_any_frame *frame)
 
static bool json_parser_any_frame_has_type_url (upb_jsonparser_any_frame *frame)
 
static bool json_parser_any_frame_has_value (upb_jsonparser_any_frame *frame)
 
static bool json_parser_any_frame_has_value_after_type_url (upb_jsonparser_any_frame *frame)
 
static bool json_parser_any_frame_has_value_before_type_url (upb_jsonparser_any_frame *frame)
 
static upb_jsonparser_any_framejson_parser_any_frame_new (upb_json_parser *p)
 
static void json_parser_any_frame_set_after_type_url_start_once (upb_jsonparser_any_frame *frame, const char *ptr)
 
static void json_parser_any_frame_set_before_type_url_end (upb_jsonparser_any_frame *frame, const char *ptr)
 
static void json_parser_any_frame_set_payload_type (upb_json_parser *p, upb_jsonparser_any_frame *frame, const upb_msgdef *payload_type)
 
static void json_parser_reset (upb_json_parser *p)
 
static void json_printer_reset (upb_json_printer *p)
 
static void label (compiler *c, unsigned int label)
 
static int32_t labelref (compiler *c, int label)
 
int log2ceil (uint64_t v)
 
static bool lookup (const upb_table *t, lookupkey_t key, upb_value *v, uint32_t hash, eqlfunc_t *eql)
 
static bool lower_camel_push (upb_json_parser *p, upb_selector_t sel, const char *ptr, size_t len)
 
static const char * makefullname (const symtab_addctx *ctx, const char *prefix, upb_strview name)
 
static size_t mapkey_bytes (void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle)
 
static bool mapkey_endstr (void *closure, const void *handler_data)
 
static size_t mapkey_str (void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle)
 
static 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)
 
const mgroupmgroup_new (const upb_handlers *dest, bool allowjit, bool lazy)
 
static void multipart_end (upb_json_parser *p)
 
static void multipart_start (upb_json_parser *p, upb_selector_t sel)
 
static void multipart_startaccum (upb_json_parser *p)
 
static bool multipart_text (upb_json_parser *p, const char *buf, size_t len, bool can_alias)
 
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)
 
mgroupnewgroup ()
 
static upb_pbdecodermethodnewmethod (const upb_handlers *dest_handlers, mgroup *group)
 
static str_tnewstr (upb_alloc *alloc, const char *data, size_t len)
 
strpcnewstrpc (upb_handlers *h, const upb_fielddef *f, bool preserve_fieldnames)
 
strpcnewstrpc_str (upb_handlers *h, const char *str)
 
static size_t next (const upb_table *t, size_t i)
 
bool nonbase64 (unsigned char ch)
 
static void nullz (upb_status *status)
 
uint64_t offset (const upb_pbdecoder *d)
 
static void onmreg (const void *c, upb_handlers *h)
 
bool op_has_longofs (int32_t instruction)
 
upb_pbdecoder_frameouter_frame (upb_pbdecoder *d)
 
static upb_value pack_def (const void *ptr, upb_deftype_t type)
 
size_t parse (void *closure, const void *hd, const char *buf, size_t size, const upb_bufhandle *handle)
 
static bool parse_default (const symtab_addctx *ctx, const char *str, size_t len, upb_fielddef *f)
 
static bool parse_mapentry_key (upb_json_parser *p)
 
static bool parse_number (upb_json_parser *p, bool is_quoted)
 
static bool parse_number_from_buffer (upb_json_parser *p, const char *buf, bool is_quoted)
 
static int parse_timestamp_number (upb_json_parser *p)
 
static upb_selector_t parser_getsel (upb_json_parser *p)
 
static bool parser_putbool (upb_json_parser *p, bool val)
 
static upb_json_parsermethodparsermethod_new (upb_json_codecache *c, const upb_msgdef *md)
 
static uint32_t pcofs (compiler *c)
 
static UPB_FORCEINLINE size_t peekbytes (upb_pbdecoder *d, void *buf, size_t bytes)
 
static UPB_NOINLINE size_t peekbytes_slow (upb_pbdecoder *d, void *buf, size_t bytes)
 
static void print_comma (upb_json_printer *p)
 
static void print_data (upb_json_printer *p, const char *buf, unsigned int len)
 
static void print_enum_symbolic_name (upb_json_printer *p, const upb_enumdef *def, int32_t val)
 
static bool printer_enddurationmsg (void *closure, const void *handler_data, upb_status *s)
 
static bool printer_endmsg (void *closure, const void *handler_data, upb_status *s)
 
static bool printer_endmsg_fieldmask (void *closure, const void *handler_data, upb_status *s)
 
static bool printer_endmsg_noframe (void *closure, const void *handler_data, upb_status *s)
 
static bool printer_endtimestampmsg (void *closure, const void *handler_data, upb_status *s)
 
void printer_sethandlers (const void *closure, upb_handlers *h)
 
void printer_sethandlers_any (const void *closure, upb_handlers *h)
 
void printer_sethandlers_duration (const void *closure, upb_handlers *h)
 
void printer_sethandlers_fieldmask (const void *closure, upb_handlers *h)
 
void printer_sethandlers_listvalue (const void *closure, upb_handlers *h)
 
void printer_sethandlers_mapentry (const void *closure, bool preserve_fieldnames, upb_handlers *h)
 
void printer_sethandlers_structvalue (const void *closure, upb_handlers *h)
 
void printer_sethandlers_timestamp (const void *closure, upb_handlers *h)
 
void printer_sethandlers_value (const void *closure, upb_handlers *h)
 
static bool printer_startdurationmsg (void *closure, const void *handler_data)
 
static bool printer_startmsg (void *closure, const void *handler_data)
 
static bool printer_startmsg_fieldmask (void *closure, const void *handler_data)
 
static bool printer_startmsg_noframe (void *closure, const void *handler_data)
 
static bool printer_starttimestampmsg (void *closure, const void *handler_data)
 
static bool pushtagdelim (upb_pbdecoder *d, uint32_t arg)
 
static void put32 (compiler *c, uint32_t v)
 
static void putbuf (upb_pb_encoder *e, const char *buf, size_t len)
 
static size_t putbytes (void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle)
 
static void putchecktag (compiler *c, const upb_fielddef *f, int wire_type, int dest)
 
static int putescaped (upb_textprinter *p, const char *buf, size_t len, bool preserve_utf8)
 
bool putf (upb_textprinter *p, const char *fmt,...)
 
static bool putkey (void *closure, const void *handler_data)
 
static bool putnanos (void *closure, const void *handler_data, int32_t nanos)
 
static bool putnull (void *closure, const void *handler_data, int32_t null)
 
static void putop (compiler *c, int op,...)
 
static void putpush (compiler *c, const upb_fielddef *f)
 
static bool putseconds (void *closure, const void *handler_data, int64_t seconds)
 
static void putsel (compiler *c, opcode op, upb_selector_t sel, const upb_handlers *h)
 
static size_t putstr (void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle)
 
static size_t putstr_nokey (void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle)
 
static void putstring (upb_json_printer *p, const char *buf, unsigned int len)
 
static uint64_t repack (uint64_t dispatch, int new_wt2)
 
static size_t repeated_bytes (void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle)
 
static bool repeated_endstr (void *closure, const void *handler_data)
 
static bool repeated_enum (void *closure, const void *handler_data, int32_t val)
 
static 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 bool resolve_fielddef (const symtab_addctx *ctx, const char *prefix, upb_fielddef *f)
 
static bool resolvename (const upb_strtable *t, const upb_fielddef *f, const char *base, upb_strview sym, upb_deftype_t type, upb_status *status, const void **def)
 
static const void ** returntype (upb_handlers *h, const upb_fielddef *f, upb_handlertype_t type)
 
static bool rm (upb_table *t, lookupkey_t key, upb_value *val, upb_tabkey *removed, uint32_t hash, eqlfunc_t *eql)
 
size_t run_decoder_vm (upb_pbdecoder *d, const mgroup *group, const upb_bufhandle *handle)
 
static size_t saturating_multiply (size_t a, size_t b)
 
static size_t scalar_bytes (void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle)
 
static bool scalar_endstr (void *closure, const void *handler_data)
 
static bool scalar_enum (void *closure, const void *handler_data, int32_t val)
 
static 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_default_default (const symtab_addctx *ctx, upb_fielddef *f)
 
static void set_delim_end (upb_pbdecoder *d)
 
static void set_enum_hd (upb_handlers *h, const upb_fielddef *f, bool preserve_fieldnames, upb_handlerattr *attr)
 
static void set_name_table (upb_json_parser *p, upb_jsonparser_frame *frame)
 
static void seterr (upb_pbdecoder *d, const char *msg)
 
static void setofs (uint32_t *instruction, int32_t ofs)
 
static const char * shortdefname (const char *fullname)
 
static const char * shortname (const char *longname)
 
static int32_t skip (upb_pbdecoder *d, size_t bytes)
 
static size_t stacksize (upb_pbdecoder *d, size_t entries)
 
static void start_any_member (upb_json_parser *p, const char *ptr)
 
static void start_any_object (upb_json_parser *p, const char *ptr)
 
static bool start_any_stringval (upb_json_parser *p)
 
static bool start_array (upb_json_parser *p)
 
static void start_day (upb_json_parser *p, const char *ptr)
 
static bool start_delim (upb_pb_encoder *e)
 
static void start_duration_base (upb_json_parser *p, const char *ptr)
 
static void start_fieldmask_object (upb_json_parser *p)
 
static bool start_fieldmask_path (upb_json_parser *p)
 
static void start_fieldmask_path_text (upb_json_parser *p, const char *ptr)
 
static void start_frame (upb_json_printer *p)
 
static void start_hex (upb_json_parser *p)
 
static void start_hour (upb_json_parser *p, const char *ptr)
 
static upb_jsonparser_framestart_jsonparser_frame (upb_json_parser *p)
 
static void start_listvalue_object (upb_json_parser *p)
 
static void start_member (upb_json_parser *p)
 
static void start_minute (upb_json_parser *p, const char *ptr)
 
static void start_month (upb_json_parser *p, const char *ptr)
 
static bool start_number (upb_json_parser *p, const char *ptr)
 
static void start_object (upb_json_parser *p)
 
static void start_second (upb_json_parser *p, const char *ptr)
 
static bool start_stringval (upb_json_parser *p)
 
static void start_structvalue_object (upb_json_parser *p)
 
static bool start_subobject (upb_json_parser *p)
 
static bool start_subobject_full (upb_json_parser *p)
 
static void start_text (upb_json_parser *p, const char *ptr)
 
static void start_timestamp_base (upb_json_parser *p)
 
static void start_timestamp_fraction (upb_json_parser *p, const char *ptr)
 
static void start_timestamp_zone (upb_json_parser *p, const char *ptr)
 
static void start_value_object (upb_json_parser *p, int value_type)
 
static void start_wrapper_object (upb_json_parser *p)
 
static void start_year (upb_json_parser *p, const char *ptr)
 
static 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 bool streql2 (const char *a, size_t n, const char *b)
 
static bool streql_view (upb_strview view, const char *b)
 
static uint32_t strhash (upb_tabkey key)
 
static 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 char * strviewdup (const symtab_addctx *ctx, upb_strview view)
 
static size_t suspend_save (upb_pbdecoder *d)
 
static void switchtobuf (upb_pbdecoder *d, const char *buf, const char *end)
 
static bool symtab_add (const symtab_addctx *ctx, const char *name, upb_value v)
 
const voidsymtab_resolve (const symtab_addctx *ctx, const upb_fielddef *f, const char *base, upb_strview sym, upb_deftype_t type)
 
 T (double, double, dbl2uint64, encode_fixed64)
 
static bool textprinter_endmsg (void *c, const void *hd, upb_status *s)
 
static bool textprinter_endstr (void *closure, const void *handler_data)
 
static bool textprinter_endsubmsg (void *closure, const void *handler_data)
 
static bool textprinter_putbool (void *closure, const void *handler_data, bool val)
 
static bool textprinter_putenum (void *closure, const void *handler_data, int32_t val)
 
static size_t textprinter_putstr (void *closure, const void *hd, const char *buf, size_t len, const upb_bufhandle *handle)
 
static void textprinter_reset (upb_textprinter *p, bool single_line)
 
static bool textprinter_startmsg (void *c, const void *hd)
 
static 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 int32_t trygetsel (upb_handlers *h, const upb_fielddef *f, upb_handlertype_t type)
 
static void uninit (upb_table *t, upb_alloc *a)
 
static const voidunpack_def (upb_value v, upb_deftype_t type)
 
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, void *ud, upb_cleanup_func *func)
 
static mem_blockupb_arena_allocblock (upb_arena *a, size_t size)
 
size_t upb_arena_bytesallocated (const upb_arena *a)
 
static voidupb_arena_doalloc (upb_alloc *alloc, void *ptr, size_t oldsize, size_t size)
 
void upb_arena_free (upb_arena *a)
 
upb_arenaupb_arena_init (void *mem, size_t n, upb_alloc *alloc)
 
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)
 
bool upb_bufsrc_putbuf (const char *buf, size_t len, upb_bytessink sink)
 
bool upb_byteshandler_setendstr (upb_byteshandler *h, upb_endfield_handlerfunc *func, void *d)
 
bool upb_byteshandler_setstartstr (upb_byteshandler *h, upb_startstr_handlerfunc *func, void *d)
 
bool upb_byteshandler_setstring (upb_byteshandler *h, upb_string_handlerfunc *func, void *d)
 
static voidupb_calloc (upb_arena *arena, size_t size)
 
static void upb_check_alloc (upb_table *t, upb_alloc *a)
 
bool upb_decode (const char *buf, size_t size, void *msg, const upb_msglayout *l)
 
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)
 
char * upb_encode (const void *msg, const upb_msglayout *m, upb_arena *arena, size_t *size)
 
static bool upb_encode_array (upb_encstate *e, const char *field_mem, const upb_msglayout *m, const upb_msglayout_field *f)
 
static bool upb_encode_growbuffer (upb_encstate *e, size_t bytes)
 
bool upb_encode_message (upb_encstate *e, const char *msg, const upb_msglayout *m, size_t *size)
 
static bool upb_encode_reserve (upb_encstate *e, size_t bytes)
 
static bool upb_encode_scalarfield (upb_encstate *e, const char *field_mem, const upb_msglayout *m, const upb_msglayout_field *f, bool skip_zero_value)
 
static size_t upb_encode_varint (uint64_t val, char *buf)
 
void upb_enum_begin (upb_enum_iter *i, const upb_enumdef *e)
 
bool upb_enum_done (upb_enum_iter *iter)
 
const char * upb_enum_iter_name (upb_enum_iter *iter)
 
int32_t upb_enum_iter_number (upb_enum_iter *iter)
 
void upb_enum_next (upb_enum_iter *iter)
 
int32_t upb_enumdef_default (const upb_enumdef *e)
 
const upb_filedefupb_enumdef_file (const upb_enumdef *e)
 
const char * upb_enumdef_fullname (const upb_enumdef *e)
 
const char * upb_enumdef_iton (const upb_enumdef *def, int32_t num)
 
const char * upb_enumdef_name (const upb_enumdef *e)
 
bool upb_enumdef_ntoi (const upb_enumdef *def, const char *name, size_t len, int32_t *num)
 
int upb_enumdef_numvals (const upb_enumdef *e)
 
bool upb_fielddef_checkdescriptortype (int32_t type)
 
bool upb_fielddef_checkintfmt (int32_t fmt)
 
bool upb_fielddef_checklabel (int32_t label)
 
bool upb_fielddef_checktype (int32_t type)
 
const upb_oneofdefupb_fielddef_containingoneof (const upb_fielddef *f)
 
const upb_msgdefupb_fielddef_containingtype (const upb_fielddef *f)
 
bool upb_fielddef_defaultbool (const upb_fielddef *f)
 
double upb_fielddef_defaultdouble (const upb_fielddef *f)
 
float upb_fielddef_defaultfloat (const upb_fielddef *f)
 
int32_t upb_fielddef_defaultint32 (const upb_fielddef *f)
 
int64_t upb_fielddef_defaultint64 (const upb_fielddef *f)
 
const char * upb_fielddef_defaultstr (const upb_fielddef *f, size_t *len)
 
uint32_t upb_fielddef_defaultuint32 (const upb_fielddef *f)
 
uint64_t upb_fielddef_defaultuint64 (const upb_fielddef *f)
 
upb_descriptortype_t upb_fielddef_descriptortype (const upb_fielddef *f)
 
const upb_enumdefupb_fielddef_enumsubdef (const upb_fielddef *f)
 
const char * upb_fielddef_fullname (const upb_fielddef *f)
 
size_t upb_fielddef_getjsonname (const upb_fielddef *f, char *buf, size_t len)
 
bool upb_fielddef_haspresence (const upb_fielddef *f)
 
bool upb_fielddef_hassubdef (const upb_fielddef *f)
 
uint32_t upb_fielddef_index (const upb_fielddef *f)
 
bool upb_fielddef_isextension (const upb_fielddef *f)
 
bool upb_fielddef_ismap (const upb_fielddef *f)
 
bool upb_fielddef_isprimitive (const upb_fielddef *f)
 
bool upb_fielddef_isseq (const upb_fielddef *f)
 
bool upb_fielddef_isstring (const upb_fielddef *f)
 
bool upb_fielddef_issubmsg (const upb_fielddef *f)
 
upb_label_t upb_fielddef_label (const upb_fielddef *f)
 
bool upb_fielddef_lazy (const upb_fielddef *f)
 
const upb_msgdefupb_fielddef_msgsubdef (const upb_fielddef *f)
 
const char * upb_fielddef_name (const upb_fielddef *f)
 
uint32_t upb_fielddef_number (const upb_fielddef *f)
 
bool upb_fielddef_packed (const upb_fielddef *f)
 
uint32_t upb_fielddef_selectorbase (const upb_fielddef *f)
 
upb_fieldtype_t upb_fielddef_type (const upb_fielddef *f)
 
static upb_ctype_t upb_fieldtotabtype (upb_fieldtype_t type)
 
bool upb_fieldtype_mapkeyok (upb_fieldtype_t type)
 
const upb_filedefupb_filedef_dep (const upb_filedef *f, int i)
 
int upb_filedef_depcount (const upb_filedef *f)
 
const upb_enumdefupb_filedef_enum (const upb_filedef *f, int i)
 
int upb_filedef_enumcount (const upb_filedef *f)
 
const upb_msgdefupb_filedef_msg (const upb_filedef *f, int i)
 
int upb_filedef_msgcount (const upb_filedef *f)
 
const char * upb_filedef_name (const upb_filedef *f)
 
const char * upb_filedef_package (const upb_filedef *f)
 
const char * upb_filedef_phpnamespace (const upb_filedef *f)
 
const char * upb_filedef_phpprefix (const upb_filedef *f)
 
upb_syntax_t upb_filedef_syntax (const upb_filedef *f)
 
static const upb_msglayout_fieldupb_find_field (const upb_msglayout *l, uint32_t field_number)
 
static upb_arrayupb_getarr (upb_decframe *frame, const upb_msglayout_field *field)
 
static upb_arrayupb_getorcreatearr (upb_decframe *frame, const upb_msglayout_field *field)
 
static voidupb_global_allocfunc (upb_alloc *alloc, void *ptr, size_t oldsize, size_t size)
 
bool upb_handlercache_addcleanup (upb_handlercache *c, void *p, upb_handlerfree *func)
 
void upb_handlercache_free (upb_handlercache *cache)
 
const upb_handlersupb_handlercache_get (upb_handlercache *c, const upb_msgdef *md)
 
upb_handlercacheupb_handlercache_new (upb_handlers_callback *callback, const void *closure)
 
bool upb_handlers_addcleanup (upb_handlers *h, void *p, upb_handlerfree *func)
 
bool upb_handlers_getattr (const upb_handlers *h, upb_selector_t sel, upb_handlerattr *attr)
 
upb_funcupb_handlers_gethandler (const upb_handlers *h, upb_selector_t s, const void **handler_data)
 
upb_handlertype_t upb_handlers_getprimitivehandlertype (const upb_fielddef *f)
 
bool upb_handlers_getselector (const upb_fielddef *f, upb_handlertype_t type, upb_selector_t *s)
 
const upb_handlersupb_handlers_getsubhandlers (const upb_handlers *h, const upb_fielddef *f)
 
const upb_handlersupb_handlers_getsubhandlers_sel (const upb_handlers *h, upb_selector_t sel)
 
const upb_msgdefupb_handlers_msgdef (const upb_handlers *h)
 
static upb_handlersupb_handlers_new (const upb_msgdef *md, upb_handlercache *cache, upb_arena *arena)
 
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, const upb_handlerattr *attr)
 
bool upb_handlers_setstartmsg (upb_handlers *h, upb_startmsg_handlerfunc *func, const upb_handlerattr *attr)
 
bool upb_handlers_setsubhandlers (upb_handlers *h, const upb_fielddef *f, const upb_handlers *sub)
 
bool upb_handlers_setunknown (upb_handlers *h, upb_unknown_handlerfunc *func, const upb_handlerattr *attr)
 
void upb_inttable_begin (upb_inttable_iter *i, const upb_inttable *t)
 
void upb_inttable_compact2 (upb_inttable *t, upb_alloc *a)
 
size_t upb_inttable_count (const upb_inttable *t)
 
bool upb_inttable_done (const upb_inttable_iter *i)
 
bool upb_inttable_init2 (upb_inttable *t, upb_ctype_t ctype, upb_alloc *a)
 
bool upb_inttable_insert2 (upb_inttable *t, uintptr_t key, upb_value val, upb_alloc *a)
 
bool upb_inttable_insertptr2 (upb_inttable *t, const void *key, upb_value val, upb_alloc *a)
 
bool upb_inttable_iter_isequal (const upb_inttable_iter *i1, const upb_inttable_iter *i2)
 
uintptr_t upb_inttable_iter_key (const upb_inttable_iter *i)
 
void upb_inttable_iter_setdone (upb_inttable_iter *i)
 
upb_value upb_inttable_iter_value (const upb_inttable_iter *i)
 
bool upb_inttable_lookup (const upb_inttable *t, uintptr_t key, upb_value *v)
 
bool upb_inttable_lookupptr (const upb_inttable *t, const void *key, upb_value *v)
 
void upb_inttable_next (upb_inttable_iter *iter)
 
upb_value upb_inttable_pop (upb_inttable *t)
 
bool upb_inttable_push2 (upb_inttable *t, upb_value val, upb_alloc *a)
 
bool upb_inttable_remove (upb_inttable *t, uintptr_t key, upb_value *val)
 
bool upb_inttable_removeptr (upb_inttable *t, const void *key, upb_value *val)
 
bool upb_inttable_replace (upb_inttable *t, uintptr_t key, upb_value val)
 
bool upb_inttable_sizedinit (upb_inttable *t, upb_ctype_t ctype, size_t asize, int hsize_lg2, upb_alloc *a)
 
void upb_inttable_uninit2 (upb_inttable *t, upb_alloc *a)
 
static bool upb_isalphanum (char c)
 
static bool upb_isbetween (char c, char low, char high)
 
static bool upb_isident (upb_strview name, bool full, upb_status *s)
 
static bool upb_isletter (char c)
 
void upb_json_codecache_free (upb_json_codecache *c)
 
const upb_json_parsermethodupb_json_codecache_get (upb_json_codecache *c, const upb_msgdef *md)
 
upb_json_codecacheupb_json_codecache_new ()
 
upb_json_parserupb_json_parser_create (upb_arena *arena, const upb_json_parsermethod *method, const upb_symtab *symtab, upb_sink output, upb_status *status, bool ignore_json_unknown)
 
upb_bytessink upb_json_parser_input (upb_json_parser *p)
 
const upb_byteshandlerupb_json_parsermethod_inputhandler (const upb_json_parsermethod *m)
 
upb_json_printerupb_json_printer_create (upb_arena *a, const upb_handlers *h, upb_bytessink output)
 
upb_sink upb_json_printer_input (upb_json_printer *p)
 
upb_handlercacheupb_json_printer_newcache (bool preserve_proto_fieldnames)
 
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)
 
bool upb_msg_field_iter_isequal (const upb_msg_field_iter *iter1, const upb_msg_field_iter *iter2)
 
void upb_msg_field_iter_setdone (upb_msg_field_iter *iter)
 
void upb_msg_field_next (upb_msg_field_iter *iter)
 
static uint8_t upb_msg_fielddefsize (const upb_fielddef *f)
 
static 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)
 
const upb_oneofdefupb_msg_iter_oneof (const upb_msg_oneof_iter *iter)
 
upb_msgupb_msg_new (const upb_msglayout *l, upb_arena *a)
 
void upb_msg_oneof_begin (upb_msg_oneof_iter *iter, const upb_msgdef *m)
 
bool upb_msg_oneof_done (const upb_msg_oneof_iter *iter)
 
bool upb_msg_oneof_iter_isequal (const upb_msg_oneof_iter *iter1, const upb_msg_oneof_iter *iter2)
 
void upb_msg_oneof_iter_setdone (upb_msg_oneof_iter *iter)
 
void upb_msg_oneof_next (upb_msg_oneof_iter *iter)
 
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)
 
const upb_filedefupb_msgdef_file (const upb_msgdef *m)
 
const char * upb_msgdef_fullname (const upb_msgdef *m)
 
bool upb_msgdef_isnumberwrapper (const upb_msgdef *m)
 
const upb_fielddefupb_msgdef_itof (const upb_msgdef *m, uint32_t i)
 
bool upb_msgdef_lookupname (const upb_msgdef *m, const char *name, size_t len, const upb_fielddef **f, const upb_oneofdef **o)
 
bool upb_msgdef_mapentry (const upb_msgdef *m)
 
const char * upb_msgdef_name (const upb_msgdef *m)
 
const upb_fielddefupb_msgdef_ntof (const upb_msgdef *m, const char *name, size_t len)
 
const upb_oneofdefupb_msgdef_ntoo (const upb_msgdef *m, const char *name, size_t len)
 
int upb_msgdef_numfields (const upb_msgdef *m)
 
int upb_msgdef_numoneofs (const upb_msgdef *m)
 
size_t upb_msgdef_selectorcount (const upb_msgdef *m)
 
uint32_t upb_msgdef_submsgfieldcount (const upb_msgdef *m)
 
upb_syntax_t upb_msgdef_syntax (const upb_msgdef *m)
 
upb_wellknowntype_t upb_msgdef_wellknowntype (const upb_msgdef *m)
 
void upb_msgfactory_free (upb_msgfactory *f)
 
const upb_msglayoutupb_msgfactory_getlayout (upb_msgfactory *f, const upb_msgdef *m)
 
upb_msgfactoryupb_msgfactory_new (const upb_symtab *symtab)
 
const upb_symtabupb_msgfactory_symtab (const upb_msgfactory *f)
 
static void upb_msglayout_free (upb_msglayout *l)
 
static bool upb_msglayout_init (const upb_msgdef *m, upb_msglayout *l, upb_msgfactory *factory)
 
static size_t upb_msglayout_place (upb_msglayout *l, size_t size)
 
static 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)
 
const upb_msgdefupb_oneofdef_containingtype (const upb_oneofdef *o)
 
uint32_t upb_oneofdef_index (const upb_oneofdef *o)
 
const upb_fielddefupb_oneofdef_itof (const upb_oneofdef *o, uint32_t num)
 
const char * upb_oneofdef_name (const upb_oneofdef *o)
 
const upb_fielddefupb_oneofdef_ntof (const upb_oneofdef *o, const char *name, size_t length)
 
int upb_oneofdef_numfields (const upb_oneofdef *o)
 
upb_pb_encoderupb_pb_encoder_create (upb_arena *arena, const upb_handlers *h, upb_bytessink output)
 
upb_sink upb_pb_encoder_input (upb_pb_encoder *e)
 
upb_handlercacheupb_pb_encoder_newcache ()
 
void upb_pb_encoder_reset (upb_pb_encoder *e)
 
bool upb_pbcodecache_allowjit (const upb_pbcodecache *c)
 
void upb_pbcodecache_free (upb_pbcodecache *c)
 
const upb_pbdecodermethodupb_pbcodecache_get (upb_pbcodecache *c, const upb_msgdef *md)
 
upb_pbcodecacheupb_pbcodecache_new (upb_handlercache *dest)
 
void upb_pbcodecache_setallowjit (upb_pbcodecache *c, bool allow)
 
uint64_t upb_pbdecoder_bytesparsed (const upb_pbdecoder *d)
 
UPB_NOINLINE int32_t upb_pbdecoder_checktag_slow (upb_pbdecoder *d, uint64_t expected)
 
upb_pbdecoderupb_pbdecoder_create (upb_arena *a, const upb_pbdecodermethod *m, upb_sink sink, upb_status *status)
 
size_t upb_pbdecoder_decode (void *decoder, const void *group, const char *buf, size_t size, const upb_bufhandle *handle)
 
int32_t upb_pbdecoder_decode_f32 (upb_pbdecoder *d, uint32_t *u32)
 
int32_t upb_pbdecoder_decode_f64 (upb_pbdecoder *d, uint64_t *u64)
 
UPB_NOINLINE int32_t upb_pbdecoder_decode_varint_slow (upb_pbdecoder *d, uint64_t *u64)
 
bool upb_pbdecoder_end (void *closure, const void *handler_data)
 
upb_bytessink upb_pbdecoder_input (upb_pbdecoder *d)
 
size_t upb_pbdecoder_maxnesting (const upb_pbdecoder *d)
 
const upb_pbdecodermethodupb_pbdecoder_method (const upb_pbdecoder *d)
 
void upb_pbdecoder_reset (upb_pbdecoder *d)
 
int32_t upb_pbdecoder_resume (upb_pbdecoder *d, void *p, const char *buf, size_t size, const upb_bufhandle *handle)
 
void upb_pbdecoder_seterr (upb_pbdecoder *d, const char *msg)
 
bool upb_pbdecoder_setmaxnesting (upb_pbdecoder *d, size_t max)
 
int32_t upb_pbdecoder_skipunknown (upb_pbdecoder *d, int32_t fieldnum, uint8_t wire_type)
 
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)
 
void upb_pbdecodermethodopts_setlazy (upb_pbcodecache *c, bool lazy)
 
static bool upb_put_bytes (upb_encstate *e, const void *data, size_t len)
 
static bool upb_put_double (upb_encstate *e, double d)
 
static bool upb_put_fixed32 (upb_encstate *e, uint32_t val)
 
static bool upb_put_fixed64 (upb_encstate *e, uint64_t val)
 
static bool upb_put_fixedarray (upb_encstate *e, const upb_array *arr, size_t size)
 
static bool upb_put_float (upb_encstate *e, float d)
 
static bool upb_put_tag (upb_encstate *e, int field_number, int wire_type)
 
static bool upb_put_varint (upb_encstate *e, uint64_t val)
 
static uint32_t upb_readcase (const char *msg, const upb_msglayout_field *f)
 
static bool upb_readhasbit (const char *msg, const upb_msglayout_field *f)
 
static size_t upb_roundup_pow2 (size_t bytes)
 
static void upb_set32 (void *msg, size_t ofs, uint32_t val)
 
static void upb_sethasbit (upb_decframe *frame, const upb_msglayout_field *field)
 
static void upb_setoneofcase (upb_decframe *frame, const upb_msglayout_field *field)
 
static bool upb_skip_unknownfielddata (upb_decstate *d, 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)
 
const char * upb_status_errmsg (const upb_status *status)
 
void upb_status_seterrf (upb_status *status, const char *fmt,...)
 
void upb_status_seterrmsg (upb_status *status, const char *msg)
 
void upb_status_vseterrf (upb_status *status, const char *fmt, va_list args)
 
char * upb_strdup (const char *s, upb_alloc *a)
 
char * upb_strdup2 (const char *s, size_t len, upb_alloc *a)
 
void upb_stringsink_init (upb_stringsink *sink)
 
void upb_stringsink_uninit (upb_stringsink *sink)
 
void upb_strtable_begin (upb_strtable_iter *i, const upb_strtable *t)
 
bool upb_strtable_done (const upb_strtable_iter *i)
 
bool upb_strtable_init2 (upb_strtable *t, upb_ctype_t ctype, upb_alloc *a)
 
bool upb_strtable_insert3 (upb_strtable *t, const char *k, size_t len, upb_value v, upb_alloc *a)
 
bool upb_strtable_iter_isequal (const upb_strtable_iter *i1, const upb_strtable_iter *i2)
 
const char * upb_strtable_iter_key (const upb_strtable_iter *i)
 
size_t upb_strtable_iter_keylength (const upb_strtable_iter *i)
 
void upb_strtable_iter_setdone (upb_strtable_iter *i)
 
upb_value upb_strtable_iter_value (const upb_strtable_iter *i)
 
bool upb_strtable_lookup2 (const upb_strtable *t, const char *key, size_t len, upb_value *v)
 
void upb_strtable_next (upb_strtable_iter *i)
 
bool upb_strtable_remove3 (upb_strtable *t, const char *key, size_t len, upb_value *val, upb_alloc *alloc)
 
bool upb_strtable_resize (upb_strtable *t, size_t size_lg2, upb_alloc *a)
 
void upb_strtable_uninit2 (upb_strtable *t, upb_alloc *a)
 
const upb_filedefupb_symtab_addfile (upb_symtab *s, const google_protobuf_FileDescriptorProto *file_proto, upb_status *status)
 
static bool upb_symtab_addtotabs (upb_symtab *s, symtab_addctx *ctx, upb_status *status)
 
void upb_symtab_free (upb_symtab *s)
 
const upb_enumdefupb_symtab_lookupenum (const upb_symtab *s, const char *sym)
 
const upb_filedefupb_symtab_lookupfile (const upb_symtab *s, const char *name)
 
const upb_msgdefupb_symtab_lookupmsg (const upb_symtab *s, const char *sym)
 
const upb_msgdefupb_symtab_lookupmsg2 (const upb_symtab *s, const char *sym, size_t len)
 
upb_symtabupb_symtab_new ()
 
upb_textprinterupb_textprinter_create (upb_arena *arena, const upb_handlers *h, upb_bytessink output)
 
upb_sink upb_textprinter_input (upb_textprinter *p)
 
upb_handlercacheupb_textprinter_newcache ()
 
void upb_textprinter_setsingleline (upb_textprinter *p, bool single_line)
 
static upb_value upb_toval (upb_msgval val)
 
upb_decoderet upb_vdecode_max8_branch32 (upb_decoderet r)
 
upb_decoderet upb_vdecode_max8_branch64 (upb_decoderet r)
 
static int32_t upb_zzdecode_32 (uint32_t n)
 
static int64_t upb_zzdecode_64 (uint64_t n)
 
static uint32_t upb_zzencode_32 (int32_t n)
 
static uint64_t upb_zzencode_64 (int64_t n)
 

Variables

const unsigned short int __mon_yday [2][13]
 
static const char _json_actions []
 
static const unsigned char _json_eof_actions []
 
static const short _json_index_offsets []
 
static const unsigned char _json_indicies []
 
static const short _json_key_offsets []
 
static const char _json_range_lengths []
 
static const char _json_single_lengths []
 
static const unsigned char _json_trans_actions []
 
static const char _json_trans_keys []
 
static const char _json_trans_targs []
 
char _upb_noclosure
 
static const signed char b64table []
 
static const char dummy_char
 
static const char eof_ch = 'e'
 
static const upb_msglayout_field google_protobuf_DescriptorProto__fields [10]
 
static const upb_msglayout_field google_protobuf_DescriptorProto_ExtensionRange__fields [3]
 
const upb_msglayout google_protobuf_DescriptorProto_ExtensionRange_msginit
 
static const upb_msglayout *const google_protobuf_DescriptorProto_ExtensionRange_submsgs [1]
 
const upb_msglayout google_protobuf_DescriptorProto_msginit
 
static const upb_msglayout_field google_protobuf_DescriptorProto_ReservedRange__fields [2]
 
const upb_msglayout google_protobuf_DescriptorProto_ReservedRange_msginit
 
static const upb_msglayout *const google_protobuf_DescriptorProto_submsgs [8]
 
static const upb_msglayout_field google_protobuf_EnumDescriptorProto__fields [5]
 
static const upb_msglayout_field google_protobuf_EnumDescriptorProto_EnumReservedRange__fields [2]
 
const upb_msglayout google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit
 
const upb_msglayout google_protobuf_EnumDescriptorProto_msginit
 
static const upb_msglayout *const google_protobuf_EnumDescriptorProto_submsgs [3]
 
static const upb_msglayout_field google_protobuf_EnumOptions__fields [3]
 
const upb_msglayout google_protobuf_EnumOptions_msginit
 
static const upb_msglayout *const google_protobuf_EnumOptions_submsgs [1]
 
static const upb_msglayout_field google_protobuf_EnumValueDescriptorProto__fields [3]
 
const upb_msglayout google_protobuf_EnumValueDescriptorProto_msginit
 
static const upb_msglayout *const google_protobuf_EnumValueDescriptorProto_submsgs [1]
 
static const upb_msglayout_field google_protobuf_EnumValueOptions__fields [2]
 
const upb_msglayout google_protobuf_EnumValueOptions_msginit
 
static const upb_msglayout *const google_protobuf_EnumValueOptions_submsgs [1]
 
static const upb_msglayout_field google_protobuf_ExtensionRangeOptions__fields [1]
 
const upb_msglayout google_protobuf_ExtensionRangeOptions_msginit
 
static const upb_msglayout *const google_protobuf_ExtensionRangeOptions_submsgs [1]
 
static const upb_msglayout_field google_protobuf_FieldDescriptorProto__fields [10]
 
const upb_msglayout google_protobuf_FieldDescriptorProto_msginit
 
static const upb_msglayout *const google_protobuf_FieldDescriptorProto_submsgs [1]
 
static const upb_msglayout_field google_protobuf_FieldOptions__fields [7]
 
const upb_msglayout google_protobuf_FieldOptions_msginit
 
static const upb_msglayout *const google_protobuf_FieldOptions_submsgs [1]
 
static const upb_msglayout_field google_protobuf_FileDescriptorProto__fields [12]
 
const upb_msglayout google_protobuf_FileDescriptorProto_msginit
 
static const upb_msglayout *const google_protobuf_FileDescriptorProto_submsgs [6]
 
static const upb_msglayout_field google_protobuf_FileDescriptorSet__fields [1]
 
const upb_msglayout google_protobuf_FileDescriptorSet_msginit
 
static const upb_msglayout *const google_protobuf_FileDescriptorSet_submsgs [1]
 
static const upb_msglayout_field google_protobuf_FileOptions__fields [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 int json_en_duration_machine = 40
 
static const int json_en_fieldmask_machine = 75
 
static const int json_en_main = 1
 
static const int json_en_number_machine = 23
 
static const int json_en_string_machine = 32
 
static const int json_en_timestamp_machine = 47
 
static const int json_en_value_machine = 78
 
static const int json_start = 1
 
static const char kControlCharLimit = 0x20
 
const char * kPbDecoderStackOverflow = "Nesting too deep."
 
const char * kPbDecoderSubmessageTooLong
 
static const char * kUnterminatedVarint = "Unterminated varint."
 
static const double MAX_LOAD = 0.85
 
static const size_t maxalign = 16
 
static const double MIN_DENSITY = 0.1
 
const char neginf [] = "\"-Infinity\""
 
const size_t ptr_words = sizeof(void*) / sizeof(uint32_t)
 
static char suspend_capture
 
upb_alloc upb_alloc_global = {&upb_global_allocfunc}
 
const uint8_t upb_desctype_to_fieldtype []
 
static const uint8_t upb_desctype_to_fieldtype2 []
 
const uint8_t upb_pb_native_wire_types []
 

Macro Definition Documentation

◆ ARRAY_SIZE

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

Definition at line 4649 of file php/ext/google/protobuf/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 8393 of file php/ext/google/protobuf/upb.c.

◆ CHECK_RETURN_TOP

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

Definition at line 11343 of file php/ext/google/protobuf/upb.c.

◆ CHECK_SUSPEND

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

Definition at line 6749 of file php/ext/google/protobuf/upb.c.

◆ CHECK_TRUE

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

Definition at line 3854 of file php/ext/google/protobuf/upb.c.

◆ CHK [1/4]

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

Definition at line 12473 of file php/ext/google/protobuf/upb.c.

◆ CHK [2/4]

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

Definition at line 12473 of file php/ext/google/protobuf/upb.c.

◆ CHK [3/4]

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

Definition at line 12473 of file php/ext/google/protobuf/upb.c.

◆ CHK [4/4]

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

Definition at line 12473 of file php/ext/google/protobuf/upb.c.

◆ CHK_OOM

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

Definition at line 1939 of file php/ext/google/protobuf/upb.c.

◆ CHKFMT

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

Definition at line 12472 of file php/ext/google/protobuf/upb.c.

◆ CHKLENGTH

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

Definition at line 12397 of file php/ext/google/protobuf/upb.c.

◆ DEREF

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

upb_msg

Definition at line 3946 of file php/ext/google/protobuf/upb.c.

◆ DEREF_ARR

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

upb_array

Definition at line 4093 of file php/ext/google/protobuf/upb.c.

◆ EMPTYLABEL

#define EMPTYLABEL   -1

Definition at line 5818 of file php/ext/google/protobuf/upb.c.

◆ ENCODE_MAX_NESTING

#define ENCODE_MAX_NESTING   64

Definition at line 3853 of file php/ext/google/protobuf/upb.c.

◆ EPOCH_YEAR

#define EPOCH_YEAR   1970

Definition at line 10463 of file php/ext/google/protobuf/upb.c.

◆ LABEL_ENDMSG

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

Definition at line 6337 of file php/ext/google/protobuf/upb.c.

◆ LABEL_FIELD

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

Definition at line 6336 of file php/ext/google/protobuf/upb.c.

◆ LABEL_LOOPBREAK

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

Definition at line 6335 of file php/ext/google/protobuf/upb.c.

◆ LABEL_LOOPSTART

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

Definition at line 6334 of file php/ext/google/protobuf/upb.c.

◆ MAXLABEL

#define MAXLABEL   5

Definition at line 5817 of file php/ext/google/protobuf/upb.c.

◆ MIX

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

Definition at line 5428 of file php/ext/google/protobuf/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 3756 of file php/ext/google/protobuf/upb.c.

◆ PARSER_CHECK_RETURN

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

Definition at line 9076 of file php/ext/google/protobuf/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 3851 of file php/ext/google/protobuf/upb.c.

◆ SETTER

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

Definition at line 3459 of file php/ext/google/protobuf/upb.c.

◆ STRINGIFY_HELPER

#define STRINGIFY_HELPER (   x)    #x

Definition at line 8535 of file php/ext/google/protobuf/upb.c.

◆ STRINGIFY_MACROVAL

#define STRINGIFY_MACROVAL (   x)    STRINGIFY_HELPER(x)

Definition at line 8536 of file php/ext/google/protobuf/upb.c.

◆ SUBH

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

Definition at line 3291 of file php/ext/google/protobuf/upb.c.

◆ SUBH_F

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

Definition at line 3294 of file php/ext/google/protobuf/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 8206 of file php/ext/google/protobuf/upb.c.

◆ T [2/2]

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

Definition at line 8206 of file php/ext/google/protobuf/upb.c.

◆ TM_YEAR_BASE

#define TM_YEAR_BASE   1900

Definition at line 10464 of file php/ext/google/protobuf/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 8510 of file php/ext/google/protobuf/upb.c.

◆ TYPE [2/3]

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

Definition at line 8510 of file php/ext/google/protobuf/upb.c.

◆ TYPE [3/3]

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

Definition at line 8510 of file php/ext/google/protobuf/upb.c.

◆ TYPE_HANDLERS

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

Definition at line 12475 of file php/ext/google/protobuf/upb.c.

◆ TYPE_HANDLERS_MAPKEY

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

Definition at line 12499 of file php/ext/google/protobuf/upb.c.

◆ upb_alignof

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

Definition at line 5723 of file php/ext/google/protobuf/upb.c.

◆ UPB_DURATION_MAX_JSON_LEN

#define UPB_DURATION_MAX_JSON_LEN   23

Definition at line 13074 of file php/ext/google/protobuf/upb.c.

◆ UPB_DURATION_MAX_NANO_LEN

#define UPB_DURATION_MAX_NANO_LEN   9

Definition at line 13075 of file php/ext/google/protobuf/upb.c.

◆ UPB_FIELD_AT [1/2]

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

Definition at line 4605 of file php/ext/google/protobuf/upb.c.

◆ UPB_FIELD_AT [2/2]

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

Definition at line 4605 of file php/ext/google/protobuf/upb.c.

◆ UPB_JSON_MAX_DEPTH

#define UPB_JSON_MAX_DEPTH   64

Definition at line 8813 of file php/ext/google/protobuf/upb.c.

◆ UPB_MAXARRSIZE

#define UPB_MAXARRSIZE   16 /* 64k. */

Definition at line 4646 of file php/ext/google/protobuf/upb.c.

◆ UPB_PB_VARINT_MAX_LEN

#define UPB_PB_VARINT_MAX_LEN   10

Definition at line 2869 of file php/ext/google/protobuf/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 4608 of file php/ext/google/protobuf/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 4608 of file php/ext/google/protobuf/upb.c.

◆ UPB_SIZE [1/2]

#define UPB_SIZE (   size32,
  size64 
)    size64

Definition at line 4602 of file php/ext/google/protobuf/upb.c.

◆ UPB_SIZE [2/2]

#define UPB_SIZE (   size32,
  size64 
)    size64

Definition at line 4602 of file php/ext/google/protobuf/upb.c.

◆ UPB_TIMESTAMP_BEFORE_NANO_LEN

#define UPB_TIMESTAMP_BEFORE_NANO_LEN   19

Definition at line 13144 of file php/ext/google/protobuf/upb.c.

◆ UPB_TIMESTAMP_MAX_JSON_LEN

#define UPB_TIMESTAMP_MAX_JSON_LEN   31

Definition at line 13143 of file php/ext/google/protobuf/upb.c.

◆ UPB_TIMESTAMP_MAX_NANO_LEN

#define UPB_TIMESTAMP_MAX_NANO_LEN   9

Definition at line 13145 of file php/ext/google/protobuf/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 4613 of file php/ext/google/protobuf/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 4613 of file php/ext/google/protobuf/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 3852 of file php/ext/google/protobuf/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_INIT; \
upb_handlers_setstartmsg(h, printer_startmsg_noframe, &empty_attr); \
upb_handlers_setendmsg(h, printer_endmsg_noframe, &empty_attr); \
upb_handlers_set##type(h, f, putmethod, &empty_attr); \
UPB_UNUSED(closure); \
}

Definition at line 13392 of file php/ext/google/protobuf/upb.c.

◆ WRITE

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

Typedef Documentation

◆ cleanup_ent

typedef struct cleanup_ent cleanup_ent

◆ eqlfunc_t

typedef bool eqlfunc_t(upb_tabkey k1, lookupkey_t k2)

Definition at line 4719 of file php/ext/google/protobuf/upb.c.

◆ hashfunc_t

typedef uint32_t hashfunc_t(upb_tabkey key)

Definition at line 4718 of file php/ext/google/protobuf/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 8816 of file php/ext/google/protobuf/upb.c.

◆ anonymous enum

anonymous enum
Enumerator
MULTIPART_INACTIVE 
MULTIPART_ACCUMULATE 
MULTIPART_PUSHEAGERLY 

Definition at line 9454 of file php/ext/google/protobuf/upb.c.

◆ upb_deftype_t

Enumerator
UPB_DEFTYPE_MSG 
UPB_DEFTYPE_ENUM 
UPB_DEFTYPE_FIELD 
UPB_DEFTYPE_ONEOF 

Definition at line 1209 of file php/ext/google/protobuf/upb.c.

Function Documentation

◆ _upb_symtab_loaddefinit()

bool _upb_symtab_loaddefinit ( upb_symtab s,
const upb_def_init init 
)

Definition at line 2819 of file php/ext/google/protobuf/upb.c.

◆ accumulate()

static void accumulate ( upb_pb_encoder e)
static

Definition at line 8003 of file php/ext/google/protobuf/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 9400 of file php/ext/google/protobuf/upb.c.

◆ accumulate_clear()

static void accumulate_clear ( upb_json_parser p)
static

Definition at line 9372 of file php/ext/google/protobuf/upb.c.

◆ accumulate_getptr()

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

Definition at line 9432 of file php/ext/google/protobuf/upb.c.

◆ accumulate_realloc()

static bool accumulate_realloc ( upb_json_parser p,
size_t  need 
)
static

Definition at line 9378 of file php/ext/google/protobuf/upb.c.

◆ advance()

static void advance ( upb_pbdecoder d,
size_t  len 
)
static

Definition at line 6862 of file php/ext/google/protobuf/upb.c.

◆ advancetobuf()

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

Definition at line 6895 of file php/ext/google/protobuf/upb.c.

◆ align_up()

static size_t align_up ( size_t  val,
size_t  align 
)
static

Definition at line 4356 of file php/ext/google/protobuf/upb.c.

◆ align_up_max()

static size_t align_up_max ( size_t  size)
static

Definition at line 5619 of file php/ext/google/protobuf/upb.c.

◆ as_double()

static double as_double ( uint64_t  n)
static

Definition at line 7212 of file php/ext/google/protobuf/upb.c.

◆ as_float()

static float as_float ( uint32_t  n)
static

Definition at line 7213 of file php/ext/google/protobuf/upb.c.

◆ assert_accumulate_empty()

static void assert_accumulate_empty ( upb_json_parser p)
static

Definition at line 9367 of file php/ext/google/protobuf/upb.c.

◆ assign_msg_indices()

static bool assign_msg_indices ( upb_msgdef m,
upb_status s 
)
static

Definition at line 1302 of file php/ext/google/protobuf/upb.c.

◆ assign_msg_wellknowntype()

static void assign_msg_wellknowntype ( upb_msgdef m)
static

Definition at line 1399 of file php/ext/google/protobuf/upb.c.

◆ b64lookup()

int32_t b64lookup ( unsigned char  ch)

Definition at line 9259 of file php/ext/google/protobuf/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 9265 of file php/ext/google/protobuf/upb.c.

◆ begin()

static size_t begin ( const upb_table t)
static

Definition at line 4898 of file php/ext/google/protobuf/upb.c.

◆ between()

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

Definition at line 1719 of file php/ext/google/protobuf/upb.c.

◆ bufleft()

static size_t bufleft ( const upb_pbdecoder d)
static

Definition at line 6847 of file php/ext/google/protobuf/upb.c.

◆ build_filedef()

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

Definition at line 2543 of file php/ext/google/protobuf/upb.c.

◆ callstacksize()

static size_t callstacksize ( upb_pbdecoder d,
size_t  entries 
)
static

Definition at line 6799 of file php/ext/google/protobuf/upb.c.

◆ capture_begin()

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

Definition at line 9523 of file php/ext/google/protobuf/upb.c.

◆ capture_end()

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

Definition at line 9529 of file php/ext/google/protobuf/upb.c.

◆ capture_resume()

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

Definition at line 9561 of file php/ext/google/protobuf/upb.c.

◆ capture_suspend()

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

Definition at line 9542 of file php/ext/google/protobuf/upb.c.

◆ check()

static void check ( upb_inttable t)
static

Definition at line 5088 of file php/ext/google/protobuf/upb.c.

◆ check_stack()

static bool check_stack ( upb_json_parser p)
static

Definition at line 9176 of file php/ext/google/protobuf/upb.c.

◆ checked_add()

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

Definition at line 9201 of file php/ext/google/protobuf/upb.c.

◆ checkpoint()

static void checkpoint ( upb_pbdecoder d)
static

Definition at line 6901 of file php/ext/google/protobuf/upb.c.

◆ checkstart()

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

Definition at line 3414 of file php/ext/google/protobuf/upb.c.

◆ chkdefaulttype()

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

Definition at line 1623 of file php/ext/google/protobuf/upb.c.

◆ cmp_fields()

int cmp_fields ( const void p1,
const void p2 
)

Definition at line 1296 of file php/ext/google/protobuf/upb.c.

◆ commit()

static bool commit ( upb_pb_encoder e)
static

Definition at line 7976 of file php/ext/google/protobuf/upb.c.

◆ compile_method()

static void compile_method ( compiler c,
upb_pbdecodermethod method 
)
static

Definition at line 6495 of file php/ext/google/protobuf/upb.c.

◆ compile_methods()

static void compile_methods ( compiler c)
static

Definition at line 6591 of file php/ext/google/protobuf/upb.c.

◆ consumebytes()

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

Definition at line 7059 of file php/ext/google/protobuf/upb.c.

◆ consumes_input()

static bool consumes_input ( opcode  op)
static

Definition at line 6769 of file php/ext/google/protobuf/upb.c.

◆ count_types_in_file()

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

Definition at line 2456 of file php/ext/google/protobuf/upb.c.

◆ count_types_in_msg()

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

Definition at line 2437 of file php/ext/google/protobuf/upb.c.

◆ create_enumdef()

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

Definition at line 2304 of file php/ext/google/protobuf/upb.c.

◆ create_fielddef()

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

Definition at line 2183 of file php/ext/google/protobuf/upb.c.

◆ create_msgdef()

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

Definition at line 2368 of file php/ext/google/protobuf/upb.c.

◆ create_oneofdef()

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

Definition at line 2040 of file php/ext/google/protobuf/upb.c.

◆ curbufleft()

static size_t curbufleft ( const upb_pbdecoder d)
static

Definition at line 6841 of file php/ext/google/protobuf/upb.c.

◆ dbl2uint64()

static uint64_t dbl2uint64 ( double  d)
static

Definition at line 8136 of file php/ext/google/protobuf/upb.c.

◆ decode_fixed32()

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

Definition at line 7191 of file php/ext/google/protobuf/upb.c.

◆ decode_fixed64()

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

Definition at line 7198 of file php/ext/google/protobuf/upb.c.

◆ decode_v32()

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

Definition at line 7171 of file php/ext/google/protobuf/upb.c.

◆ decode_varint()

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

Definition at line 7148 of file php/ext/google/protobuf/upb.c.

◆ decoder_pop()

static void decoder_pop ( upb_pbdecoder d)
static

Definition at line 7247 of file php/ext/google/protobuf/upb.c.

◆ decoder_push()

static bool decoder_push ( upb_pbdecoder d,
uint64_t  end 
)
static

Definition at line 7216 of file php/ext/google/protobuf/upb.c.

◆ delim_remaining()

size_t delim_remaining ( const upb_pbdecoder d)

Definition at line 6857 of file php/ext/google/protobuf/upb.c.

◆ dispatch()

static int32_t dispatch ( upb_pbdecoder d)
static

Definition at line 7343 of file php/ext/google/protobuf/upb.c.

◆ dispatchtarget()

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

Definition at line 6264 of file php/ext/google/protobuf/upb.c.

◆ div_round_up()

static size_t div_round_up ( size_t  n,
size_t  d 
)
static

Definition at line 4361 of file php/ext/google/protobuf/upb.c.

◆ does_fieldmask_end()

static bool does_fieldmask_end ( upb_json_parser p)
static

Definition at line 11339 of file php/ext/google/protobuf/upb.c.

◆ does_fieldmask_start()

static bool does_fieldmask_start ( upb_json_parser p)
static

Definition at line 11333 of file php/ext/google/protobuf/upb.c.

◆ does_number_wrapper_end()

static bool does_number_wrapper_end ( upb_json_parser p)
static

Definition at line 11311 of file php/ext/google/protobuf/upb.c.

◆ does_number_wrapper_start()

static bool does_number_wrapper_start ( upb_json_parser p)
static

Definition at line 11305 of file php/ext/google/protobuf/upb.c.

◆ does_string_wrapper_end()

static bool does_string_wrapper_end ( upb_json_parser p)
static

Definition at line 11325 of file php/ext/google/protobuf/upb.c.

◆ does_string_wrapper_start()

static bool does_string_wrapper_start ( upb_json_parser p)
static

Definition at line 11319 of file php/ext/google/protobuf/upb.c.

◆ doset()

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

Definition at line 3321 of file php/ext/google/protobuf/upb.c.

◆ effective_closure_type()

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

Definition at line 3381 of file php/ext/google/protobuf/upb.c.

◆ emptyent()

static upb_tabent* emptyent ( upb_table t)
static

Definition at line 4763 of file php/ext/google/protobuf/upb.c.

◆ encode_bytes()

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

Definition at line 7991 of file php/ext/google/protobuf/upb.c.

◆ encode_enddelimfield()

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

Definition at line 8181 of file php/ext/google/protobuf/upb.c.

◆ encode_endgroup()

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

Definition at line 8190 of file php/ext/google/protobuf/upb.c.

◆ encode_fixed32()

static bool encode_fixed32 ( upb_pb_encoder e,
uint32_t  val 
)
static

Definition at line 8122 of file php/ext/google/protobuf/upb.c.

◆ encode_fixed64()

static bool encode_fixed64 ( upb_pb_encoder e,
uint64_t  val 
)
static

Definition at line 8117 of file php/ext/google/protobuf/upb.c.

◆ encode_startdelimfield()

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

Definition at line 8170 of file php/ext/google/protobuf/upb.c.

◆ encode_startgroup()

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

Definition at line 8186 of file php/ext/google/protobuf/upb.c.

◆ encode_startstr()

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

Definition at line 8194 of file php/ext/google/protobuf/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 8199 of file php/ext/google/protobuf/upb.c.

◆ encode_tag()

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

Definition at line 8110 of file php/ext/google/protobuf/upb.c.

◆ encode_unknown()

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

Definition at line 8175 of file php/ext/google/protobuf/upb.c.

◆ encode_varint()

static bool encode_varint ( upb_pb_encoder e,
uint64_t  val 
)
static

Definition at line 8127 of file php/ext/google/protobuf/upb.c.

◆ encoder_advance()

static void encoder_advance ( upb_pb_encoder e,
size_t  bytes 
)
static

Definition at line 7969 of file php/ext/google/protobuf/upb.c.

◆ end()

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

Definition at line 12036 of file php/ext/google/protobuf/upb.c.

◆ end_any_member()

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

Definition at line 10822 of file php/ext/google/protobuf/upb.c.

◆ end_any_membername()

static bool end_any_membername ( upb_json_parser p)
static

Definition at line 10777 of file php/ext/google/protobuf/upb.c.

◆ end_any_object()

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

Definition at line 11051 of file php/ext/google/protobuf/upb.c.

◆ end_any_stringval()

static bool end_any_stringval ( upb_json_parser p)
static

Definition at line 10055 of file php/ext/google/protobuf/upb.c.

◆ end_array()

static void end_array ( upb_json_parser p)
static

Definition at line 11004 of file php/ext/google/protobuf/upb.c.

◆ end_bool()

static bool end_bool ( upb_json_parser p,
bool  val 
)
static

Definition at line 9880 of file php/ext/google/protobuf/upb.c.

◆ end_day()

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

Definition at line 10354 of file php/ext/google/protobuf/upb.c.

◆ end_delim()

static bool end_delim ( upb_pb_encoder e)
static

Definition at line 8059 of file php/ext/google/protobuf/upb.c.

◆ end_duration_base()

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

Definition at line 10219 of file php/ext/google/protobuf/upb.c.

◆ end_fieldmask_object()

static void end_fieldmask_object ( upb_json_parser p)
static

Definition at line 11189 of file php/ext/google/protobuf/upb.c.

◆ end_fieldmask_path()

static bool end_fieldmask_path ( upb_json_parser p)
static

Definition at line 10603 of file php/ext/google/protobuf/upb.c.

◆ end_fieldmask_path_text()

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

Definition at line 10563 of file php/ext/google/protobuf/upb.c.

◆ end_frame()

static void end_frame ( upb_json_printer p)
static

Definition at line 12606 of file php/ext/google/protobuf/upb.c.

◆ end_hex()

static bool end_hex ( upb_json_parser p)
static

Definition at line 9614 of file php/ext/google/protobuf/upb.c.

◆ end_hour()

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

Definition at line 10366 of file php/ext/google/protobuf/upb.c.

◆ end_listvalue_object()

static void end_listvalue_object ( upb_json_parser p)
static

Definition at line 11268 of file php/ext/google/protobuf/upb.c.

◆ end_member()

static void end_member ( upb_json_parser p)
static

Definition at line 10794 of file php/ext/google/protobuf/upb.c.

◆ end_membername()

static bool end_membername ( upb_json_parser p)
static

Definition at line 10743 of file php/ext/google/protobuf/upb.c.

◆ end_minute()

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

Definition at line 10378 of file php/ext/google/protobuf/upb.c.

◆ end_month()

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

Definition at line 10342 of file php/ext/google/protobuf/upb.c.

◆ end_null()

static bool end_null ( upb_json_parser p)
static

Definition at line 9928 of file php/ext/google/protobuf/upb.c.

◆ end_number()

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

Definition at line 9691 of file php/ext/google/protobuf/upb.c.

◆ end_number_nontop()

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

Definition at line 9678 of file php/ext/google/protobuf/upb.c.

◆ end_object()

static void end_object ( upb_json_parser p)
static

Definition at line 11039 of file php/ext/google/protobuf/upb.c.

◆ end_second()

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

Definition at line 10390 of file php/ext/google/protobuf/upb.c.

◆ end_stringval()

static bool end_stringval ( upb_json_parser p)
static

Definition at line 10171 of file php/ext/google/protobuf/upb.c.

◆ end_stringval_nontop()

static bool end_stringval_nontop ( upb_json_parser p)
static

Definition at line 10097 of file php/ext/google/protobuf/upb.c.

◆ end_structvalue_object()

static void end_structvalue_object ( upb_json_parser p)
static

Definition at line 11285 of file php/ext/google/protobuf/upb.c.

◆ end_subobject()

static void end_subobject ( upb_json_parser p)
static

Definition at line 10909 of file php/ext/google/protobuf/upb.c.

◆ end_subobject_full()

static void end_subobject_full ( upb_json_parser p)
static

Definition at line 10930 of file php/ext/google/protobuf/upb.c.

◆ end_text()

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

Definition at line 9646 of file php/ext/google/protobuf/upb.c.

◆ end_timestamp_fraction()

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

Definition at line 10406 of file php/ext/google/protobuf/upb.c.

◆ end_timestamp_zone()

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

Definition at line 10505 of file php/ext/google/protobuf/upb.c.

◆ end_value_object()

static void end_value_object ( upb_json_parser p)
static

Definition at line 11251 of file php/ext/google/protobuf/upb.c.

◆ end_wrapper_object()

static void end_wrapper_object ( upb_json_parser p)
static

Definition at line 11207 of file php/ext/google/protobuf/upb.c.

◆ end_year()

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

Definition at line 10330 of file php/ext/google/protobuf/upb.c.

◆ endfield()

static int endfield ( upb_textprinter p)
static

Definition at line 8408 of file php/ext/google/protobuf/upb.c.

◆ endmap()

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

Definition at line 12658 of file php/ext/google/protobuf/upb.c.

◆ endmsg()

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

Definition at line 8160 of file php/ext/google/protobuf/upb.c.

◆ endseq()

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

Definition at line 12641 of file php/ext/google/protobuf/upb.c.

◆ endseq_fieldmask()

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

Definition at line 13006 of file php/ext/google/protobuf/upb.c.

◆ epoch()

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

Definition at line 10477 of file php/ext/google/protobuf/upb.c.

◆ escape()

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

Definition at line 9590 of file php/ext/google/protobuf/upb.c.

◆ escape_char()

static char escape_char ( char  in)
static

Definition at line 9574 of file php/ext/google/protobuf/upb.c.

◆ field_rank()

uint32_t field_rank ( const upb_fielddef f)

Definition at line 1287 of file php/ext/google/protobuf/upb.c.

◆ find_methods()

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

Definition at line 6561 of file php/ext/google/protobuf/upb.c.

◆ find_submethod()

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

Definition at line 6296 of file php/ext/google/protobuf/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 4772 of file php/ext/google/protobuf/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 4785 of file php/ext/google/protobuf/upb.c.

◆ flt2uint32()

static uint32_t flt2uint32 ( float  d)
static

Definition at line 8142 of file php/ext/google/protobuf/upb.c.

◆ fmt_bool()

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

Definition at line 12428 of file php/ext/google/protobuf/upb.c.

◆ fmt_double()

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

Definition at line 12406 of file php/ext/google/protobuf/upb.c.

◆ fmt_float()

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

Definition at line 12422 of file php/ext/google/protobuf/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 12434 of file php/ext/google/protobuf/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 12447 of file php/ext/google/protobuf/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 12440 of file php/ext/google/protobuf/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 12453 of file php/ext/google/protobuf/upb.c.

◆ freecompiler()

static void freecompiler ( compiler c)
static

Definition at line 5905 of file php/ext/google/protobuf/upb.c.

◆ freegroup()

static void freegroup ( mgroup g)
static

Definition at line 5856 of file php/ext/google/protobuf/upb.c.

◆ freemethod()

static void freemethod ( upb_pbdecodermethod method)
static

Definition at line 5822 of file php/ext/google/protobuf/upb.c.

◆ freestrpc()

void freestrpc ( void ptr)

Definition at line 12271 of file php/ext/google/protobuf/upb.c.

◆ generate_delimfield()

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

Definition at line 6401 of file php/ext/google/protobuf/upb.c.

◆ generate_msgfield()

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

Definition at line 6340 of file php/ext/google/protobuf/upb.c.

◆ generate_primitivefield()

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

Definition at line 6440 of file php/ext/google/protobuf/upb.c.

◆ get_encoded_tag()

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

Definition at line 6219 of file php/ext/google/protobuf/upb.c.

◆ getbytes()

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

Definition at line 7092 of file php/ext/google/protobuf/upb.c.

◆ getbytes_slow()

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

Definition at line 7069 of file php/ext/google/protobuf/upb.c.

◆ getentry_mutable()

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

Definition at line 4768 of file php/ext/google/protobuf/upb.c.

◆ getofs()

static int32_t getofs ( uint32_t  instruction)
static

Definition at line 5939 of file php/ext/google/protobuf/upb.c.

◆ getsel()

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

Definition at line 6243 of file php/ext/google/protobuf/upb.c.

◆ getsel_for_handlertype()

static upb_selector_t getsel_for_handlertype ( upb_json_parser p,
upb_handlertype_t  type 
)
static

Definition at line 9163 of file php/ext/google/protobuf/upb.c.

◆ goto_endmsg()

static void goto_endmsg ( upb_pbdecoder d)
static

Definition at line 7330 of file php/ext/google/protobuf/upb.c.

◆ handle_mapentry()

static bool handle_mapentry ( upb_json_parser p)
static

Definition at line 10697 of file php/ext/google/protobuf/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 3309 of file php/ext/google/protobuf/upb.c.

◆ haslazyhandlers()

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

Definition at line 6321 of file php/ext/google/protobuf/upb.c.

◆ hexdigit()

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

Definition at line 9599 of file php/ext/google/protobuf/upb.c.

◆ in_buf()

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

Definition at line 6867 of file php/ext/google/protobuf/upb.c.

◆ in_residual_buf()

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

Definition at line 6871 of file php/ext/google/protobuf/upb.c.

◆ indent()

static int indent ( upb_textprinter p)
static

Definition at line 8400 of file php/ext/google/protobuf/upb.c.

◆ init()

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

Definition at line 4736 of file php/ext/google/protobuf/upb.c.

◆ init_frame()

static void init_frame ( upb_jsonparser_frame frame)
static

Definition at line 8996 of file php/ext/google/protobuf/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 4804 of file php/ext/google/protobuf/upb.c.

◆ instruction_len()

static int instruction_len ( uint32_t  instr)
static

Definition at line 5912 of file php/ext/google/protobuf/upb.c.

◆ int_arrent()

static upb_tabval int_arrent ( const upb_inttable_iter i)
static

Definition at line 5304 of file php/ext/google/protobuf/upb.c.

◆ int_tabent()

static const upb_tabent* int_tabent ( const upb_inttable_iter i)
static

Definition at line 5299 of file php/ext/google/protobuf/upb.c.

◆ inteql()

static bool inteql ( upb_tabkey  k1,
lookupkey_t  k2 
)
static

Definition at line 5061 of file php/ext/google/protobuf/upb.c.

◆ inthash()

static uint32_t inthash ( upb_tabkey  key)
static

Definition at line 5059 of file php/ext/google/protobuf/upb.c.

◆ intkey()

static lookupkey_t intkey ( uintptr_t  key)
static

Definition at line 4712 of file php/ext/google/protobuf/upb.c.

◆ inttable_val()

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

Definition at line 5069 of file php/ext/google/protobuf/upb.c.

◆ inttable_val_const()

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

Definition at line 5079 of file php/ext/google/protobuf/upb.c.

◆ is_fieldmask()

static bool is_fieldmask ( const upb_msgdef m)
static

Definition at line 11170 of file php/ext/google/protobuf/upb.c.

◆ is_json_escaped()

UPB_INLINE bool is_json_escaped ( char  c)

Definition at line 12332 of file php/ext/google/protobuf/upb.c.

◆ is_number_wrapper_object()

static bool is_number_wrapper_object ( upb_json_parser p)
static

Definition at line 11315 of file php/ext/google/protobuf/upb.c.

◆ is_pow2()

bool is_pow2 ( uint64_t  v)

Definition at line 4665 of file php/ext/google/protobuf/upb.c.

◆ is_power_of_two()

static bool is_power_of_two ( size_t  val)
static

Definition at line 4351 of file php/ext/google/protobuf/upb.c.

◆ is_string_wrapper()

static bool is_string_wrapper ( const upb_msgdef m)
static

Definition at line 11164 of file php/ext/google/protobuf/upb.c.

◆ is_string_wrapper_object()

static bool is_string_wrapper_object ( upb_json_parser p)
static

Definition at line 11329 of file php/ext/google/protobuf/upb.c.

◆ is_top_level()

static bool is_top_level ( upb_json_parser p)
static

Definition at line 11290 of file php/ext/google/protobuf/upb.c.

◆ is_wellknown_field()

static bool is_wellknown_field ( upb_json_parser p,
upb_wellknowntype_t  type 
)
static

Definition at line 11298 of file php/ext/google/protobuf/upb.c.

◆ is_wellknown_msg()

static bool is_wellknown_msg ( upb_json_parser p,
upb_wellknowntype_t  type 
)
static

Definition at line 11294 of file php/ext/google/protobuf/upb.c.

◆ isfull()

static bool isfull ( upb_table t)
static

Definition at line 4728 of file php/ext/google/protobuf/upb.c.

◆ isleap()

static bool isleap ( int  year)
static

Definition at line 10466 of file php/ext/google/protobuf/upb.c.

◆ json_nice_escape()

const UPB_INLINE char* json_nice_escape ( char  c)

Definition at line 12338 of file php/ext/google/protobuf/upb.c.

◆ json_parser_any_frame_free()

static void json_parser_any_frame_free ( upb_jsonparser_any_frame frame)
static

Definition at line 9116 of file php/ext/google/protobuf/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 9122 of file php/ext/google/protobuf/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 9137 of file php/ext/google/protobuf/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 9132 of file php/ext/google/protobuf/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 9127 of file php/ext/google/protobuf/upb.c.

◆ json_parser_any_frame_new()

static upb_jsonparser_any_frame* json_parser_any_frame_new ( upb_json_parser p)
static

Definition at line 9078 of file php/ext/google/protobuf/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 9151 of file php/ext/google/protobuf/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 9143 of file php/ext/google/protobuf/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 9096 of file php/ext/google/protobuf/upb.c.

◆ json_parser_reset()

static void json_parser_reset ( upb_json_parser p)
static

Definition at line 12054 of file php/ext/google/protobuf/upb.c.

◆ json_printer_reset()

static void json_printer_reset ( upb_json_printer p)
static

Definition at line 13589 of file php/ext/google/protobuf/upb.c.

◆ label()

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

Definition at line 5961 of file php/ext/google/protobuf/upb.c.

◆ labelref()

static int32_t labelref ( compiler c,
int  label 
)
static

Definition at line 5985 of file php/ext/google/protobuf/upb.c.

◆ log2ceil()

int log2ceil ( uint64_t  v)

Definition at line 4667 of file php/ext/google/protobuf/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 4790 of file php/ext/google/protobuf/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 10586 of file php/ext/google/protobuf/upb.c.

◆ makefullname()

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

Definition at line 1962 of file php/ext/google/protobuf/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 12834 of file php/ext/google/protobuf/upb.c.

◆ mapkey_endstr()

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

Definition at line 12803 of file php/ext/google/protobuf/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 12796 of file php/ext/google/protobuf/upb.c.

◆ mapkeyval_startstr()

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

Definition at line 12787 of file php/ext/google/protobuf/upb.c.

◆ mapvalue_endstr()

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

Definition at line 12810 of file php/ext/google/protobuf/upb.c.

◆ mapvalue_enum()

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

Definition at line 12579 of file php/ext/google/protobuf/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 6316 of file php/ext/google/protobuf/upb.c.

◆ mgroup_new()

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

Definition at line 6622 of file php/ext/google/protobuf/upb.c.

◆ multipart_end()

static void multipart_end ( upb_json_parser p)
static

Definition at line 9510 of file php/ext/google/protobuf/upb.c.

◆ multipart_start()

static void multipart_start ( upb_json_parser p,
upb_selector_t  sel 
)
static

Definition at line 9477 of file php/ext/google/protobuf/upb.c.

◆ multipart_startaccum()

static void multipart_startaccum ( upb_json_parser p)
static

Definition at line 9469 of file php/ext/google/protobuf/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 9484 of file php/ext/google/protobuf/upb.c.

◆ MurmurHash2()

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

Definition at line 5430 of file php/ext/google/protobuf/upb.c.

◆ mutable_array()

static upb_tabval* mutable_array ( upb_inttable t)
static

Definition at line 5065 of file php/ext/google/protobuf/upb.c.

◆ mutable_entries()

static upb_tabent* mutable_entries ( upb_table t)
static

Definition at line 4724 of file php/ext/google/protobuf/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 8099 of file php/ext/google/protobuf/upb.c.

◆ newcompiler()

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

Definition at line 5892 of file php/ext/google/protobuf/upb.c.

◆ newgroup()

mgroup* newgroup ( )

Definition at line 5869 of file php/ext/google/protobuf/upb.c.

◆ newmethod()

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

Definition at line 5827 of file php/ext/google/protobuf/upb.c.

◆ newstr()

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

Definition at line 1109 of file php/ext/google/protobuf/upb.c.

◆ newstrpc()

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

Definition at line 12282 of file php/ext/google/protobuf/upb.c.

◆ newstrpc_str()

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

Definition at line 12303 of file php/ext/google/protobuf/upb.c.

◆ next()

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

Definition at line 4889 of file php/ext/google/protobuf/upb.c.

◆ nonbase64()

bool nonbase64 ( unsigned char  ch)

Definition at line 9263 of file php/ext/google/protobuf/upb.c.

◆ nullz()

static void nullz ( upb_status status)
static

Definition at line 5558 of file php/ext/google/protobuf/upb.c.

◆ offset()

uint64_t offset ( const upb_pbdecoder d)

Definition at line 6852 of file php/ext/google/protobuf/upb.c.

◆ onmreg()

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

Definition at line 8617 of file php/ext/google/protobuf/upb.c.

◆ op_has_longofs()

bool op_has_longofs ( int32_t  instruction)

Definition at line 5921 of file php/ext/google/protobuf/upb.c.

◆ outer_frame()

upb_pbdecoder_frame* outer_frame ( upb_pbdecoder d)

Definition at line 7396 of file php/ext/google/protobuf/upb.c.

◆ pack_def()

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

Definition at line 1221 of file php/ext/google/protobuf/upb.c.

◆ parse()

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

Definition at line 11625 of file php/ext/google/protobuf/upb.c.

◆ parse_default()

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

Definition at line 2061 of file php/ext/google/protobuf/upb.c.

◆ parse_mapentry_key()

static bool parse_mapentry_key ( upb_json_parser p)
static

Definition at line 10627 of file php/ext/google/protobuf/upb.c.

◆ parse_number()

static bool parse_number ( upb_json_parser p,
bool  is_quoted 
)
static

Definition at line 9838 of file php/ext/google/protobuf/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 9717 of file php/ext/google/protobuf/upb.c.

◆ parse_timestamp_number()

static int parse_timestamp_number ( upb_json_parser p)
static

Definition at line 10308 of file php/ext/google/protobuf/upb.c.

◆ parser_getsel()

static upb_selector_t parser_getsel ( upb_json_parser p)
static

Definition at line 9171 of file php/ext/google/protobuf/upb.c.

◆ parser_putbool()

static bool parser_putbool ( upb_json_parser p,
bool  val 
)
static

Definition at line 9860 of file php/ext/google/protobuf/upb.c.

◆ parsermethod_new()

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

Definition at line 12078 of file php/ext/google/protobuf/upb.c.

◆ pcofs()

static uint32_t pcofs ( compiler c)
static

Definition at line 5956 of file php/ext/google/protobuf/upb.c.

◆ peekbytes()

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

Definition at line 7115 of file php/ext/google/protobuf/upb.c.

◆ peekbytes_slow()

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

Definition at line 7103 of file php/ext/google/protobuf/upb.c.

◆ print_comma()

static void print_comma ( upb_json_printer p)
static

Definition at line 12320 of file php/ext/google/protobuf/upb.c.

◆ print_data()

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

Definition at line 12313 of file php/ext/google/protobuf/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 12555 of file php/ext/google/protobuf/upb.c.

◆ printer_enddurationmsg()

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

Definition at line 13077 of file php/ext/google/protobuf/upb.c.

◆ printer_endmsg()

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

Definition at line 12621 of file php/ext/google/protobuf/upb.c.

◆ printer_endmsg_fieldmask()

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

Definition at line 13240 of file php/ext/google/protobuf/upb.c.

◆ printer_endmsg_noframe()

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

Definition at line 13218 of file php/ext/google/protobuf/upb.c.

◆ printer_endtimestampmsg()

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

Definition at line 13147 of file php/ext/google/protobuf/upb.c.

◆ printer_sethandlers()

void printer_sethandlers ( const void closure,
upb_handlers h 
)

Definition at line 13449 of file php/ext/google/protobuf/upb.c.

◆ printer_sethandlers_any()

void printer_sethandlers_any ( const void closure,
upb_handlers h 
)

Definition at line 13261 of file php/ext/google/protobuf/upb.c.

◆ printer_sethandlers_duration()

void printer_sethandlers_duration ( const void closure,
upb_handlers h 
)

Definition at line 13315 of file php/ext/google/protobuf/upb.c.

◆ printer_sethandlers_fieldmask()

void printer_sethandlers_fieldmask ( const void closure,
upb_handlers h 
)

Definition at line 13296 of file php/ext/google/protobuf/upb.c.

◆ printer_sethandlers_listvalue()

void printer_sethandlers_listvalue ( const void closure,
upb_handlers h 
)

Definition at line 13415 of file php/ext/google/protobuf/upb.c.

◆ printer_sethandlers_mapentry()

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

Definition at line 12866 of file php/ext/google/protobuf/upb.c.

◆ printer_sethandlers_structvalue()

void printer_sethandlers_structvalue ( const void closure,
upb_handlers h 
)

Definition at line 13432 of file php/ext/google/protobuf/upb.c.

◆ printer_sethandlers_timestamp()

void printer_sethandlers_timestamp ( const void closure,
upb_handlers h 
)

Definition at line 13335 of file php/ext/google/protobuf/upb.c.

◆ printer_sethandlers_value()

void printer_sethandlers_value ( const void closure,
upb_handlers h 
)

Definition at line 13353 of file php/ext/google/protobuf/upb.c.

◆ printer_startdurationmsg()

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

Definition at line 13065 of file php/ext/google/protobuf/upb.c.

◆ printer_startmsg()

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

Definition at line 12611 of file php/ext/google/protobuf/upb.c.

◆ printer_startmsg_fieldmask()

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

Definition at line 13229 of file php/ext/google/protobuf/upb.c.

◆ printer_startmsg_noframe()

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

Definition at line 13209 of file php/ext/google/protobuf/upb.c.

◆ printer_starttimestampmsg()

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

Definition at line 13134 of file php/ext/google/protobuf/upb.c.

◆ pushtagdelim()

static bool pushtagdelim ( upb_pbdecoder d,
uint32_t  arg 
)
static

Definition at line 7235 of file php/ext/google/protobuf/upb.c.

◆ put32()

static void put32 ( compiler c,
uint32_t  v 
)
static

Definition at line 6003 of file php/ext/google/protobuf/upb.c.

◆ putbuf()

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

Definition at line 7928 of file php/ext/google/protobuf/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 12676 of file php/ext/google/protobuf/upb.c.

◆ putchecktag()

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

Definition at line 6227 of file php/ext/google/protobuf/upb.c.

◆ putescaped()

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

Definition at line 8414 of file php/ext/google/protobuf/upb.c.

◆ putf()

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

Definition at line 8461 of file php/ext/google/protobuf/upb.c.

◆ putkey()

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

Definition at line 12462 of file php/ext/google/protobuf/upb.c.

◆ putnanos()

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

Definition at line 12960 of file php/ext/google/protobuf/upb.c.

◆ putnull()

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

Definition at line 13056 of file php/ext/google/protobuf/upb.c.

◆ putop()

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

Definition at line 6018 of file php/ext/google/protobuf/upb.c.

◆ putpush()

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

Definition at line 6282 of file php/ext/google/protobuf/upb.c.

◆ putseconds()

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

Definition at line 12952 of file php/ext/google/protobuf/upb.c.

◆ putsel()

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

Definition at line 6307 of file php/ext/google/protobuf/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 12666 of file php/ext/google/protobuf/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 12977 of file php/ext/google/protobuf/upb.c.

◆ putstring()

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

Definition at line 12354 of file php/ext/google/protobuf/upb.c.

◆ repack()

static uint64_t repack ( uint64_t  dispatch,
int  new_wt2 
)
static

Definition at line 6253 of file php/ext/google/protobuf/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 12825 of file php/ext/google/protobuf/upb.c.

◆ repeated_endstr()

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

Definition at line 12780 of file php/ext/google/protobuf/upb.c.

◆ repeated_enum()

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

Definition at line 12568 of file php/ext/google/protobuf/upb.c.

◆ repeated_startstr()

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

Definition at line 12763 of file php/ext/google/protobuf/upb.c.

◆ repeated_startstr_fieldmask()

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

Definition at line 13013 of file php/ext/google/protobuf/upb.c.

◆ repeated_startsubmsg()

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

Definition at line 12593 of file php/ext/google/protobuf/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 12773 of file php/ext/google/protobuf/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 13023 of file php/ext/google/protobuf/upb.c.

◆ reserve()

static bool reserve ( upb_pb_encoder e,
size_t  bytes 
)
static

Definition at line 7939 of file php/ext/google/protobuf/upb.c.

◆ resolve_fielddef()

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

Definition at line 2474 of file php/ext/google/protobuf/upb.c.

◆ resolvename()

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

Definition at line 1994 of file php/ext/google/protobuf/upb.c.

◆ returntype()

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

Definition at line 3316 of file php/ext/google/protobuf/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 4850 of file php/ext/google/protobuf/upb.c.

◆ run_decoder_vm()

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

Definition at line 7406 of file php/ext/google/protobuf/upb.c.

◆ saturating_multiply()

static size_t saturating_multiply ( size_t  a,
size_t  b 
)
static

Definition at line 9207 of file php/ext/google/protobuf/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 12817 of file php/ext/google/protobuf/upb.c.

◆ scalar_endstr()

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

Definition at line 12756 of file php/ext/google/protobuf/upb.c.

◆ scalar_enum()

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

Definition at line 12535 of file php/ext/google/protobuf/upb.c.

◆ scalar_startstr()

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

Definition at line 12739 of file php/ext/google/protobuf/upb.c.

◆ scalar_startstr_nokey()

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

Definition at line 12968 of file php/ext/google/protobuf/upb.c.

◆ scalar_startstr_onlykey()

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

Definition at line 13252 of file php/ext/google/protobuf/upb.c.

◆ scalar_startsubmsg()

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

Definition at line 12589 of file php/ext/google/protobuf/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 12749 of file php/ext/google/protobuf/upb.c.

◆ set_bytecode_handlers()

static void set_bytecode_handlers ( mgroup g)
static

Definition at line 6604 of file php/ext/google/protobuf/upb.c.

◆ set_default_default()

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

Definition at line 2156 of file php/ext/google/protobuf/upb.c.

◆ set_delim_end()

static void set_delim_end ( upb_pbdecoder d)
static

Definition at line 6877 of file php/ext/google/protobuf/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 12843 of file php/ext/google/protobuf/upb.c.

◆ set_name_table()

static void set_name_table ( upb_json_parser p,
upb_jsonparser_frame frame 
)
static

Definition at line 9185 of file php/ext/google/protobuf/upb.c.

◆ seterr()

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

Definition at line 6825 of file php/ext/google/protobuf/upb.c.

◆ setofs()

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

Definition at line 5947 of file php/ext/google/protobuf/upb.c.

◆ shortdefname()

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

Definition at line 1271 of file php/ext/google/protobuf/upb.c.

◆ shortname()

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

Definition at line 8395 of file php/ext/google/protobuf/upb.c.

◆ skip()

static int32_t skip ( upb_pbdecoder d,
size_t  bytes 
)
static

Definition at line 6915 of file php/ext/google/protobuf/upb.c.

◆ stacksize()

static size_t stacksize ( upb_pbdecoder d,
size_t  entries 
)
static

Definition at line 6794 of file php/ext/google/protobuf/upb.c.

◆ start_any_member()

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

Definition at line 10817 of file php/ext/google/protobuf/upb.c.

◆ start_any_object()

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

Definition at line 11045 of file php/ext/google/protobuf/upb.c.

◆ start_any_stringval()

static bool start_any_stringval ( upb_json_parser p)
static

Definition at line 9960 of file php/ext/google/protobuf/upb.c.

◆ start_array()

static bool start_array ( upb_json_parser p)
static

Definition at line 10948 of file php/ext/google/protobuf/upb.c.

◆ start_day()

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

Definition at line 10350 of file php/ext/google/protobuf/upb.c.

◆ start_delim()

static bool start_delim ( upb_pb_encoder e)
static

Definition at line 8015 of file php/ext/google/protobuf/upb.c.

◆ start_duration_base()

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

Definition at line 10215 of file php/ext/google/protobuf/upb.c.

◆ start_fieldmask_object()

static void start_fieldmask_object ( upb_json_parser p)
static

Definition at line 11175 of file php/ext/google/protobuf/upb.c.

◆ start_fieldmask_path()

static bool start_fieldmask_path ( upb_json_parser p)
static

Definition at line 10567 of file php/ext/google/protobuf/upb.c.

◆ start_fieldmask_path_text()

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

Definition at line 10559 of file php/ext/google/protobuf/upb.c.

◆ start_frame()

static void start_frame ( upb_json_printer p)
static

Definition at line 12600 of file php/ext/google/protobuf/upb.c.

◆ start_hex()

static void start_hex ( upb_json_parser p)
static

Definition at line 9595 of file php/ext/google/protobuf/upb.c.

◆ start_hour()

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

Definition at line 10362 of file php/ext/google/protobuf/upb.c.

◆ start_jsonparser_frame()

static upb_jsonparser_frame* start_jsonparser_frame ( upb_json_parser p)
static

Definition at line 9056 of file php/ext/google/protobuf/upb.c.

◆ start_listvalue_object()

static void start_listvalue_object ( upb_json_parser p)
static

Definition at line 11256 of file php/ext/google/protobuf/upb.c.

◆ start_member()

static void start_member ( upb_json_parser p)
static

Definition at line 10620 of file php/ext/google/protobuf/upb.c.

◆ start_minute()

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

Definition at line 10374 of file php/ext/google/protobuf/upb.c.

◆ start_month()

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

Definition at line 10338 of file php/ext/google/protobuf/upb.c.

◆ start_number()

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

Definition at line 9650 of file php/ext/google/protobuf/upb.c.

◆ start_object()

static void start_object ( upb_json_parser p)
static

Definition at line 11033 of file php/ext/google/protobuf/upb.c.

◆ start_second()

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

Definition at line 10386 of file php/ext/google/protobuf/upb.c.

◆ start_stringval()

static bool start_stringval ( upb_json_parser p)
static

Definition at line 9965 of file php/ext/google/protobuf/upb.c.

◆ start_structvalue_object()

static void start_structvalue_object ( upb_json_parser p)
static

Definition at line 11273 of file php/ext/google/protobuf/upb.c.

◆ start_subobject()

static bool start_subobject ( upb_json_parser p)
static

Definition at line 10827 of file php/ext/google/protobuf/upb.c.

◆ start_subobject_full()

static bool start_subobject_full ( upb_json_parser p)
static

Definition at line 10885 of file php/ext/google/protobuf/upb.c.

◆ start_text()

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

Definition at line 9642 of file php/ext/google/protobuf/upb.c.

◆ start_timestamp_base()

static void start_timestamp_base ( upb_json_parser p)
static

Definition at line 10398 of file php/ext/google/protobuf/upb.c.

◆ start_timestamp_fraction()

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

Definition at line 10402 of file php/ext/google/protobuf/upb.c.

◆ start_timestamp_zone()

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

Definition at line 10459 of file php/ext/google/protobuf/upb.c.

◆ start_value_object()

static void start_value_object ( upb_json_parser p,
int  value_type 
)
static

Definition at line 11212 of file php/ext/google/protobuf/upb.c.

◆ start_wrapper_object()

static void start_wrapper_object ( upb_json_parser p)
static

Definition at line 11195 of file php/ext/google/protobuf/upb.c.

◆ start_year()

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

Definition at line 10326 of file php/ext/google/protobuf/upb.c.

◆ startmap()

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

Definition at line 12649 of file php/ext/google/protobuf/upb.c.

◆ startmap_nokey()

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

Definition at line 13047 of file php/ext/google/protobuf/upb.c.

◆ startmsg()

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

Definition at line 8151 of file php/ext/google/protobuf/upb.c.

◆ startseq()

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

Definition at line 12632 of file php/ext/google/protobuf/upb.c.

◆ startseq_fieldmask()

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

Definition at line 12998 of file php/ext/google/protobuf/upb.c.

◆ startseq_nokey()

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

Definition at line 12989 of file php/ext/google/protobuf/upb.c.

◆ str_tabent()

static const upb_tabent* str_tabent ( const upb_strtable_iter i)
static

Definition at line 5005 of file php/ext/google/protobuf/upb.c.

◆ strcopy()

static upb_tabkey strcopy ( lookupkey_t  k2,
upb_alloc a 
)
static

Definition at line 4907 of file php/ext/google/protobuf/upb.c.

◆ streql()

static bool streql ( upb_tabkey  k1,
lookupkey_t  k2 
)
static

Definition at line 4922 of file php/ext/google/protobuf/upb.c.

◆ streql2()

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

Definition at line 1954 of file php/ext/google/protobuf/upb.c.

◆ streql_view()

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

Definition at line 1958 of file php/ext/google/protobuf/upb.c.

◆ strhash()

static uint32_t strhash ( upb_tabkey  key)
static

Definition at line 4916 of file php/ext/google/protobuf/upb.c.

◆ stringsink_start()

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

Definition at line 8887 of file php/ext/google/protobuf/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 8895 of file php/ext/google/protobuf/upb.c.

◆ strkey2()

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

Definition at line 4705 of file php/ext/google/protobuf/upb.c.

◆ strviewdup()

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

Definition at line 1950 of file php/ext/google/protobuf/upb.c.

◆ suspend_save()

static size_t suspend_save ( upb_pbdecoder d)
static

Definition at line 7026 of file php/ext/google/protobuf/upb.c.

◆ switchtobuf()

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

Definition at line 6888 of file php/ext/google/protobuf/upb.c.

◆ symtab_add()

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

Definition at line 1979 of file php/ext/google/protobuf/upb.c.

◆ symtab_resolve()

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

Definition at line 2026 of file php/ext/google/protobuf/upb.c.

◆ T()

T ( double  ,
double  ,
dbl2uint64  ,
encode_fixed64   
)

Definition at line 8215 of file php/ext/google/protobuf/upb.c.

◆ textprinter_endmsg()

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

Definition at line 8500 of file php/ext/google/protobuf/upb.c.

◆ textprinter_endstr()

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

Definition at line 8575 of file php/ext/google/protobuf/upb.c.

◆ textprinter_endsubmsg()

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

Definition at line 8605 of file php/ext/google/protobuf/upb.c.

◆ textprinter_putbool()

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

Definition at line 8523 of file php/ext/google/protobuf/upb.c.

◆ textprinter_putenum()

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

Definition at line 8548 of file php/ext/google/protobuf/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 8583 of file php/ext/google/protobuf/upb.c.

◆ textprinter_reset()

static void textprinter_reset ( upb_textprinter p,
bool  single_line 
)
static

Definition at line 8676 of file php/ext/google/protobuf/upb.c.

◆ textprinter_startmsg()

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

Definition at line 8491 of file php/ext/google/protobuf/upb.c.

◆ textprinter_startstr()

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

Definition at line 8565 of file php/ext/google/protobuf/upb.c.

◆ textprinter_startsubmsg()

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

Definition at line 8594 of file php/ext/google/protobuf/upb.c.

◆ top()

static upb_pb_encoder_segment* top ( upb_pb_encoder e)
static

Definition at line 7933 of file php/ext/google/protobuf/upb.c.

◆ trygetsel()

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

Definition at line 3296 of file php/ext/google/protobuf/upb.c.

◆ uninit()

static void uninit ( upb_table t,
upb_alloc a 
)
static

Definition at line 4758 of file php/ext/google/protobuf/upb.c.

◆ unpack_def()

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

Definition at line 1216 of file php/ext/google/protobuf/upb.c.

◆ upb_append_unknown()

static bool upb_append_unknown ( upb_decstate d,
upb_decframe frame,
const char *  start 
)
static

Definition at line 632 of file php/ext/google/protobuf/upb.c.

◆ upb_arena_addblock()

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

Definition at line 5657 of file php/ext/google/protobuf/upb.c.

◆ upb_arena_addcleanup()

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

Definition at line 5785 of file php/ext/google/protobuf/upb.c.

◆ upb_arena_allocblock()

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

Definition at line 5671 of file php/ext/google/protobuf/upb.c.

◆ upb_arena_bytesallocated()

size_t upb_arena_bytesallocated ( const upb_arena a)

Definition at line 5799 of file php/ext/google/protobuf/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 5685 of file php/ext/google/protobuf/upb.c.

◆ upb_arena_free()

void upb_arena_free ( upb_arena a)

Definition at line 5762 of file php/ext/google/protobuf/upb.c.

◆ upb_arena_init()

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

Definition at line 5725 of file php/ext/google/protobuf/upb.c.

◆ upb_array_add()

static void* upb_array_add ( upb_array arr,
size_t  elements 
)
static

Definition at line 696 of file php/ext/google/protobuf/upb.c.

◆ upb_array_get()

upb_msgval upb_array_get ( const upb_array arr,
size_t  i 
)

Definition at line 4121 of file php/ext/google/protobuf/upb.c.

◆ upb_array_grow()

static bool upb_array_grow ( upb_array arr,
size_t  elements 
)
static

Definition at line 667 of file php/ext/google/protobuf/upb.c.

◆ upb_array_new()

upb_array* upb_array_new ( upb_fieldtype_t  type,
upb_arena a 
)

upb_array

Definition at line 4095 of file php/ext/google/protobuf/upb.c.

◆ upb_array_reserve()

static void* upb_array_reserve ( upb_array arr,
size_t  elements 
)
static

Definition at line 689 of file php/ext/google/protobuf/upb.c.

◆ upb_array_set()

bool upb_array_set ( upb_array arr,
size_t  i,
upb_msgval  val 
)

Definition at line 4126 of file php/ext/google/protobuf/upb.c.

◆ upb_array_size()

size_t upb_array_size ( const upb_array arr)

Definition at line 4113 of file php/ext/google/protobuf/upb.c.

◆ upb_array_type()

upb_fieldtype_t upb_array_type ( const upb_array arr)

Definition at line 4117 of file php/ext/google/protobuf/upb.c.

◆ upb_bufsrc_putbuf()

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

Definition at line 4623 of file php/ext/google/protobuf/upb.c.

◆ upb_byteshandler_setendstr()

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

Definition at line 3741 of file php/ext/google/protobuf/upb.c.

◆ upb_byteshandler_setstartstr()

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

Definition at line 3727 of file php/ext/google/protobuf/upb.c.

◆ upb_byteshandler_setstring()

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

Definition at line 3734 of file php/ext/google/protobuf/upb.c.

◆ upb_calloc()

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

Definition at line 3277 of file php/ext/google/protobuf/upb.c.

◆ upb_check_alloc()

static void upb_check_alloc ( upb_table t,
upb_alloc a 
)
static

Definition at line 4652 of file php/ext/google/protobuf/upb.c.

◆ upb_decode()

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

Definition at line 1088 of file php/ext/google/protobuf/upb.c.

◆ upb_decode_32bit()

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

Definition at line 590 of file php/ext/google/protobuf/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 854 of file php/ext/google/protobuf/upb.c.

◆ upb_decode_64bit()

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

Definition at line 582 of file php/ext/google/protobuf/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 830 of file php/ext/google/protobuf/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 971 of file php/ext/google/protobuf/upb.c.

◆ upb_decode_field()

static bool upb_decode_field ( upb_decstate d,
upb_decframe frame 
)
static

Definition at line 1016 of file php/ext/google/protobuf/upb.c.

◆ upb_decode_fixedpacked()

static bool upb_decode_fixedpacked ( upb_array arr,
upb_strview  data,
int  elem_size 
)
static

Definition at line 878 of file php/ext/google/protobuf/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 1072 of file php/ext/google/protobuf/upb.c.

◆ upb_decode_prepareslot()

static char* upb_decode_prepareslot ( upb_decframe frame,
const upb_msglayout_field field 
)
static

Definition at line 737 of file php/ext/google/protobuf/upb.c.

◆ upb_decode_setpresent()

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

Definition at line 750 of file php/ext/google/protobuf/upb.c.

◆ upb_decode_string()

static bool upb_decode_string ( const char **  ptr,
const char *  limit,
upb_strview val 
)
static

Definition at line 615 of file php/ext/google/protobuf/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 763 of file php/ext/google/protobuf/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 598 of file php/ext/google/protobuf/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 890 of file php/ext/google/protobuf/upb.c.

◆ upb_decode_varint()

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

Definition at line 555 of file php/ext/google/protobuf/upb.c.

◆ upb_decode_varint32()

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

Definition at line 574 of file php/ext/google/protobuf/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 785 of file php/ext/google/protobuf/upb.c.

◆ upb_encode()

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

Definition at line 3234 of file php/ext/google/protobuf/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 3017 of file php/ext/google/protobuf/upb.c.

◆ upb_encode_growbuffer()

static bool upb_encode_growbuffer ( upb_encstate e,
size_t  bytes 
)
static

Definition at line 2924 of file php/ext/google/protobuf/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 3192 of file php/ext/google/protobuf/upb.c.

◆ upb_encode_reserve()

static bool upb_encode_reserve ( upb_encstate e,
size_t  bytes 
)
static

Definition at line 2941 of file php/ext/google/protobuf/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 3117 of file php/ext/google/protobuf/upb.c.

◆ upb_encode_varint()

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

Definition at line 2895 of file php/ext/google/protobuf/upb.c.

◆ upb_enum_begin()

void upb_enum_begin ( upb_enum_iter i,
const upb_enumdef e 
)

Definition at line 1466 of file php/ext/google/protobuf/upb.c.

◆ upb_enum_done()

bool upb_enum_done ( upb_enum_iter iter)

Definition at line 1472 of file php/ext/google/protobuf/upb.c.

◆ upb_enum_iter_name()

const char* upb_enum_iter_name ( upb_enum_iter iter)

Definition at line 1490 of file php/ext/google/protobuf/upb.c.

◆ upb_enum_iter_number()

int32_t upb_enum_iter_number ( upb_enum_iter iter)

Definition at line 1494 of file php/ext/google/protobuf/upb.c.

◆ upb_enum_next()

void upb_enum_next ( upb_enum_iter iter)

Definition at line 1471 of file php/ext/google/protobuf/upb.c.

◆ upb_enumdef_default()

int32_t upb_enumdef_default ( const upb_enumdef e)

Definition at line 1457 of file php/ext/google/protobuf/upb.c.

◆ upb_enumdef_file()

const upb_filedef* upb_enumdef_file ( const upb_enumdef e)

Definition at line 1453 of file php/ext/google/protobuf/upb.c.

◆ upb_enumdef_fullname()

const char* upb_enumdef_fullname ( const upb_enumdef e)

Definition at line 1445 of file php/ext/google/protobuf/upb.c.

◆ upb_enumdef_iton()

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

Definition at line 1484 of file php/ext/google/protobuf/upb.c.

◆ upb_enumdef_name()

const char* upb_enumdef_name ( const upb_enumdef e)

Definition at line 1449 of file php/ext/google/protobuf/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 1474 of file php/ext/google/protobuf/upb.c.

◆ upb_enumdef_numvals()

int upb_enumdef_numvals ( const upb_enumdef e)

Definition at line 1462 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_checkdescriptortype()

bool upb_fielddef_checkdescriptortype ( int32_t  type)

Definition at line 1727 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_checkintfmt()

bool upb_fielddef_checkintfmt ( int32_t  fmt)

Definition at line 1725 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_checklabel()

bool upb_fielddef_checklabel ( int32_t  label)

Definition at line 1723 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_checktype()

bool upb_fielddef_checktype ( int32_t  type)

Definition at line 1724 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_containingoneof()

const upb_oneofdef* upb_fielddef_containingoneof ( const upb_fielddef f)

Definition at line 1619 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_containingtype()

const upb_msgdef* upb_fielddef_containingtype ( const upb_fielddef f)

Definition at line 1615 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_defaultbool()

bool upb_fielddef_defaultbool ( const upb_fielddef f)

Definition at line 1648 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_defaultdouble()

double upb_fielddef_defaultdouble ( const upb_fielddef f)

Definition at line 1658 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_defaultfloat()

float upb_fielddef_defaultfloat ( const upb_fielddef f)

Definition at line 1653 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_defaultint32()

int32_t upb_fielddef_defaultint32 ( const upb_fielddef f)

Definition at line 1633 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_defaultint64()

int64_t upb_fielddef_defaultint64 ( const upb_fielddef f)

Definition at line 1628 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_defaultstr()

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

Definition at line 1663 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_defaultuint32()

uint32_t upb_fielddef_defaultuint32 ( const upb_fielddef f)

Definition at line 1643 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_defaultuint64()

uint64_t upb_fielddef_defaultuint64 ( const upb_fielddef f)

Definition at line 1638 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_descriptortype()

upb_descriptortype_t upb_fielddef_descriptortype ( const upb_fielddef f)

Definition at line 1540 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_enumsubdef()

const upb_enumdef* upb_fielddef_enumsubdef ( const upb_fielddef f)

Definition at line 1682 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_fullname()

const char* upb_fielddef_fullname ( const upb_fielddef f)

Definition at line 1501 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_getjsonname()

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

Definition at line 1576 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_haspresence()

bool upb_fielddef_haspresence ( const upb_fielddef f)

Definition at line 1713 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_hassubdef()

bool upb_fielddef_hassubdef ( const upb_fielddef f)

Definition at line 1709 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_index()

uint32_t upb_fielddef_index ( const upb_fielddef f)

Definition at line 1544 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_isextension()

bool upb_fielddef_isextension ( const upb_fielddef f)

Definition at line 1556 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_ismap()

bool upb_fielddef_ismap ( const upb_fielddef f)

Definition at line 1704 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_isprimitive()

bool upb_fielddef_isprimitive ( const upb_fielddef f)

Definition at line 1700 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_isseq()

bool upb_fielddef_isseq ( const upb_fielddef f)

Definition at line 1696 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_isstring()

bool upb_fielddef_isstring ( const upb_fielddef f)

Definition at line 1691 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_issubmsg()

bool upb_fielddef_issubmsg ( const upb_fielddef f)

Definition at line 1687 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_label()

upb_label_t upb_fielddef_label ( const upb_fielddef f)

Definition at line 1548 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_lazy()

bool upb_fielddef_lazy ( const upb_fielddef f)

Definition at line 1560 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_msgsubdef()

const upb_msgdef* upb_fielddef_msgsubdef ( const upb_fielddef f)

Definition at line 1677 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_name()

const char* upb_fielddef_name ( const upb_fielddef f)

Definition at line 1568 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_number()

uint32_t upb_fielddef_number ( const upb_fielddef f)

Definition at line 1552 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_packed()

bool upb_fielddef_packed ( const upb_fielddef f)

Definition at line 1564 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_selectorbase()

uint32_t upb_fielddef_selectorbase ( const upb_fielddef f)

Definition at line 1572 of file php/ext/google/protobuf/upb.c.

◆ upb_fielddef_type()

upb_fieldtype_t upb_fielddef_type ( const upb_fielddef f)

Definition at line 1505 of file php/ext/google/protobuf/upb.c.

◆ upb_fieldtotabtype()

static upb_ctype_t upb_fieldtotabtype ( upb_fieldtype_t  type)
static

Definition at line 3923 of file php/ext/google/protobuf/upb.c.

◆ upb_fieldtype_mapkeyok()

bool upb_fieldtype_mapkeyok ( upb_fieldtype_t  type)

Definition at line 3845 of file php/ext/google/protobuf/upb.c.

◆ upb_filedef_dep()

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

Definition at line 2728 of file php/ext/google/protobuf/upb.c.

◆ upb_filedef_depcount()

int upb_filedef_depcount ( const upb_filedef f)

Definition at line 2720 of file php/ext/google/protobuf/upb.c.

◆ upb_filedef_enum()

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

Definition at line 2736 of file php/ext/google/protobuf/upb.c.

◆ upb_filedef_enumcount()

int upb_filedef_enumcount ( const upb_filedef f)

Definition at line 2724 of file php/ext/google/protobuf/upb.c.

◆ upb_filedef_msg()

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

Definition at line 2732 of file php/ext/google/protobuf/upb.c.

◆ upb_filedef_msgcount()

int upb_filedef_msgcount ( const upb_filedef f)

Definition at line 2716 of file php/ext/google/protobuf/upb.c.

◆ upb_filedef_name()

const char* upb_filedef_name ( const upb_filedef f)

Definition at line 2696 of file php/ext/google/protobuf/upb.c.

◆ upb_filedef_package()

const char* upb_filedef_package ( const upb_filedef f)

Definition at line 2700 of file php/ext/google/protobuf/upb.c.

◆ upb_filedef_phpnamespace()

const char* upb_filedef_phpnamespace ( const upb_filedef f)

Definition at line 2708 of file php/ext/google/protobuf/upb.c.

◆ upb_filedef_phpprefix()

const char* upb_filedef_phpprefix ( const upb_filedef f)

Definition at line 2704 of file php/ext/google/protobuf/upb.c.

◆ upb_filedef_syntax()

upb_syntax_t upb_filedef_syntax ( const upb_filedef f)

Definition at line 2712 of file php/ext/google/protobuf/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 1003 of file php/ext/google/protobuf/upb.c.

◆ upb_getarr()

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

Definition at line 702 of file php/ext/google/protobuf/upb.c.

◆ upb_getorcreatearr()

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

Definition at line 708 of file php/ext/google/protobuf/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 5600 of file php/ext/google/protobuf/upb.c.

◆ upb_handlercache_addcleanup()

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

Definition at line 3720 of file php/ext/google/protobuf/upb.c.

◆ upb_handlercache_free()

void upb_handlercache_free ( upb_handlercache cache)

Definition at line 3714 of file php/ext/google/protobuf/upb.c.

◆ upb_handlercache_get()

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

Definition at line 3655 of file php/ext/google/protobuf/upb.c.

◆ upb_handlercache_new()

upb_handlercache* upb_handlercache_new ( upb_handlers_callback callback,
const void closure 
)

Definition at line 3694 of file php/ext/google/protobuf/upb.c.

◆ upb_handlers_addcleanup()

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

Definition at line 3545 of file php/ext/google/protobuf/upb.c.

◆ upb_handlers_getattr()

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

Definition at line 3529 of file php/ext/google/protobuf/upb.c.

◆ upb_handlers_gethandler()

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

Definition at line 3520 of file php/ext/google/protobuf/upb.c.

◆ upb_handlers_getprimitivehandlertype()

upb_handlertype_t upb_handlers_getprimitivehandlertype ( const upb_fielddef f)

Definition at line 3549 of file php/ext/google/protobuf/upb.c.

◆ upb_handlers_getselector()

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

Definition at line 3563 of file php/ext/google/protobuf/upb.c.

◆ upb_handlers_getsubhandlers()

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

Definition at line 3514 of file php/ext/google/protobuf/upb.c.

◆ upb_handlers_getsubhandlers_sel()

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

Definition at line 3537 of file php/ext/google/protobuf/upb.c.

◆ upb_handlers_msgdef()

const upb_msgdef* upb_handlers_msgdef ( const upb_handlers h)

Definition at line 3543 of file php/ext/google/protobuf/upb.c.

◆ upb_handlers_new()

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

Definition at line 3432 of file php/ext/google/protobuf/upb.c.

◆ upb_handlers_selectorbaseoffset()

uint32_t upb_handlers_selectorbaseoffset ( const upb_fielddef f)

Definition at line 3627 of file php/ext/google/protobuf/upb.c.

◆ upb_handlers_selectorcount()

uint32_t upb_handlers_selectorcount ( const upb_fielddef f)

Definition at line 3631 of file php/ext/google/protobuf/upb.c.

◆ upb_handlers_setendmsg()

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

Definition at line 3496 of file php/ext/google/protobuf/upb.c.

◆ upb_handlers_setstartmsg()

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

Definition at line 3490 of file php/ext/google/protobuf/upb.c.

◆ upb_handlers_setsubhandlers()

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

Definition at line 3502 of file php/ext/google/protobuf/upb.c.

◆ upb_handlers_setunknown()

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

Definition at line 3484 of file php/ext/google/protobuf/upb.c.

◆ upb_inttable_begin()

void upb_inttable_begin ( upb_inttable_iter i,
const upb_inttable t 
)

Definition at line 5309 of file php/ext/google/protobuf/upb.c.

◆ upb_inttable_compact2()

void upb_inttable_compact2 ( upb_inttable t,
upb_alloc a 
)

Definition at line 5238 of file php/ext/google/protobuf/upb.c.

◆ upb_inttable_count()

size_t upb_inttable_count ( const upb_inttable t)

Definition at line 5084 of file php/ext/google/protobuf/upb.c.

◆ upb_inttable_done()

bool upb_inttable_done ( const upb_inttable_iter i)

Definition at line 5331 of file php/ext/google/protobuf/upb.c.

◆ upb_inttable_init2()

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

Definition at line 5124 of file php/ext/google/protobuf/upb.c.

◆ upb_inttable_insert2()

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

Definition at line 5133 of file php/ext/google/protobuf/upb.c.

◆ upb_inttable_insertptr2()

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

Definition at line 5223 of file php/ext/google/protobuf/upb.c.

◆ upb_inttable_iter_isequal()

bool upb_inttable_iter_isequal ( const upb_inttable_iter i1,
const upb_inttable_iter i2 
)

Definition at line 5360 of file php/ext/google/protobuf/upb.c.

◆ upb_inttable_iter_key()

uintptr_t upb_inttable_iter_key ( const upb_inttable_iter i)

Definition at line 5342 of file php/ext/google/protobuf/upb.c.

◆ upb_inttable_iter_setdone()

void upb_inttable_iter_setdone ( upb_inttable_iter i)

Definition at line 5354 of file php/ext/google/protobuf/upb.c.

◆ upb_inttable_iter_value()

upb_value upb_inttable_iter_value ( const upb_inttable_iter i)

Definition at line 5347 of file php/ext/google/protobuf/upb.c.

◆ upb_inttable_lookup()

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

Definition at line 5176 of file php/ext/google/protobuf/upb.c.

◆ upb_inttable_lookupptr()

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

Definition at line 5229 of file php/ext/google/protobuf/upb.c.

◆ upb_inttable_next()

void upb_inttable_next ( upb_inttable_iter iter)

Definition at line 5316 of file php/ext/google/protobuf/upb.c.

◆ upb_inttable_pop()

upb_value upb_inttable_pop ( upb_inttable t)

Definition at line 5216 of file php/ext/google/protobuf/upb.c.

◆ upb_inttable_push2()

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

Definition at line 5211 of file php/ext/google/protobuf/upb.c.

◆ upb_inttable_remove()

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

Definition at line 5190 of file php/ext/google/protobuf/upb.c.

◆ upb_inttable_removeptr()

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

Definition at line 5234 of file php/ext/google/protobuf/upb.c.

◆ upb_inttable_replace()

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

Definition at line 5183 of file php/ext/google/protobuf/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 5104 of file php/ext/google/protobuf/upb.c.

◆ upb_inttable_uninit2()

void upb_inttable_uninit2 ( upb_inttable t,
upb_alloc a 
)

Definition at line 5128 of file php/ext/google/protobuf/upb.c.

◆ upb_isalphanum()

static bool upb_isalphanum ( char  c)
static

Definition at line 1235 of file php/ext/google/protobuf/upb.c.

◆ upb_isbetween()

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

Definition at line 1227 of file php/ext/google/protobuf/upb.c.

◆ upb_isident()

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

Definition at line 1239 of file php/ext/google/protobuf/upb.c.

◆ upb_isletter()

static bool upb_isletter ( char  c)
static

Definition at line 1231 of file php/ext/google/protobuf/upb.c.

◆ upb_json_codecache_free()

void upb_json_codecache_free ( upb_json_codecache c)

Definition at line 12187 of file php/ext/google/protobuf/upb.c.

◆ upb_json_codecache_get()

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

Definition at line 12192 of file php/ext/google/protobuf/upb.c.

◆ upb_json_codecache_new()

upb_json_codecache* upb_json_codecache_new ( )

Definition at line 12173 of file php/ext/google/protobuf/upb.c.

◆ upb_json_parser_create()

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

Definition at line 12122 of file php/ext/google/protobuf/upb.c.

◆ upb_json_parser_input()

upb_bytessink upb_json_parser_input ( upb_json_parser p)

Definition at line 12164 of file php/ext/google/protobuf/upb.c.

◆ upb_json_parsermethod_inputhandler()

const upb_byteshandler* upb_json_parsermethod_inputhandler ( const upb_json_parsermethod m)

Definition at line 12168 of file php/ext/google/protobuf/upb.c.

◆ upb_json_printer_create()

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

Definition at line 13596 of file php/ext/google/protobuf/upb.c.

◆ upb_json_printer_input()

upb_sink upb_json_printer_input ( upb_json_printer p)

Definition at line 13617 of file php/ext/google/protobuf/upb.c.

◆ upb_json_printer_newcache()

upb_handlercache* upb_json_printer_newcache ( bool  preserve_proto_fieldnames)

Definition at line 13621 of file php/ext/google/protobuf/upb.c.

◆ upb_map_del()

bool upb_map_del ( upb_map map,
upb_msgval  key 
)

Definition at line 4284 of file php/ext/google/protobuf/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 4195 of file php/ext/google/protobuf/upb.c.

◆ upb_map_get()

bool upb_map_get ( const upb_map map,
upb_msgval  key,
upb_msgval val 
)

Definition at line 4250 of file php/ext/google/protobuf/upb.c.

◆ upb_map_keytype()

upb_fieldtype_t upb_map_keytype ( const upb_map map)

Definition at line 4242 of file php/ext/google/protobuf/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 4216 of file php/ext/google/protobuf/upb.c.

◆ upb_map_set()

bool upb_map_set ( upb_map map,
upb_msgval  key,
upb_msgval  val,
upb_msgval removed 
)

Definition at line 4265 of file php/ext/google/protobuf/upb.c.

◆ upb_map_size()

size_t upb_map_size ( const upb_map map)

Definition at line 4238 of file php/ext/google/protobuf/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 4168 of file php/ext/google/protobuf/upb.c.

◆ upb_map_valuetype()

upb_fieldtype_t upb_map_valuetype ( const upb_map map)

Definition at line 4246 of file php/ext/google/protobuf/upb.c.

◆ upb_mapiter_begin()

void upb_mapiter_begin ( upb_mapiter i,
const upb_map map 
)

Definition at line 4305 of file php/ext/google/protobuf/upb.c.

◆ upb_mapiter_done()

bool upb_mapiter_done ( const upb_mapiter i)

Definition at line 4329 of file php/ext/google/protobuf/upb.c.

◆ upb_mapiter_free()

void upb_mapiter_free ( upb_mapiter i,
upb_alloc a 
)

Definition at line 4321 of file php/ext/google/protobuf/upb.c.

◆ upb_mapiter_isequal()

bool upb_mapiter_isequal ( const upb_mapiter i1,
const upb_mapiter i2 
)

Definition at line 4346 of file php/ext/google/protobuf/upb.c.

◆ upb_mapiter_key()

upb_msgval upb_mapiter_key ( const upb_mapiter i)

Definition at line 4333 of file php/ext/google/protobuf/upb.c.

◆ upb_mapiter_new()

upb_mapiter* upb_mapiter_new ( const upb_map t,
upb_alloc a 
)

Definition at line 4310 of file php/ext/google/protobuf/upb.c.

◆ upb_mapiter_next()

void upb_mapiter_next ( upb_mapiter i)

Definition at line 4325 of file php/ext/google/protobuf/upb.c.

◆ upb_mapiter_setdone()

void upb_mapiter_setdone ( upb_mapiter i)

Definition at line 4342 of file php/ext/google/protobuf/upb.c.

◆ upb_mapiter_sizeof()

size_t upb_mapiter_sizeof ( )

upb_mapiter

Definition at line 4301 of file php/ext/google/protobuf/upb.c.

◆ upb_mapiter_value()

upb_msgval upb_mapiter_value ( const upb_mapiter i)

Definition at line 4338 of file php/ext/google/protobuf/upb.c.

◆ upb_mktime()

static int64_t upb_mktime ( const struct tm *  tp)
static

Definition at line 10490 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_addunknown()

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

Definition at line 3986 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_arena()

upb_arena* upb_msg_arena ( const upb_msg msg)

Definition at line 4055 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_checkfield()

static const upb_msglayout_field* upb_msg_checkfield ( int  field_index,
const upb_msglayout l 
)
static

Definition at line 4005 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_field_begin()

void upb_msg_field_begin ( upb_msg_field_iter iter,
const upb_msgdef m 
)

Definition at line 1823 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_field_done()

bool upb_msg_field_done ( const upb_msg_field_iter iter)

Definition at line 1829 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_field_iter_isequal()

bool upb_msg_field_iter_isequal ( const upb_msg_field_iter iter1,
const upb_msg_field_iter iter2 
)

Definition at line 1841 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_field_iter_setdone()

void upb_msg_field_iter_setdone ( upb_msg_field_iter iter)

Definition at line 1837 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_field_next()

void upb_msg_field_next ( upb_msg_field_iter iter)

Definition at line 1827 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_fielddefsize()

static uint8_t upb_msg_fielddefsize ( const upb_fielddef f)
static

Definition at line 4387 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_fieldsize()

static uint8_t upb_msg_fieldsize ( const upb_msglayout_field field)
static

Definition at line 3897 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_get()

upb_msgval upb_msg_get ( const upb_msg msg,
int  field_index,
const upb_msglayout l 
)

Definition at line 4076 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_getinternal()

static upb_msg_internal* upb_msg_getinternal ( upb_msg msg)
static

Definition at line 3972 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_getinternal_const()

static const upb_msg_internal* upb_msg_getinternal_const ( const upb_msg msg)
static

Definition at line 3976 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_getinternalwithext()

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

Definition at line 3980 of file php/ext/google/protobuf/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 3810 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_getunknown()

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

Definition at line 3999 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_has()

bool upb_msg_has ( const upb_msg msg,
int  field_index,
const upb_msglayout l 
)

Definition at line 4059 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_inoneof()

static bool upb_msg_inoneof ( const upb_msglayout_field field)
static

Definition at line 4011 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_internalsize()

static int upb_msg_internalsize ( const upb_msglayout l)
static

Definition at line 3968 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_iter_field()

upb_fielddef* upb_msg_iter_field ( const upb_msg_field_iter iter)

Definition at line 1833 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_iter_oneof()

const upb_oneofdef* upb_msg_iter_oneof ( const upb_msg_oneof_iter iter)

Definition at line 1867 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_new()

upb_msg* upb_msg_new ( const upb_msglayout l,
upb_arena a 
)

upb_msg

Definition at line 4026 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_oneof_begin()

void upb_msg_oneof_begin ( upb_msg_oneof_iter iter,
const upb_msgdef m 
)

Definition at line 1846 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_oneof_done()

bool upb_msg_oneof_done ( const upb_msg_oneof_iter iter)

Definition at line 1863 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_oneof_iter_isequal()

bool upb_msg_oneof_iter_isequal ( const upb_msg_oneof_iter iter1,
const upb_msg_oneof_iter iter2 
)

Definition at line 1875 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_oneof_iter_setdone()

void upb_msg_oneof_iter_setdone ( upb_msg_oneof_iter iter)

Definition at line 1871 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_oneof_next()

void upb_msg_oneof_next ( upb_msg_oneof_iter iter)

Definition at line 1855 of file php/ext/google/protobuf/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 4015 of file php/ext/google/protobuf/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 4083 of file php/ext/google/protobuf/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 3774 of file php/ext/google/protobuf/upb.c.

◆ upb_msg_sizeof()

static size_t upb_msg_sizeof ( const upb_msglayout l)
static

Definition at line 4022 of file php/ext/google/protobuf/upb.c.

◆ upb_msgdef_file()

const upb_filedef* upb_msgdef_file ( const upb_msgdef m)

Definition at line 1737 of file php/ext/google/protobuf/upb.c.

◆ upb_msgdef_fullname()

const char* upb_msgdef_fullname ( const upb_msgdef m)

Definition at line 1733 of file php/ext/google/protobuf/upb.c.

◆ upb_msgdef_isnumberwrapper()

bool upb_msgdef_isnumberwrapper ( const upb_msgdef m)

Definition at line 1817 of file php/ext/google/protobuf/upb.c.

◆ upb_msgdef_itof()

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

Definition at line 1757 of file php/ext/google/protobuf/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 1785 of file php/ext/google/protobuf/upb.c.

◆ upb_msgdef_mapentry()

bool upb_msgdef_mapentry ( const upb_msgdef m)

Definition at line 1809 of file php/ext/google/protobuf/upb.c.

◆ upb_msgdef_name()

const char* upb_msgdef_name ( const upb_msgdef m)

Definition at line 1741 of file php/ext/google/protobuf/upb.c.

◆ upb_msgdef_ntof()

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

Definition at line 1763 of file php/ext/google/protobuf/upb.c.

◆ upb_msgdef_ntoo()

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

Definition at line 1774 of file php/ext/google/protobuf/upb.c.

◆ upb_msgdef_numfields()

int upb_msgdef_numfields ( const upb_msgdef m)

Definition at line 1799 of file php/ext/google/protobuf/upb.c.

◆ upb_msgdef_numoneofs()

int upb_msgdef_numoneofs ( const upb_msgdef m)

Definition at line 1804 of file php/ext/google/protobuf/upb.c.

◆ upb_msgdef_selectorcount()

size_t upb_msgdef_selectorcount ( const upb_msgdef m)

Definition at line 1749 of file php/ext/google/protobuf/upb.c.

◆ upb_msgdef_submsgfieldcount()

uint32_t upb_msgdef_submsgfieldcount ( const upb_msgdef m)

Definition at line 1753 of file php/ext/google/protobuf/upb.c.

◆ upb_msgdef_syntax()

upb_syntax_t upb_msgdef_syntax ( const upb_msgdef m)

Definition at line 1745 of file php/ext/google/protobuf/upb.c.

◆ upb_msgdef_wellknowntype()

upb_wellknowntype_t upb_msgdef_wellknowntype ( const upb_msgdef m)

Definition at line 1813 of file php/ext/google/protobuf/upb.c.

◆ upb_msgfactory_free()

void upb_msgfactory_free ( upb_msgfactory f)

Definition at line 4557 of file php/ext/google/protobuf/upb.c.

◆ upb_msgfactory_getlayout()

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

Definition at line 4573 of file php/ext/google/protobuf/upb.c.

◆ upb_msgfactory_new()

upb_msgfactory* upb_msgfactory_new ( const upb_symtab symtab)

upb_msgfactory

Definition at line 4548 of file php/ext/google/protobuf/upb.c.

◆ upb_msgfactory_symtab()

const upb_symtab* upb_msgfactory_symtab ( const upb_msgfactory f)

Definition at line 4569 of file php/ext/google/protobuf/upb.c.

◆ upb_msglayout_free()

static void upb_msglayout_free ( upb_msglayout l)
static

upb_msglayout

Definition at line 4398 of file php/ext/google/protobuf/upb.c.

◆ upb_msglayout_init()

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

Definition at line 4411 of file php/ext/google/protobuf/upb.c.

◆ upb_msglayout_place()

static size_t upb_msglayout_place ( upb_msglayout l,
size_t  size 
)
static

Definition at line 4402 of file php/ext/google/protobuf/upb.c.

◆ upb_msgval_fromval()

static upb_msgval upb_msgval_fromval ( upb_value  val)
static

Definition at line 3916 of file php/ext/google/protobuf/upb.c.

◆ upb_msgval_read()

static upb_msgval upb_msgval_read ( const void p,
size_t  ofs,
uint8_t  size 
)
static

upb_msgval

Definition at line 3861 of file php/ext/google/protobuf/upb.c.

◆ upb_msgval_sizeof()

static size_t upb_msgval_sizeof ( upb_fieldtype_t  type)
static

Definition at line 3875 of file php/ext/google/protobuf/upb.c.

◆ upb_msgval_sizeof2()

static size_t upb_msgval_sizeof2 ( upb_fieldtype_t  type)
static

Definition at line 4365 of file php/ext/google/protobuf/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 3869 of file php/ext/google/protobuf/upb.c.

◆ upb_ok()

bool upb_ok ( const upb_status status)

Definition at line 5573 of file php/ext/google/protobuf/upb.c.

◆ upb_oneof_begin()

void upb_oneof_begin ( upb_oneof_iter iter,
const upb_oneofdef o 
)

Definition at line 1911 of file php/ext/google/protobuf/upb.c.

◆ upb_oneof_done()

bool upb_oneof_done ( upb_oneof_iter iter)

Definition at line 1919 of file php/ext/google/protobuf/upb.c.

◆ upb_oneof_iter_field()

upb_fielddef* upb_oneof_iter_field ( const upb_oneof_iter iter)

Definition at line 1923 of file php/ext/google/protobuf/upb.c.

◆ upb_oneof_iter_setdone()

void upb_oneof_iter_setdone ( upb_oneof_iter iter)

Definition at line 1927 of file php/ext/google/protobuf/upb.c.

◆ upb_oneof_next()

void upb_oneof_next ( upb_oneof_iter iter)

Definition at line 1915 of file php/ext/google/protobuf/upb.c.

◆ upb_oneofdef_containingtype()

const upb_msgdef* upb_oneofdef_containingtype ( const upb_oneofdef o)

Definition at line 1886 of file php/ext/google/protobuf/upb.c.

◆ upb_oneofdef_index()

uint32_t upb_oneofdef_index ( const upb_oneofdef o)

Definition at line 1894 of file php/ext/google/protobuf/upb.c.

◆ upb_oneofdef_itof()

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

Definition at line 1905 of file php/ext/google/protobuf/upb.c.

◆ upb_oneofdef_name()

const char* upb_oneofdef_name ( const upb_oneofdef o)

Definition at line 1882 of file php/ext/google/protobuf/upb.c.

◆ upb_oneofdef_ntof()

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

Definition at line 1898 of file php/ext/google/protobuf/upb.c.

◆ upb_oneofdef_numfields()

int upb_oneofdef_numfields ( const upb_oneofdef o)

Definition at line 1890 of file php/ext/google/protobuf/upb.c.

◆ upb_pb_encoder_create()

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

Definition at line 8329 of file php/ext/google/protobuf/upb.c.

◆ upb_pb_encoder_input()

upb_sink upb_pb_encoder_input ( upb_pb_encoder e)

Definition at line 8368 of file php/ext/google/protobuf/upb.c.

◆ upb_pb_encoder_newcache()

upb_handlercache* upb_pb_encoder_newcache ( )

Definition at line 8325 of file php/ext/google/protobuf/upb.c.

◆ upb_pb_encoder_reset()

void upb_pb_encoder_reset ( upb_pb_encoder e)

Definition at line 8316 of file php/ext/google/protobuf/upb.c.

◆ upb_pbcodecache_allowjit()

bool upb_pbcodecache_allowjit ( const upb_pbcodecache c)

Definition at line 6696 of file php/ext/google/protobuf/upb.c.

◆ upb_pbcodecache_free()

void upb_pbcodecache_free ( upb_pbcodecache c)

Definition at line 6681 of file php/ext/google/protobuf/upb.c.

◆ upb_pbcodecache_get()

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

Definition at line 6710 of file php/ext/google/protobuf/upb.c.

◆ upb_pbcodecache_new()

upb_pbcodecache* upb_pbcodecache_new ( upb_handlercache dest)

Definition at line 6666 of file php/ext/google/protobuf/upb.c.

◆ upb_pbcodecache_setallowjit()

void upb_pbcodecache_setallowjit ( upb_pbcodecache c,
bool  allow 
)

Definition at line 6700 of file php/ext/google/protobuf/upb.c.

◆ upb_pbdecoder_bytesparsed()

uint64_t upb_pbdecoder_bytesparsed ( const upb_pbdecoder d)

Definition at line 7754 of file php/ext/google/protobuf/upb.c.

◆ upb_pbdecoder_checktag_slow()

UPB_NOINLINE int32_t upb_pbdecoder_checktag_slow ( upb_pbdecoder d,
uint64_t  expected 
)

Definition at line 7249 of file php/ext/google/protobuf/upb.c.

◆ upb_pbdecoder_create()

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

Definition at line 7717 of file php/ext/google/protobuf/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 7695 of file php/ext/google/protobuf/upb.c.

◆ upb_pbdecoder_decode_f32()

int32_t upb_pbdecoder_decode_f32 ( upb_pbdecoder d,
uint32_t *  u32 
)

Definition at line 7204 of file php/ext/google/protobuf/upb.c.

◆ upb_pbdecoder_decode_f64()

int32_t upb_pbdecoder_decode_f64 ( upb_pbdecoder d,
uint64_t *  u64 
)

Definition at line 7208 of file php/ext/google/protobuf/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 7130 of file php/ext/google/protobuf/upb.c.

◆ upb_pbdecoder_end()

bool upb_pbdecoder_end ( void closure,
const void handler_data 
)

Definition at line 7638 of file php/ext/google/protobuf/upb.c.

◆ upb_pbdecoder_input()

upb_bytessink upb_pbdecoder_input ( upb_pbdecoder d)

Definition at line 7762 of file php/ext/google/protobuf/upb.c.

◆ upb_pbdecoder_maxnesting()

size_t upb_pbdecoder_maxnesting ( const upb_pbdecoder d)

Definition at line 7766 of file php/ext/google/protobuf/upb.c.

◆ upb_pbdecoder_method()

const upb_pbdecodermethod* upb_pbdecoder_method ( const upb_pbdecoder d)

Definition at line 7758 of file php/ext/google/protobuf/upb.c.

◆ upb_pbdecoder_reset()

void upb_pbdecoder_reset ( upb_pbdecoder d)

Definition at line 7708 of file php/ext/google/protobuf/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 6939 of file php/ext/google/protobuf/upb.c.

◆ upb_pbdecoder_seterr()

void upb_pbdecoder_seterr ( upb_pbdecoder d,
const char *  msg 
)

Definition at line 6829 of file php/ext/google/protobuf/upb.c.

◆ upb_pbdecoder_setmaxnesting()

bool upb_pbdecoder_setmaxnesting ( upb_pbdecoder d,
size_t  max 
)

Definition at line 7770 of file php/ext/google/protobuf/upb.c.

◆ upb_pbdecoder_skipunknown()

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

Definition at line 7266 of file php/ext/google/protobuf/upb.c.

◆ upb_pbdecoder_startbc()

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

Definition at line 7615 of file php/ext/google/protobuf/upb.c.

◆ upb_pbdecoder_startjit()

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

Definition at line 7627 of file php/ext/google/protobuf/upb.c.

◆ upb_pbdecoder_suspend()

size_t upb_pbdecoder_suspend ( upb_pbdecoder d)

Definition at line 7004 of file php/ext/google/protobuf/upb.c.

◆ upb_pbdecodermethod_desthandlers()

const upb_handlers* upb_pbdecodermethod_desthandlers ( const upb_pbdecodermethod m)

Definition at line 5839 of file php/ext/google/protobuf/upb.c.

◆ upb_pbdecodermethod_inputhandler()

const upb_byteshandler* upb_pbdecodermethod_inputhandler ( const upb_pbdecodermethod m)

Definition at line 5844 of file php/ext/google/protobuf/upb.c.

◆ upb_pbdecodermethod_isnative()

bool upb_pbdecodermethod_isnative ( const upb_pbdecodermethod m)

Definition at line 5849 of file php/ext/google/protobuf/upb.c.

◆ upb_pbdecodermethodopts_setlazy()

void upb_pbdecodermethodopts_setlazy ( upb_pbcodecache c,
bool  lazy 
)

Definition at line 6705 of file php/ext/google/protobuf/upb.c.

◆ upb_put_bytes()

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

Definition at line 2950 of file php/ext/google/protobuf/upb.c.

◆ upb_put_double()

static bool upb_put_double ( upb_encstate e,
double  d 
)
static

Definition at line 2977 of file php/ext/google/protobuf/upb.c.

◆ upb_put_fixed32()

static bool upb_put_fixed32 ( upb_encstate e,
uint32_t  val 
)
static

Definition at line 2961 of file php/ext/google/protobuf/upb.c.

◆ upb_put_fixed64()

static bool upb_put_fixed64 ( upb_encstate e,
uint64_t  val 
)
static

Definition at line 2956 of file php/ext/google/protobuf/upb.c.

◆ upb_put_fixedarray()

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

Definition at line 3008 of file php/ext/google/protobuf/upb.c.

◆ upb_put_float()

static bool upb_put_float ( upb_encstate e,
float  d 
)
static

Definition at line 2984 of file php/ext/google/protobuf/upb.c.

◆ upb_put_tag()

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

Definition at line 3004 of file php/ext/google/protobuf/upb.c.

◆ upb_put_varint()

static bool upb_put_varint ( upb_encstate e,
uint64_t  val 
)
static

Definition at line 2966 of file php/ext/google/protobuf/upb.c.

◆ upb_readcase()

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

Definition at line 2991 of file php/ext/google/protobuf/upb.c.

◆ upb_readhasbit()

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

Definition at line 2998 of file php/ext/google/protobuf/upb.c.

◆ upb_roundup_pow2()

static size_t upb_roundup_pow2 ( size_t  bytes)
static

Definition at line 2916 of file php/ext/google/protobuf/upb.c.

◆ upb_set32()

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

Definition at line 628 of file php/ext/google/protobuf/upb.c.

◆ upb_sethasbit()

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

Definition at line 724 of file php/ext/google/protobuf/upb.c.

◆ upb_setoneofcase()

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

Definition at line 731 of file php/ext/google/protobuf/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 638 of file php/ext/google/protobuf/upb.c.

◆ upb_skip_unknowngroup()

static bool upb_skip_unknowngroup ( upb_decstate d,
int  field_number,
const char *  limit 
)
static

Definition at line 1053 of file php/ext/google/protobuf/upb.c.

◆ upb_status_clear()

void upb_status_clear ( upb_status status)

Definition at line 5567 of file php/ext/google/protobuf/upb.c.

◆ upb_status_errmsg()

const char* upb_status_errmsg ( const upb_status status)

Definition at line 5575 of file php/ext/google/protobuf/upb.c.

◆ upb_status_seterrf()

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

Definition at line 5584 of file php/ext/google/protobuf/upb.c.

◆ upb_status_seterrmsg()

void upb_status_seterrmsg ( upb_status status,
const char *  msg 
)

Definition at line 5577 of file php/ext/google/protobuf/upb.c.

◆ upb_status_vseterrf()

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

Definition at line 5591 of file php/ext/google/protobuf/upb.c.

◆ upb_strdup()

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

Definition at line 4675 of file php/ext/google/protobuf/upb.c.

◆ upb_strdup2()

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

Definition at line 4679 of file php/ext/google/protobuf/upb.c.

◆ upb_stringsink_init()

void upb_stringsink_init ( upb_stringsink sink)

Definition at line 8918 of file php/ext/google/protobuf/upb.c.

◆ upb_stringsink_uninit()

void upb_stringsink_uninit ( upb_stringsink sink)

Definition at line 8930 of file php/ext/google/protobuf/upb.c.

◆ upb_strtable_begin()

void upb_strtable_begin ( upb_strtable_iter i,
const upb_strtable t 
)

Definition at line 5009 of file php/ext/google/protobuf/upb.c.

◆ upb_strtable_done()

bool upb_strtable_done ( const upb_strtable_iter i)

Definition at line 5018 of file php/ext/google/protobuf/upb.c.

◆ upb_strtable_init2()

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

Definition at line 4928 of file php/ext/google/protobuf/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 4961 of file php/ext/google/protobuf/upb.c.

◆ upb_strtable_iter_isequal()

bool upb_strtable_iter_isequal ( const upb_strtable_iter i1,
const upb_strtable_iter i2 
)

Definition at line 5046 of file php/ext/google/protobuf/upb.c.

◆ upb_strtable_iter_key()

const char* upb_strtable_iter_key ( const upb_strtable_iter i)

Definition at line 5024 of file php/ext/google/protobuf/upb.c.

◆ upb_strtable_iter_keylength()

size_t upb_strtable_iter_keylength ( const upb_strtable_iter i)

Definition at line 5029 of file php/ext/google/protobuf/upb.c.

◆ upb_strtable_iter_setdone()

void upb_strtable_iter_setdone ( upb_strtable_iter i)

Definition at line 5041 of file php/ext/google/protobuf/upb.c.

◆ upb_strtable_iter_value()

upb_value upb_strtable_iter_value ( const upb_strtable_iter i)

Definition at line 5036 of file php/ext/google/protobuf/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 4985 of file php/ext/google/protobuf/upb.c.

◆ upb_strtable_next()

void upb_strtable_next ( upb_strtable_iter i)

Definition at line 5014 of file php/ext/google/protobuf/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 4991 of file php/ext/google/protobuf/upb.c.

◆ upb_strtable_resize()

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

Definition at line 4939 of file php/ext/google/protobuf/upb.c.

◆ upb_strtable_uninit2()

void upb_strtable_uninit2 ( upb_strtable t,
upb_alloc a 
)

Definition at line 4932 of file php/ext/google/protobuf/upb.c.

◆ upb_symtab_addfile()

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

Definition at line 2790 of file php/ext/google/protobuf/upb.c.

◆ upb_symtab_addtotabs()

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

Definition at line 2674 of file php/ext/google/protobuf/upb.c.

◆ upb_symtab_free()

void upb_symtab_free ( upb_symtab s)

Definition at line 2740 of file php/ext/google/protobuf/upb.c.

◆ upb_symtab_lookupenum()

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

Definition at line 2778 of file php/ext/google/protobuf/upb.c.

◆ upb_symtab_lookupfile()

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

Definition at line 2784 of file php/ext/google/protobuf/upb.c.

◆ upb_symtab_lookupmsg()

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

Definition at line 2765 of file php/ext/google/protobuf/upb.c.

◆ upb_symtab_lookupmsg2()

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

Definition at line 2771 of file php/ext/google/protobuf/upb.c.

◆ upb_symtab_new()

upb_symtab* upb_symtab_new ( )

Definition at line 2745 of file php/ext/google/protobuf/upb.c.

◆ upb_textprinter_create()

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

Definition at line 8684 of file php/ext/google/protobuf/upb.c.

◆ upb_textprinter_input()

upb_sink upb_textprinter_input ( upb_textprinter p)

Definition at line 8700 of file php/ext/google/protobuf/upb.c.

◆ upb_textprinter_newcache()

upb_handlercache* upb_textprinter_newcache ( )

Definition at line 8696 of file php/ext/google/protobuf/upb.c.

◆ upb_textprinter_setsingleline()

void upb_textprinter_setsingleline ( upb_textprinter p,
bool  single_line 
)

Definition at line 8702 of file php/ext/google/protobuf/upb.c.

◆ upb_toval()

static upb_value upb_toval ( upb_msgval  val)
static

Definition at line 3909 of file php/ext/google/protobuf/upb.c.

◆ upb_vdecode_max8_branch32()

upb_decoderet upb_vdecode_max8_branch32 ( upb_decoderet  r)

Definition at line 8734 of file php/ext/google/protobuf/upb.c.

◆ upb_vdecode_max8_branch64()

upb_decoderet upb_vdecode_max8_branch64 ( upb_decoderet  r)

Definition at line 8758 of file php/ext/google/protobuf/upb.c.

◆ upb_zzdecode_32()

static int32_t upb_zzdecode_32 ( uint32_t  n)
static

Definition at line 607 of file php/ext/google/protobuf/upb.c.

◆ upb_zzdecode_64()

static int64_t upb_zzdecode_64 ( uint64_t  n)
static

Definition at line 611 of file php/ext/google/protobuf/upb.c.

◆ upb_zzencode_32()

static uint32_t upb_zzencode_32 ( int32_t  n)
static

Definition at line 2908 of file php/ext/google/protobuf/upb.c.

◆ upb_zzencode_64()

static uint64_t upb_zzencode_64 ( int64_t  n)
static

Definition at line 2909 of file php/ext/google/protobuf/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 10470 of file php/ext/google/protobuf/upb.c.

◆ _json_actions

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

Definition at line 11369 of file php/ext/google/protobuf/upb.c.

◆ _json_eof_actions

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

Definition at line 11594 of file php/ext/google/protobuf/upb.c.

◆ _json_index_offsets

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

Definition at line 11484 of file php/ext/google/protobuf/upb.c.

◆ _json_indicies

const unsigned char _json_indicies[]
static

Definition at line 11502 of file php/ext/google/protobuf/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 11390 of file php/ext/google/protobuf/upb.c.

◆ _json_range_lengths

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

Definition at line 11466 of file php/ext/google/protobuf/upb.c.

◆ _json_single_lengths

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

Definition at line 11448 of file php/ext/google/protobuf/upb.c.

◆ _json_trans_actions

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

Definition at line 11571 of file php/ext/google/protobuf/upb.c.

◆ _json_trans_keys

const char _json_trans_keys[]
static

Definition at line 11408 of file php/ext/google/protobuf/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 11548 of file php/ext/google/protobuf/upb.c.

◆ _upb_noclosure

char _upb_noclosure

Definition at line 3287 of file php/ext/google/protobuf/upb.c.

◆ b64table

const signed char b64table[]
static

Definition at line 9221 of file php/ext/google/protobuf/upb.c.

◆ dummy_char

const char dummy_char
static

Definition at line 6766 of file php/ext/google/protobuf/upb.c.

◆ eof_ch

const char eof_ch = 'e'
static

Definition at line 8876 of file php/ext/google/protobuf/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 90 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_DescriptorProto_ExtensionRange__fields

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

Definition at line 113 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_DescriptorProto_ExtensionRange_msginit

const upb_msglayout google_protobuf_DescriptorProto_ExtensionRange_msginit

◆ google_protobuf_DescriptorProto_ExtensionRange_submsgs

const upb_msglayout* const google_protobuf_DescriptorProto_ExtensionRange_submsgs[1]
static
Initial value:

Definition at line 109 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_DescriptorProto_msginit

const upb_msglayout google_protobuf_DescriptorProto_msginit
Initial value:

Definition at line 103 of file php/ext/google/protobuf/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 125 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_DescriptorProto_ReservedRange_msginit

const upb_msglayout google_protobuf_DescriptorProto_ReservedRange_msginit
Initial value:

Definition at line 130 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_DescriptorProto_submsgs

const upb_msglayout* const google_protobuf_DescriptorProto_submsgs[8]
static

◆ google_protobuf_EnumDescriptorProto__fields

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

Definition at line 194 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_EnumDescriptorProto_EnumReservedRange__fields

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

Definition at line 208 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit

const upb_msglayout google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit
Initial value:

Definition at line 213 of file php/ext/google/protobuf/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 359 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_EnumOptions_msginit

const upb_msglayout google_protobuf_EnumOptions_msginit
Initial value:

Definition at line 365 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_EnumOptions_submsgs

const upb_msglayout* const google_protobuf_EnumOptions_submsgs[1]
static
Initial value:

Definition at line 355 of file php/ext/google/protobuf/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 223 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_EnumValueDescriptorProto_msginit

const upb_msglayout google_protobuf_EnumValueDescriptorProto_msginit

◆ google_protobuf_EnumValueDescriptorProto_submsgs

const upb_msglayout* const google_protobuf_EnumValueDescriptorProto_submsgs[1]
static
Initial value:

Definition at line 219 of file php/ext/google/protobuf/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 375 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_EnumValueOptions_msginit

const upb_msglayout google_protobuf_EnumValueOptions_msginit
Initial value:

Definition at line 380 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_EnumValueOptions_submsgs

const upb_msglayout* const google_protobuf_EnumValueOptions_submsgs[1]
static
Initial value:

Definition at line 371 of file php/ext/google/protobuf/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 140 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_ExtensionRangeOptions_msginit

const upb_msglayout google_protobuf_ExtensionRangeOptions_msginit

◆ google_protobuf_ExtensionRangeOptions_submsgs

const upb_msglayout* const google_protobuf_ExtensionRangeOptions_submsgs[1]
static
Initial value:

Definition at line 136 of file php/ext/google/protobuf/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 154 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_FieldDescriptorProto_msginit

const upb_msglayout google_protobuf_FieldDescriptorProto_msginit

◆ google_protobuf_FieldDescriptorProto_submsgs

const upb_msglayout* const google_protobuf_FieldDescriptorProto_submsgs[1]
static
Initial value:

Definition at line 150 of file php/ext/google/protobuf/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 325 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_FieldOptions_msginit

const upb_msglayout google_protobuf_FieldOptions_msginit
Initial value:

Definition at line 335 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_FieldOptions_submsgs

const upb_msglayout* const google_protobuf_FieldOptions_submsgs[1]
static
Initial value:

Definition at line 321 of file php/ext/google/protobuf/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 59 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_FileDescriptorProto_msginit

const upb_msglayout google_protobuf_FileDescriptorProto_msginit
Initial value:

Definition at line 74 of file php/ext/google/protobuf/upb.c.

◆ 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 40 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_FileDescriptorSet_msginit

const upb_msglayout google_protobuf_FileDescriptorSet_msginit
Initial value:

Definition at line 44 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_FileDescriptorSet_submsgs

const upb_msglayout* const google_protobuf_FileDescriptorSet_submsgs[1]
static
Initial value:

Definition at line 36 of file php/ext/google/protobuf/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 275 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_FileOptions_msginit

const upb_msglayout google_protobuf_FileOptions_msginit
Initial value:

Definition at line 297 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_FileOptions_submsgs

const upb_msglayout* const google_protobuf_FileOptions_submsgs[1]
static
Initial value:

Definition at line 271 of file php/ext/google/protobuf/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 480 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_GeneratedCodeInfo_Annotation__fields

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

Definition at line 490 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_GeneratedCodeInfo_Annotation_msginit

const upb_msglayout google_protobuf_GeneratedCodeInfo_Annotation_msginit
Initial value:

Definition at line 497 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_GeneratedCodeInfo_msginit

const upb_msglayout google_protobuf_GeneratedCodeInfo_msginit

◆ google_protobuf_GeneratedCodeInfo_submsgs

const upb_msglayout* const google_protobuf_GeneratedCodeInfo_submsgs[1]
static

◆ google_protobuf_MessageOptions__fields

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

Definition at line 307 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_MessageOptions_msginit

const upb_msglayout google_protobuf_MessageOptions_msginit
Initial value:

Definition at line 315 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_MessageOptions_submsgs

const upb_msglayout* const google_protobuf_MessageOptions_submsgs[1]
static
Initial value:

Definition at line 303 of file php/ext/google/protobuf/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 256 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_MethodDescriptorProto_msginit

const upb_msglayout google_protobuf_MethodDescriptorProto_msginit

◆ google_protobuf_MethodDescriptorProto_submsgs

const upb_msglayout* const google_protobuf_MethodDescriptorProto_submsgs[1]
static
Initial value:

Definition at line 252 of file php/ext/google/protobuf/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 405 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_MethodOptions_msginit

const upb_msglayout google_protobuf_MethodOptions_msginit
Initial value:

Definition at line 411 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_MethodOptions_submsgs

const upb_msglayout* const google_protobuf_MethodOptions_submsgs[1]
static
Initial value:

Definition at line 401 of file php/ext/google/protobuf/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 177 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_OneofDescriptorProto_msginit

const upb_msglayout google_protobuf_OneofDescriptorProto_msginit

◆ google_protobuf_OneofDescriptorProto_submsgs

const upb_msglayout* const google_protobuf_OneofDescriptorProto_submsgs[1]
static
Initial value:

Definition at line 173 of file php/ext/google/protobuf/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 345 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_OneofOptions_msginit

const upb_msglayout google_protobuf_OneofOptions_msginit
Initial value:

Definition at line 349 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_OneofOptions_submsgs

const upb_msglayout* const google_protobuf_OneofOptions_submsgs[1]
static
Initial value:

Definition at line 341 of file php/ext/google/protobuf/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 240 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_ServiceDescriptorProto_msginit

const upb_msglayout google_protobuf_ServiceDescriptorProto_msginit

◆ google_protobuf_ServiceDescriptorProto_submsgs

const upb_msglayout* const google_protobuf_ServiceDescriptorProto_submsgs[2]
static

◆ google_protobuf_ServiceOptions__fields

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

Definition at line 390 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_ServiceOptions_msginit

const upb_msglayout google_protobuf_ServiceOptions_msginit
Initial value:

Definition at line 395 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_ServiceOptions_submsgs

const upb_msglayout* const google_protobuf_ServiceOptions_submsgs[1]
static
Initial value:

Definition at line 386 of file php/ext/google/protobuf/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 452 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_SourceCodeInfo_Location__fields

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

Definition at line 462 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_SourceCodeInfo_Location_msginit

const upb_msglayout google_protobuf_SourceCodeInfo_Location_msginit
Initial value:

Definition at line 470 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_SourceCodeInfo_msginit

const upb_msglayout google_protobuf_SourceCodeInfo_msginit
Initial value:

Definition at line 456 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_SourceCodeInfo_submsgs

const upb_msglayout* const google_protobuf_SourceCodeInfo_submsgs[1]
static
Initial value:

Definition at line 448 of file php/ext/google/protobuf/upb.c.

◆ 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 421 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_UninterpretedOption_msginit

const upb_msglayout google_protobuf_UninterpretedOption_msginit

◆ google_protobuf_UninterpretedOption_NamePart__fields

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

Definition at line 437 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_UninterpretedOption_NamePart_msginit

const upb_msglayout google_protobuf_UninterpretedOption_NamePart_msginit
Initial value:

Definition at line 442 of file php/ext/google/protobuf/upb.c.

◆ google_protobuf_UninterpretedOption_submsgs

const upb_msglayout* const google_protobuf_UninterpretedOption_submsgs[1]
static

◆ halt

opcode halt = OP_HALT
static

Definition at line 6761 of file php/ext/google/protobuf/upb.c.

◆ inf

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

Definition at line 12404 of file php/ext/google/protobuf/upb.c.

◆ json_en_duration_machine

const int json_en_duration_machine = 40
static

Definition at line 11616 of file php/ext/google/protobuf/upb.c.

◆ json_en_fieldmask_machine

const int json_en_fieldmask_machine = 75
static

Definition at line 11618 of file php/ext/google/protobuf/upb.c.

◆ json_en_main

const int json_en_main = 1
static

Definition at line 11620 of file php/ext/google/protobuf/upb.c.

◆ json_en_number_machine

const int json_en_number_machine = 23
static

Definition at line 11614 of file php/ext/google/protobuf/upb.c.

◆ json_en_string_machine

const int json_en_string_machine = 32
static

Definition at line 11615 of file php/ext/google/protobuf/upb.c.

◆ json_en_timestamp_machine

const int json_en_timestamp_machine = 47
static

Definition at line 11617 of file php/ext/google/protobuf/upb.c.

◆ json_en_value_machine

const int json_en_value_machine = 78
static

Definition at line 11619 of file php/ext/google/protobuf/upb.c.

◆ json_start

const int json_start = 1
static

Definition at line 11612 of file php/ext/google/protobuf/upb.c.

◆ kControlCharLimit

const char kControlCharLimit = 0x20
static

Definition at line 12330 of file php/ext/google/protobuf/upb.c.

◆ kPbDecoderStackOverflow

const char* kPbDecoderStackOverflow = "Nesting too deep."

Definition at line 6752 of file php/ext/google/protobuf/upb.c.

◆ kPbDecoderSubmessageTooLong

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

Definition at line 6753 of file php/ext/google/protobuf/upb.c.

◆ kUnterminatedVarint

const char* kUnterminatedVarint = "Unterminated varint."
static

Definition at line 6757 of file php/ext/google/protobuf/upb.c.

◆ MAX_LOAD

const double MAX_LOAD = 0.85
static

Definition at line 4658 of file php/ext/google/protobuf/upb.c.

◆ maxalign

const size_t maxalign = 16
static

Definition at line 5617 of file php/ext/google/protobuf/upb.c.

◆ MIN_DENSITY

const double MIN_DENSITY = 0.1
static

Definition at line 4663 of file php/ext/google/protobuf/upb.c.

◆ neginf

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

Definition at line 12403 of file php/ext/google/protobuf/upb.c.

◆ ptr_words

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

Definition at line 5909 of file php/ext/google/protobuf/upb.c.

◆ suspend_capture

char suspend_capture
static

Definition at line 9161 of file php/ext/google/protobuf/upb.c.

◆ upb_alloc_global

upb_alloc upb_alloc_global = {&upb_global_allocfunc}

Definition at line 5612 of file php/ext/google/protobuf/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_pb_native_wire_types

const uint8_t upb_pb_native_wire_types[]
putkey
static bool putkey(void *closure, const void *handler_data)
Definition: php/ext/google/protobuf/upb.c:12462
parser_getsel
static upb_selector_t parser_getsel(upb_json_parser *p)
Definition: php/ext/google/protobuf/upb.c:9171
upb_msg_set
void upb_msg_set(upb_msg *msg, int field_index, upb_msgval val, const upb_msglayout *l)
Definition: php/ext/google/protobuf/upb.c:4083
name
GLuint const GLchar * name
Definition: glcorearb.h:3055
google_protobuf_MethodOptions_msginit
const upb_msglayout google_protobuf_MethodOptions_msginit
Definition: php/ext/google/protobuf/upb.c:411
google_protobuf_UninterpretedOption_submsgs
static const upb_msglayout *const google_protobuf_UninterpretedOption_submsgs[1]
Definition: php/ext/google/protobuf/upb.c:417
upb_func
void upb_func()
Definition: php/ext/google/protobuf/upb.h:395
google_protobuf_FileDescriptorSet__fields
static const upb_msglayout_field google_protobuf_FileDescriptorSet__fields[1]
Definition: php/ext/google/protobuf/upb.c:40
google_protobuf_ExtensionRangeOptions__fields
static const upb_msglayout_field google_protobuf_ExtensionRangeOptions__fields[1]
Definition: php/ext/google/protobuf/upb.c:140
google_protobuf_EnumDescriptorProto_msginit
const upb_msglayout google_protobuf_EnumDescriptorProto_msginit
Definition: php/ext/google/protobuf/upb.c:202
google_protobuf_DescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_DescriptorProto_submsgs[8]
Definition: php/ext/google/protobuf/upb.c:80
NULL
NULL
Definition: test_security_zap.cpp:405
google_protobuf_OneofOptions_submsgs
static const upb_msglayout *const google_protobuf_OneofOptions_submsgs[1]
Definition: php/ext/google/protobuf/upb.c:341
google_protobuf_OneofDescriptorProto_msginit
const upb_msglayout google_protobuf_OneofDescriptorProto_msginit
Definition: php/ext/google/protobuf/upb.c:182
indent
static int indent(upb_textprinter *p)
Definition: php/ext/google/protobuf/upb.c:8400
length
GLenum GLuint GLenum GLsizei length
Definition: glcorearb.h:2695
google_protobuf_EnumDescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_EnumDescriptorProto_submsgs[3]
Definition: php/ext/google/protobuf/upb.c:188
google_protobuf_EnumValueOptions_submsgs
static const upb_msglayout *const google_protobuf_EnumValueOptions_submsgs[1]
Definition: php/ext/google/protobuf/upb.c:371
UPB_TYPE_INT32
@ UPB_TYPE_INT32
Definition: php/ext/google/protobuf/upb.h:415
google_protobuf_MethodDescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_MethodDescriptorProto_submsgs[1]
Definition: php/ext/google/protobuf/upb.c:252
google_protobuf_ServiceOptions_submsgs
static const upb_msglayout *const google_protobuf_ServiceOptions_submsgs[1]
Definition: php/ext/google/protobuf/upb.c:386
google_protobuf_FileDescriptorProto__fields
static const upb_msglayout_field google_protobuf_FileDescriptorProto__fields[12]
Definition: php/ext/google/protobuf/upb.c:59
google_protobuf_FieldOptions_msginit
const upb_msglayout google_protobuf_FieldOptions_msginit
Definition: php/ext/google/protobuf/upb.c:335
google_protobuf_MessageOptions_msginit
const upb_msglayout google_protobuf_MessageOptions_msginit
Definition: php/ext/google/protobuf/upb.c:315
google_protobuf_GeneratedCodeInfo_Annotation_msginit
const upb_msglayout google_protobuf_GeneratedCodeInfo_Annotation_msginit
Definition: php/ext/google/protobuf/upb.c:497
google_protobuf_SourceCodeInfo_msginit
const upb_msglayout google_protobuf_SourceCodeInfo_msginit
Definition: php/ext/google/protobuf/upb.c:456
google_protobuf_GeneratedCodeInfo_Annotation__fields
static const upb_msglayout_field google_protobuf_GeneratedCodeInfo_Annotation__fields[4]
Definition: php/ext/google/protobuf/upb.c:490
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_ServiceDescriptorProto_msginit
const upb_msglayout google_protobuf_ServiceDescriptorProto_msginit
Definition: php/ext/google/protobuf/upb.c:246
UPB_WIRE_TYPE_VARINT
@ UPB_WIRE_TYPE_VARINT
Definition: php/ext/google/protobuf/upb.h:399
google_protobuf_SourceCodeInfo__fields
static const upb_msglayout_field google_protobuf_SourceCodeInfo__fields[1]
Definition: php/ext/google/protobuf/upb.c:452
google_protobuf_FieldDescriptorProto__fields
static const upb_msglayout_field google_protobuf_FieldDescriptorProto__fields[10]
Definition: php/ext/google/protobuf/upb.c:154
google_protobuf_MethodDescriptorProto_msginit
const upb_msglayout google_protobuf_MethodDescriptorProto_msginit
Definition: php/ext/google/protobuf/upb.c:265
upb_handlers_msgdef
const upb_msgdef * upb_handlers_msgdef(const upb_handlers *h)
Definition: php/ext/google/protobuf/upb.c:3543
google_protobuf_FieldOptions__fields
static const upb_msglayout_field google_protobuf_FieldOptions__fields[7]
Definition: php/ext/google/protobuf/upb.c:325
google_protobuf_UninterpretedOption_NamePart__fields
static const upb_msglayout_field google_protobuf_UninterpretedOption_NamePart__fields[2]
Definition: php/ext/google/protobuf/upb.c:437
google_protobuf_FieldDescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_FieldDescriptorProto_submsgs[1]
Definition: php/ext/google/protobuf/upb.c:150
doset
static bool doset(upb_handlers *h, int32_t sel, const upb_fielddef *f, upb_handlertype_t type, upb_func *func, const upb_handlerattr *attr)
Definition: php/ext/google/protobuf/upb.c:3321
encode_tag
static bool encode_tag(upb_pb_encoder *e, const tag_t *tag)
Definition: php/ext/google/protobuf/upb.c:8110
upb_fielddef_isseq
bool upb_fielddef_isseq(const upb_fielddef *f)
Definition: php/ext/google/protobuf/upb.c:1696
UPB_TYPE_UINT32
@ UPB_TYPE_UINT32
Definition: php/ext/google/protobuf/upb.h:416
google_protobuf_EnumValueDescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_EnumValueDescriptorProto_submsgs[1]
Definition: php/ext/google/protobuf/upb.c:219
UPB_WIRE_TYPE_START_GROUP
@ UPB_WIRE_TYPE_START_GROUP
Definition: php/ext/google/protobuf/upb.h:402
google_protobuf_MethodDescriptorProto__fields
static const upb_msglayout_field google_protobuf_MethodDescriptorProto__fields[6]
Definition: php/ext/google/protobuf/upb.c:256
google_protobuf_ServiceOptions_msginit
const upb_msglayout google_protobuf_ServiceOptions_msginit
Definition: php/ext/google/protobuf/upb.c:395
offset
GLintptr offset
Definition: glcorearb.h:2944
upb_msg_handlerdata
Definition: php/ext/google/protobuf/upb.c:3750
start
GLuint start
Definition: glcorearb.h:2858
google_protobuf_GeneratedCodeInfo__fields
static const upb_msglayout_field google_protobuf_GeneratedCodeInfo__fields[1]
Definition: php/ext/google/protobuf/upb.c:480
google_protobuf_DescriptorProto_ReservedRange_msginit
const upb_msglayout google_protobuf_DescriptorProto_ReservedRange_msginit
Definition: php/ext/google/protobuf/upb.c:130
UPB_WIRE_TYPE_END_GROUP
@ UPB_WIRE_TYPE_END_GROUP
Definition: php/ext/google/protobuf/upb.h:403
testing::internal::fmt
GTEST_API_ const char * fmt
Definition: gtest.h:1835
p
const char * p
Definition: gmock-matchers_test.cc:3863
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
UPB_WIRE_TYPE_64BIT
@ UPB_WIRE_TYPE_64BIT
Definition: php/ext/google/protobuf/upb.h:400
google_protobuf_EnumDescriptorProto__fields
static const upb_msglayout_field google_protobuf_EnumDescriptorProto__fields[5]
Definition: php/ext/google/protobuf/upb.c:194
google_protobuf_EnumOptions_submsgs
static const upb_msglayout *const google_protobuf_EnumOptions_submsgs[1]
Definition: php/ext/google/protobuf/upb.c:355
upb_fielddef_name
const char * upb_fielddef_name(const upb_fielddef *f)
Definition: php/ext/google/protobuf/upb.c:1568
trygetsel
static int32_t trygetsel(upb_handlers *h, const upb_fielddef *f, upb_handlertype_t type)
Definition: php/ext/google/protobuf/upb.c:3296
UPB_WIRE_TYPE_DELIMITED
@ UPB_WIRE_TYPE_DELIMITED
Definition: php/ext/google/protobuf/upb.h:401
upb_fielddef
Definition: php/ext/google/protobuf/upb.c:1118
UPB_HANDLERATTR_INIT
#define UPB_HANDLERATTR_INIT
Definition: php/ext/google/protobuf/upb.h:4092
google_protobuf_DescriptorProto_ExtensionRange_submsgs
static const upb_msglayout *const google_protobuf_DescriptorProto_ExtensionRange_submsgs[1]
Definition: php/ext/google/protobuf/upb.c:109
byte
SETUP_TEARDOWN_TESTCONTEXT typedef uint8_t byte
Definition: test_stream.cpp:12
d
d
endfield
static int endfield(upb_textprinter *p)
Definition: php/ext/google/protobuf/upb.c:8408
google_protobuf_OneofDescriptorProto__fields
static const upb_msglayout_field google_protobuf_OneofDescriptorProto__fields[2]
Definition: php/ext/google/protobuf/upb.c:177
google_protobuf_OneofDescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_OneofDescriptorProto_submsgs[1]
Definition: php/ext/google/protobuf/upb.c:173
UPB_TYPE_MESSAGE
@ UPB_TYPE_MESSAGE
Definition: php/ext/google/protobuf/upb.h:421
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_EnumDescriptorProto_EnumReservedRange__fields
static const upb_msglayout_field google_protobuf_EnumDescriptorProto_EnumReservedRange__fields[2]
Definition: php/ext/google/protobuf/upb.c:208
google_protobuf_MessageOptions_submsgs
static const upb_msglayout *const google_protobuf_MessageOptions_submsgs[1]
Definition: php/ext/google/protobuf/upb.c:303
google_protobuf_FileOptions_submsgs
static const upb_msglayout *const google_protobuf_FileOptions_submsgs[1]
Definition: php/ext/google/protobuf/upb.c:271
printer_endmsg_noframe
static bool printer_endmsg_noframe(void *closure, const void *handler_data, upb_status *s)
Definition: php/ext/google/protobuf/upb.c:13218
google_protobuf_DescriptorProto_ExtensionRange__fields
static const upb_msglayout_field google_protobuf_DescriptorProto_ExtensionRange__fields[3]
Definition: php/ext/google/protobuf/upb.c:113
google_protobuf_EnumOptions__fields
static const upb_msglayout_field google_protobuf_EnumOptions__fields[3]
Definition: php/ext/google/protobuf/upb.c:359
google_protobuf_UninterpretedOption_NamePart_msginit
const upb_msglayout google_protobuf_UninterpretedOption_NamePart_msginit
Definition: php/ext/google/protobuf/upb.c:442
UPB_TYPE_UINT64
@ UPB_TYPE_UINT64
Definition: php/ext/google/protobuf/upb.h:425
UPB_WIRE_TYPE_32BIT
@ UPB_WIRE_TYPE_32BIT
Definition: php/ext/google/protobuf/upb.h:404
google_protobuf_ServiceDescriptorProto__fields
static const upb_msglayout_field google_protobuf_ServiceDescriptorProto__fields[3]
Definition: php/ext/google/protobuf/upb.c:240
google_protobuf_FileDescriptorSet_submsgs
static const upb_msglayout *const google_protobuf_FileDescriptorSet_submsgs[1]
Definition: php/ext/google/protobuf/upb.c:36
google_protobuf_MethodOptions__fields
static const upb_msglayout_field google_protobuf_MethodOptions__fields[3]
Definition: php/ext/google/protobuf/upb.c:405
google_protobuf_DescriptorProto_ReservedRange__fields
static const upb_msglayout_field google_protobuf_DescriptorProto_ReservedRange__fields[2]
Definition: php/ext/google/protobuf/upb.c:125
google_protobuf_MessageOptions__fields
static const upb_msglayout_field google_protobuf_MessageOptions__fields[5]
Definition: php/ext/google/protobuf/upb.c:307
type
GLenum type
Definition: glcorearb.h:2695
google_protobuf_DescriptorProto__fields
static const upb_msglayout_field google_protobuf_DescriptorProto__fields[10]
Definition: php/ext/google/protobuf/upb.c:90
len
int len
Definition: php/ext/google/protobuf/map.c:206
google_protobuf_EnumValueDescriptorProto_msginit
const upb_msglayout google_protobuf_EnumValueDescriptorProto_msginit
Definition: php/ext/google/protobuf/upb.c:229
google_protobuf_FileOptions__fields
static const upb_msglayout_field google_protobuf_FileOptions__fields[19]
Definition: php/ext/google/protobuf/upb.c:275
google_protobuf_SourceCodeInfo_submsgs
static const upb_msglayout *const google_protobuf_SourceCodeInfo_submsgs[1]
Definition: php/ext/google/protobuf/upb.c:448
commit
static bool commit(upb_pb_encoder *e)
Definition: php/ext/google/protobuf/upb.c:7976
google_protobuf_UninterpretedOption__fields
static const upb_msglayout_field google_protobuf_UninterpretedOption__fields[7]
Definition: php/ext/google/protobuf/upb.c:421
google_protobuf_FileOptions_msginit
const upb_msglayout google_protobuf_FileOptions_msginit
Definition: php/ext/google/protobuf/upb.c:297
google_protobuf_OneofOptions_msginit
const upb_msglayout google_protobuf_OneofOptions_msginit
Definition: php/ext/google/protobuf/upb.c:349
google_protobuf_UninterpretedOption_msginit
const upb_msglayout google_protobuf_UninterpretedOption_msginit
Definition: php/ext/google/protobuf/upb.c:431
google_protobuf_ExtensionRangeOptions_msginit
const upb_msglayout google_protobuf_ExtensionRangeOptions_msginit
Definition: php/ext/google/protobuf/upb.c:144
google_protobuf_ServiceDescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_ServiceDescriptorProto_submsgs[2]
Definition: php/ext/google/protobuf/upb.c:235
google_protobuf_FileDescriptorProto_msginit
const upb_msglayout google_protobuf_FileDescriptorProto_msginit
Definition: php/ext/google/protobuf/upb.c:74
func
GLenum func
Definition: glcorearb.h:3052
upb_msgdef_itof
const upb_fielddef * upb_msgdef_itof(const upb_msgdef *m, uint32_t i)
Definition: php/ext/google/protobuf/upb.c:1757
printer_startmsg_noframe
static bool printer_startmsg_noframe(void *closure, const void *handler_data)
Definition: php/ext/google/protobuf/upb.c:13209
m
const upb_json_parsermethod * m
Definition: ruby/ext/google/protobuf_c/upb.h:10501
google_protobuf_EnumValueOptions__fields
static const upb_msglayout_field google_protobuf_EnumValueOptions__fields[2]
Definition: php/ext/google/protobuf/upb.c:375
google_protobuf_MethodOptions_submsgs
static const upb_msglayout *const google_protobuf_MethodOptions_submsgs[1]
Definition: php/ext/google/protobuf/upb.c:401
UPB_TYPE_BYTES
@ UPB_TYPE_BYTES
Definition: php/ext/google/protobuf/upb.h:420
upb_put_varint
static bool upb_put_varint(upb_encstate *e, uint64_t val)
Definition: php/ext/google/protobuf/upb.c:2966
dst
GLenum GLenum dst
Definition: glcorearb.h:3364
google_protobuf_SourceCodeInfo_Location_msginit
const upb_msglayout google_protobuf_SourceCodeInfo_Location_msginit
Definition: php/ext/google/protobuf/upb.c:470
google_protobuf_DescriptorProto_ExtensionRange_msginit
const upb_msglayout google_protobuf_DescriptorProto_ExtensionRange_msginit
Definition: php/ext/google/protobuf/upb.c:119
google_protobuf_ExtensionRangeOptions_submsgs
static const upb_msglayout *const google_protobuf_ExtensionRangeOptions_submsgs[1]
Definition: php/ext/google/protobuf/upb.c:136
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_ServiceOptions__fields
static const upb_msglayout_field google_protobuf_ServiceOptions__fields[2]
Definition: php/ext/google/protobuf/upb.c:390
google_protobuf_SourceCodeInfo_Location__fields
static const upb_msglayout_field google_protobuf_SourceCodeInfo_Location__fields[5]
Definition: php/ext/google/protobuf/upb.c:462
val
GLuint GLfloat * val
Definition: glcorearb.h:3604
f
GLfloat f
Definition: glcorearb.h:3964
google_protobuf_DescriptorProto_msginit
const upb_msglayout google_protobuf_DescriptorProto_msginit
Definition: php/ext/google/protobuf/upb.c:103
google_protobuf_FieldOptions_submsgs
static const upb_msglayout *const google_protobuf_FieldOptions_submsgs[1]
Definition: php/ext/google/protobuf/upb.c:321
value
GLsizei const GLfloat * value
Definition: glcorearb.h:3093
VMCASE
#define VMCASE(op, code)
google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit
const upb_msglayout google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit
Definition: php/ext/google/protobuf/upb.c:213
UPB_SIZE
#define UPB_SIZE(size32, size64)
Definition: php/ext/google/protobuf/upb.c:4602
google_protobuf_FileDescriptorProto_submsgs
static const upb_msglayout *const google_protobuf_FileDescriptorProto_submsgs[6]
Definition: php/ext/google/protobuf/upb.c:50
google_protobuf_EnumOptions_msginit
const upb_msglayout google_protobuf_EnumOptions_msginit
Definition: php/ext/google/protobuf/upb.c:365
UPB_TYPE_BOOL
@ UPB_TYPE_BOOL
Definition: php/ext/google/protobuf/upb.h:412
upb_array_add
static void * upb_array_add(upb_array *arr, size_t elements)
Definition: php/ext/google/protobuf/upb.c:696
google_protobuf_EnumValueDescriptorProto__fields
static const upb_msglayout_field google_protobuf_EnumValueDescriptorProto__fields[3]
Definition: php/ext/google/protobuf/upb.c:223
upb_handlers
Definition: php/ext/google/protobuf/upb.c:3269
google_protobuf_EnumValueOptions_msginit
const upb_msglayout google_protobuf_EnumValueOptions_msginit
Definition: php/ext/google/protobuf/upb.c:380
google_protobuf_OneofOptions__fields
static const upb_msglayout_field google_protobuf_OneofOptions__fields[1]
Definition: php/ext/google/protobuf/upb.c:345
google_protobuf_GeneratedCodeInfo_submsgs
static const upb_msglayout *const google_protobuf_GeneratedCodeInfo_submsgs[1]
Definition: php/ext/google/protobuf/upb.c:476
google_protobuf_FieldDescriptorProto_msginit
const upb_msglayout google_protobuf_FieldDescriptorProto_msginit
Definition: php/ext/google/protobuf/upb.c:167
UPB_FIELD_AT
#define UPB_FIELD_AT(msg, fieldtype, offset)
Definition: php/ext/google/protobuf/upb.c:4605
upb_msgdef
Definition: php/ext/google/protobuf/upb.c:1146
h
GLfloat GLfloat GLfloat GLfloat h
Definition: glcorearb.h:4147
upb_decode_varint
static bool upb_decode_varint(const char **ptr, const char *limit, uint64_t *val)
Definition: php/ext/google/protobuf/upb.c:555


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:04