Home
last modified time | relevance | path

Searched refs:upb_enumdef (Results 1 – 7 of 7) sorted by relevance

/external/protobuf/ruby/ext/google/protobuf_c/
Ddefs.c70 static upb_enumdef* check_enum_notfrozen(const upb_enumdef* def) { in check_enum_notfrozen()
71 return (upb_enumdef*)check_notfrozen((const upb_def*)def); in check_enum_notfrozen()
1066 upb_enumdef* mut_def = check_enum_notfrozen(self->enumdef); in EnumDescriptor_name_set()
1083 upb_enumdef* mut_def = check_enum_notfrozen(self->enumdef); in EnumDescriptor_add_value()
1710 static void validate_enumdef(const upb_enumdef* enumdef) { in validate_enumdef()
1748 validate_enumdef((const upb_enumdef*)self->defs[i]); in Builder_finalize_to_pool()
Dupb.h2243 const upb_enumdef *upb_fielddef_enumsubdef(const upb_fielddef *f);
2275 bool upb_fielddef_setenumsubdef(upb_fielddef *f, const upb_enumdef *subdef,
2730 upb_enumdef *upb_enumdef_new(const void *owner);
2731 upb_enumdef *upb_enumdef_dup(const upb_enumdef *e, const void *owner);
2734 UPB_REFCOUNTED_CMETHODS(upb_enumdef, upb_enumdef_upcast2)
2736 bool upb_enumdef_freeze(upb_enumdef *e, upb_status *status);
2739 const char *upb_enumdef_fullname(const upb_enumdef *e);
2740 const char *upb_enumdef_name(const upb_enumdef *e);
2741 bool upb_enumdef_setfullname(upb_enumdef *e, const char *fullname,
2744 int32_t upb_enumdef_default(const upb_enumdef *e);
[all …]
Dupb.c254 static bool upb_validate_enumdef(const upb_enumdef *e, upb_status *s) { in upb_validate_enumdef()
402 upb_enumdef *e = upb_dyncast_enumdef_mutable(def); in _upb_def_validate()
442 upb_enumdef *e = (upb_enumdef*)r; in upb_enumdef_free()
457 upb_enumdef *upb_enumdef_new(const void *owner) { in upb_enumdef_new()
458 upb_enumdef *e = upb_gmalloc(sizeof(*e)); in upb_enumdef_new()
477 upb_enumdef *upb_enumdef_dup(const upb_enumdef *e, const void *owner) { in upb_enumdef_dup()
479 upb_enumdef *new_e = upb_enumdef_new(owner); in upb_enumdef_dup()
492 bool upb_enumdef_freeze(upb_enumdef *e, upb_status *status) { in upb_enumdef_freeze()
497 const char *upb_enumdef_fullname(const upb_enumdef *e) { in upb_enumdef_fullname()
501 const char *upb_enumdef_name(const upb_enumdef *e) { in upb_enumdef_name()
[all …]
Dprotobuf.h134 const upb_enumdef* enumdef;
/external/protobuf/php/ext/google/protobuf/
Dupb.h1782 const upb_enumdef *upb_fielddef_enumsubdef(const upb_fielddef *f);
1812 bool upb_fielddef_setenumsubdef(upb_fielddef *f, const upb_enumdef *subdef,
2242 upb_enumdef *upb_enumdef_new(const void *owner);
2243 upb_enumdef *upb_enumdef_dup(const upb_enumdef *e, const void *owner);
2246 UPB_REFCOUNTED_CMETHODS(upb_enumdef, upb_enumdef_upcast2)
2248 bool upb_enumdef_freeze(upb_enumdef *e, upb_status *status);
2251 const char *upb_enumdef_fullname(const upb_enumdef *e);
2252 bool upb_enumdef_setfullname(upb_enumdef *e, const char *fullname,
2255 int32_t upb_enumdef_default(const upb_enumdef *e);
2256 bool upb_enumdef_setdefault(upb_enumdef *e, int32_t val, upb_status *s);
[all …]
Dupb.c211 static bool upb_validate_enumdef(const upb_enumdef *e, upb_status *s) { in upb_validate_enumdef()
350 upb_enumdef *e = upb_dyncast_enumdef_mutable(defs[i]); in upb_def_freeze()
382 upb_enumdef *e = (upb_enumdef*)r; in upb_enumdef_free()
395 upb_enumdef *upb_enumdef_new(const void *owner) { in upb_enumdef_new()
397 upb_enumdef *e = malloc(sizeof(*e)); in upb_enumdef_new()
412 upb_enumdef *upb_enumdef_dup(const upb_enumdef *e, const void *owner) { in upb_enumdef_dup()
414 upb_enumdef *new_e = upb_enumdef_new(owner); in upb_enumdef_dup()
427 bool upb_enumdef_freeze(upb_enumdef *e, upb_status *status) { in upb_enumdef_freeze()
432 const char *upb_enumdef_fullname(const upb_enumdef *e) { in upb_enumdef_fullname()
436 bool upb_enumdef_setfullname(upb_enumdef *e, const char *fullname, in upb_enumdef_setfullname()
[all …]
Dprotobuf.h97 const upb_enumdef* enumdef;