Searched refs:oneofdata (Results 1 – 2 of 2) sorted by relevance
/external/protobuf/php/ext/google/protobuf/ |
D | encode_decode.c | 669 const oneof_handlerdata_t* oneofdata = hd; \ 671 DEREF(message_data(closure), oneofdata->case_ofs, uint32_t) = \ 672 oneofdata->oneof_case_num; \ 673 DEREF(message_data(closure), oneofdata->ofs, ctype) = val; \ 688 const oneof_handlerdata_t* oneofdata) { in DEFINE_ONEOF_HANDLER() 690 DEREF(message_data(msg), oneofdata->case_ofs, uint32_t); in DEFINE_ONEOF_HANDLER() 696 upb_msgdef_itof(oneofdata->parent_md, old_case_num); in DEFINE_ONEOF_HANDLER() 705 if (oneofdata->oneof_case_num != old_case_num) { in DEFINE_ONEOF_HANDLER() 716 DEREF(message_data(msg), oneofdata->ofs, CACHED_VALUE*)); in DEFINE_ONEOF_HANDLER() 718 *DEREF(message_data(msg), oneofdata->ofs, CACHED_VALUE*)); in DEFINE_ONEOF_HANDLER() [all …]
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | encode_decode.c | 437 const oneof_handlerdata_t *oneofdata = hd; \ 438 DEREF(closure, oneofdata->case_ofs, uint32_t) = \ 439 oneofdata->oneof_case_num; \ 440 DEREF(closure, oneofdata->ofs, ctype) = val; \ 459 const oneof_handlerdata_t *oneofdata = hd; in DEFINE_ONEOF_HANDLER() local 462 DEREF(msg, oneofdata->case_ofs, uint32_t) = in DEFINE_ONEOF_HANDLER() 463 oneofdata->oneof_case_num; in DEFINE_ONEOF_HANDLER() 464 DEREF(msg, oneofdata->ofs, VALUE) = str; in DEFINE_ONEOF_HANDLER() 472 const oneof_handlerdata_t *oneofdata = hd; in oneofbytes_handler() local 475 DEREF(msg, oneofdata->case_ofs, uint32_t) = in oneofbytes_handler() [all …]
|