Home
last modified time | relevance | path

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

/third_party/protobuf/ruby/ext/google/protobuf_c/
Dstorage.c668 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()
Dprotobuf.h517 uint32_t case_offset; member
Dupb.c38 #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()
Dencode_decode.c941 desc->layout->oneofs[upb_oneofdef_index(oneof)].case_offset + in add_handlers_for_message()
Dupb.h37 #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/
Dphp-upb.c39 #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()
Dphp-upb.h38 #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; \