Searched refs:upb_def (Results 1 – 8 of 8) sorted by relevance
/external/protobuf/php/ext/google/protobuf/ |
D | def.c | 14 static upb_def *check_notfrozen(const upb_def *def) { in check_notfrozen() 20 return (upb_def *)def; in check_notfrozen() 24 return upb_downcast_msgdef_mutable(check_notfrozen((const upb_def *)def)); in check_msgdef_notfrozen() 28 return upb_downcast_fielddef_mutable(check_notfrozen((const upb_def *)def)); in check_fielddef_notfrozen() 166 upb_def **defs = emalloc(sizeof(upb_def *) * num); in PHP_METHOD() 172 defs[i] = (upb_def *)desc->msgdef; in PHP_METHOD() 176 CHECK_UPB(upb_symtab_add(self->symtab, (upb_def **)defs, num, NULL, &status), in PHP_METHOD()
|
D | upb.c | 70 upb_deftype_t upb_def_type(const upb_def *d) { return d->type; } in upb_def_type() 72 const char *upb_def_fullname(const upb_def *d) { return d->fullname; } in upb_def_fullname() 74 bool upb_def_setfullname(upb_def *def, const char *fullname, upb_status *s) { in upb_def_setfullname() 82 upb_def *upb_def_dup(const upb_def *def, const void *o) { in upb_def_dup() 97 static bool upb_def_init(upb_def *def, upb_deftype_t type, in upb_def_init() 107 static void upb_def_uninit(upb_def *def) { in upb_def_uninit() 135 const upb_def *subdef; in upb_validate_field() 319 bool upb_def_freeze(upb_def *const* defs, int n, upb_status *s) { in upb_def_freeze() 328 upb_def *def = defs[i]; in upb_def_freeze() 428 upb_def *d = upb_enumdef_upcast_mutable(e); in upb_enumdef_freeze() [all …]
|
D | upb.h | 1269 UPB_DECLARE_DERIVED_TYPE(upb::Def, upb::RefCounted, upb_def, upb_refcounted) 1342 upb_def *upb_def_dup(const upb_def *def, const void *owner); 1345 UPB_REFCOUNTED_CMETHODS(upb_def, upb_def_upcast) 1347 upb_deftype_t upb_def_type(const upb_def *d); 1348 const char *upb_def_fullname(const upb_def *d); 1349 bool upb_def_setfullname(upb_def *def, const char *fullname, upb_status *s); 1350 bool upb_def_freeze(upb_def *const *defs, int n, upb_status *s); 1394 UPB_INLINE const upb_##lower *upb_dyncast_##lower(const upb_def *def) { \ 1398 UPB_INLINE const upb_##lower *upb_downcast_##lower(const upb_def *def) { \ 1402 UPB_INLINE upb_##lower *upb_dyncast_##lower##_mutable(upb_def *def) { \ [all …]
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | defs.c | 49 static upb_def* check_notfrozen(const upb_def* def) { in check_notfrozen() 55 return (upb_def*)def; in check_notfrozen() 59 return upb_downcast_msgdef_mutable(check_notfrozen((const upb_def*)def)); in check_msg_notfrozen() 63 return upb_downcast_fielddef_mutable(check_notfrozen((const upb_def*)def)); in check_field_notfrozen() 67 return (upb_oneofdef*)check_notfrozen((const upb_def*)def); in check_oneof_notfrozen() 71 return (upb_enumdef*)check_notfrozen((const upb_def*)def); in check_enum_notfrozen() 139 upb_symtab_add(self->symtab, (upb_def**)&descriptor->msgdef, 1, in add_descriptor_to_pool() 147 upb_symtab_add(self->symtab, (upb_def**)&enumdesc->enumdef, 1, in add_enumdesc_to_pool() 202 const upb_def* def = upb_symtab_lookup(self->symtab, name_str); in DescriptorPool_lookup() 465 if (!upb_def_isfrozen((const upb_def*)self->msgdef)) { in Descriptor_msgclass() [all …]
|
D | upb.c | 87 upb_deftype_t upb_def_type(const upb_def *d) { return d->type; } in upb_def_type() 89 const char *upb_def_fullname(const upb_def *d) { return d->fullname; } in upb_def_fullname() 91 const char *upb_def_name(const upb_def *d) { in upb_def_name() 105 bool upb_def_setfullname(upb_def *def, const char *fullname, upb_status *s) { in upb_def_setfullname() 122 const upb_filedef *upb_def_file(const upb_def *d) { return d->file; } in upb_def_file() 124 upb_def *upb_def_dup(const upb_def *def, const void *o) { in upb_def_dup() 139 static bool upb_def_init(upb_def *def, upb_deftype_t type, in upb_def_init() 150 static void upb_def_uninit(upb_def *def) { in upb_def_uninit() 178 const upb_def *subdef; in upb_validate_field() 373 bool _upb_def_validate(upb_def *const*defs, size_t n, upb_status *s) { in _upb_def_validate() [all …]
|
D | upb.h | 1663 UPB_DECLARE_DERIVED_TYPE(upb::Def, upb::RefCounted, upb_def, upb_refcounted) 1749 upb_def *upb_def_dup(const upb_def *def, const void *owner); 1752 UPB_REFCOUNTED_CMETHODS(upb_def, upb_def_upcast) 1754 upb_deftype_t upb_def_type(const upb_def *d); 1755 const char *upb_def_fullname(const upb_def *d); 1756 const char *upb_def_name(const upb_def *d); 1757 const upb_filedef *upb_def_file(const upb_def *d); 1758 bool upb_def_setfullname(upb_def *def, const char *fullname, upb_status *s); 1759 bool upb_def_freeze(upb_def *const *defs, size_t n, upb_status *s); 1762 bool _upb_def_validate(upb_def *const*defs, size_t n, upb_status *s); [all …]
|
D | protobuf.h | 154 upb_def** defs; // used only while finalizing
|
D | encode_decode.c | 230 const upb_def* value_field_subdef;
|