Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Ddef.h27 struct upb_enumdef;
28 typedef struct upb_enumdef upb_enumdef; typedef
108 const upb_enumdef *upb_fielddef_enumsubdef(const upb_fielddef *f);
242 const char *upb_enumdef_fullname(const upb_enumdef *e);
243 const char *upb_enumdef_name(const upb_enumdef *e);
244 const upb_filedef *upb_enumdef_file(const upb_enumdef *e);
245 int32_t upb_enumdef_default(const upb_enumdef *e);
246 int upb_enumdef_numvals(const upb_enumdef *e);
253 bool upb_enumdef_ntoi(const upb_enumdef *e, const char *name, size_t len,
255 UPB_INLINE bool upb_enumdef_ntoiz(const upb_enumdef *e, in upb_enumdef_ntoiz()
[all …]
Ddef.c34 const upb_enumdef *enumdef;
73 struct upb_enumdef { struct
99 const upb_enumdef *enums; argument
258 const char *upb_enumdef_fullname(const upb_enumdef *e) { in upb_enumdef_fullname()
262 const char *upb_enumdef_name(const upb_enumdef *e) { in upb_enumdef_name()
266 const upb_filedef *upb_enumdef_file(const upb_enumdef *e) { in upb_enumdef_file()
270 int32_t upb_enumdef_default(const upb_enumdef *e) { in upb_enumdef_default()
275 int upb_enumdef_numvals(const upb_enumdef *e) { in upb_enumdef_numvals()
279 void upb_enum_begin(upb_enum_iter *i, const upb_enumdef *e) { in upb_enum_begin()
287 bool upb_enumdef_ntoi(const upb_enumdef *def, const char *name, in upb_enumdef_ntoi()
[all …]
Ddef.hpp289 explicit EnumDefPtr(const upb_enumdef* ptr) : ptr_(ptr) {} in EnumDefPtr()
291 const upb_enumdef* ptr() const { return ptr_; } in ptr()
338 const upb_enumdef* ptr_;
Dtext_encode.c76 const upb_enumdef *e_def = upb_fielddef_enumsubdef(f); in txtenc_enum()
Djson_encode.c171 const upb_enumdef *e_def = upb_fielddef_enumsubdef(f); in jsonenc_enum()
Djson_decode.c790 const upb_enumdef *e = upb_fielddef_enumsubdef(f); in jsondec_enum()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/bindings/lua/
Ddef.c185 const upb_enumdef *e = upb_fielddef_enumsubdef(f); in lupb_fielddef_enumsubdef()
525 const upb_enumdef *lupb_enumdef_check(lua_State *L, int narg) { in lupb_enumdef_check()
530 const upb_enumdef *e = lupb_enumdef_check(L, 1); in lupb_enumdef_len()
536 const upb_enumdef *e = lupb_enumdef_check(L, 1); in lupb_enumdef_file()
549 const upb_enumdef *e = lupb_enumdef_check(L, 1); in lupb_enumdef_value()
588 const upb_enumdef *e = lupb_enumdef_check(L, 1); in lupb_enumdef_values()
634 const upb_enumdef *e = upb_filedef_enum(f, index); in lupb_filedef_enum()
847 const upb_enumdef *e = upb_symtab_lookupenum(s, luaL_checkstring(L, 2)); in lupb_symtab_lookupenum()
Dupb.h69 const upb_enumdef *lupb_enumdef_check(lua_State *L, int narg);
/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()
1370 upb_enumdef* mut_def = check_enum_notfrozen(self->enumdef); in EnumDescriptor_name_set()
1387 upb_enumdef* mut_def = check_enum_notfrozen(self->enumdef); in EnumDescriptor_add_value()
2198 static void proto3_validate_enumdef(const upb_enumdef* enumdef) { in proto3_validate_enumdef()
2241 proto3_validate_enumdef((const upb_enumdef*)self->defs[i]); in Builder_finalize_to_pool()
Dupb.h2421 const upb_enumdef *upb_fielddef_enumsubdef(const upb_fielddef *f);
2453 bool upb_fielddef_setenumsubdef(upb_fielddef *f, const upb_enumdef *subdef,
2941 struct upb_enumdef {
2959 upb_enumdef *upb_enumdef_new(const void *owner);
2962 UPB_REFCOUNTED_CMETHODS(upb_enumdef, upb_enumdef_upcast2)
2964 bool upb_enumdef_freeze(upb_enumdef *e, upb_status *status);
2967 const char *upb_enumdef_fullname(const upb_enumdef *e);
2968 const char *upb_enumdef_name(const upb_enumdef *e);
2969 bool upb_enumdef_setfullname(upb_enumdef *e, const char *fullname,
2972 int32_t upb_enumdef_default(const upb_enumdef *e);
[all …]
Dupb.c1328 static bool upb_validate_enumdef(const upb_enumdef *e, upb_status *s) { in upb_validate_enumdef()
1529 upb_enumdef *e = upb_dyncast_enumdef_mutable(def); in _upb_def_validate()
1572 const upb_enumdef *e = (const upb_enumdef*)r; in visitenum()
1580 upb_enumdef *e = (upb_enumdef*)r; in freeenum()
1595 upb_enumdef *upb_enumdef_new(const void *owner) { in upb_enumdef_new()
1596 upb_enumdef *e = upb_gmalloc(sizeof(*e)); in upb_enumdef_new()
1615 bool upb_enumdef_freeze(upb_enumdef *e, upb_status *status) { in upb_enumdef_freeze()
1620 const char *upb_enumdef_fullname(const upb_enumdef *e) { in upb_enumdef_fullname()
1624 const char *upb_enumdef_name(const upb_enumdef *e) { in upb_enumdef_name()
1628 bool upb_enumdef_setfullname(upb_enumdef *e, const char *fullname, in upb_enumdef_setfullname()
[all …]
Dprotobuf.h138 const upb_enumdef* enumdef;
Dstorage.c715 const upb_enumdef *enumdef = upb_fielddef_enumsubdef(field); in layout_get_default()
/external/protobuf/php/ext/google/protobuf/
Ddef.c442 const upb_enumdef *enumdef = upb_fielddef_enumsubdef(intern->fielddef); in PHP_METHOD()
637 static void validate_enumdef(const upb_enumdef *enumdef) { in validate_enumdef()
973 const upb_enumdef *enumdef = upb_filedef_enum(file, i); in internal_add_generated_file()
Dupb.h3126 struct upb_enumdef;
3127 typedef struct upb_enumdef upb_enumdef; typedef
3209 const upb_enumdef *upb_fielddef_enumsubdef(const upb_fielddef *f);
3762 const char *upb_enumdef_fullname(const upb_enumdef *e);
3763 const char *upb_enumdef_name(const upb_enumdef *e);
3764 const upb_filedef *upb_enumdef_file(const upb_enumdef *e);
3765 int32_t upb_enumdef_default(const upb_enumdef *e);
3766 int upb_enumdef_numvals(const upb_enumdef *e);
3773 bool upb_enumdef_ntoi(const upb_enumdef *e, const char *name, size_t len,
3775 UPB_INLINE bool upb_enumdef_ntoiz(const upb_enumdef *e, in upb_enumdef_ntoiz()
[all …]
Dupb.c1133 const upb_enumdef *enumdef;
1168 struct upb_enumdef { struct
1193 const upb_enumdef *enums; argument
1445 const char *upb_enumdef_fullname(const upb_enumdef *e) { in upb_enumdef_fullname()
1449 const char *upb_enumdef_name(const upb_enumdef *e) { in upb_enumdef_name()
1453 const upb_filedef *upb_enumdef_file(const upb_enumdef *e) { in upb_enumdef_file()
1457 int32_t upb_enumdef_default(const upb_enumdef *e) { in upb_enumdef_default()
1462 int upb_enumdef_numvals(const upb_enumdef *e) { in upb_enumdef_numvals()
1466 void upb_enum_begin(upb_enum_iter *i, const upb_enumdef *e) { in upb_enum_begin()
1474 bool upb_enumdef_ntoi(const upb_enumdef *def, const char *name, in upb_enumdef_ntoi()
[all …]
Dprotobuf.h830 const upb_enumdef* enumdef;
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/pb/
Dtextprinter.c188 const upb_enumdef *enum_def = upb_fielddef_enumsubdef(f); in STRINGIFY_MACROVAL()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/json/
Dprinter.c306 const upb_enumdef *enumdef;
330 const upb_enumdef *def, in print_enum_symbolic_name()
Dparser.rl1367 const upb_enumdef *enumdef = upb_fielddef_enumsubdef(p->top->f);
/external/rust/crates/grpcio-sys/grpc/third_party/upb/cmake/upb/json/
Dparser.c1369 const upb_enumdef *enumdef = upb_fielddef_enumsubdef(p->top->f); in end_stringval_nontop()