/external/rust/crates/grpcio-sys/grpc/third_party/upb/upbc/ |
D | protoc-gen-upb.cc | 745 MessageLayout::Size case_offset = in TryFillTableEntry() local 747 if (case_offset.size64 > 0xffff) return false; in TryFillTableEntry() 750 data |= case_offset.size64 << 32; in TryFillTableEntry() 884 MessageLayout::Size case_offset = in WriteSource() local 888 case_offset.size32 = ~case_offset.size32; in WriteSource() 889 case_offset.size64 = ~case_offset.size64; in WriteSource() 890 assert(case_offset.size32 < 0); in WriteSource() 891 assert(case_offset.size64 < 0); in WriteSource() 892 presence = GetSizeInit(case_offset); in WriteSource()
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/ |
D | port_def.inc | 44 #define UPB_READ_ONEOF(msg, fieldtype, offset, case_offset, case_val, default) \ 45 *UPB_PTR_AT(msg, case_offset, int) == case_val \ 49 #define UPB_WRITE_ONEOF(msg, fieldtype, offset, value, case_offset, case_val) \ 50 *UPB_PTR_AT(msg, case_offset, int) = case_val; \
|
D | def.c | 1157 uint32_t case_offset; in make_layout() local 1171 case_offset = upb_msglayout_place(l, case_size); in make_layout() 1179 fields[upb_fielddef_index(f)].presence = ~case_offset; in make_layout()
|
/external/protobuf/php/ext/google/protobuf/ |
D | storage.c | 578 layout->fields[upb_fielddef_index(field)].case_offset); in slot_oneof_case() 627 layout->fields[upb_fielddef_index(field)].case_offset = in create_layout() 739 layout->fields[upb_fielddef_index(field)].case_offset = off; in create_layout() 1036 layout->fields[upb_fielddef_index(field)].case_offset; in layout_merge()
|
D | encode_decode.c | 1030 desc->layout->fields[upb_fielddef_index(f)].case_offset; in add_handlers_for_message() 1419 desc->layout->fields[upb_fielddef_index(f)].case_offset; in putrawmsg() 1804 desc->layout->fields[upb_fielddef_index(f)].case_offset; in discard_unknown_fields()
|
D | upb.c | 17 #define UPB_READ_ONEOF(msg, fieldtype, offset, case_offset, case_val, default) \ argument 18 UPB_FIELD_AT(msg, int, case_offset) == case_val \ 22 #define UPB_WRITE_ONEOF(msg, fieldtype, offset, value, case_offset, case_val) \ argument 23 UPB_FIELD_AT(msg, int, case_offset) = case_val; \ 4509 uint32_t case_offset; in upb_msglayout_init() local 4521 case_offset = upb_msglayout_place(l, case_size); in upb_msglayout_init() 4529 fields[upb_fielddef_index(f)].presence = ~case_offset; in upb_msglayout_init() 4608 #define UPB_READ_ONEOF(msg, fieldtype, offset, case_offset, case_val, default) \ argument 4609 UPB_FIELD_AT(msg, int, case_offset) == case_val \ 4613 #define UPB_WRITE_ONEOF(msg, fieldtype, offset, value, case_offset, case_val) \ argument [all …]
|
D | protobuf.h | 924 size_t case_offset; // for oneofs, a uint32. Else, MESSAGE_FIELD_NO_CASE. member
|
D | upb.h | 23 #define UPB_READ_ONEOF(msg, fieldtype, offset, case_offset, case_val, default) \ argument 24 UPB_FIELD_AT(msg, int, case_offset) == case_val \ 28 #define UPB_WRITE_ONEOF(msg, fieldtype, offset, value, case_offset, case_val) \ argument 29 UPB_FIELD_AT(msg, int, case_offset) = case_val; \
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | storage.c | 510 layout->fields[upb_fielddef_index(field)].case_offset = in create_layout() 564 layout->fields[upb_fielddef_index(field)].case_offset = off; in create_layout() 608 layout->fields[upb_fielddef_index(field)].case_offset); in slot_oneof_case()
|
D | encode_decode.c | 746 desc->layout->fields[upb_fielddef_index(f)].case_offset + in add_handlers_for_message() 1321 desc->layout->fields[upb_fielddef_index(f)].case_offset + in putmsg() 1552 desc->layout->fields[upb_fielddef_index(f)].case_offset + in discard_unknown()
|
D | message.c | 102 fields[upb_fielddef_index(first_field)].case_offset; in which_oneof_field()
|
D | protobuf.h | 500 size_t case_offset; // for oneofs, a uint32. Else, MESSAGE_FIELD_NO_CASE. member
|
D | upb.c | 14 #define UPB_READ_ONEOF(msg, fieldtype, offset, case_offset, case_val, default) \ argument 15 UPB_FIELD_AT(msg, int, case_offset) == case_val \ 19 #define UPB_WRITE_ONEOF(msg, fieldtype, offset, value, case_offset, case_val) \ argument 20 UPB_FIELD_AT(msg, int, case_offset) = case_val; \ 5375 uint32_t case_offset; in upb_msglayout_init() local 5387 case_offset = upb_msglayout_place(l, case_size); in upb_msglayout_init() 5395 fields[upb_fielddef_index(f)].presence = ~case_offset; in upb_msglayout_init() 5479 #define UPB_READ_ONEOF(msg, fieldtype, offset, case_offset, case_val, default) \ argument 5480 UPB_FIELD_AT(msg, int, case_offset) == case_val \ 5484 #define UPB_WRITE_ONEOF(msg, fieldtype, offset, value, case_offset, case_val) \ argument [all …]
|
D | upb.h | 12 #define UPB_READ_ONEOF(msg, fieldtype, offset, case_offset, case_val, default) \ argument 13 UPB_FIELD_AT(msg, int, case_offset) == case_val \ 17 #define UPB_WRITE_ONEOF(msg, fieldtype, offset, value, case_offset, case_val) \ argument 18 UPB_FIELD_AT(msg, int, case_offset) = case_val; \
|