Home
last modified time | relevance | path

Searched refs:upb_oneofdef (Results 1 – 18 of 18) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Ddef.h35 struct upb_oneofdef;
36 typedef struct upb_oneofdef upb_oneofdef; typedef
89 const upb_oneofdef *upb_fielddef_containingoneof(const upb_fielddef *f);
90 const upb_oneofdef *upb_fielddef_realcontainingoneof(const upb_fielddef *f);
118 const char *upb_oneofdef_name(const upb_oneofdef *o);
119 const upb_msgdef *upb_oneofdef_containingtype(const upb_oneofdef *o);
120 uint32_t upb_oneofdef_index(const upb_oneofdef *o);
121 bool upb_oneofdef_issynthetic(const upb_oneofdef *o);
122 int upb_oneofdef_fieldcount(const upb_oneofdef *o);
123 const upb_fielddef *upb_oneofdef_field(const upb_oneofdef *o, int i);
[all …]
Ddef.c31 const upb_oneofdef *oneof;
61 const upb_oneofdef *oneofs;
81 struct upb_oneofdef { struct
401 const upb_oneofdef *upb_fielddef_containingoneof(const upb_fielddef *f) { in upb_fielddef_containingoneof()
405 const upb_oneofdef *upb_fielddef_realcontainingoneof(const upb_fielddef *f) { in upb_fielddef_realcontainingoneof()
563 const upb_oneofdef *upb_msgdef_ntoo(const upb_msgdef *m, const char *name, in upb_msgdef_ntoo()
575 const upb_fielddef **f, const upb_oneofdef **o) { in upb_msgdef_lookupname()
635 const upb_oneofdef *upb_msgdef_oneof(const upb_msgdef *m, int i) { in upb_msgdef_oneof()
704 const upb_oneofdef *upb_msg_iter_oneof(const upb_msg_oneof_iter *iter) { in upb_msg_iter_oneof()
719 const char *upb_oneofdef_name(const upb_oneofdef *o) { in upb_oneofdef_name()
[all …]
Ddef.hpp129 explicit OneofDefPtr(const upb_oneofdef* ptr) : ptr_(ptr) {} in OneofDefPtr()
131 const upb_oneofdef* ptr() const { return ptr_; } in ptr()
163 const upb_oneofdef* ptr_;
Dreflection.h49 const upb_oneofdef *o);
Dreflection.c98 const upb_oneofdef *o) { in upb_msg_whichoneof()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/bindings/lua/
Ddef.c74 const upb_oneofdef *o = upb_fielddef_containingoneof(f); in lupb_fielddef_containingoneof()
217 const upb_oneofdef *lupb_oneofdef_check(lua_State *L, int narg) { in lupb_oneofdef_check()
222 const upb_oneofdef *o = lupb_oneofdef_check(L, 1); in lupb_oneofdef_containingtype()
229 const upb_oneofdef *o = lupb_oneofdef_check(L, 1); in lupb_oneofdef_field()
244 const upb_oneofdef *o = lupb_oneofdef_check(L, lua_upvalueindex(1)); in lupb_oneofiter_next()
264 const upb_oneofdef *o = lupb_oneofdef_check(L, 1); in lupb_oneofdef_len()
276 const upb_oneofdef *o = lupb_oneofdef_check(L, 1); in lupb_oneofdef_lookupfield()
298 const upb_oneofdef *o = lupb_oneofdef_check(L, 1); in lupb_oneofdef_name()
396 const upb_oneofdef *o; in lupb_msgdef_lookupname()
463 const upb_oneofdef *o; in lupb_msgoneofiter_next()
/external/protobuf/ruby/ext/google/protobuf_c/
Dmessage.c82 static const upb_fielddef* which_oneof_field(MessageHeader* self, const upb_oneofdef* o) { in which_oneof_field()
154 const upb_fielddef **f, const upb_oneofdef **o) { in extract_method_call()
161 const upb_oneofdef* test_o; in extract_method_call()
198 const upb_oneofdef* test_o_wrapper; in extract_method_call()
226 const upb_oneofdef* test_o_enum; in extract_method_call()
286 const upb_oneofdef* o; in Message_method_missing()
371 const upb_oneofdef* o; in Message_respond_to_missing()
Ddefs.c66 static upb_oneofdef* check_oneof_notfrozen(const upb_oneofdef* def) { in check_oneof_notfrozen()
67 return (upb_oneofdef*)check_notfrozen((const upb_def*)def); in check_oneof_notfrozen()
440 upb_oneofdef* mut_oneof_def = check_oneof_notfrozen(def->oneofdef); in Descriptor_add_oneof()
462 const upb_oneofdef* oneof = upb_msg_iter_oneof(&it); in Descriptor_each_oneof()
479 const upb_oneofdef* oneof = upb_msgdef_ntooz(self->msgdef, s); in Descriptor_lookup_oneof()
1218 upb_oneofdef* mut_def = check_oneof_notfrozen(self->oneofdef); in OneofDescriptor_name_set()
1241 upb_oneofdef* mut_def = check_oneof_notfrozen(self->oneofdef); in OneofDescriptor_add_field()
Dupb.h1765 UPB_DECLARE_DERIVED_TYPE(upb::OneofDef, upb::RefCounted, upb_oneofdef,
2344 const upb_oneofdef *oneof;
2396 const upb_oneofdef *upb_fielddef_containingoneof(const upb_fielddef *f);
2777 bool upb_msgdef_addoneof(upb_msgdef *m, upb_oneofdef *o, const void *ref_donor,
2812 const upb_oneofdef *upb_msgdef_ntoo(const upb_msgdef *m, const char *name,
2816 UPB_INLINE const upb_oneofdef *upb_msgdef_ntooz(const upb_msgdef *m,
2821 UPB_INLINE upb_oneofdef *upb_msgdef_ntoo_mutable(upb_msgdef *m,
2823 return (upb_oneofdef *)upb_msgdef_ntoo(m, name, len);
2830 const upb_fielddef **f, const upb_oneofdef **o);
2834 const upb_oneofdef **o) {
[all …]
Dstorage.c531 const upb_oneofdef* oneof = upb_msg_iter_oneof(&oit); in create_layout()
553 const upb_oneofdef* oneof = upb_msg_iter_oneof(&oit); in create_layout()
Dupb.c1165 static const upb_oneofdef *upb_trygetoneof(const upb_refcounted *def) { in upb_trygetoneof()
1166 return upb_isoneof(def) ? (const upb_oneofdef*)def : NULL; in upb_trygetoneof()
1448 upb_oneofdef *o = upb_msg_iter_oneof(&k); in assign_msg_indices()
1939 const upb_oneofdef *upb_fielddef_containingoneof(const upb_fielddef *f) { in upb_fielddef_containingoneof()
2490 upb_oneofdef *f = upb_msg_iter_oneof(&o); in visitmsg()
2626 bool upb_msgdef_addoneof(upb_msgdef *m, upb_oneofdef *o, const void *ref_donor, in upb_msgdef_addoneof()
2687 const upb_oneofdef *upb_msgdef_ntoo(const upb_msgdef *m, const char *name, in upb_msgdef_ntoo()
2699 const upb_fielddef **f, const upb_oneofdef **o) { in upb_msgdef_lookupname()
2780 upb_oneofdef *upb_msg_iter_oneof(const upb_msg_oneof_iter *iter) { in upb_msg_iter_oneof()
2781 return (upb_oneofdef*)upb_value_getptr(upb_strtable_iter_value(iter)); in upb_msg_iter_oneof()
[all …]
Dprotobuf.h134 const upb_oneofdef* oneofdef;
/external/protobuf/php/ext/google/protobuf/
Dstorage.c678 const upb_oneofdef* oneof = upb_msg_iter_oneof(&oit); in create_layout()
729 const upb_oneofdef* oneof = upb_msg_iter_oneof(&oit); in create_layout()
1138 const upb_oneofdef* oneof TSRMLS_DC) { in layout_get_oneof_case()
Dupb.h3134 struct upb_oneofdef;
3135 typedef struct upb_oneofdef upb_oneofdef; typedef
3191 const upb_oneofdef *upb_fielddef_containingoneof(const upb_fielddef *f);
3355 const char *upb_oneofdef_name(const upb_oneofdef *o);
3356 const upb_msgdef *upb_oneofdef_containingtype(const upb_oneofdef *o);
3357 int upb_oneofdef_numfields(const upb_oneofdef *o);
3358 uint32_t upb_oneofdef_index(const upb_oneofdef *o);
3364 const upb_fielddef *upb_oneofdef_ntof(const upb_oneofdef *o,
3366 UPB_INLINE const upb_fielddef *upb_oneofdef_ntofz(const upb_oneofdef *o, in upb_oneofdef_ntofz()
3370 const upb_fielddef *upb_oneofdef_itof(const upb_oneofdef *o, uint32_t num);
[all …]
Dupb.c1130 const upb_oneofdef *oneof;
1157 const upb_oneofdef *oneofs;
1176 struct upb_oneofdef { struct
1391 upb_oneofdef *o = (upb_oneofdef*)upb_msg_iter_oneof(&k); in assign_msg_indices()
1619 const upb_oneofdef *upb_fielddef_containingoneof(const upb_fielddef *f) { in upb_fielddef_containingoneof()
1774 const upb_oneofdef *upb_msgdef_ntoo(const upb_msgdef *m, const char *name, in upb_msgdef_ntoo()
1786 const upb_fielddef **f, const upb_oneofdef **o) { in upb_msgdef_lookupname()
1867 const upb_oneofdef *upb_msg_iter_oneof(const upb_msg_oneof_iter *iter) { in upb_msg_iter_oneof()
1882 const char *upb_oneofdef_name(const upb_oneofdef *o) { in upb_oneofdef_name()
1886 const upb_msgdef *upb_oneofdef_containingtype(const upb_oneofdef *o) { in upb_oneofdef_containingtype()
[all …]
Dprotobuf.h949 const upb_oneofdef* oneof TSRMLS_DC);
1174 const upb_oneofdef* oneofdef;
Ddef.c251 const upb_oneofdef *oneof = upb_msg_iter_oneof(&iter); in PHP_METHOD()
Dmessage.c608 const upb_oneofdef* oneof =
672 const upb_oneofdef* oneof = upb_msgdef_ntoo( \