Searched refs:case_offset (Results 1 – 7 of 7) sorted by relevance
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
D | storage.c | 668 layout->oneofs[upb_oneofdef_index(oneof)].case_offset = off; in create_layout() 728 layout->oneofs[upb_oneofdef_index(oneof)].case_offset); in slot_oneof_case() 1026 uint32_t* case_ptr = (uint32_t*)CHARPTR_AT(storage, oneof->case_offset); in layout_mark()
|
D | protobuf.h | 517 uint32_t case_offset; member
|
D | upb.c | 38 #define UPB_READ_ONEOF(msg, fieldtype, offset, case_offset, case_val, default) \ argument 39 *UPB_PTR_AT(msg, case_offset, int) == case_val \ 43 #define UPB_WRITE_ONEOF(msg, fieldtype, offset, value, case_offset, case_val) \ argument 44 *UPB_PTR_AT(msg, case_offset, int) = case_val; \ 4022 uint32_t case_offset; in make_layout() local 4034 case_offset = upb_msglayout_place(l, case_size); in make_layout() 4042 fields[upb_fielddef_index(f)].presence = ~case_offset; in make_layout()
|
D | encode_decode.c | 941 desc->layout->oneofs[upb_oneofdef_index(oneof)].case_offset + in add_handlers_for_message()
|
D | upb.h | 37 #define UPB_READ_ONEOF(msg, fieldtype, offset, case_offset, case_val, default) \ argument 38 *UPB_PTR_AT(msg, case_offset, int) == case_val \ 42 #define UPB_WRITE_ONEOF(msg, fieldtype, offset, value, case_offset, case_val) \ argument 43 *UPB_PTR_AT(msg, case_offset, int) = case_val; \
|
/third_party/protobuf/php/ext/google/protobuf/ |
D | php-upb.c | 39 #define UPB_READ_ONEOF(msg, fieldtype, offset, case_offset, case_val, default) \ argument 40 *UPB_PTR_AT(msg, case_offset, int) == case_val \ 44 #define UPB_WRITE_ONEOF(msg, fieldtype, offset, value, case_offset, case_val) \ argument 45 *UPB_PTR_AT(msg, case_offset, int) = case_val; \ 4479 uint32_t case_offset; in make_layout() local 4493 case_offset = upb_msglayout_place(l, case_size); in make_layout() 4501 fields[upb_fielddef_index(f)].presence = ~case_offset; in make_layout()
|
D | php-upb.h | 38 #define UPB_READ_ONEOF(msg, fieldtype, offset, case_offset, case_val, default) \ argument 39 *UPB_PTR_AT(msg, case_offset, int) == case_val \ 43 #define UPB_WRITE_ONEOF(msg, fieldtype, offset, value, case_offset, case_val) \ argument 44 *UPB_PTR_AT(msg, case_offset, int) = case_val; \
|