Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Dmsg.h169 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()
Ddecode_fast.c265 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/
Dencode_decode.c138 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()
Dmessage.c84 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()
Dupb.h6986 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/
Dencode_decode.c180 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()
Dupb.h851 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()