Searched refs:case_ofs (Results 1 – 7 of 7) sorted by relevance
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/ |
D | msg.h | 169 UPB_INLINE uint32_t *_upb_oneofcase(upb_msg *msg, size_t case_ofs) { in _upb_oneofcase() argument 170 return PTR_AT(msg, case_ofs, uint32_t); in _upb_oneofcase() 173 UPB_INLINE uint32_t _upb_getoneofcase(const void *msg, size_t case_ofs) { in _upb_getoneofcase() argument 174 return *PTR_AT(msg, case_ofs, uint32_t); in _upb_getoneofcase()
|
D | decode_fast.c | 265 uint16_t case_ofs = *data >> 32; in fastdecode_getfield() local 266 uint32_t *oneof_case = UPB_PTR_AT(msg, case_ofs, uint32_t); in fastdecode_getfield()
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | encode_decode.c | 138 size_t case_ofs; // oneof_case field member 145 uint32_t case_ofs, in newoneofhandlerdata() argument 149 hd->case_ofs = case_ofs; in newoneofhandlerdata() 438 DEREF(closure, oneofdata->case_ofs, uint32_t) = \ 462 DEREF(msg, oneofdata->case_ofs, uint32_t) = in DEFINE_ONEOF_HANDLER() 475 DEREF(msg, oneofdata->case_ofs, uint32_t) = in oneofbytes_handler() 492 uint32_t oldcase = DEREF(msg, oneofdata->case_ofs, uint32_t); in oneofsubmsg_handler() 511 DEREF(msg, oneofdata->case_ofs, uint32_t) = in oneofsubmsg_handler()
|
D | message.c | 84 size_t case_ofs; in which_oneof_field() local 100 case_ofs = in which_oneof_field() 103 oneof_case = *((uint32_t*)((char*)Message_data(self) + case_ofs)); in which_oneof_field()
|
D | upb.h | 6986 UPB_INLINE bool _upb_has_oneof_field(const void *msg, size_t case_ofs, int32_t num) { 6987 return *PTR_AT(msg, case_ofs, int32_t) == num;
|
/external/protobuf/php/ext/google/protobuf/ |
D | encode_decode.c | 180 size_t case_ofs; // oneof_case field member 189 uint32_t case_ofs, in newoneofhandlerdata() argument 196 hd->case_ofs = case_ofs; in newoneofhandlerdata() 671 DEREF(message_data(closure), oneofdata->case_ofs, uint32_t) = \ 690 DEREF(message_data(msg), oneofdata->case_ofs, uint32_t); in DEFINE_ONEOF_HANDLER() 734 DEREF(message_data(msg), oneofdata->case_ofs, uint32_t) = in oneofbytes_handler() 749 DEREF(message_data(msg), oneofdata->case_ofs, uint32_t) = in oneofstr_end_handler() 780 uint32_t oldcase = DEREF(message_data(msg), oneofdata->case_ofs, uint32_t); in oneofsubmsg_handler() 806 DEREF(message_data(msg), oneofdata->case_ofs, uint32_t) = in oneofsubmsg_handler()
|
D | upb.h | 851 UPB_INLINE bool _upb_has_oneof_field(const void *msg, size_t case_ofs, int32_t num) { in _upb_has_oneof_field() argument 852 return *PTR_AT(msg, case_ofs, int32_t) == num; in _upb_has_oneof_field()
|