Go to the documentation of this file.
52 #if !((defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \
53 (defined(__cplusplus) && __cplusplus >= 201103L) || \
54 (defined(_MSC_VER) && _MSC_VER >= 1900))
55 #error upb requires C99 or C++11 or MSVC >= 2015.
61 #if UINTPTR_MAX == 0xffffffff
62 #define UPB_SIZE(size32, size64) size32
64 #define UPB_SIZE(size32, size64) size64
70 #define UPB_PTR_AT(msg, ofs, type) ((type*)((char*)(msg) + (ofs)))
72 #define UPB_READ_ONEOF(msg, fieldtype, offset, case_offset, case_val, default) \
73 *UPB_PTR_AT(msg, case_offset, int) == case_val \
74 ? *UPB_PTR_AT(msg, offset, fieldtype) \
77 #define UPB_WRITE_ONEOF(msg, fieldtype, offset, value, case_offset, case_val) \
78 *UPB_PTR_AT(msg, case_offset, int) = case_val; \
79 *UPB_PTR_AT(msg, offset, fieldtype) = value;
81 #define UPB_MAPTYPE_STRING 0
85 #define UPB_INLINE inline
86 #elif defined (__GNUC__) || defined(__clang__)
87 #define UPB_INLINE static __inline__
89 #define UPB_INLINE static
92 #define UPB_ALIGN_UP(size, align) (((size) + (align) - 1) / (align) * (align))
93 #define UPB_ALIGN_DOWN(size, align) ((size) / (align) * (align))
94 #define UPB_ALIGN_MALLOC(size) UPB_ALIGN_UP(size, 16)
95 #define UPB_ALIGN_OF(type) offsetof (struct { char c; type member; }, member)
98 #if defined (__GNUC__) || defined(__clang__)
99 #define UPB_LIKELY(x) __builtin_expect((x),1)
100 #define UPB_UNLIKELY(x) __builtin_expect((x),0)
102 #define UPB_LIKELY(x) (x)
103 #define UPB_UNLIKELY(x) (x)
108 #define UPB_FORCEINLINE __inline__ __attribute__((always_inline))
109 #define UPB_NOINLINE __attribute__((noinline))
110 #define UPB_NORETURN __attribute__((__noreturn__))
111 #define UPB_PRINTF(str, first_vararg) __attribute__((format (printf, str, first_vararg)))
112 #elif defined(_MSC_VER)
114 #define UPB_FORCEINLINE
115 #define UPB_NORETURN __declspec(noreturn)
116 #define UPB_PRINTF(str, first_vararg)
118 #define UPB_FORCEINLINE
121 #define UPB_PRINTF(str, first_vararg)
124 #define UPB_MAX(x, y) ((x) > (y) ? (x) : (y))
125 #define UPB_MIN(x, y) ((x) < (y) ? (x) : (y))
127 #define UPB_UNUSED(var) (void)var
133 #define UPB_ASSUME(expr) if (!(expr)) __builtin_unreachable()
134 #elif defined _MSC_VER
135 #define UPB_ASSUME(expr) if (!(expr)) __assume(0)
137 #define UPB_ASSUME(expr) do {} while (false && (expr))
140 #define UPB_ASSUME(expr) assert(expr)
146 #define UPB_ASSERT(expr) do {} while (false && (expr))
148 #define UPB_ASSERT(expr) assert(expr)
151 #if defined(__GNUC__) || defined(__clang__)
152 #define UPB_UNREACHABLE() do { assert(0); __builtin_unreachable(); } while(0)
154 #define UPB_UNREACHABLE() do { assert(0); } while(0)
159 #define UPB_SETJMP(buf) _setjmp(buf)
160 #define UPB_LONGJMP(buf, val) _longjmp(buf, val)
162 #define UPB_SETJMP(buf) setjmp(buf)
163 #define UPB_LONGJMP(buf, val) longjmp(buf, val)
167 #define UPB_PTRADD(ptr, ofs) ((ofs) ? (ptr) + (ofs) : (ptr))
171 #ifdef __has_attribute
172 #define UPB_HAS_ATTRIBUTE(x) __has_attribute(x)
174 #define UPB_HAS_ATTRIBUTE(x) 0
177 #if UPB_HAS_ATTRIBUTE(musttail)
178 #define UPB_MUSTTAIL __attribute__((musttail))
183 #undef UPB_HAS_ATTRIBUTE
199 #if (defined(__x86_64__) || defined(__aarch64__)) && defined(__GNUC__)
200 #define UPB_FASTTABLE_SUPPORTED 1
202 #define UPB_FASTTABLE_SUPPORTED 0
208 #if defined(UPB_ENABLE_FASTTABLE)
209 #if !UPB_FASTTABLE_SUPPORTED
210 #error fasttable is x86-64/ARM64 only and requires GCC or Clang.
212 #define UPB_FASTTABLE 1
216 #elif defined(UPB_TRY_ENABLE_FASTTABLE)
217 #define UPB_FASTTABLE UPB_FASTTABLE_SUPPORTED
219 #define UPB_FASTTABLE 0
224 #if !UPB_FASTTABLE && defined(UPB_TRY_ENABLE_FASTTABLE)
225 #define UPB_FASTTABLE_INIT(...)
227 #define UPB_FASTTABLE_INIT(...) __VA_ARGS__
230 #undef UPB_FASTTABLE_SUPPORTED
234 #if defined(__SANITIZE_ADDRESS__)
244 #define UPB_POISON_MEMORY_REGION(addr, size) \
245 __asan_poison_memory_region((addr), (size))
246 #define UPB_UNPOISON_MEMORY_REGION(addr, size) \
247 __asan_unpoison_memory_region((addr), (size))
250 #define UPB_POISON_MEMORY_REGION(addr, size) \
251 ((void)(addr), (void)(size))
252 #define UPB_UNPOISON_MEMORY_REGION(addr, size) \
253 ((void)(addr), (void)(size))
261 #ifndef UPB_DECODE_H_
262 #define UPB_DECODE_H_
302 #define UPB_STATUS_MAX_MESSAGE 127
341 return a.size ==
b.size && memcmp(
a.data,
b.data,
a.size) == 0;
344 #define UPB_STRVIEW_INIT(ptr, len) {ptr, len}
346 #define UPB_STRVIEW_FORMAT "%.*s"
347 #define UPB_STRVIEW_ARGS(view) (int)(view).size, (view).data
448 return (
size_t)(h->end - h->ptr);
466 size_t guard_size = 32;
468 h->ptr += guard_size;
482 if (
ret && oldsize > 0) {
574 #define UPB_MAP_BEGIN ((size_t)-1)
578 return *(
char*)&
x == 1;
585 return ((val & 0xff) << 24) | ((val & 0xff00) << 8) |
586 ((val & 0xff0000) >> 8) | ((val & 0xff000000) >> 24);
599 if (
x <= 1)
return 0;
601 return 32 - __builtin_clz(
x - 1);
604 while (1 << lg2 <
x) lg2++;
699 #define UPB_DECODE_MAXDEPTH(depth) ((depth) << 16)
724 #ifndef UPB_DECODE_INT_H_
725 #define UPB_DECODE_INT_H_
737 #ifndef UPB_MSG_INT_H_
738 #define UPB_MSG_INT_H_
799 #define FUNCS(name, membername, type_t, converter, proto_type) \
800 UPB_INLINE void upb_value_set ## name(upb_value *val, type_t cval) { \
801 val->val = (converter)cval; \
803 UPB_INLINE upb_value upb_value_ ## name(type_t val) { \
805 upb_value_set ## name(&ret, val); \
808 UPB_INLINE type_t upb_value_get ## name(upb_value val) { \
809 return (type_t)(converter)val.val; \
861 return mem +
sizeof(*len);
878 #define UPB_TABVALUE_EMPTY_INIT {-1}
917 if (t->size_lg2 == 0)
920 return 1 << t->size_lg2;
1052 return &
i->t->t.entries[
i->index];
1253 char scalar_data[8];
1317 return ~(ptrdiff_t)
f->presence;
1365 int elem_size_lg2) {
1367 const size_t bytes =
sizeof(
upb_array) + (init_size << elem_size_lg2);
1369 if (!arr)
return NULL;
1372 arr->
size = init_size;
1439 size_t elem_size = 1 << elem_size_lg2;
1442 if (!arr || arr->
len == arr->
size) {
1547 if (!strp)
return false;
1549 *msgval = upb_value_ptr(strp);
1568 return map->table.t.count;
1572 size_t key_size,
void *val,
size_t val_size) {
1620 const void *
key,
size_t key_size,
void *val,
1623 if (!
map)
return false;
1630 if (!
map)
return NULL;
1635 size_t key_size,
void *val,
size_t val_size,
1647 if (!
map)
return false;
1680 memcpy(strp, val,
sizeof(*strp));
1711 if (s->entries) free(s->entries);
1718 s->size = sorted->
start;
1724 if (sorted->
pos == sorted->
end)
return false;
1774 #define DECODE_NOGROUP (uint32_t)-1
1812 for (j =
i + 1; j <
i +
offset; j++) {
1813 if ((
buf[j] & 0xc0) != 0x80) {
1835 if (overrun < d->limit) {
1838 if (
d->unknown_msg) {
1843 d->unknown = &
d->patch[0] + overrun;
1847 ptr = &
d->patch[0] + overrun;
1848 d->end = &
d->patch[16];
1850 d->limit_ptr =
d->end +
d->limit;
1864 int overrun = *
ptr -
d->end;
1904 int delta =
d->limit - limit;
1907 d->limit_ptr =
d->end +
UPB_MIN(0, limit);
1916 d->limit += saved_delta;
1917 d->limit_ptr =
d->end +
UPB_MIN(0,
d->limit);
1929 #ifndef UPB_ENCODE_H_
1930 #define UPB_ENCODE_H_
1952 #define UPB_ENCODE_MAXDEPTH(depth) ((depth) << 16)
2004 #ifndef UPB_DECODE_FAST_H_
2005 #define UPB_DECODE_FAST_H_
2016 #define UPB_PARSE_PARAMS \
2017 struct upb_decstate *d, const char *ptr, upb_msg *msg, intptr_t table, \
2018 uint64_t hasbits, uint64_t data
2022 #define F(card, type, valbytes, tagbytes) \
2023 const char *upb_p##card##type##valbytes##_##tagbytes##bt(UPB_PARSE_PARAMS);
2025 #define TYPES(card, tagbytes) \
2026 F(card, b, 1, tagbytes) \
2027 F(card, v, 4, tagbytes) \
2028 F(card, v, 8, tagbytes) \
2029 F(card, z, 4, tagbytes) \
2030 F(card, z, 8, tagbytes) \
2031 F(card, f, 4, tagbytes) \
2032 F(card, f, 8, tagbytes)
2034 #define TAGBYTES(card) \
2049 #define F(card, tagbytes, type) \
2050 const char *upb_p##card##type##_##tagbytes##bt(UPB_PARSE_PARAMS); \
2051 const char *upb_c##card##type##_##tagbytes##bt(UPB_PARSE_PARAMS);
2053 #define UTF8(card, tagbytes) \
2054 F(card, tagbytes, s) \
2055 F(card, tagbytes, b)
2057 #define TAGBYTES(card) \
2070 #define F(card, tagbytes, size_ceil, ceil_arg) \
2071 const char *upb_p##card##m_##tagbytes##bt_max##size_ceil##b(UPB_PARSE_PARAMS);
2073 #define SIZES(card, tagbytes) \
2074 F(card, tagbytes, 64, 64) \
2075 F(card, tagbytes, 128, 128) \
2076 F(card, tagbytes, 192, 192) \
2077 F(card, tagbytes, 256, 256) \
2078 F(card, tagbytes, max, -1)
2080 #define TAGBYTES(card) \
2092 #undef UPB_PARSE_PARAMS
2104 #ifndef GOOGLE_PROTOBUF_DESCRIPTOR_PROTO_UPB_H_
2105 #define GOOGLE_PROTOBUF_DESCRIPTOR_PROTO_UPB_H_
2255 if (!
ret)
return NULL;
2263 if (!
ret)
return NULL;
2286 if (!
ok)
return NULL;
2298 if (!
ret)
return NULL;
2306 if (!
ret)
return NULL;
2366 if (!
ok)
return NULL;
2379 if (!
ok)
return NULL;
2392 if (!
ok)
return NULL;
2405 if (!
ok)
return NULL;
2416 if (!sub)
return NULL;
2429 if (!sub)
return NULL;
2467 if (!
ret)
return NULL;
2475 if (!
ret)
return NULL;
2519 if (!
ok)
return NULL;
2532 if (!
ok)
return NULL;
2545 if (!
ok)
return NULL;
2558 if (!
ok)
return NULL;
2571 if (!
ok)
return NULL;
2582 if (!sub)
return NULL;
2597 if (!
ok)
return NULL;
2610 if (!
ok)
return NULL;
2632 if (!
ret)
return NULL;
2640 if (!
ret)
return NULL;
2673 if (!sub)
return NULL;
2687 if (!
ret)
return NULL;
2695 if (!
ret)
return NULL;
2727 if (!
ret)
return NULL;
2735 if (!
ret)
return NULL;
2758 if (!
ok)
return NULL;
2770 if (!
ret)
return NULL;
2778 if (!
ret)
return NULL;
2847 if (!sub)
return NULL;
2873 if (!
ret)
return NULL;
2881 if (!
ret)
return NULL;
2908 if (!sub)
return NULL;
2922 if (!
ret)
return NULL;
2930 if (!
ret)
return NULL;
2964 if (!
ok)
return NULL;
2975 if (!sub)
return NULL;
2990 if (!
ok)
return NULL;
3012 if (!
ret)
return NULL;
3020 if (!
ret)
return NULL;
3052 if (!
ret)
return NULL;
3060 if (!
ret)
return NULL;
3093 if (!sub)
return NULL;
3107 if (!
ret)
return NULL;
3115 if (!
ret)
return NULL;
3146 if (!
ok)
return NULL;
3157 if (!sub)
return NULL;
3171 if (!
ret)
return NULL;
3179 if (!
ret)
return NULL;
3222 if (!sub)
return NULL;
3244 if (!
ret)
return NULL;
3252 if (!
ret)
return NULL;
3395 if (!
ok)
return NULL;
3407 if (!
ret)
return NULL;
3415 if (!
ret)
return NULL;
3462 if (!
ok)
return NULL;
3474 if (!
ret)
return NULL;
3482 if (!
ret)
return NULL;
3541 if (!
ok)
return NULL;
3553 if (!
ret)
return NULL;
3561 if (!
ret)
return NULL;
3584 if (!
ok)
return NULL;
3596 if (!
ret)
return NULL;
3604 if (!
ret)
return NULL;
3639 if (!
ok)
return NULL;
3651 if (!
ret)
return NULL;
3659 if (!
ret)
return NULL;
3688 if (!
ok)
return NULL;
3700 if (!
ret)
return NULL;
3708 if (!
ret)
return NULL;
3737 if (!
ok)
return NULL;
3749 if (!
ret)
return NULL;
3757 if (!
ret)
return NULL;
3792 if (!
ok)
return NULL;
3804 if (!
ret)
return NULL;
3812 if (!
ret)
return NULL;
3847 if (!
ok)
return NULL;
3883 if (!
ret)
return NULL;
3891 if (!
ret)
return NULL;
3923 if (!
ret)
return NULL;
3931 if (!
ret)
return NULL;
3954 if (!
ok)
return NULL;
3966 if (!
ret)
return NULL;
3974 if (!
ret)
return NULL;
4039 if (!
ret)
return NULL;
4047 if (!
ret)
return NULL;
4070 if (!
ok)
return NULL;
4082 if (!
ret)
return NULL;
4090 if (!
ret)
return NULL;
4210 #define UPB_MAX_FIELDNUMBER ((1 << 29) - 1)
4286 #define UPB_MAPENTRY_KEY 1
4287 #define UPB_MAPENTRY_VALUE 2
4290 #define UPB_ANY_TYPE 1
4291 #define UPB_ANY_VALUE 2
4294 #define UPB_DURATION_SECONDS 1
4295 #define UPB_DURATION_NANOS 2
4298 #define UPB_TIMESTAMP_SECONDS 1
4299 #define UPB_TIMESTAMP_NANOS 2
4344 const char *
name,
size_t len);
4446 #ifndef UPB_REFLECTION_H_
4447 #define UPB_REFLECTION_H_
4522 #define UPB_MSG_BEGIN -1
4612 #ifndef UPB_JSONDECODE_H_
4613 #define UPB_JSONDECODE_H_
4635 #ifndef UPB_JSONENCODE_H_
4636 #define UPB_JSONENCODE_H_
4675 #undef UPB_READ_ONEOF
4676 #undef UPB_WRITE_ONEOF
4677 #undef UPB_MAPTYPE_STRING
4680 #undef UPB_ALIGN_DOWN
4681 #undef UPB_ALIGN_MALLOC
4685 #undef UPB_FORCEINLINE
4694 #undef UPB_UNREACHABLE
4699 #undef UPB_FASTTABLE_SUPPORTED
4700 #undef UPB_FASTTABLE
4701 #undef UPB_FASTTABLE_INIT
4702 #undef UPB_POISON_MEMORY_REGION
4703 #undef UPB_UNPOISON_MEMORY_REGION
void upb_enum_begin(upb_enum_iter *iter, const upb_enumdef *e)
UPB_INLINE google_protobuf_GeneratedCodeInfo * google_protobuf_GeneratedCodeInfo_parse(const char *buf, size_t size, upb_arena *arena)
UPB_INLINE google_protobuf_OneofDescriptorProto * google_protobuf_OneofDescriptorProto_new(upb_arena *arena)
struct upb_def_init upb_def_init
UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_has_source_file(const google_protobuf_GeneratedCodeInfo_Annotation *msg)
UPB_INLINE uintptr_t _upb_tag_arrptr(void *ptr, int elem_size_lg2)
UPB_INLINE struct google_protobuf_FieldDescriptorProto * google_protobuf_FileDescriptorProto_add_extension(google_protobuf_FileDescriptorProto *msg, upb_arena *arena)
bool upb_fielddef_packed(const upb_fielddef *f)
const upb_msglayout google_protobuf_FieldOptions_msginit
UPB_INLINE google_protobuf_FieldOptions * google_protobuf_FieldOptions_parse(const char *buf, size_t size, upb_arena *arena)
UPB_INLINE bool google_protobuf_FileOptions_has_java_generic_services(const google_protobuf_FileOptions *msg)
UPB_INLINE bool google_protobuf_FileDescriptorProto_add_dependency(google_protobuf_FileDescriptorProto *msg, upb_strview val, upb_arena *arena)
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_number(const google_protobuf_FieldDescriptorProto *msg)
const UPB_INLINE google_protobuf_FieldDescriptorProto *const * google_protobuf_FileDescriptorProto_extension(const google_protobuf_FileDescriptorProto *msg, size_t *len)
UPB_INLINE bool google_protobuf_FileOptions_has_optimize_for(const google_protobuf_FileOptions *msg)
union upb_map_entry::@434 k
UPB_INLINE google_protobuf_FieldDescriptorProto ** google_protobuf_DescriptorProto_resize_extension(google_protobuf_DescriptorProto *msg, size_t len, upb_arena *arena)
const upb_msglayout ** layouts
UPB_INLINE google_protobuf_FieldDescriptorProto ** google_protobuf_DescriptorProto_resize_field(google_protobuf_DescriptorProto *msg, size_t len, upb_arena *arena)
UPB_INLINE bool _upb_hasbit_field(const upb_msg *msg, const upb_msglayout_field *f)
UPB_INLINE int32_t google_protobuf_FieldOptions_ctype(const google_protobuf_FieldOptions *msg)
void upb_msg_clear(upb_msg *msg, const upb_msgdef *m)
const upb_oneofdef * upb_msgdef_oneof(const upb_msgdef *m, int i)
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_type_name(const google_protobuf_FieldDescriptorProto *msg)
const upb_msglayout google_protobuf_EnumDescriptorProto_msginit
UPB_INLINE struct google_protobuf_UninterpretedOption * google_protobuf_EnumOptions_add_uninterpreted_option(google_protobuf_EnumOptions *msg, upb_arena *arena)
void upb_inttable_begin(upb_inttable_iter *i, const upb_inttable *t)
bool upb_msg_oneof_iter_isequal(const upb_msg_oneof_iter *iter1, const upb_msg_oneof_iter *iter2)
UPB_INLINE google_protobuf_MethodDescriptorProto * google_protobuf_MethodDescriptorProto_new(upb_arena *arena)
const upb_msglayout google_protobuf_MethodDescriptorProto_msginit
const upb_filedef * upb_filedef_dep(const upb_filedef *f, int i)
UPB_INLINE google_protobuf_EnumValueOptions * google_protobuf_EnumValueOptions_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
UPB_INLINE bool google_protobuf_FileOptions_has_go_package(const google_protobuf_FileOptions *msg)
UPB_INLINE void _upb_mapsorter_init(_upb_mapsorter *s)
UPB_INLINE google_protobuf_ServiceOptions * google_protobuf_ServiceOptions_parse(const char *buf, size_t size, upb_arena *arena)
upb_fielddef * upb_msg_iter_field(const upb_msg_field_iter *iter)
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_number(google_protobuf_FieldDescriptorProto *msg, int32_t value)
UPB_INLINE bool google_protobuf_MessageOptions_has_map_entry(const google_protobuf_MessageOptions *msg)
UPB_INLINE void google_protobuf_DescriptorProto_set_name(google_protobuf_DescriptorProto *msg, upb_strview value)
UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_add_span(google_protobuf_SourceCodeInfo_Location *msg, int32_t val, upb_arena *arena)
UPB_INLINE bool google_protobuf_EnumDescriptorProto_add_reserved_name(google_protobuf_EnumDescriptorProto *msg, upb_strview val, upb_arena *arena)
const upb_msglayout google_protobuf_UninterpretedOption_NamePart_msginit
bool _upb_mapsorter_pushmap(_upb_mapsorter *s, upb_descriptortype_t key_type, const upb_map *map, _upb_sortedmap *sorted)
UPB_INLINE upb_strview google_protobuf_FileDescriptorProto_package(const google_protobuf_FileDescriptorProto *msg)
UPB_INLINE bool google_protobuf_MessageOptions_has_no_standard_descriptor_accessor(const google_protobuf_MessageOptions *msg)
@ UPB_DESCRIPTOR_TYPE_FIXED32
UPB_INLINE bool google_protobuf_DescriptorProto_has_nested_type(const google_protobuf_DescriptorProto *msg)
upb_symtab * upb_symtab_new(void)
UPB_INLINE google_protobuf_EnumValueDescriptorProto * google_protobuf_EnumValueDescriptorProto_new(upb_arena *arena)
UPB_INLINE google_protobuf_DescriptorProto_ExtensionRange ** google_protobuf_DescriptorProto_mutable_extension_range(google_protobuf_DescriptorProto *msg, size_t *len)
void upb_symtab_free(upb_symtab *s)
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_options(google_protobuf_MethodDescriptorProto *msg, google_protobuf_MethodOptions *value)
UPB_INLINE bool google_protobuf_EnumDescriptorProto_EnumReservedRange_has_end(const google_protobuf_EnumDescriptorProto_EnumReservedRange *msg)
UPB_INLINE upb_strview * google_protobuf_SourceCodeInfo_Location_resize_leading_detached_comments(google_protobuf_SourceCodeInfo_Location *msg, size_t len, upb_arena *arena)
UPB_INLINE struct google_protobuf_EnumValueDescriptorProto * google_protobuf_EnumDescriptorProto_add_value(google_protobuf_EnumDescriptorProto *msg, upb_arena *arena)
@ google_protobuf_FieldDescriptorProto_TYPE_UINT64
UPB_INLINE char * upb_encode(const void *msg, const upb_msglayout *l, upb_arena *arena, size_t *size)
const upb_filedef * upb_symtab_lookupfile(const upb_symtab *s, const char *name)
const uint8_t upb_utf8_offsets[]
UPB_INLINE google_protobuf_UninterpretedOption * google_protobuf_UninterpretedOption_parse(const char *buf, size_t size, upb_arena *arena)
upb_array * upb_array_new(upb_arena *a, upb_fieldtype_t type)
UPB_INLINE void google_protobuf_UninterpretedOption_set_string_value(google_protobuf_UninterpretedOption *msg, upb_strview value)
UPB_INLINE bool google_protobuf_FileDescriptorSet_has_file(const google_protobuf_FileDescriptorSet *msg)
const UPB_INLINE google_protobuf_UninterpretedOption *const * google_protobuf_MethodOptions_uninterpreted_option(const google_protobuf_MethodOptions *msg, size_t *len)
UPB_INLINE upb_arena * upb_arena_new(void)
UPB_INLINE upb_strview * google_protobuf_FileDescriptorProto_mutable_dependency(google_protobuf_FileDescriptorProto *msg, size_t *len)
UPB_INLINE upb_strview google_protobuf_FileOptions_ruby_package(const google_protobuf_FileOptions *msg)
UPB_INLINE void _upb_clearhas(const upb_msg *msg, size_t idx)
UPB_INLINE int32_t google_protobuf_DescriptorProto_ExtensionRange_end(const google_protobuf_DescriptorProto_ExtensionRange *msg)
UPB_INLINE bool google_protobuf_MethodDescriptorProto_server_streaming(const google_protobuf_MethodDescriptorProto *msg)
UPB_INLINE uint32_t _upb_be_swap32(uint32_t val)
UPB_INLINE upb_strview upb_strview_make(const char *data, size_t size)
UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_oneof_index(const google_protobuf_FieldDescriptorProto *msg)
void upb_inttable_compact(upb_inttable *t, upb_arena *a)
bool upb_fielddef_isprimitive(const upb_fielddef *f)
UPB_INLINE int32_t google_protobuf_DescriptorProto_ReservedRange_end(const google_protobuf_DescriptorProto_ReservedRange *msg)
const UPB_INLINE google_protobuf_MethodOptions * google_protobuf_MethodDescriptorProto_options(const google_protobuf_MethodDescriptorProto *msg)
UPB_INLINE void google_protobuf_FileOptions_set_php_generic_services(google_protobuf_FileOptions *msg, bool value)
UPB_INLINE char * google_protobuf_MethodDescriptorProto_serialize(const google_protobuf_MethodDescriptorProto *msg, upb_arena *arena, size_t *len)
int upb_filedef_depcount(const upb_filedef *f)
const UPB_INLINE google_protobuf_EnumOptions * google_protobuf_EnumDescriptorProto_options(const google_protobuf_EnumDescriptorProto *msg)
@ google_protobuf_FieldDescriptorProto_TYPE_INT32
UPB_INLINE google_protobuf_ServiceDescriptorProto ** google_protobuf_FileDescriptorProto_mutable_service(google_protobuf_FileDescriptorProto *msg, size_t *len)
UPB_INLINE void google_protobuf_EnumOptions_set_deprecated(google_protobuf_EnumOptions *msg, bool value)
const upb_msglayout_field * fields
UPB_INLINE google_protobuf_UninterpretedOption ** google_protobuf_ServiceOptions_resize_uninterpreted_option(google_protobuf_ServiceOptions *msg, size_t len, upb_arena *arena)
UPB_INLINE google_protobuf_GeneratedCodeInfo * google_protobuf_GeneratedCodeInfo_new(upb_arena *arena)
@ google_protobuf_FieldDescriptorProto_TYPE_ENUM
UPB_INLINE void google_protobuf_FieldOptions_set_deprecated(google_protobuf_FieldOptions *msg, bool value)
UPB_INLINE google_protobuf_UninterpretedOption ** google_protobuf_EnumValueOptions_mutable_uninterpreted_option(google_protobuf_EnumValueOptions *msg, size_t *len)
UPB_INLINE void google_protobuf_FileDescriptorProto_set_source_code_info(google_protobuf_FileDescriptorProto *msg, google_protobuf_SourceCodeInfo *value)
UPB_INLINE bool google_protobuf_ServiceOptions_has_deprecated(const google_protobuf_ServiceOptions *msg)
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_label(google_protobuf_FieldDescriptorProto *msg, int32_t value)
UPB_INLINE bool google_protobuf_DescriptorProto_ReservedRange_has_start(const google_protobuf_DescriptorProto_ReservedRange *msg)
struct google_protobuf_ServiceDescriptorProto google_protobuf_ServiceDescriptorProto
UPB_INLINE void google_protobuf_OneofDescriptorProto_set_name(google_protobuf_OneofDescriptorProto *msg, upb_strview value)
UPB_INLINE void google_protobuf_FileOptions_set_optimize_for(google_protobuf_FileOptions *msg, int32_t value)
UPB_INLINE struct google_protobuf_DescriptorProto_ExtensionRange * google_protobuf_DescriptorProto_add_extension_range(google_protobuf_DescriptorProto *msg, upb_arena *arena)
size_t upb_array_size(const upb_array *arr)
upb_descriptortype_t upb_fielddef_descriptortype(const upb_fielddef *f)
UPB_INLINE google_protobuf_DescriptorProto_ReservedRange * google_protobuf_DescriptorProto_ReservedRange_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_set_start(google_protobuf_DescriptorProto_ExtensionRange *msg, int32_t value)
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_default_value(const google_protobuf_FieldDescriptorProto *msg)
const UPB_INLINE google_protobuf_UninterpretedOption *const * google_protobuf_EnumOptions_uninterpreted_option(const google_protobuf_EnumOptions *msg, size_t *len)
return memset(p, 0, total)
upb_syntax_t upb_msgdef_syntax(const upb_msgdef *m)
UPB_INLINE void * _upb_array_mutable_accessor(void *msg, size_t ofs, size_t *size)
const upb_msglayout google_protobuf_ServiceDescriptorProto_msginit
UPB_INLINE bool google_protobuf_FileOptions_java_string_check_utf8(const google_protobuf_FileOptions *msg)
UPB_INLINE bool decode_isdone(upb_decstate *d, const char **ptr)
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_client_streaming(google_protobuf_MethodDescriptorProto *msg, bool value)
UPB_INLINE char * google_protobuf_EnumDescriptorProto_EnumReservedRange_serialize(const google_protobuf_EnumDescriptorProto_EnumReservedRange *msg, upb_arena *arena, size_t *len)
UPB_INLINE google_protobuf_UninterpretedOption ** google_protobuf_EnumOptions_resize_uninterpreted_option(google_protobuf_EnumOptions *msg, size_t len, upb_arena *arena)
UPB_INLINE struct google_protobuf_SourceCodeInfo * google_protobuf_FileDescriptorProto_mutable_source_code_info(google_protobuf_FileDescriptorProto *msg, upb_arena *arena)
UPB_INLINE bool google_protobuf_DescriptorProto_add_reserved_name(google_protobuf_DescriptorProto *msg, upb_strview val, upb_arena *arena)
UPB_INLINE google_protobuf_MessageOptions * google_protobuf_MessageOptions_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
const upb_fielddef * upb_msgdef_itof(const upb_msgdef *m, uint32_t i)
int upb_oneofdef_fieldcount(const upb_oneofdef *o)
upb_arena * _upb_symtab_arena(const upb_symtab *s)
UPB_INLINE google_protobuf_FileOptions * google_protobuf_FileOptions_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
const upb_enumdef * upb_symtab_lookupenum(const upb_symtab *s, const char *sym)
UPB_INLINE void google_protobuf_FileDescriptorProto_set_package(google_protobuf_FileDescriptorProto *msg, upb_strview value)
@ UPB_DESCRIPTOR_TYPE_UINT64
UPB_INLINE void google_protobuf_FileOptions_set_swift_prefix(google_protobuf_FileOptions *msg, upb_strview value)
upb_arena * upb_arena_init(void *mem, size_t n, upb_alloc *alloc)
UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_value(const google_protobuf_EnumDescriptorProto *msg)
UPB_INLINE google_protobuf_UninterpretedOption ** google_protobuf_EnumOptions_mutable_uninterpreted_option(google_protobuf_EnumOptions *msg, size_t *len)
void _upb_msg_clear(upb_msg *msg, const upb_msglayout *l)
UPB_INLINE int32_t * google_protobuf_FileDescriptorProto_resize_public_dependency(google_protobuf_FileDescriptorProto *msg, size_t len, upb_arena *arena)
UPB_INLINE google_protobuf_DescriptorProto_ReservedRange ** google_protobuf_DescriptorProto_mutable_reserved_range(google_protobuf_DescriptorProto *msg, size_t *len)
UPB_INLINE bool google_protobuf_DescriptorProto_has_field(const google_protobuf_DescriptorProto *msg)
UPB_INLINE void _upb_mapsorter_popmap(_upb_mapsorter *s, _upb_sortedmap *sorted)
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_type(google_protobuf_FieldDescriptorProto *msg, int32_t value)
UPB_INLINE void google_protobuf_FileOptions_set_php_namespace(google_protobuf_FileOptions *msg, upb_strview value)
UPB_INLINE bool google_protobuf_FieldOptions_has_deprecated(const google_protobuf_FieldOptions *msg)
UPB_INLINE bool google_protobuf_FieldOptions_packed(const google_protobuf_FieldOptions *msg)
@ UPB_WELLKNOWN_UINT32VALUE
const UPB_INLINE google_protobuf_OneofOptions * google_protobuf_OneofDescriptorProto_options(const google_protobuf_OneofDescriptorProto *msg)
UPB_INLINE void google_protobuf_UninterpretedOption_set_identifier_value(google_protobuf_UninterpretedOption *msg, upb_strview value)
const upb_msglayout google_protobuf_DescriptorProto_ExtensionRange_msginit
bool upb_inttable_lookup(const upb_inttable *t, uintptr_t key, upb_value *v)
const UPB_INLINE google_protobuf_DescriptorProto_ExtensionRange *const * google_protobuf_DescriptorProto_extension_range(const google_protobuf_DescriptorProto *msg, size_t *len)
UPB_INLINE bool google_protobuf_FileOptions_has_java_outer_classname(const google_protobuf_FileOptions *msg)
UPB_INLINE bool google_protobuf_UninterpretedOption_NamePart_has_name_part(const google_protobuf_UninterpretedOption_NamePart *msg)
struct google_protobuf_EnumValueDescriptorProto google_protobuf_EnumValueDescriptorProto
void upb_status_seterrmsg(upb_status *status, const char *msg)
UPB_INLINE bool _upb_sortedmap_next(_upb_mapsorter *s, const upb_map *map, _upb_sortedmap *sorted, upb_map_entry *ent)
bool upb_fielddef_hassubdef(const upb_fielddef *f)
struct google_protobuf_SourceCodeInfo google_protobuf_SourceCodeInfo
union upb_map_entry::@435 v
UPB_INLINE bool google_protobuf_MessageOptions_has_uninterpreted_option(const google_protobuf_MessageOptions *msg)
upb_mutmsgval upb_msg_mutable(upb_msg *msg, const upb_fielddef *f, upb_arena *a)
UPB_INLINE bool google_protobuf_DescriptorProto_ExtensionRange_has_end(const google_protobuf_DescriptorProto_ExtensionRange *msg)
int32_t upb_enumdef_default(const upb_enumdef *e)
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_options(google_protobuf_FieldDescriptorProto *msg, google_protobuf_FieldOptions *value)
UPB_INLINE upb_strview google_protobuf_EnumDescriptorProto_name(const google_protobuf_EnumDescriptorProto *msg)
upb_extreg * upb_extreg_new(upb_arena *arena)
@ UPB_DESCRIPTOR_TYPE_UINT32
const UPB_INLINE upb_oneofdef * upb_msgdef_ntooz(const upb_msgdef *m, const char *name)
@ UPB_DESCRIPTOR_TYPE_SFIXED64
uint32_t upb_fielddef_number(const upb_fielddef *f)
UPB_INLINE upb_strview google_protobuf_UninterpretedOption_string_value(const google_protobuf_UninterpretedOption *msg)
@ UPB_DESCRIPTOR_TYPE_STRING
UPB_INLINE upb_strview google_protobuf_FileOptions_java_outer_classname(const google_protobuf_FileOptions *msg)
void upb_map_clear(upb_map *map)
UPB_INLINE void google_protobuf_ServiceOptions_set_deprecated(google_protobuf_ServiceOptions *msg, bool value)
@ google_protobuf_FieldDescriptorProto_TYPE_DOUBLE
@ google_protobuf_FieldDescriptorProto_LABEL_REQUIRED
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_extendee(google_protobuf_FieldDescriptorProto *msg, upb_strview value)
static const uint8_t seed[20]
const upb_msglayout google_protobuf_ServiceOptions_msginit
int upb_enumdef_numvals(const upb_enumdef *e)
UPB_INLINE char * google_protobuf_EnumDescriptorProto_serialize(const google_protobuf_EnumDescriptorProto *msg, upb_arena *arena, size_t *len)
UPB_INLINE bool google_protobuf_FileOptions_has_cc_generic_services(const google_protobuf_FileOptions *msg)
@ UPB_DESCRIPTOR_TYPE_ENUM
UPB_INLINE upb_strview _upb_map_tokey(const void *key, size_t size)
UPB_INLINE void * _upb_array_resize_accessor2(void *msg, size_t ofs, size_t size, int elem_size_lg2, upb_arena *arena)
UPB_INLINE bool google_protobuf_DescriptorProto_ExtensionRange_has_start(const google_protobuf_DescriptorProto_ExtensionRange *msg)
PHP_PROTO_OBJECT_FREE_END PHP_PROTO_OBJECT_DTOR_END intern array
bool upb_fielddef_haspresence(const upb_fielddef *f)
UPB_INLINE bool google_protobuf_EnumValueDescriptorProto_has_number(const google_protobuf_EnumValueDescriptorProto *msg)
@ UPB_WELLKNOWN_DOUBLEVALUE
UPB_INLINE google_protobuf_UninterpretedOption ** google_protobuf_FileOptions_resize_uninterpreted_option(google_protobuf_FileOptions *msg, size_t len, upb_arena *arena)
const upb_fielddef * upb_oneofdef_field(const upb_oneofdef *o, int i)
const UPB_INLINE google_protobuf_UninterpretedOption_NamePart *const * google_protobuf_UninterpretedOption_name(const google_protobuf_UninterpretedOption *msg, size_t *len)
UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_number(const google_protobuf_FieldDescriptorProto *msg)
UPB_INLINE google_protobuf_GeneratedCodeInfo_Annotation * google_protobuf_GeneratedCodeInfo_Annotation_parse(const char *buf, size_t size, upb_arena *arena)
UPB_INLINE google_protobuf_EnumOptions * google_protobuf_EnumOptions_new(upb_arena *arena)
UPB_INLINE void * _upb_array_resize_accessor(void *msg, size_t ofs, size_t size, upb_fieldtype_t type, upb_arena *arena)
UPB_INLINE bool google_protobuf_DescriptorProto_ReservedRange_has_end(const google_protobuf_DescriptorProto_ReservedRange *msg)
UPB_INLINE void google_protobuf_FileOptions_set_java_string_check_utf8(google_protobuf_FileOptions *msg, bool value)
void upb_enum_next(upb_enum_iter *iter)
const upb_msglayout * upb_msgdef_layout(const upb_msgdef *m)
const char * upb_status_errmsg(const upb_status *status)
UPB_INLINE google_protobuf_FieldOptions * google_protobuf_FieldOptions_new(upb_arena *arena)
uintptr_t upb_inttable_iter_key(const upb_inttable_iter *i)
UPB_INLINE bool google_protobuf_FileOptions_has_objc_class_prefix(const google_protobuf_FileOptions *msg)
UPB_INLINE google_protobuf_DescriptorProto * google_protobuf_DescriptorProto_parse(const char *buf, size_t size, upb_arena *arena)
UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_output_type(const google_protobuf_MethodDescriptorProto *msg)
const char * fastdecode_generic(struct upb_decstate *d, const char *ptr, upb_msg *msg, intptr_t table, uint64_t hasbits, uint64_t data)
UPB_INLINE google_protobuf_UninterpretedOption ** google_protobuf_FieldOptions_mutable_uninterpreted_option(google_protobuf_FieldOptions *msg, size_t *len)
const UPB_INLINE google_protobuf_EnumDescriptorProto_EnumReservedRange *const * google_protobuf_EnumDescriptorProto_reserved_range(const google_protobuf_EnumDescriptorProto *msg, size_t *len)
mem_block * freelist_tail
UPB_INLINE struct google_protobuf_FieldDescriptorProto * google_protobuf_DescriptorProto_add_field(google_protobuf_DescriptorProto *msg, upb_arena *arena)
UPB_INLINE bool google_protobuf_FileDescriptorProto_add_weak_dependency(google_protobuf_FileDescriptorProto *msg, int32_t val, upb_arena *arena)
UPB_INLINE upb_strview google_protobuf_MethodDescriptorProto_input_type(const google_protobuf_MethodDescriptorProto *msg)
UPB_INLINE struct google_protobuf_ExtensionRangeOptions * google_protobuf_DescriptorProto_ExtensionRange_mutable_options(google_protobuf_DescriptorProto_ExtensionRange *msg, upb_arena *arena)
uint32_t upb_fielddef_index(const upb_fielddef *f)
#define UPB_ALIGN_UP(size, align)
UPB_INLINE void google_protobuf_DescriptorProto_ReservedRange_set_start(google_protobuf_DescriptorProto_ReservedRange *msg, int32_t value)
UPB_INLINE bool _upb_array_reserve(upb_array *arr, size_t size, upb_arena *arena)
UPB_INLINE bool google_protobuf_EnumValueDescriptorProto_has_name(const google_protobuf_EnumValueDescriptorProto *msg)
bool _upb_extreg_add(upb_extreg *r, const upb_msglayout_ext *e, size_t count)
@ google_protobuf_FieldDescriptorProto_TYPE_SFIXED32
const char * upb_msgdef_fullname(const upb_msgdef *m)
@ UPB_DESCRIPTOR_TYPE_SFIXED32
UPB_INLINE bool google_protobuf_EnumOptions_deprecated(const google_protobuf_EnumOptions *msg)
@ UPB_JSONENC_EMITDEFAULTS
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_message_type(const google_protobuf_FileDescriptorProto *msg)
upb_wellknowntype_t upb_msgdef_wellknowntype(const upb_msgdef *m)
const upb_msglayout google_protobuf_FieldDescriptorProto_msginit
UPB_INLINE google_protobuf_EnumOptions * google_protobuf_EnumOptions_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
UPB_INLINE google_protobuf_FieldOptions * google_protobuf_FieldOptions_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
UPB_INLINE char * google_protobuf_FieldDescriptorProto_serialize(const google_protobuf_FieldDescriptorProto *msg, upb_arena *arena, size_t *len)
UPB_INLINE struct google_protobuf_UninterpretedOption_NamePart * google_protobuf_UninterpretedOption_add_name(google_protobuf_UninterpretedOption *msg, upb_arena *arena)
UPB_INLINE void google_protobuf_SourceCodeInfo_Location_set_trailing_comments(google_protobuf_SourceCodeInfo_Location *msg, upb_strview value)
#define UPB_UNREACHABLE()
const upb_fielddef * upb_msgdef_ntof(const upb_msgdef *m, const char *name, size_t len)
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_json_name(google_protobuf_FieldDescriptorProto *msg, upb_strview value)
struct google_protobuf_EnumOptions google_protobuf_EnumOptions
UPB_INLINE char * google_protobuf_DescriptorProto_ExtensionRange_serialize(const google_protobuf_DescriptorProto_ExtensionRange *msg, upb_arena *arena, size_t *len)
UPB_INLINE bool _upb_array_append_accessor2(void *msg, size_t ofs, int elem_size_lg2, const void *value, upb_arena *arena)
bool _upb_msg_addunknown(upb_msg *msg, const char *data, size_t len, upb_arena *arena)
bool upb_map_set(upb_map *map, upb_msgval key, upb_msgval val, upb_arena *arena)
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_options(const google_protobuf_FieldDescriptorProto *msg)
UPB_INLINE upb_strview * google_protobuf_DescriptorProto_resize_reserved_name(google_protobuf_DescriptorProto *msg, size_t len, upb_arena *arena)
const UPB_INLINE void * _upb_array_accessor(const void *msg, size_t ofs, size_t *size)
@ UPB_DESCRIPTOR_TYPE_GROUP
google_protobuf_FieldDescriptorProto_Label
UPB_INLINE char * google_protobuf_EnumOptions_serialize(const google_protobuf_EnumOptions *msg, upb_arena *arena, size_t *len)
UPB_INLINE bool google_protobuf_UninterpretedOption_has_double_value(const google_protobuf_UninterpretedOption *msg)
const upb_msglayout google_protobuf_MessageOptions_msginit
UPB_INLINE google_protobuf_OneofDescriptorProto * google_protobuf_OneofDescriptorProto_parse(const char *buf, size_t size, upb_arena *arena)
UPB_INLINE google_protobuf_DescriptorProto * google_protobuf_DescriptorProto_new(upb_arena *arena)
UPB_INLINE int32_t google_protobuf_FileOptions_optimize_for(const google_protobuf_FileOptions *msg)
bool upb_fielddef_isstring(const upb_fielddef *f)
bool upb_msg_field_iter_isequal(const upb_msg_field_iter *iter1, const upb_msg_field_iter *iter2)
UPB_INLINE google_protobuf_EnumDescriptorProto * google_protobuf_EnumDescriptorProto_parse(const char *buf, size_t size, upb_arena *arena)
UPB_INLINE void * _upb_array_ptr(upb_array *arr)
UPB_INLINE bool google_protobuf_FieldOptions_weak(const google_protobuf_FieldOptions *msg)
UPB_INLINE bool _upb_has_submsg_nohasbit(const upb_msg *msg, size_t ofs)
uint32_t upb_oneofdef_index(const upb_oneofdef *o)
void upb_status_clear(upb_status *status)
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_type_name(google_protobuf_FieldDescriptorProto *msg, upb_strview value)
bool upb_inttable_iter_isequal(const upb_inttable_iter *i1, const upb_inttable_iter *i2)
UPB_INLINE void google_protobuf_FieldOptions_set_jstype(google_protobuf_FieldOptions *msg, int32_t value)
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_extension(const google_protobuf_FileDescriptorProto *msg)
UPB_INLINE upb_strview google_protobuf_FileOptions_csharp_namespace(const google_protobuf_FileOptions *msg)
UPB_INLINE bool google_protobuf_DescriptorProto_has_enum_type(const google_protobuf_DescriptorProto *msg)
UPB_INLINE google_protobuf_UninterpretedOption ** google_protobuf_MessageOptions_resize_uninterpreted_option(google_protobuf_MessageOptions *msg, size_t len, upb_arena *arena)
UPB_INLINE google_protobuf_FileDescriptorProto * google_protobuf_FileDescriptorProto_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
UPB_INLINE google_protobuf_DescriptorProto * google_protobuf_DescriptorProto_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
UPB_INLINE upb_fieldmode _upb_getmode(const upb_msglayout_field *field)
const upb_fielddef * upb_msgdef_lookupjsonname(const upb_msgdef *m, const char *name, size_t len)
@ UPB_DESCRIPTOR_TYPE_BYTES
UPB_INLINE upb_strview google_protobuf_UninterpretedOption_identifier_value(const google_protobuf_UninterpretedOption *msg)
UPB_INLINE upb_strview * google_protobuf_SourceCodeInfo_Location_mutable_leading_detached_comments(google_protobuf_SourceCodeInfo_Location *msg, size_t *len)
UPB_INLINE google_protobuf_FileDescriptorProto ** google_protobuf_FileDescriptorSet_resize_file(google_protobuf_FileDescriptorSet *msg, size_t len, upb_arena *arena)
UPB_INLINE bool _upb_issubmsg(const upb_msglayout_field *field)
struct google_protobuf_OneofDescriptorProto google_protobuf_OneofDescriptorProto
UPB_INLINE void _upb_map_fromvalue(upb_value val, void *out, size_t size)
UPB_INLINE struct google_protobuf_DescriptorProto * google_protobuf_DescriptorProto_add_nested_type(google_protobuf_DescriptorProto *msg, upb_arena *arena)
void upb_msg_oneof_next(upb_msg_oneof_iter *iter)
@ google_protobuf_MethodOptions_NO_SIDE_EFFECTS
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_proto3_optional(google_protobuf_FieldDescriptorProto *msg, bool value)
const UPB_INLINE google_protobuf_UninterpretedOption *const * google_protobuf_FieldOptions_uninterpreted_option(const google_protobuf_FieldOptions *msg, size_t *len)
UPB_INLINE upb_strview google_protobuf_FileOptions_go_package(const google_protobuf_FileOptions *msg)
void upb_msg_field_begin(upb_msg_field_iter *iter, const upb_msgdef *m)
@ UPB_DESCRIPTOR_TYPE_BOOL
UPB_INLINE upb_strview * google_protobuf_FileDescriptorProto_resize_dependency(google_protobuf_FileDescriptorProto *msg, size_t len, upb_arena *arena)
UPB_INLINE upb_strview * google_protobuf_EnumDescriptorProto_resize_reserved_name(google_protobuf_EnumDescriptorProto *msg, size_t len, upb_arena *arena)
UPB_INLINE int32_t * google_protobuf_GeneratedCodeInfo_Annotation_mutable_path(google_protobuf_GeneratedCodeInfo_Annotation *msg, size_t *len)
void upb_oneof_begin(upb_oneof_iter *iter, const upb_oneofdef *o)
uintptr_t cleanup_metadata
UPB_INLINE bool decode_verifyutf8_inl(const char *buf, int len)
UPB_INLINE void * _upb_map_next(const upb_map *map, size_t *iter)
int upb_msgdef_numrealoneofs(const upb_msgdef *m)
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_oneof_index(google_protobuf_FieldDescriptorProto *msg, int32_t value)
UPB_INLINE upb_strview google_protobuf_ServiceDescriptorProto_name(const google_protobuf_ServiceDescriptorProto *msg)
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_extendee(const google_protobuf_FieldDescriptorProto *msg)
size_t upb_map_size(const upb_map *map)
struct google_protobuf_FileDescriptorSet google_protobuf_FileDescriptorSet
UPB_INLINE size_t upb_table_size(const upb_table *t)
const upb_msglayout google_protobuf_FileDescriptorSet_msginit
UPB_INLINE bool google_protobuf_MessageOptions_map_entry(const google_protobuf_MessageOptions *msg)
bool upb_msgdef_mapentry(const upb_msgdef *m)
UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_server_streaming(const google_protobuf_MethodDescriptorProto *msg)
UPB_INLINE bool google_protobuf_OneofDescriptorProto_has_name(const google_protobuf_OneofDescriptorProto *msg)
void upb_array_set(upb_array *arr, size_t i, upb_msgval val)
UPB_INLINE void _upb_map_fromkey(upb_strview key, void *out, size_t size)
UPB_INLINE uint64_t google_protobuf_UninterpretedOption_positive_int_value(const google_protobuf_UninterpretedOption *msg)
struct google_protobuf_FieldDescriptorProto google_protobuf_FieldDescriptorProto
UPB_INLINE void google_protobuf_FieldOptions_set_ctype(google_protobuf_FieldOptions *msg, int32_t value)
UPB_INLINE google_protobuf_SourceCodeInfo * google_protobuf_SourceCodeInfo_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
upb_label_t upb_fielddef_label(const upb_fielddef *f)
@ UPB_DESCRIPTOR_TYPE_INT64
UPB_INLINE intptr_t decode_totable(const upb_msglayout *tablep)
UPB_INLINE google_protobuf_GeneratedCodeInfo_Annotation * google_protobuf_GeneratedCodeInfo_Annotation_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_begin(google_protobuf_GeneratedCodeInfo_Annotation *msg, int32_t value)
UPB_INLINE bool google_protobuf_FileOptions_cc_enable_arenas(const google_protobuf_FileOptions *msg)
#define FUNCS(name, membername, type_t, converter, proto_type)
grpc_core::ScopedArenaPtr arena
UPB_INLINE google_protobuf_EnumDescriptorProto ** google_protobuf_DescriptorProto_resize_enum_type(google_protobuf_DescriptorProto *msg, size_t len, upb_arena *arena)
const upb_msglayout_field * upb_fielddef_layout(const upb_fielddef *f)
const UPB_INLINE google_protobuf_MethodDescriptorProto *const * google_protobuf_ServiceDescriptorProto_method(const google_protobuf_ServiceDescriptorProto *msg, size_t *len)
UPB_INLINE bool google_protobuf_DescriptorProto_ExtensionRange_has_options(const google_protobuf_DescriptorProto_ExtensionRange *msg)
const upb_msgdef * upb_symtab_lookupmsg2(const upb_symtab *s, const char *sym, size_t len)
UPB_INLINE bool google_protobuf_EnumOptions_has_allow_alias(const google_protobuf_EnumOptions *msg)
UPB_INLINE size_t upb_strtable_count(const upb_strtable *t)
const upb_fielddef * upb_oneofdef_ntof(const upb_oneofdef *o, const char *name, size_t length)
UPB_INLINE bool google_protobuf_OneofOptions_has_uninterpreted_option(const google_protobuf_OneofOptions *msg)
struct google_protobuf_DescriptorProto_ExtensionRange google_protobuf_DescriptorProto_ExtensionRange
@ google_protobuf_FileOptions_LITE_RUNTIME
UPB_INLINE struct google_protobuf_FileOptions * google_protobuf_FileDescriptorProto_mutable_options(google_protobuf_FileDescriptorProto *msg, upb_arena *arena)
bool upb_inttable_replace(upb_inttable *t, uintptr_t key, upb_value val)
UPB_INLINE void google_protobuf_FileOptions_set_ruby_package(google_protobuf_FileOptions *msg, upb_strview value)
const upb_msglayout google_protobuf_DescriptorProto_msginit
bool upb_map_delete(upb_map *map, upb_msgval key)
UPB_INLINE void _upb_sethas_field(const upb_msg *msg, const upb_msglayout_field *f)
UPB_INLINE google_protobuf_DescriptorProto ** google_protobuf_DescriptorProto_resize_nested_type(google_protobuf_DescriptorProto *msg, size_t len, upb_arena *arena)
UPB_INLINE upb_strview upb_tabstrview(upb_tabkey key)
UPB_INLINE bool google_protobuf_DescriptorProto_has_reserved_range(const google_protobuf_DescriptorProto *msg)
UPB_INLINE void google_protobuf_FileOptions_set_java_generic_services(google_protobuf_FileOptions *msg, bool value)
UPB_INLINE char * google_protobuf_DescriptorProto_ReservedRange_serialize(const google_protobuf_DescriptorProto_ReservedRange *msg, upb_arena *arena, size_t *len)
const upb_fielddef * upb_oneofdef_itof(const upb_oneofdef *o, uint32_t num)
UPB_INLINE google_protobuf_FileDescriptorSet * google_protobuf_FileDescriptorSet_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
const upb_msglayout google_protobuf_MethodOptions_msginit
UPB_INLINE google_protobuf_UninterpretedOption * google_protobuf_UninterpretedOption_new(upb_arena *arena)
upb_msgval upb_fielddef_default(const upb_fielddef *f)
UPB_INLINE upb_strview google_protobuf_EnumValueDescriptorProto_name(const google_protobuf_EnumValueDescriptorProto *msg)
UPB_INLINE int32_t const * google_protobuf_SourceCodeInfo_Location_path(const google_protobuf_SourceCodeInfo_Location *msg, size_t *len)
void upb_strtable_clear(upb_strtable *t)
@ google_protobuf_FieldDescriptorProto_TYPE_BOOL
UPB_INLINE google_protobuf_DescriptorProto_ReservedRange * google_protobuf_DescriptorProto_ReservedRange_parse(const char *buf, size_t size, upb_arena *arena)
UPB_INLINE google_protobuf_SourceCodeInfo_Location ** google_protobuf_SourceCodeInfo_resize_location(google_protobuf_SourceCodeInfo *msg, size_t len, upb_arena *arena)
UPB_INLINE bool _upb_msg_map_get(const upb_msg *msg, size_t ofs, const void *key, size_t key_size, void *val, size_t val_size)
UPB_INLINE uint64_t _upb_be_swap64(uint64_t val)
UPB_INLINE google_protobuf_FileDescriptorProto * google_protobuf_FileDescriptorProto_new(upb_arena *arena)
UPB_INLINE char * google_protobuf_UninterpretedOption_NamePart_serialize(const google_protobuf_UninterpretedOption_NamePart *msg, upb_arena *arena, size_t *len)
struct google_protobuf_MethodDescriptorProto google_protobuf_MethodDescriptorProto
const char * upb_oneofdef_name(const upb_oneofdef *o)
UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_client_streaming(const google_protobuf_MethodDescriptorProto *msg)
UPB_INLINE upb_strview google_protobuf_OneofDescriptorProto_name(const google_protobuf_OneofDescriptorProto *msg)
UPB_INLINE bool google_protobuf_ServiceDescriptorProto_has_options(const google_protobuf_ServiceDescriptorProto *msg)
char * upb_strdup2(const char *s, size_t len, upb_arena *a)
UPB_INLINE bool google_protobuf_FileOptions_java_generic_services(const google_protobuf_FileOptions *msg)
UPB_INLINE bool google_protobuf_UninterpretedOption_has_string_value(const google_protobuf_UninterpretedOption *msg)
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
UPB_INLINE bool google_protobuf_ExtensionRangeOptions_has_uninterpreted_option(const google_protobuf_ExtensionRangeOptions *msg)
@ UPB_DESCRIPTOR_TYPE_SINT32
UPB_INLINE bool google_protobuf_ServiceOptions_has_uninterpreted_option(const google_protobuf_ServiceOptions *msg)
UPB_INLINE void * upb_gmalloc(size_t size)
upb_msgval upb_mapiter_key(const upb_map *map, size_t iter)
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_enum_type(const google_protobuf_FileDescriptorProto *msg)
UPB_INLINE struct google_protobuf_UninterpretedOption * google_protobuf_OneofOptions_add_uninterpreted_option(google_protobuf_OneofOptions *msg, upb_arena *arena)
UPB_INLINE void google_protobuf_FileOptions_set_php_metadata_namespace(google_protobuf_FileOptions *msg, upb_strview value)
const UPB_INLINE google_protobuf_ServiceOptions * google_protobuf_ServiceDescriptorProto_options(const google_protobuf_ServiceDescriptorProto *msg)
@ google_protobuf_FieldDescriptorProto_TYPE_BYTES
UPB_INLINE void * upb_realloc(upb_alloc *alloc, void *ptr, size_t oldsize, size_t size)
UPB_INLINE void google_protobuf_FileOptions_set_deprecated(google_protobuf_FileOptions *msg, bool value)
@ google_protobuf_MethodOptions_IDEMPOTENT
UPB_INLINE void google_protobuf_FileOptions_set_java_outer_classname(google_protobuf_FileOptions *msg, upb_strview value)
@ UPB_WELLKNOWN_BOOLVALUE
UPB_INLINE void google_protobuf_UninterpretedOption_set_positive_int_value(google_protobuf_UninterpretedOption *msg, uint64_t value)
UPB_INLINE bool google_protobuf_EnumValueOptions_deprecated(const google_protobuf_EnumValueOptions *msg)
UPB_INLINE google_protobuf_GeneratedCodeInfo_Annotation ** google_protobuf_GeneratedCodeInfo_mutable_annotation(google_protobuf_GeneratedCodeInfo *msg, size_t *len)
UPB_INLINE bool google_protobuf_EnumDescriptorProto_EnumReservedRange_has_start(const google_protobuf_EnumDescriptorProto_EnumReservedRange *msg)
UPB_INLINE struct google_protobuf_OneofDescriptorProto * google_protobuf_DescriptorProto_add_oneof_decl(google_protobuf_DescriptorProto *msg, upb_arena *arena)
UPB_INLINE google_protobuf_SourceCodeInfo_Location ** google_protobuf_SourceCodeInfo_mutable_location(google_protobuf_SourceCodeInfo *msg, size_t *len)
UPB_INLINE google_protobuf_DescriptorProto_ReservedRange * google_protobuf_DescriptorProto_ReservedRange_new(upb_arena *arena)
@ UPB_WIRE_TYPE_DELIMITED
const char * upb_enumdef_iton(const upb_enumdef *e, int32_t num)
@ google_protobuf_FieldOptions_JS_STRING
UPB_INLINE size_t _upb_msg_map_size(const upb_msg *msg, size_t ofs)
const upb_msglayout google_protobuf_FileDescriptorProto_msginit
const char * upb_filedef_phpnamespace(const upb_filedef *f)
UPB_INLINE void google_protobuf_SourceCodeInfo_Location_set_leading_comments(google_protobuf_SourceCodeInfo_Location *msg, upb_strview value)
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_name(google_protobuf_FieldDescriptorProto *msg, upb_strview value)
UPB_INLINE void google_protobuf_FileDescriptorProto_set_options(google_protobuf_FileDescriptorProto *msg, google_protobuf_FileOptions *value)
UPB_INLINE struct google_protobuf_OneofOptions * google_protobuf_OneofDescriptorProto_mutable_options(google_protobuf_OneofDescriptorProto *msg, upb_arena *arena)
bool upb_arena_fuse(upb_arena *a, upb_arena *b)
UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_end(google_protobuf_GeneratedCodeInfo_Annotation *msg, int32_t value)
int upb_msgdef_fieldcount(const upb_msgdef *m)
UPB_INLINE void upb_gfree(void *ptr)
UPB_INLINE void _upb_clearhas_field(const upb_msg *msg, const upb_msglayout_field *f)
UPB_INLINE google_protobuf_EnumDescriptorProto_EnumReservedRange ** google_protobuf_EnumDescriptorProto_resize_reserved_range(google_protobuf_EnumDescriptorProto *msg, size_t len, upb_arena *arena)
UPB_INLINE size_t _upb_arenahas(upb_arena *a)
UPB_INLINE google_protobuf_UninterpretedOption ** google_protobuf_FieldOptions_resize_uninterpreted_option(google_protobuf_FieldOptions *msg, size_t len, upb_arena *arena)
const UPB_INLINE google_protobuf_UninterpretedOption *const * google_protobuf_ServiceOptions_uninterpreted_option(const google_protobuf_ServiceOptions *msg, size_t *len)
UPB_INLINE int _upb_lg2ceilsize(int x)
UPB_INLINE struct google_protobuf_SourceCodeInfo_Location * google_protobuf_SourceCodeInfo_add_location(google_protobuf_SourceCodeInfo *msg, upb_arena *arena)
@ UPB_WELLKNOWN_UINT64VALUE
UPB_INLINE upb_strview google_protobuf_FileDescriptorProto_name(const google_protobuf_FileDescriptorProto *msg)
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_default_value(const google_protobuf_FieldDescriptorProto *msg)
static void * tag(intptr_t t)
UPB_INLINE google_protobuf_FileDescriptorProto * google_protobuf_FileDescriptorProto_parse(const char *buf, size_t size, upb_arena *arena)
UPB_INLINE bool _upb_array_resize(upb_array *arr, size_t size, upb_arena *arena)
UPB_INLINE bool google_protobuf_ServiceDescriptorProto_has_name(const google_protobuf_ServiceDescriptorProto *msg)
const UPB_INLINE google_protobuf_EnumValueDescriptorProto *const * google_protobuf_EnumDescriptorProto_value(const google_protobuf_EnumDescriptorProto *msg, size_t *len)
UPB_INLINE google_protobuf_FileOptions * google_protobuf_FileOptions_parse(const char *buf, size_t size, upb_arena *arena)
struct google_protobuf_FieldOptions google_protobuf_FieldOptions
UPB_INLINE google_protobuf_SourceCodeInfo * google_protobuf_SourceCodeInfo_parse(const char *buf, size_t size, upb_arena *arena)
google_protobuf_FileOptions_OptimizeMode
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_type_name(const google_protobuf_FieldDescriptorProto *msg)
UPB_INLINE google_protobuf_FileDescriptorProto ** google_protobuf_FileDescriptorSet_mutable_file(google_protobuf_FileDescriptorSet *msg, size_t *len)
bool upb_oneof_iter_isequal(const upb_oneof_iter *iter1, const upb_oneof_iter *iter2)
const char * upb_enumdef_name(const upb_enumdef *e)
UPB_INLINE void _upb_msg_map_set_value(void *msg, const void *val, size_t size)
int upb_symtab_filecount(const upb_symtab *s)
const upb_msglayout google_protobuf_SourceCodeInfo_msginit
struct google_protobuf_UninterpretedOption_NamePart google_protobuf_UninterpretedOption_NamePart
_upb_fasttable_entry fasttable[]
UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_add_path(google_protobuf_GeneratedCodeInfo_Annotation *msg, int32_t val, upb_arena *arena)
struct google_protobuf_UninterpretedOption google_protobuf_UninterpretedOption
UPB_INLINE bool google_protobuf_FileOptions_has_java_string_check_utf8(const google_protobuf_FileOptions *msg)
UPB_INLINE upb_value upb_value_float(float cval)
UPB_INLINE google_protobuf_OneofOptions * google_protobuf_OneofOptions_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
UPB_INLINE struct google_protobuf_UninterpretedOption * google_protobuf_ExtensionRangeOptions_add_uninterpreted_option(google_protobuf_ExtensionRangeOptions *msg, upb_arena *arena)
UPB_INLINE char * google_protobuf_ServiceDescriptorProto_serialize(const google_protobuf_ServiceDescriptorProto *msg, upb_arena *arena, size_t *len)
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_package(const google_protobuf_FileDescriptorProto *msg)
UPB_INLINE google_protobuf_DescriptorProto ** google_protobuf_FileDescriptorProto_mutable_message_type(google_protobuf_FileDescriptorProto *msg, size_t *len)
UPB_INLINE google_protobuf_ServiceDescriptorProto * google_protobuf_ServiceDescriptorProto_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
UPB_INLINE void upb_value_setdouble(upb_value *val, double cval)
UPB_INLINE int32_t google_protobuf_GeneratedCodeInfo_Annotation_end(const google_protobuf_GeneratedCodeInfo_Annotation *msg)
const upb_msgdef * upb_fielddef_containingtype(const upb_fielddef *f)
const UPB_INLINE google_protobuf_FieldOptions * google_protobuf_FieldDescriptorProto_options(const google_protobuf_FieldDescriptorProto *msg)
bool upb_inttable_insert(upb_inttable *t, uintptr_t key, upb_value val, upb_arena *a)
const UPB_INLINE google_protobuf_FieldDescriptorProto *const * google_protobuf_DescriptorProto_field(const google_protobuf_DescriptorProto *msg, size_t *len)
int upb_msgdef_numfields(const upb_msgdef *m)
bool upb_arena_addcleanup(upb_arena *a, void *ud, upb_cleanup_func *func)
UPB_INLINE struct google_protobuf_MethodOptions * google_protobuf_MethodDescriptorProto_mutable_options(google_protobuf_MethodDescriptorProto *msg, upb_arena *arena)
UPB_INLINE void * upb_arena_malloc(upb_arena *a, size_t size)
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_options(const google_protobuf_FileDescriptorProto *msg)
UPB_INLINE google_protobuf_UninterpretedOption ** google_protobuf_EnumValueOptions_resize_uninterpreted_option(google_protobuf_EnumValueOptions *msg, size_t len, upb_arena *arena)
bool upb_json_decode(const char *buf, size_t size, upb_msg *msg, const upb_msgdef *m, const upb_symtab *any_pool, int options, upb_arena *arena, upb_status *status)
const UPB_INLINE google_protobuf_GeneratedCodeInfo_Annotation *const * google_protobuf_GeneratedCodeInfo_annotation(const google_protobuf_GeneratedCodeInfo *msg, size_t *len)
UPB_INLINE google_protobuf_UninterpretedOption ** google_protobuf_MessageOptions_mutable_uninterpreted_option(google_protobuf_MessageOptions *msg, size_t *len)
UPB_INLINE upb_msg_internal * upb_msg_getinternal(upb_msg *msg)
upb_msg * upb_msg_new(const upb_msgdef *m, upb_arena *a)
UPB_INLINE google_protobuf_EnumDescriptorProto * google_protobuf_EnumDescriptorProto_new(upb_arena *arena)
UPB_INLINE int32_t google_protobuf_EnumDescriptorProto_EnumReservedRange_end(const google_protobuf_EnumDescriptorProto_EnumReservedRange *msg)
UPB_INLINE google_protobuf_OneofDescriptorProto ** google_protobuf_DescriptorProto_resize_oneof_decl(google_protobuf_DescriptorProto *msg, size_t len, upb_arena *arena)
UPB_INLINE bool google_protobuf_OneofDescriptorProto_has_options(const google_protobuf_OneofDescriptorProto *msg)
@ UPB_WIRE_TYPE_END_GROUP
int upb_msgdef_oneofcount(const upb_msgdef *m)
UPB_INLINE upb_strview google_protobuf_FileOptions_objc_class_prefix(const google_protobuf_FileOptions *msg)
void void upb_status_vseterrf(upb_status *status, const char *fmt, va_list args) UPB_PRINTF(2
UPB_INLINE bool google_protobuf_FileDescriptorProto_add_public_dependency(google_protobuf_FileDescriptorProto *msg, int32_t val, upb_arena *arena)
int64_t upb_fielddef_defaultint64(const upb_fielddef *f)
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_json_name(const google_protobuf_FieldDescriptorProto *msg)
UPB_INLINE bool google_protobuf_FileOptions_has_java_generate_equals_and_hash(const google_protobuf_FileOptions *msg)
UPB_INLINE google_protobuf_FieldDescriptorProto * google_protobuf_FieldDescriptorProto_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
void _upb_msg_discardunknown_shallow(upb_msg *msg)
@ UPB_WELLKNOWN_UNSPECIFIED
UPB_INLINE google_protobuf_FieldDescriptorProto ** google_protobuf_DescriptorProto_mutable_extension(google_protobuf_DescriptorProto *msg, size_t *len)
void upb_msg_addunknown(upb_msg *msg, const char *data, size_t len, upb_arena *arena)
UPB_INLINE google_protobuf_OneofOptions * google_protobuf_OneofOptions_parse(const char *buf, size_t size, upb_arena *arena)
UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_type(const google_protobuf_FieldDescriptorProto *msg)
const upb_msglayout google_protobuf_ExtensionRangeOptions_msginit
upb_fieldtype_t upb_fielddef_type(const upb_fielddef *f)
void * _upb_arena_slowmalloc(upb_arena *a, size_t size)
UPB_INLINE upb_strview google_protobuf_SourceCodeInfo_Location_trailing_comments(const google_protobuf_SourceCodeInfo_Location *msg)
unsigned __int64 uint64_t
const upb_msglayout google_protobuf_OneofOptions_msginit
@ google_protobuf_FieldDescriptorProto_TYPE_GROUP
UPB_INLINE bool google_protobuf_MessageOptions_has_message_set_wire_format(const google_protobuf_MessageOptions *msg)
#define UPB_MAPTYPE_STRING
UPB_INLINE upb_strview google_protobuf_FileOptions_php_namespace(const google_protobuf_FileOptions *msg)
UPB_INLINE google_protobuf_UninterpretedOption ** google_protobuf_MethodOptions_resize_uninterpreted_option(google_protobuf_MethodOptions *msg, size_t len, upb_arena *arena)
const upb_msg_ext * _upb_msg_getexts(const upb_msg *msg, size_t *count)
UPB_INLINE bool _upb_repeated_or_map(const upb_msglayout_field *field)
UPB_INLINE int _upb_sizelg2(upb_fieldtype_t type)
const UPB_INLINE upb_fielddef * upb_msgdef_ntofz(const upb_msgdef *m, const char *name)
UPB_INLINE char * google_protobuf_SourceCodeInfo_Location_serialize(const google_protobuf_SourceCodeInfo_Location *msg, upb_arena *arena, size_t *len)
UPB_INLINE bool google_protobuf_FileOptions_has_csharp_namespace(const google_protobuf_FileOptions *msg)
UPB_INLINE google_protobuf_EnumDescriptorProto_EnumReservedRange ** google_protobuf_EnumDescriptorProto_mutable_reserved_range(google_protobuf_EnumDescriptorProto *msg, size_t *len)
UPB_INLINE void decode_poplimit(upb_decstate *d, const char *ptr, int saved_delta)
UPB_INLINE struct google_protobuf_ServiceDescriptorProto * google_protobuf_FileDescriptorProto_add_service(google_protobuf_FileDescriptorProto *msg, upb_arena *arena)
@ google_protobuf_FieldOptions_STRING
bool _upb_decode(const char *buf, size_t size, upb_msg *msg, const upb_msglayout *l, const upb_extreg *extreg, int options, upb_arena *arena)
UPB_INLINE bool upb_strtable_lookup(const upb_strtable *t, const char *key, upb_value *v)
UPB_INLINE bool google_protobuf_FileOptions_deprecated(const google_protobuf_FileOptions *msg)
UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_set_options(google_protobuf_DescriptorProto_ExtensionRange *msg, google_protobuf_ExtensionRangeOptions *value)
UPB_INLINE google_protobuf_EnumValueDescriptorProto * google_protobuf_EnumValueDescriptorProto_parse(const char *buf, size_t size, upb_arena *arena)
bool upb_strtable_insert(upb_strtable *t, const char *key, size_t len, upb_value val, upb_arena *a)
UPB_INLINE google_protobuf_EnumDescriptorProto_EnumReservedRange * google_protobuf_EnumDescriptorProto_EnumReservedRange_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
bool upb_fielddef_ismap(const upb_fielddef *f)
struct google_protobuf_EnumDescriptorProto google_protobuf_EnumDescriptorProto
UPB_INLINE void google_protobuf_FieldOptions_set_weak(google_protobuf_FieldOptions *msg, bool value)
UPB_INLINE bool google_protobuf_MethodOptions_has_deprecated(const google_protobuf_MethodOptions *msg)
@ UPB_WELLKNOWN_INT32VALUE
UPB_INLINE size_t _upb_msg_hasidx(const upb_msglayout_field *f)
UPB_INLINE char * upb_tabstr(upb_tabkey key, uint32_t *len)
UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_has_begin(const google_protobuf_GeneratedCodeInfo_Annotation *msg)
UPB_INLINE bool google_protobuf_FieldOptions_has_ctype(const google_protobuf_FieldOptions *msg)
UPB_INLINE bool google_protobuf_FieldOptions_deprecated(const google_protobuf_FieldOptions *msg)
UPB_INLINE upb_strview google_protobuf_MethodDescriptorProto_output_type(const google_protobuf_MethodDescriptorProto *msg)
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_input_type(google_protobuf_MethodDescriptorProto *msg, upb_strview value)
@ UPB_ENCODE_DETERMINISTIC
const UPB_INLINE upb_msglayout * decode_totablep(intptr_t table)
const upb_filedef * upb_enumdef_file(const upb_enumdef *e)
const struct upb_msglayout *const * submsgs
UPB_INLINE bool google_protobuf_SourceCodeInfo_has_location(const google_protobuf_SourceCodeInfo *msg)
UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_source_file(google_protobuf_GeneratedCodeInfo_Annotation *msg, upb_strview value)
UPB_INLINE void google_protobuf_FileOptions_set_csharp_namespace(google_protobuf_FileOptions *msg, upb_strview value)
UPB_INLINE google_protobuf_FieldDescriptorProto ** google_protobuf_FileDescriptorProto_resize_extension(google_protobuf_FileDescriptorProto *msg, size_t len, upb_arena *arena)
const UPB_INLINE void * _upb_array_constptr(const upb_array *arr)
const upb_msgdef * upb_filedef_msg(const upb_filedef *f, int i)
UPB_INLINE google_protobuf_OneofDescriptorProto ** google_protobuf_DescriptorProto_mutable_oneof_decl(google_protobuf_DescriptorProto *msg, size_t *len)
UPB_INLINE google_protobuf_FieldDescriptorProto ** google_protobuf_FileDescriptorProto_mutable_extension(google_protobuf_FileDescriptorProto *msg, size_t *len)
UPB_INLINE google_protobuf_MethodDescriptorProto * google_protobuf_MethodDescriptorProto_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
const upb_msgdef * upb_fielddef_msgsubdef(const upb_fielddef *f)
const upb_msglayout google_protobuf_EnumValueDescriptorProto_msginit
UPB_INLINE void google_protobuf_EnumDescriptorProto_EnumReservedRange_set_start(google_protobuf_EnumDescriptorProto_EnumReservedRange *msg, int32_t value)
UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_label(const google_protobuf_FieldDescriptorProto *msg)
UPB_INLINE bool google_protobuf_UninterpretedOption_has_negative_int_value(const google_protobuf_UninterpretedOption *msg)
UPB_INLINE int32_t google_protobuf_FieldOptions_jstype(const google_protobuf_FieldOptions *msg)
UPB_INLINE upb_strview google_protobuf_FileOptions_php_class_prefix(const google_protobuf_FileOptions *msg)
@ google_protobuf_FieldDescriptorProto_TYPE_SINT32
UPB_INLINE google_protobuf_EnumDescriptorProto ** google_protobuf_DescriptorProto_mutable_enum_type(google_protobuf_DescriptorProto *msg, size_t *len)
google_protobuf_FieldDescriptorProto_Type
const upb_filedef * upb_symtab_addfile(upb_symtab *s, const google_protobuf_FileDescriptorProto *file, upb_status *status)
size_t upb_json_encode(const upb_msg *msg, const upb_msgdef *m, const upb_symtab *ext_pool, int options, char *buf, size_t size, upb_status *status)
@ google_protobuf_FieldDescriptorProto_TYPE_SINT64
UPB_INLINE void * _upb_msg_map_next(const upb_msg *msg, size_t ofs, size_t *iter)
UPB_INLINE char * google_protobuf_GeneratedCodeInfo_Annotation_serialize(const google_protobuf_GeneratedCodeInfo_Annotation *msg, upb_arena *arena, size_t *len)
bool upb_ok(const upb_status *status)
UPB_INLINE void _upb_value_setval(upb_value *v, uint64_t val)
UPB_INLINE void google_protobuf_MethodOptions_set_deprecated(google_protobuf_MethodOptions *msg, bool value)
upb_alloc upb_alloc_global
UPB_INLINE struct google_protobuf_EnumDescriptorProto_EnumReservedRange * google_protobuf_EnumDescriptorProto_add_reserved_range(google_protobuf_EnumDescriptorProto *msg, upb_arena *arena)
UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_has_end(const google_protobuf_GeneratedCodeInfo_Annotation *msg)
@ UPB_JSONDEC_IGNOREUNKNOWN
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_default_value(google_protobuf_FieldDescriptorProto *msg, upb_strview value)
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_syntax(const google_protobuf_FileDescriptorProto *msg)
UPB_INLINE void * upb_grealloc(void *ptr, size_t oldsize, size_t size)
struct upb_def_init ** deps
const char * fastdecode_err(upb_decstate *d)
UPB_INLINE bool _upb_map_set(upb_map *map, const void *key, size_t key_size, void *val, size_t val_size, upb_arena *a)
UPB_INLINE upb_strview google_protobuf_DescriptorProto_name(const google_protobuf_DescriptorProto *msg)
@ google_protobuf_FieldDescriptorProto_TYPE_SFIXED64
const uint64_t kWyhashSalt[5]
UPB_INLINE google_protobuf_EnumValueOptions * google_protobuf_EnumValueOptions_parse(const char *buf, size_t size, upb_arena *arena)
bool upb_inttable_init(upb_inttable *table, upb_arena *a)
@ UPB_WELLKNOWN_INT64VALUE
UPB_INLINE google_protobuf_ServiceOptions * google_protobuf_ServiceOptions_new(upb_arena *arena)
UPB_INLINE struct google_protobuf_UninterpretedOption * google_protobuf_MethodOptions_add_uninterpreted_option(google_protobuf_MethodOptions *msg, upb_arena *arena)
UPB_INLINE void _upb_mapsorter_destroy(_upb_mapsorter *s)
#define UPB_ALIGN_MALLOC(size)
UPB_INLINE google_protobuf_ServiceOptions * google_protobuf_ServiceOptions_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
@ google_protobuf_FieldDescriptorProto_TYPE_FIXED32
char * upb_encode_ex(const void *msg, const upb_msglayout *l, int options, upb_arena *arena, size_t *size)
const upb_filedef * upb_fielddef_file(const upb_fielddef *f)
UPB_INLINE bool google_protobuf_FileOptions_java_multiple_files(const google_protobuf_FileOptions *msg)
UPB_INLINE struct google_protobuf_DescriptorProto_ReservedRange * google_protobuf_DescriptorProto_add_reserved_range(google_protobuf_DescriptorProto *msg, upb_arena *arena)
UPB_INLINE upb_value upb_value_double(double cval)
UPB_INLINE void google_protobuf_UninterpretedOption_NamePart_set_name_part(google_protobuf_UninterpretedOption_NamePart *msg, upb_strview value)
_upb_field_parser * field_parser
UPB_INLINE bool google_protobuf_MessageOptions_has_deprecated(const google_protobuf_MessageOptions *msg)
UPB_INLINE google_protobuf_FieldDescriptorProto ** google_protobuf_DescriptorProto_mutable_field(google_protobuf_DescriptorProto *msg, size_t *len)
_W64 unsigned int uintptr_t
UPB_INLINE void google_protobuf_FileOptions_set_cc_enable_arenas(google_protobuf_FileOptions *msg, bool value)
@ UPB_DESCRIPTOR_TYPE_FIXED64
const char * decode_isdonefallback(upb_decstate *d, const char *ptr, int overrun)
UPB_INLINE struct google_protobuf_FieldDescriptorProto * google_protobuf_DescriptorProto_add_extension(google_protobuf_DescriptorProto *msg, upb_arena *arena)
const upb_msglayout google_protobuf_EnumOptions_msginit
const upb_oneofdef * upb_fielddef_realcontainingoneof(const upb_fielddef *f)
int upb_filedef_msgcount(const upb_filedef *f)
UPB_INLINE google_protobuf_UninterpretedOption * google_protobuf_UninterpretedOption_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
UPB_INLINE google_protobuf_FieldDescriptorProto * google_protobuf_FieldDescriptorProto_new(upb_arena *arena)
const char * upb_filedef_phpprefix(const upb_filedef *f)
UPB_INLINE void google_protobuf_FileOptions_set_php_class_prefix(google_protobuf_FileOptions *msg, upb_strview value)
UPB_INLINE google_protobuf_UninterpretedOption ** google_protobuf_ExtensionRangeOptions_mutable_uninterpreted_option(google_protobuf_ExtensionRangeOptions *msg, size_t *len)
UPB_INLINE google_protobuf_SourceCodeInfo * google_protobuf_SourceCodeInfo_new(upb_arena *arena)
void upb_msg_field_next(upb_msg_field_iter *iter)
UPB_INLINE google_protobuf_GeneratedCodeInfo * google_protobuf_GeneratedCodeInfo_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
upb_strview upb_strtable_iter_key(const upb_strtable_iter *i)
UPB_INLINE void google_protobuf_MessageOptions_set_deprecated(google_protobuf_MessageOptions *msg, bool value)
@ UPB_DESCRIPTOR_TYPE_FLOAT
google_protobuf_MethodOptions_IdempotencyLevel
UPB_INLINE bool google_protobuf_FileOptions_has_deprecated(const google_protobuf_FileOptions *msg)
UPB_INLINE bool google_protobuf_FieldOptions_has_jstype(const google_protobuf_FieldOptions *msg)
UPB_INLINE char * google_protobuf_UninterpretedOption_serialize(const google_protobuf_UninterpretedOption *msg, upb_arena *arena, size_t *len)
@ google_protobuf_FieldOptions_CORD
UPB_INLINE bool google_protobuf_FieldOptions_has_weak(const google_protobuf_FieldOptions *msg)
UPB_INLINE char * google_protobuf_OneofDescriptorProto_serialize(const google_protobuf_OneofDescriptorProto *msg, upb_arena *arena, size_t *len)
const upb_msg_ext * _upb_msg_getext(const upb_msg *msg, const upb_msglayout_ext *ext)
const char * upb_fielddef_fullname(const upb_fielddef *f)
UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_options(const google_protobuf_EnumDescriptorProto *msg)
void upb_oneof_next(upb_oneof_iter *iter)
UPB_INLINE bool google_protobuf_ServiceOptions_deprecated(const google_protobuf_ServiceOptions *msg)
bool upb_map_get(const upb_map *map, upb_msgval key, upb_msgval *val)
UPB_INLINE google_protobuf_MethodDescriptorProto ** google_protobuf_ServiceDescriptorProto_mutable_method(google_protobuf_ServiceDescriptorProto *msg, size_t *len)
UPB_INLINE google_protobuf_DescriptorProto_ExtensionRange ** google_protobuf_DescriptorProto_resize_extension_range(google_protobuf_DescriptorProto *msg, size_t len, upb_arena *arena)
@ UPB_DESCRIPTOR_TYPE_MESSAGE
UPB_INLINE upb_array * _upb_array_new(upb_arena *a, size_t init_size, int elem_size_lg2)
const char * upb_fielddef_name(const upb_fielddef *f)
UPB_INLINE size_t upb_msg_sizeof(const upb_msglayout *l)
void upb_strtable_begin(upb_strtable_iter *i, const upb_strtable *t)
@ google_protobuf_FieldDescriptorProto_TYPE_INT64
UPB_INLINE bool google_protobuf_FieldOptions_lazy(const google_protobuf_FieldOptions *msg)
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_json_name(const google_protobuf_FieldDescriptorProto *msg)
UPB_INLINE char * google_protobuf_MethodOptions_serialize(const google_protobuf_MethodOptions *msg, upb_arena *arena, size_t *len)
UPB_INLINE void * upb_arena_realloc(upb_arena *a, void *ptr, size_t oldsize, size_t size)
UPB_INLINE upb_msg * _upb_msg_new_inl(const upb_msglayout *l, upb_arena *a)
uint32_t upb_fielddef_defaultuint32(const upb_fielddef *f)
UPB_INLINE bool google_protobuf_FileOptions_has_ruby_package(const google_protobuf_FileOptions *msg)
UPB_INLINE bool google_protobuf_DescriptorProto_has_oneof_decl(const google_protobuf_DescriptorProto *msg)
const UPB_INLINE google_protobuf_UninterpretedOption *const * google_protobuf_EnumValueOptions_uninterpreted_option(const google_protobuf_EnumValueOptions *msg, size_t *len)
bool upb_msg_field_done(const upb_msg_field_iter *iter)
UPB_INLINE bool google_protobuf_FileOptions_py_generic_services(const google_protobuf_FileOptions *msg)
UPB_INLINE void google_protobuf_FieldOptions_set_packed(google_protobuf_FieldOptions *msg, bool value)
UPB_INLINE bool _upb_map_tovalue(const void *val, size_t size, upb_value *msgval, upb_arena *a)
UPB_INLINE struct google_protobuf_EnumDescriptorProto * google_protobuf_FileDescriptorProto_add_enum_type(google_protobuf_FileDescriptorProto *msg, upb_arena *arena)
@ google_protobuf_FieldDescriptorProto_LABEL_REPEATED
UPB_INLINE struct google_protobuf_FileDescriptorProto * google_protobuf_FileDescriptorSet_add_file(google_protobuf_FileDescriptorSet *msg, upb_arena *arena)
void upb_msg_oneof_iter_setdone(upb_msg_oneof_iter *iter)
const UPB_INLINE google_protobuf_SourceCodeInfo * google_protobuf_FileDescriptorProto_source_code_info(const google_protobuf_FileDescriptorProto *msg)
UPB_INLINE bool upb_enumdef_ntoiz(const upb_enumdef *e, const char *name, int32_t *num)
UPB_INLINE google_protobuf_EnumDescriptorProto_EnumReservedRange * google_protobuf_EnumDescriptorProto_EnumReservedRange_parse(const char *buf, size_t size, upb_arena *arena)
struct google_protobuf_GeneratedCodeInfo_Annotation google_protobuf_GeneratedCodeInfo_Annotation
bool upb_msgdef_isnumberwrapper(const upb_msgdef *m)
const upb_enumdef * upb_fielddef_enumsubdef(const upb_fielddef *f)
const char * upb_enum_iter_name(upb_enum_iter *iter)
const upb_enumdef * upb_filedef_enum(const upb_filedef *f, int i)
UPB_INLINE struct google_protobuf_DescriptorProto * google_protobuf_FileDescriptorProto_add_message_type(google_protobuf_FileDescriptorProto *msg, upb_arena *arena)
UPB_INLINE google_protobuf_MessageOptions * google_protobuf_MessageOptions_new(upb_arena *arena)
UPB_INLINE google_protobuf_ExtensionRangeOptions * google_protobuf_ExtensionRangeOptions_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
const upb_msglayout google_protobuf_DescriptorProto_ReservedRange_msginit
upb_msgval upb_array_get(const upb_array *arr, size_t i)
struct _upb_tabent upb_tabent
UPB_INLINE int decode_pushlimit(upb_decstate *d, const char *ptr, int size)
const upb_msglayout_field * _upb_extreg_get(const upb_extreg *r, const upb_msglayout *l, uint32_t num)
void upb_inttable_iter_setdone(upb_inttable_iter *i)
const UPB_INLINE google_protobuf_UninterpretedOption *const * google_protobuf_MessageOptions_uninterpreted_option(const google_protobuf_MessageOptions *msg, size_t *len)
UPB_INLINE void google_protobuf_FileOptions_set_java_multiple_files(google_protobuf_FileOptions *msg, bool value)
UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_options(const google_protobuf_MethodDescriptorProto *msg)
@ UPB_WELLKNOWN_FIELDMASK
UPB_INLINE void decode_checklimit(upb_decstate *d)
UPB_INLINE void google_protobuf_FileOptions_set_cc_generic_services(google_protobuf_FileOptions *msg, bool value)
UPB_INLINE bool google_protobuf_FieldOptions_has_packed(const google_protobuf_FieldOptions *msg)
UPB_INLINE bool upb_strview_eql(upb_strview a, upb_strview b)
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_label(const google_protobuf_FieldDescriptorProto *msg)
const struct _upb_tabent * next
bool upb_strtable_lookup2(const upb_strtable *t, const char *key, size_t len, upb_value *v)
UPB_INLINE bool upb_msgdef_lookupnamez(const upb_msgdef *m, const char *name, const upb_fielddef **f, const upb_oneofdef **o)
UPB_INLINE int32_t google_protobuf_DescriptorProto_ReservedRange_start(const google_protobuf_DescriptorProto_ReservedRange *msg)
@ UPB_WELLKNOWN_FLOATVALUE
UPB_INLINE bool google_protobuf_FileOptions_php_generic_services(const google_protobuf_FileOptions *msg)
int upb_msgdef_numoneofs(const upb_msgdef *m)
const UPB_INLINE google_protobuf_SourceCodeInfo_Location *const * google_protobuf_SourceCodeInfo_location(const google_protobuf_SourceCodeInfo *msg, size_t *len)
UPB_INLINE bool google_protobuf_DescriptorProto_has_name(const google_protobuf_DescriptorProto *msg)
UPB_INLINE upb_strview const * google_protobuf_DescriptorProto_reserved_name(const google_protobuf_DescriptorProto *msg, size_t *len)
UPB_INLINE bool google_protobuf_GeneratedCodeInfo_has_annotation(const google_protobuf_GeneratedCodeInfo *msg)
UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_name(const google_protobuf_MethodDescriptorProto *msg)
UPB_INLINE bool google_protobuf_MessageOptions_message_set_wire_format(const google_protobuf_MessageOptions *msg)
void upb_cleanup_func(void *ud)
void * _upb_array_resize_fallback(upb_array **arr_ptr, size_t size, int elem_size_lg2, upb_arena *arena)
UPB_INLINE struct google_protobuf_EnumDescriptorProto * google_protobuf_DescriptorProto_add_enum_type(google_protobuf_DescriptorProto *msg, upb_arena *arena)
UPB_INLINE google_protobuf_FileOptions * google_protobuf_FileOptions_new(upb_arena *arena)
UPB_INLINE bool _upb_hasbit(const upb_msg *msg, size_t idx)
bool upb_enum_done(upb_enum_iter *iter)
UPB_INLINE void google_protobuf_EnumValueDescriptorProto_set_number(google_protobuf_EnumValueDescriptorProto *msg, int32_t value)
const UPB_INLINE google_protobuf_DescriptorProto *const * google_protobuf_DescriptorProto_nested_type(const google_protobuf_DescriptorProto *msg, size_t *len)
UPB_INLINE int32_t const * google_protobuf_FileDescriptorProto_weak_dependency(const google_protobuf_FileDescriptorProto *msg, size_t *len)
UPB_INLINE int32_t * google_protobuf_FileDescriptorProto_resize_weak_dependency(google_protobuf_FileDescriptorProto *msg, size_t len, upb_arena *arena)
const UPB_INLINE google_protobuf_ServiceDescriptorProto *const * google_protobuf_FileDescriptorProto_service(const google_protobuf_FileDescriptorProto *msg, size_t *len)
UPB_INLINE bool google_protobuf_FieldDescriptorProto_proto3_optional(const google_protobuf_FieldDescriptorProto *msg)
@ google_protobuf_FieldDescriptorProto_TYPE_STRING
UPB_INLINE google_protobuf_ExtensionRangeOptions * google_protobuf_ExtensionRangeOptions_new(upb_arena *arena)
UPB_INLINE bool _upb_isle(void)
UPB_INLINE void google_protobuf_ServiceDescriptorProto_set_options(google_protobuf_ServiceDescriptorProto *msg, google_protobuf_ServiceOptions *value)
UPB_INLINE upb_strview google_protobuf_FileOptions_php_metadata_namespace(const google_protobuf_FileOptions *msg)
UPB_INLINE char * google_protobuf_GeneratedCodeInfo_serialize(const google_protobuf_GeneratedCodeInfo *msg, upb_arena *arena, size_t *len)
UPB_INLINE bool google_protobuf_FieldOptions_has_lazy(const google_protobuf_FieldOptions *msg)
UPB_INLINE bool google_protobuf_FileOptions_has_swift_prefix(const google_protobuf_FileOptions *msg)
GTEST_API_ const char * fmt
UPB_INLINE struct google_protobuf_UninterpretedOption * google_protobuf_EnumValueOptions_add_uninterpreted_option(google_protobuf_EnumValueOptions *msg, upb_arena *arena)
@ google_protobuf_FieldDescriptorProto_TYPE_FLOAT
UPB_INLINE int32_t google_protobuf_DescriptorProto_ExtensionRange_start(const google_protobuf_DescriptorProto_ExtensionRange *msg)
UPB_INLINE void google_protobuf_MessageOptions_set_no_standard_descriptor_accessor(google_protobuf_MessageOptions *msg, bool value)
google_protobuf_FieldOptions_JSType
bool upb_mapiter_next(const upb_map *map, size_t *iter)
UPB_INLINE struct google_protobuf_UninterpretedOption * google_protobuf_MessageOptions_add_uninterpreted_option(google_protobuf_MessageOptions *msg, upb_arena *arena)
UPB_INLINE google_protobuf_UninterpretedOption_NamePart * google_protobuf_UninterpretedOption_NamePart_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
UPB_INLINE struct google_protobuf_UninterpretedOption * google_protobuf_ServiceOptions_add_uninterpreted_option(google_protobuf_ServiceOptions *msg, upb_arena *arena)
void upb_mapiter_setvalue(upb_map *map, size_t iter, upb_msgval value)
const upb_msgdef * upb_symtab_lookupmsg(const upb_symtab *s, const char *sym)
const upb_msglayout google_protobuf_FileOptions_msginit
UPB_INLINE bool google_protobuf_FileOptions_has_cc_enable_arenas(const google_protobuf_FileOptions *msg)
@ UPB_DESCRIPTOR_TYPE_DOUBLE
upb_msgval upb_msg_get(const upb_msg *msg, const upb_fielddef *f)
void upb_arena_free(upb_arena *a)
const UPB_INLINE google_protobuf_DescriptorProto_ReservedRange *const * google_protobuf_DescriptorProto_reserved_range(const google_protobuf_DescriptorProto *msg, size_t *len)
UPB_INLINE google_protobuf_DescriptorProto_ExtensionRange * google_protobuf_DescriptorProto_ExtensionRange_parse(const char *buf, size_t size, upb_arena *arena)
UPB_INLINE bool google_protobuf_FileOptions_has_java_multiple_files(const google_protobuf_FileOptions *msg)
@ UPB_WELLKNOWN_TIMESTAMP
UPB_INLINE google_protobuf_ServiceDescriptorProto * google_protobuf_ServiceDescriptorProto_new(upb_arena *arena)
void upb_oneof_iter_setdone(upb_oneof_iter *iter)
UPB_INLINE void google_protobuf_FileDescriptorProto_set_syntax(google_protobuf_FileDescriptorProto *msg, upb_strview value)
UPB_INLINE void _upb_msg_map_clear(upb_msg *msg, size_t ofs)
@ google_protobuf_FileOptions_SPEED
const FieldDescriptor * field
const upb_filedef * upb_symtab_lookupfile2(const upb_symtab *s, const char *name, size_t len)
UPB_INLINE char * google_protobuf_ExtensionRangeOptions_serialize(const google_protobuf_ExtensionRangeOptions *msg, upb_arena *arena, size_t *len)
static void __asan_unpoison_memory_region(const void *addr, size_t size)
UPB_INLINE upb_alloc * upb_arena_alloc(upb_arena *a)
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_oneof_index(const google_protobuf_FieldDescriptorProto *msg)
UPB_INLINE google_protobuf_EnumDescriptorProto ** google_protobuf_FileDescriptorProto_resize_enum_type(google_protobuf_FileDescriptorProto *msg, size_t len, upb_arena *arena)
UPB_INLINE upb_strview * google_protobuf_EnumDescriptorProto_mutable_reserved_name(google_protobuf_EnumDescriptorProto *msg, size_t *len)
UPB_INLINE void google_protobuf_MessageOptions_set_message_set_wire_format(google_protobuf_MessageOptions *msg, bool value)
UPB_INLINE google_protobuf_ExtensionRangeOptions * google_protobuf_ExtensionRangeOptions_parse(const char *buf, size_t size, upb_arena *arena)
UPB_INLINE struct google_protobuf_EnumOptions * google_protobuf_EnumDescriptorProto_mutable_options(google_protobuf_EnumDescriptorProto *msg, upb_arena *arena)
const UPB_INLINE google_protobuf_EnumDescriptorProto *const * google_protobuf_DescriptorProto_enum_type(const google_protobuf_DescriptorProto *msg, size_t *len)
UPB_INLINE bool google_protobuf_EnumValueOptions_has_deprecated(const google_protobuf_EnumValueOptions *msg)
void upb_inttable_next(upb_inttable_iter *i)
void upb_msg_oneof_begin(upb_msg_oneof_iter *iter, const upb_msgdef *m)
UPB_INLINE int32_t * google_protobuf_FileDescriptorProto_mutable_public_dependency(google_protobuf_FileDescriptorProto *msg, size_t *len)
#define UPB_PRINTF(str, first_vararg)
UPB_INLINE void _upb_msg_map_value(const void *msg, void *val, size_t size)
const UPB_INLINE google_protobuf_EnumDescriptorProto *const * google_protobuf_FileDescriptorProto_enum_type(const google_protobuf_FileDescriptorProto *msg, size_t *len)
UPB_INLINE bool google_protobuf_FileOptions_has_php_class_prefix(const google_protobuf_FileOptions *msg)
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_extendee(const google_protobuf_FieldDescriptorProto *msg)
bool _upb_array_append_fallback(upb_array **arr_ptr, const void *value, int elem_size_lg2, upb_arena *arena)
UPB_INLINE bool google_protobuf_MethodDescriptorProto_client_streaming(const google_protobuf_MethodDescriptorProto *msg)
UPB_INLINE google_protobuf_EnumOptions * google_protobuf_EnumOptions_parse(const char *buf, size_t size, upb_arena *arena)
upb_value upb_strtable_iter_value(const upb_strtable_iter *i)
UPB_INLINE void * upb_malloc(upb_alloc *alloc, size_t size)
UPB_INLINE bool google_protobuf_DescriptorProto_has_extension(const google_protobuf_DescriptorProto *msg)
const char * upb_fielddef_defaultstr(const upb_fielddef *f, size_t *len)
@ google_protobuf_FieldDescriptorProto_LABEL_OPTIONAL
UPB_INLINE google_protobuf_DescriptorProto ** google_protobuf_DescriptorProto_mutable_nested_type(google_protobuf_DescriptorProto *msg, size_t *len)
UPB_INLINE google_protobuf_GeneratedCodeInfo_Annotation ** google_protobuf_GeneratedCodeInfo_resize_annotation(google_protobuf_GeneratedCodeInfo *msg, size_t len, upb_arena *arena)
UPB_INLINE google_protobuf_SourceCodeInfo_Location * google_protobuf_SourceCodeInfo_Location_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
UPB_INLINE bool google_protobuf_UninterpretedOption_has_identifier_value(const google_protobuf_UninterpretedOption *msg)
UPB_INLINE int32_t const * google_protobuf_SourceCodeInfo_Location_span(const google_protobuf_SourceCodeInfo_Location *msg, size_t *len)
bool upb_oneofdef_issynthetic(const upb_oneofdef *o)
UPB_INLINE google_protobuf_DescriptorProto_ReservedRange ** google_protobuf_DescriptorProto_resize_reserved_range(google_protobuf_DescriptorProto *msg, size_t len, upb_arena *arena)
void upb_msg_field_iter_setdone(upb_msg_field_iter *iter)
const UPB_INLINE google_protobuf_FileOptions * google_protobuf_FileDescriptorProto_options(const google_protobuf_FileDescriptorProto *msg)
UPB_INLINE google_protobuf_UninterpretedOption_NamePart * google_protobuf_UninterpretedOption_NamePart_new(upb_arena *arena)
bool upb_msg_discardunknown(upb_msg *msg, const upb_msgdef *m, int maxdepth)
UPB_INLINE void google_protobuf_MessageOptions_set_map_entry(google_protobuf_MessageOptions *msg, bool value)
UPB_INLINE google_protobuf_GeneratedCodeInfo_Annotation * google_protobuf_GeneratedCodeInfo_Annotation_new(upb_arena *arena)
@ UPB_DESCRIPTOR_TYPE_SINT64
UPB_INLINE void _upb_msg_map_key(const void *msg, void *key, size_t size)
UPB_INLINE google_protobuf_FileDescriptorSet * google_protobuf_FileDescriptorSet_new(upb_arena *arena)
upb_inttable_iter upb_oneof_iter
upb_inttable_iter upb_msg_field_iter
upb_fielddef * upb_oneof_iter_field(const upb_oneof_iter *iter)
UPB_INLINE int64_t google_protobuf_UninterpretedOption_negative_int_value(const google_protobuf_UninterpretedOption *msg)
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_source_code_info(const google_protobuf_FileDescriptorProto *msg)
bool upb_msgdef_iswrapper(const upb_msgdef *m)
UPB_INLINE void google_protobuf_DescriptorProto_ReservedRange_set_end(google_protobuf_DescriptorProto_ReservedRange *msg, int32_t value)
bool upb_msgdef_lookupname(const upb_msgdef *m, const char *name, size_t len, const upb_fielddef **f, const upb_oneofdef **o)
const upb_msglayout google_protobuf_GeneratedCodeInfo_Annotation_msginit
UPB_INLINE google_protobuf_UninterpretedOption ** google_protobuf_ExtensionRangeOptions_resize_uninterpreted_option(google_protobuf_ExtensionRangeOptions *msg, size_t len, upb_arena *arena)
UPB_INLINE google_protobuf_UninterpretedOption ** google_protobuf_OneofOptions_resize_uninterpreted_option(google_protobuf_OneofOptions *msg, size_t len, upb_arena *arena)
UPB_INLINE google_protobuf_OneofDescriptorProto * google_protobuf_OneofDescriptorProto_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
UPB_INLINE struct google_protobuf_GeneratedCodeInfo_Annotation * google_protobuf_GeneratedCodeInfo_add_annotation(google_protobuf_GeneratedCodeInfo *msg, upb_arena *arena)
const char * upb_filedef_name(const upb_filedef *f)
UPB_INLINE google_protobuf_FieldDescriptorProto * google_protobuf_FieldDescriptorProto_parse(const char *buf, size_t size, upb_arena *arena)
UPB_INLINE upb_strview google_protobuf_UninterpretedOption_aggregate_value(const google_protobuf_UninterpretedOption *msg)
UPB_INLINE bool google_protobuf_FileOptions_has_php_metadata_namespace(const google_protobuf_FileOptions *msg)
UPB_INLINE int32_t * google_protobuf_SourceCodeInfo_Location_mutable_span(google_protobuf_SourceCodeInfo_Location *msg, size_t *len)
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_service(const google_protobuf_FileDescriptorProto *msg)
UPB_INLINE google_protobuf_SourceCodeInfo_Location * google_protobuf_SourceCodeInfo_Location_new(upb_arena *arena)
UniquePtr< SSL_SESSION > ret
UPB_INLINE void google_protobuf_EnumDescriptorProto_set_options(google_protobuf_EnumDescriptorProto *msg, google_protobuf_EnumOptions *value)
UPB_INLINE void google_protobuf_DescriptorProto_set_options(google_protobuf_DescriptorProto *msg, google_protobuf_MessageOptions *value)
UPB_INLINE upb_strview google_protobuf_MethodDescriptorProto_name(const google_protobuf_MethodDescriptorProto *msg)
const UPB_INLINE upb_fielddef * upb_oneofdef_ntofz(const upb_oneofdef *o, const char *name)
UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_name(const google_protobuf_EnumDescriptorProto *msg)
UPB_INLINE int32_t * google_protobuf_GeneratedCodeInfo_Annotation_resize_path(google_protobuf_GeneratedCodeInfo_Annotation *msg, size_t len, upb_arena *arena)
const UPB_INLINE google_protobuf_UninterpretedOption *const * google_protobuf_OneofOptions_uninterpreted_option(const google_protobuf_OneofOptions *msg, size_t *len)
const UPB_INLINE google_protobuf_ExtensionRangeOptions * google_protobuf_DescriptorProto_ExtensionRange_options(const google_protobuf_DescriptorProto_ExtensionRange *msg)
UPB_INLINE google_protobuf_ServiceDescriptorProto ** google_protobuf_FileDescriptorProto_resize_service(google_protobuf_FileDescriptorProto *msg, size_t len, upb_arena *arena)
int32_t upb_fielddef_defaultint32(const upb_fielddef *f)
UPB_INLINE char * google_protobuf_SourceCodeInfo_serialize(const google_protobuf_SourceCodeInfo *msg, upb_arena *arena, size_t *len)
UPB_INLINE double google_protobuf_UninterpretedOption_double_value(const google_protobuf_UninterpretedOption *msg)
UPB_INLINE void google_protobuf_EnumDescriptorProto_EnumReservedRange_set_end(google_protobuf_EnumDescriptorProto_EnumReservedRange *msg, int32_t value)
const UPB_INLINE upb_tabent * str_tabent(const upb_strtable_iter *i)
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_name(const google_protobuf_FileDescriptorProto *msg)
UPB_INLINE bool _upb_msg_map_delete(upb_msg *msg, size_t ofs, const void *key, size_t key_size)
struct google_protobuf_ExtensionRangeOptions google_protobuf_ExtensionRangeOptions
UPB_INLINE google_protobuf_DescriptorProto ** google_protobuf_FileDescriptorProto_resize_message_type(google_protobuf_FileDescriptorProto *msg, size_t len, upb_arena *arena)
int upb_filedef_enumcount(const upb_filedef *f)
UPB_INLINE google_protobuf_MethodDescriptorProto ** google_protobuf_ServiceDescriptorProto_resize_method(google_protobuf_ServiceDescriptorProto *msg, size_t len, upb_arena *arena)
const upb_symtab * upb_filedef_symtab(const upb_filedef *f)
UPB_INLINE int32_t google_protobuf_EnumValueDescriptorProto_number(const google_protobuf_EnumValueDescriptorProto *msg)
const upb_msglayout google_protobuf_SourceCodeInfo_Location_msginit
UPB_INLINE struct google_protobuf_UninterpretedOption * google_protobuf_FieldOptions_add_uninterpreted_option(google_protobuf_FieldOptions *msg, upb_arena *arena)
UPB_INLINE char * google_protobuf_FieldOptions_serialize(const google_protobuf_FieldOptions *msg, upb_arena *arena, size_t *len)
UPB_INLINE bool google_protobuf_UninterpretedOption_has_name(const google_protobuf_UninterpretedOption *msg)
const upb_msglayout google_protobuf_OneofDescriptorProto_msginit
#define UPB_STATUS_MAX_MESSAGE
struct google_protobuf_OneofOptions google_protobuf_OneofOptions
UPB_INLINE struct google_protobuf_ServiceOptions * google_protobuf_ServiceDescriptorProto_mutable_options(google_protobuf_ServiceDescriptorProto *msg, upb_arena *arena)
UPB_INLINE google_protobuf_EnumValueOptions * google_protobuf_EnumValueOptions_new(upb_arena *arena)
UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_input_type(const google_protobuf_MethodDescriptorProto *msg)
UPB_INLINE void google_protobuf_FileOptions_set_objc_class_prefix(google_protobuf_FileOptions *msg, upb_strview value)
UPB_INLINE google_protobuf_MessageOptions * google_protobuf_MessageOptions_parse(const char *buf, size_t size, upb_arena *arena)
double upb_fielddef_defaultdouble(const upb_fielddef *f)
bool upb_strtable_init(upb_strtable *table, size_t expected_size, upb_arena *a)
upb_strtable_iter upb_enum_iter
UPB_INLINE upb_strview google_protobuf_FileDescriptorProto_syntax(const google_protobuf_FileDescriptorProto *msg)
UPB_INLINE bool google_protobuf_DescriptorProto_has_extension_range(const google_protobuf_DescriptorProto *msg)
bool upb_fielddef_isextension(const upb_fielddef *f)
UPB_INLINE uint32_t _upb_getoneofcase(const void *msg, size_t case_ofs)
UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_reserved_range(const google_protobuf_EnumDescriptorProto *msg)
UPB_INLINE void google_protobuf_ServiceDescriptorProto_set_name(google_protobuf_ServiceDescriptorProto *msg, upb_strview value)
UPB_INLINE struct google_protobuf_FieldOptions * google_protobuf_FieldDescriptorProto_mutable_options(google_protobuf_FieldDescriptorProto *msg, upb_arena *arena)
UPB_INLINE void _upb_sethas(const upb_msg *msg, size_t idx)
UPB_INLINE bool upb_tabent_isempty(const upb_tabent *e)
UPB_INLINE bool google_protobuf_MethodOptions_deprecated(const google_protobuf_MethodOptions *msg)
UPB_INLINE bool _upb_msg_map_set(upb_msg *msg, size_t ofs, const void *key, size_t key_size, void *val, size_t val_size, upb_arena *arena)
UPB_INLINE google_protobuf_EnumValueDescriptorProto * google_protobuf_EnumValueDescriptorProto_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
UPB_INLINE uint32_t * _upb_oneofcase_field(upb_msg *msg, const upb_msglayout_field *f)
UPB_INLINE google_protobuf_UninterpretedOption ** google_protobuf_OneofOptions_mutable_uninterpreted_option(google_protobuf_OneofOptions *msg, size_t *len)
upb_map * _upb_map_new(upb_arena *a, size_t key_size, size_t value_size)
UPB_INLINE int32_t * google_protobuf_SourceCodeInfo_Location_mutable_path(google_protobuf_SourceCodeInfo_Location *msg, size_t *len)
UPB_INLINE bool google_protobuf_DescriptorProto_has_options(const google_protobuf_DescriptorProto *msg)
UPB_INLINE int32_t google_protobuf_GeneratedCodeInfo_Annotation_begin(const google_protobuf_GeneratedCodeInfo_Annotation *msg)
UPB_INLINE void google_protobuf_FileDescriptorProto_set_name(google_protobuf_FileDescriptorProto *msg, upb_strview value)
UPB_INLINE void google_protobuf_UninterpretedOption_set_aggregate_value(google_protobuf_UninterpretedOption *msg, upb_strview value)
@ google_protobuf_FieldDescriptorProto_TYPE_MESSAGE
void void void upb_status_vappenderrf(upb_status *status, const char *fmt, va_list args) UPB_PRINTF(2
const upb_msglayout google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit
UPB_INLINE char * google_protobuf_ServiceOptions_serialize(const google_protobuf_ServiceOptions *msg, upb_arena *arena, size_t *len)
UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_has_trailing_comments(const google_protobuf_SourceCodeInfo_Location *msg)
@ google_protobuf_FieldOptions_JS_NORMAL
UPB_INLINE bool google_protobuf_FileOptions_has_php_generic_services(const google_protobuf_FileOptions *msg)
const upb_oneofdef * upb_fielddef_containingoneof(const upb_fielddef *f)
upb_msgval upb_mapiter_value(const upb_map *map, size_t iter)
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_name(const google_protobuf_FieldDescriptorProto *msg)
void upb_msg_set(upb_msg *msg, const upb_fielddef *f, upb_msgval val, upb_arena *a)
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_name(const google_protobuf_FieldDescriptorProto *msg)
const upb_oneofdef * upb_msgdef_ntoo(const upb_msgdef *m, const char *name, size_t len)
const char * upb_enumdef_fullname(const upb_enumdef *e)
const char * upb_msgdef_name(const upb_msgdef *m)
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_server_streaming(google_protobuf_MethodDescriptorProto *msg, bool value)
UPB_INLINE bool google_protobuf_EnumOptions_has_deprecated(const google_protobuf_EnumOptions *msg)
UPB_INLINE upb_strview const * google_protobuf_SourceCodeInfo_Location_leading_detached_comments(const google_protobuf_SourceCodeInfo_Location *msg, size_t *len)
struct google_protobuf_GeneratedCodeInfo google_protobuf_GeneratedCodeInfo
UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_has_leading_comments(const google_protobuf_SourceCodeInfo_Location *msg)
struct google_protobuf_MethodOptions google_protobuf_MethodOptions
bool upb_enumdef_ntoi(const upb_enumdef *e, const char *name, size_t len, int32_t *num)
bool upb_strtable_remove(upb_strtable *t, const char *key, size_t len, upb_value *val)
const typedef char * _upb_field_parser(struct upb_decstate *d, const char *ptr, upb_msg *msg, intptr_t table, uint64_t hasbits, uint64_t data)
UPB_INLINE void google_protobuf_EnumOptions_set_allow_alias(google_protobuf_EnumOptions *msg, bool value)
bool upb_fielddef_isseq(const upb_fielddef *f)
UPB_INLINE upb_strview google_protobuf_FileOptions_swift_prefix(const google_protobuf_FileOptions *msg)
UPB_INLINE upb_strview const * google_protobuf_FileDescriptorProto_dependency(const google_protobuf_FileDescriptorProto *msg, size_t *len)
struct google_protobuf_EnumValueOptions google_protobuf_EnumValueOptions
UPB_INLINE void google_protobuf_EnumValueDescriptorProto_set_options(google_protobuf_EnumValueDescriptorProto *msg, google_protobuf_EnumValueOptions *value)
UPB_INLINE google_protobuf_UninterpretedOption ** google_protobuf_MethodOptions_mutable_uninterpreted_option(google_protobuf_MethodOptions *msg, size_t *len)
UPB_INLINE bool google_protobuf_UninterpretedOption_NamePart_has_is_extension(const google_protobuf_UninterpretedOption_NamePart *msg)
void * upb_alloc_func(upb_alloc *alloc, void *ptr, size_t oldsize, size_t size)
UPB_INLINE char * google_protobuf_MessageOptions_serialize(const google_protobuf_MessageOptions *msg, upb_arena *arena, size_t *len)
UPB_INLINE bool google_protobuf_UninterpretedOption_has_aggregate_value(const google_protobuf_UninterpretedOption *msg)
UPB_INLINE google_protobuf_EnumDescriptorProto ** google_protobuf_FileDescriptorProto_mutable_enum_type(google_protobuf_FileDescriptorProto *msg, size_t *len)
UPB_INLINE bool google_protobuf_EnumValueOptions_has_uninterpreted_option(const google_protobuf_EnumValueOptions *msg)
UPB_INLINE google_protobuf_FileDescriptorSet * google_protobuf_FileDescriptorSet_parse(const char *buf, size_t size, upb_arena *arena)
UPB_INLINE size_t _upb_oneofcase_ofs(const upb_msglayout_field *f)
const upb_msglayout google_protobuf_EnumValueOptions_msginit
UPB_INLINE char * google_protobuf_FileDescriptorProto_serialize(const google_protobuf_FileDescriptorProto *msg, upb_arena *arena, size_t *len)
size_t _upb_symtab_bytesloaded(const upb_symtab *s)
UPB_INLINE google_protobuf_MethodDescriptorProto * google_protobuf_MethodDescriptorProto_parse(const char *buf, size_t size, upb_arena *arena)
const UPB_INLINE google_protobuf_UninterpretedOption *const * google_protobuf_ExtensionRangeOptions_uninterpreted_option(const google_protobuf_ExtensionRangeOptions *msg, size_t *len)
struct upb_tabval upb_tabval
UPB_INLINE google_protobuf_EnumValueDescriptorProto ** google_protobuf_EnumDescriptorProto_resize_value(google_protobuf_EnumDescriptorProto *msg, size_t len, upb_arena *arena)
const UPB_INLINE google_protobuf_DescriptorProto *const * google_protobuf_FileDescriptorProto_message_type(const google_protobuf_FileDescriptorProto *msg, size_t *len)
@ google_protobuf_MethodOptions_IDEMPOTENCY_UNKNOWN
UPB_INLINE void google_protobuf_UninterpretedOption_set_negative_int_value(google_protobuf_UninterpretedOption *msg, int64_t value)
UPB_INLINE int32_t * google_protobuf_SourceCodeInfo_Location_resize_span(google_protobuf_SourceCodeInfo_Location *msg, size_t len, upb_arena *arena)
bool upb_fielddef_issubmsg(const upb_fielddef *f)
@ google_protobuf_FieldDescriptorProto_TYPE_UINT32
UPB_INLINE bool google_protobuf_MethodOptions_has_idempotency_level(const google_protobuf_MethodOptions *msg)
bool upb_oneof_done(upb_oneof_iter *iter)
bool upb_array_append(upb_array *array, upb_msgval val, upb_arena *arena)
const UPB_INLINE char * decode_isdonefallback_inl(upb_decstate *d, const char *ptr, int overrun)
int32_t upb_enum_iter_number(upb_enum_iter *iter)
UPB_INLINE google_protobuf_EnumValueDescriptorProto ** google_protobuf_EnumDescriptorProto_mutable_value(google_protobuf_EnumDescriptorProto *msg, size_t *len)
UPB_INLINE void upb_free(upb_alloc *alloc, void *ptr)
UPB_INLINE google_protobuf_ServiceDescriptorProto * google_protobuf_ServiceDescriptorProto_parse(const char *buf, size_t size, upb_arena *arena)
@ google_protobuf_FieldOptions_STRING_PIECE
UPB_INLINE void google_protobuf_MethodOptions_set_idempotency_level(google_protobuf_MethodOptions *msg, int32_t value)
bool upb_fielddef_lazy(const upb_fielddef *f)
const upb_oneofdef * upb_msg_iter_oneof(const upb_msg_oneof_iter *iter)
void upb_strtable_iter_setdone(upb_strtable_iter *i)
struct upb_decstate upb_decstate
UPB_INLINE google_protobuf_UninterpretedOption_NamePart ** google_protobuf_UninterpretedOption_resize_name(google_protobuf_UninterpretedOption *msg, size_t len, upb_arena *arena)
@ UPB_WIRE_TYPE_START_GROUP
UPB_INLINE bool google_protobuf_ServiceDescriptorProto_has_method(const google_protobuf_ServiceDescriptorProto *msg)
@ google_protobuf_FieldOptions_JS_NUMBER
UPB_INLINE google_protobuf_MethodOptions * google_protobuf_MethodOptions_parse(const char *buf, size_t size, upb_arena *arena)
UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_set_end(google_protobuf_DescriptorProto_ExtensionRange *msg, int32_t value)
@ UPB_DESCRIPTOR_TYPE_INT32
bool upb_msg_next(const upb_msg *msg, const upb_msgdef *m, const upb_symtab *ext_pool, const upb_fielddef **f, upb_msgval *val, size_t *iter)
UPB_INLINE bool google_protobuf_FileOptions_cc_generic_services(const google_protobuf_FileOptions *msg)
UPB_INLINE bool _upb_array_append_accessor(void *msg, size_t ofs, size_t elem_size, upb_fieldtype_t type, const void *value, upb_arena *arena)
UPB_INLINE bool google_protobuf_FileOptions_java_generate_equals_and_hash(const google_protobuf_FileOptions *msg)
UPB_INLINE google_protobuf_OneofOptions * google_protobuf_OneofOptions_new(upb_arena *arena)
UPB_INLINE char * google_protobuf_EnumValueOptions_serialize(const google_protobuf_EnumValueOptions *msg, upb_arena *arena, size_t *len)
UPB_INLINE bool _upb_map_delete(upb_map *map, const void *key, size_t key_size)
const UPB_INLINE google_protobuf_MessageOptions * google_protobuf_DescriptorProto_options(const google_protobuf_DescriptorProto *msg)
UPB_INLINE google_protobuf_UninterpretedOption ** google_protobuf_FileOptions_mutable_uninterpreted_option(google_protobuf_FileOptions *msg, size_t *len)
UPB_INLINE bool google_protobuf_MethodOptions_has_uninterpreted_option(const google_protobuf_MethodOptions *msg)
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_type(const google_protobuf_FieldDescriptorProto *msg)
bool upb_msg_oneof_done(const upb_msg_oneof_iter *iter)
void upb_status_seterrf(upb_status *status, const char *fmt,...) UPB_PRINTF(2
bool upb_inttable_remove(upb_inttable *t, uintptr_t key, upb_value *val)
bool _upb_array_realloc(upb_array *arr, size_t min_size, upb_arena *arena)
UPB_INLINE google_protobuf_DescriptorProto_ExtensionRange * google_protobuf_DescriptorProto_ExtensionRange_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
#define UPB_SIZE(size32, size64)
UPB_INLINE bool google_protobuf_FieldOptions_has_uninterpreted_option(const google_protobuf_FieldOptions *msg)
char _upb_fieldtype_to_size[12]
struct google_protobuf_ServiceOptions google_protobuf_ServiceOptions
UPB_INLINE upb_strview google_protobuf_FileOptions_java_package(const google_protobuf_FileOptions *msg)
UPB_INLINE void google_protobuf_FileOptions_set_go_package(google_protobuf_FileOptions *msg, upb_strview value)
google_protobuf_FieldOptions_CType
struct google_protobuf_DescriptorProto google_protobuf_DescriptorProto
bool upb_mapiter_done(const upb_map *map, size_t iter)
const upb_msglayout google_protobuf_GeneratedCodeInfo_msginit
UPB_INLINE char * google_protobuf_OneofOptions_serialize(const google_protobuf_OneofOptions *msg, upb_arena *arena, size_t *len)
UPB_INLINE bool google_protobuf_FileOptions_has_uninterpreted_option(const google_protobuf_FileOptions *msg)
UPB_INLINE uint32_t _upb_getoneofcase_field(const upb_msg *msg, const upb_msglayout_field *f)
UPB_INLINE google_protobuf_SourceCodeInfo_Location * google_protobuf_SourceCodeInfo_Location_parse(const char *buf, size_t size, upb_arena *arena)
UPB_INLINE bool google_protobuf_MessageOptions_no_standard_descriptor_accessor(const google_protobuf_MessageOptions *msg)
size_t upb_inttable_count(const upb_inttable *t)
UPB_INLINE upb_strview google_protobuf_UninterpretedOption_NamePart_name_part(const google_protobuf_UninterpretedOption_NamePart *msg)
UPB_INLINE char * google_protobuf_EnumValueDescriptorProto_serialize(const google_protobuf_EnumValueDescriptorProto *msg, upb_arena *arena, size_t *len)
bool upb_inttable_done(const upb_inttable_iter *i)
UPB_INLINE upb_strview * google_protobuf_DescriptorProto_mutable_reserved_name(google_protobuf_DescriptorProto *msg, size_t *len)
bool upb_strtable_resize(upb_strtable *t, size_t size_lg2, upb_arena *a)
UPB_INLINE int32_t * google_protobuf_SourceCodeInfo_Location_resize_path(google_protobuf_SourceCodeInfo_Location *msg, size_t len, upb_arena *arena)
@ UPB_WELLKNOWN_LISTVALUE
UPB_INLINE void google_protobuf_FileOptions_set_java_generate_equals_and_hash(google_protobuf_FileOptions *msg, bool value)
const upb_msgdef * upb_oneofdef_containingtype(const upb_oneofdef *o)
UPB_INLINE int32_t * google_protobuf_FileDescriptorProto_mutable_weak_dependency(google_protobuf_FileDescriptorProto *msg, size_t *len)
UPB_INLINE google_protobuf_MethodOptions * google_protobuf_MethodOptions_new(upb_arena *arena)
UPB_INLINE void google_protobuf_UninterpretedOption_set_double_value(google_protobuf_UninterpretedOption *msg, double value)
bool upb_msg_has(const upb_msg *msg, const upb_fielddef *f)
UPB_INLINE uint32_t * _upb_oneofcase(upb_msg *msg, size_t case_ofs)
struct google_protobuf_SourceCodeInfo_Location google_protobuf_SourceCodeInfo_Location
UPB_INLINE void google_protobuf_EnumDescriptorProto_set_name(google_protobuf_EnumDescriptorProto *msg, upb_strview value)
const UPB_INLINE google_protobuf_FieldDescriptorProto *const * google_protobuf_DescriptorProto_extension(const google_protobuf_DescriptorProto *msg, size_t *len)
UPB_INLINE upb_strview google_protobuf_GeneratedCodeInfo_Annotation_source_file(const google_protobuf_GeneratedCodeInfo_Annotation *msg)
UPB_INLINE struct google_protobuf_EnumValueOptions * google_protobuf_EnumValueDescriptorProto_mutable_options(google_protobuf_EnumValueDescriptorProto *msg, upb_arena *arena)
bool upb_array_resize(upb_array *array, size_t size, upb_arena *arena)
UPB_INLINE google_protobuf_DescriptorProto_ExtensionRange * google_protobuf_DescriptorProto_ExtensionRange_new(upb_arena *arena)
@ google_protobuf_FileOptions_CODE_SIZE
UPB_INLINE bool google_protobuf_EnumValueDescriptorProto_has_options(const google_protobuf_EnumValueDescriptorProto *msg)
const UPB_INLINE google_protobuf_OneofDescriptorProto *const * google_protobuf_DescriptorProto_oneof_decl(const google_protobuf_DescriptorProto *msg, size_t *len)
static void __asan_poison_memory_region(const void *addr, size_t size)
UPB_INLINE int _upb_lg2ceil(int x)
bool upb_fielddef_defaultbool(const upb_fielddef *f)
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_proto3_optional(const google_protobuf_FieldDescriptorProto *msg)
@ google_protobuf_FieldDescriptorProto_TYPE_FIXED64
float upb_fielddef_defaultfloat(const upb_fielddef *f)
UPB_INLINE google_protobuf_UninterpretedOption_NamePart ** google_protobuf_UninterpretedOption_mutable_name(google_protobuf_UninterpretedOption *msg, size_t *len)
UPB_INLINE int32_t const * google_protobuf_GeneratedCodeInfo_Annotation_path(const google_protobuf_GeneratedCodeInfo_Annotation *msg, size_t *len)
const upb_msglayout google_protobuf_UninterpretedOption_msginit
UPB_INLINE google_protobuf_MethodOptions * google_protobuf_MethodOptions_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
UPB_INLINE upb_strview google_protobuf_SourceCodeInfo_Location_leading_comments(const google_protobuf_SourceCodeInfo_Location *msg)
UPB_INLINE bool google_protobuf_UninterpretedOption_NamePart_is_extension(const google_protobuf_UninterpretedOption_NamePart *msg)
const upb_fielddef * upb_msgdef_field(const upb_msgdef *m, int i)
UPB_INLINE google_protobuf_UninterpretedOption_NamePart * google_protobuf_UninterpretedOption_NamePart_parse(const char *buf, size_t size, upb_arena *arena)
UPB_INLINE struct google_protobuf_MessageOptions * google_protobuf_DescriptorProto_mutable_options(google_protobuf_DescriptorProto *msg, upb_arena *arena)
UPB_INLINE upb_strview upb_strview_makez(const char *data)
struct google_protobuf_FileDescriptorProto google_protobuf_FileDescriptorProto
UPB_INLINE char * google_protobuf_DescriptorProto_serialize(const google_protobuf_DescriptorProto *msg, upb_arena *arena, size_t *len)
upb_msg_ext * _upb_msg_getorcreateext(upb_msg *msg, const upb_msglayout_ext *ext, upb_arena *arena)
UPB_INLINE bool google_protobuf_EnumOptions_has_uninterpreted_option(const google_protobuf_EnumOptions *msg)
upb_map * upb_map_new(upb_arena *a, upb_fieldtype_t key_type, upb_fieldtype_t value_type)
UPB_INLINE struct google_protobuf_MethodDescriptorProto * google_protobuf_ServiceDescriptorProto_add_method(google_protobuf_ServiceDescriptorProto *msg, upb_arena *arena)
struct google_protobuf_DescriptorProto_ReservedRange google_protobuf_DescriptorProto_ReservedRange
const upb_fielddef * upb_msg_whichoneof(const upb_msg *msg, const upb_oneofdef *o)
const UPB_INLINE google_protobuf_EnumValueOptions * google_protobuf_EnumValueDescriptorProto_options(const google_protobuf_EnumValueDescriptorProto *msg)
#define UPB_PTR_AT(msg, ofs, type)
UPB_INLINE bool google_protobuf_EnumOptions_allow_alias(const google_protobuf_EnumOptions *msg)
UPB_INLINE char * google_protobuf_FileOptions_serialize(const google_protobuf_FileOptions *msg, upb_arena *arena, size_t *len)
int upb_oneofdef_numfields(const upb_oneofdef *o)
UPB_INLINE google_protobuf_EnumDescriptorProto * google_protobuf_EnumDescriptorProto_parse_ex(const char *buf, size_t size, const upb_extreg *extreg, int options, upb_arena *arena)
const UPB_INLINE google_protobuf_FileDescriptorProto *const * google_protobuf_FileDescriptorSet_file(const google_protobuf_FileDescriptorSet *msg, size_t *len)
const char * upb_msg_getunknown(const upb_msg *msg, size_t *len)
UPB_INLINE char * google_protobuf_FileDescriptorSet_serialize(const google_protobuf_FileDescriptorSet *msg, upb_arena *arena, size_t *len)
struct google_protobuf_EnumDescriptorProto_EnumReservedRange google_protobuf_EnumDescriptorProto_EnumReservedRange
struct google_protobuf_FileOptions google_protobuf_FileOptions
UPB_INLINE int32_t google_protobuf_MethodOptions_idempotency_level(const google_protobuf_MethodOptions *msg)
struct google_protobuf_MessageOptions google_protobuf_MessageOptions
upb_value upb_inttable_iter_value(const upb_inttable_iter *i)
UPB_INLINE uintptr_t _upb_array_tagptr(void *ptr, int elem_size_lg2)
UPB_INLINE void upb_value_setfloat(upb_value *val, float cval)
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_name(google_protobuf_MethodDescriptorProto *msg, upb_strview value)
upb_syntax_t upb_filedef_syntax(const upb_filedef *f)
bool upb_strtable_done(const upb_strtable_iter *i)
UPB_INLINE void google_protobuf_EnumValueDescriptorProto_set_name(google_protobuf_EnumValueDescriptorProto *msg, upb_strview value)
upb_strtable_iter upb_msg_oneof_iter
UPB_INLINE void google_protobuf_OneofDescriptorProto_set_options(google_protobuf_OneofDescriptorProto *msg, google_protobuf_OneofOptions *value)
@ UPB_WELLKNOWN_BYTESVALUE
bool _upb_symtab_loaddefinit(upb_symtab *s, const upb_def_init *init)
std::allocator< int > alloc
UPB_INLINE void _upb_map_clear(upb_map *map)
UPB_INLINE google_protobuf_UninterpretedOption ** google_protobuf_ServiceOptions_mutable_uninterpreted_option(google_protobuf_ServiceOptions *msg, size_t *len)
const upb_filedef * upb_msgdef_file(const upb_msgdef *m)
UPB_INLINE size_t _upb_map_size(const upb_map *map)
UPB_INLINE int32_t google_protobuf_EnumDescriptorProto_EnumReservedRange_start(const google_protobuf_EnumDescriptorProto_EnumReservedRange *msg)
UPB_INLINE bool upb_decode(const char *buf, size_t size, upb_msg *msg, const upb_msglayout *l, upb_arena *arena)
uint64_t Wyhash(const void *data, size_t len, uint64_t seed, const uint64_t salt[])
void upb_strtable_next(upb_strtable_iter *i)
const char * upb_fielddef_jsonname(const upb_fielddef *f)
UPB_INLINE void google_protobuf_FieldOptions_set_lazy(google_protobuf_FieldOptions *msg, bool value)
UPB_INLINE upb_strview const * google_protobuf_EnumDescriptorProto_reserved_name(const google_protobuf_EnumDescriptorProto *msg, size_t *len)
UPB_INLINE bool _upb_map_get(const upb_map *map, const void *key, size_t key_size, void *val, size_t val_size)
UPB_INLINE void google_protobuf_FileOptions_set_py_generic_services(google_protobuf_FileOptions *msg, bool value)
UPB_INLINE google_protobuf_EnumDescriptorProto_EnumReservedRange * google_protobuf_EnumDescriptorProto_EnumReservedRange_new(upb_arena *arena)
struct upb_arena * parent
UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_add_leading_detached_comments(google_protobuf_SourceCodeInfo_Location *msg, upb_strview val, upb_arena *arena)
UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_add_path(google_protobuf_SourceCodeInfo_Location *msg, int32_t val, upb_arena *arena)
UPB_INLINE bool google_protobuf_UninterpretedOption_has_positive_int_value(const google_protobuf_UninterpretedOption *msg)
UPB_INLINE bool google_protobuf_FileOptions_has_php_namespace(const google_protobuf_FileOptions *msg)
UPB_INLINE void google_protobuf_EnumValueOptions_set_deprecated(google_protobuf_EnumValueOptions *msg, bool value)
upb_msg * _upb_msg_new(const upb_msglayout *l, upb_arena *a)
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_output_type(google_protobuf_MethodDescriptorProto *msg, upb_strview value)
uint64_t upb_fielddef_defaultuint64(const upb_fielddef *f)
UPB_INLINE bool google_protobuf_FileOptions_has_py_generic_services(const google_protobuf_FileOptions *msg)
const UPB_INLINE google_protobuf_UninterpretedOption *const * google_protobuf_FileOptions_uninterpreted_option(const google_protobuf_FileOptions *msg, size_t *len)
bool upb_strtable_iter_isequal(const upb_strtable_iter *i1, const upb_strtable_iter *i2)
UPB_INLINE void google_protobuf_UninterpretedOption_NamePart_set_is_extension(google_protobuf_UninterpretedOption_NamePart *msg, bool value)
#define UPB_UNPOISON_MEMORY_REGION(addr, size)
UPB_INLINE uint32_t fastdecode_loadtag(const char *ptr)
@ UPB_WELLKNOWN_STRINGVALUE
const char * upb_filedef_package(const upb_filedef *f)
UPB_INLINE struct google_protobuf_UninterpretedOption * google_protobuf_FileOptions_add_uninterpreted_option(google_protobuf_FileOptions *msg, upb_arena *arena)
UPB_INLINE void google_protobuf_FileOptions_set_java_package(google_protobuf_FileOptions *msg, upb_strview value)
UPB_INLINE bool google_protobuf_FileOptions_has_java_package(const google_protobuf_FileOptions *msg)
void upb_msg_clearfield(upb_msg *msg, const upb_fielddef *f)
UPB_INLINE int32_t const * google_protobuf_FileDescriptorProto_public_dependency(const google_protobuf_FileDescriptorProto *msg, size_t *len)
UPB_INLINE bool google_protobuf_MessageOptions_deprecated(const google_protobuf_MessageOptions *msg)
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:01:13