Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upbc/
Dprotoc-gen-upb.cc745 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/
Dport_def.inc44 #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; \
Ddef.c1157 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/
Dstorage.c578 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()
Dencode_decode.c1030 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()
Dupb.c17 #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 …]
Dprotobuf.h924 size_t case_offset; // for oneofs, a uint32. Else, MESSAGE_FIELD_NO_CASE. member
Dupb.h23 #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/
Dstorage.c510 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()
Dencode_decode.c746 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()
Dmessage.c102 fields[upb_fielddef_index(first_field)].case_offset; in which_oneof_field()
Dprotobuf.h500 size_t case_offset; // for oneofs, a uint32. Else, MESSAGE_FIELD_NO_CASE. member
Dupb.c14 #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 …]
Dupb.h12 #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; \