Home
last modified time | relevance | path

Searched refs:descriptortype (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Ddecode.c359 size_t lg2 = desctype_to_elem_size_lg2[field->descriptortype]; in decode_toarray()
389 if (UPB_UNLIKELY(field->descriptortype == UPB_DTYPE_GROUP)) { in decode_toarray()
421 decode_munge(field->descriptortype, &elem); in decode_toarray()
450 char key_size = desctype_to_mapsize[key_field->descriptortype]; in decode_tomap()
451 char val_size = desctype_to_mapsize[val_field->descriptortype]; in decode_tomap()
461 if (entry->fields[1].descriptortype == UPB_DESCRIPTOR_TYPE_MESSAGE || in decode_tomap()
462 entry->fields[1].descriptortype == UPB_DESCRIPTOR_TYPE_GROUP) { in decode_tomap()
477 int type = field->descriptortype; in decode_tomsg()
564 op = varint_ops[field->descriptortype]; in decode_msg()
565 decode_munge(field->descriptortype, &val); in decode_msg()
[all …]
Dreflection.c32 return _upb_repeated_or_map(f) ? sizeof(void *) : sizes[f->descriptortype]; in get_field_size()
91 UPB_ASSERT(field->descriptortype == UPB_DESCRIPTOR_TYPE_MESSAGE || in upb_msg_has()
92 field->descriptortype == UPB_DESCRIPTOR_TYPE_GROUP); in upb_msg_has()
Dencode.c179 switch (f->descriptortype) { in encode_scalar()
276 switch (f->descriptortype) { in encode_array()
380 _upb_mapsorter_pushmap(&e->sorter, layout->fields[0].descriptortype, map, in encode_map()
Ddef.c1065 fields[0].descriptortype = upb_fielddef_descriptortype(key); in make_layout()
1066 fields[1].descriptortype = upb_fielddef_descriptortype(val); in make_layout()
1099 field->descriptortype = upb_fielddef_descriptortype(f); in make_layout()
1102 if (field->descriptortype == UPB_DTYPE_STRING && in make_layout()
1106 field->descriptortype = UPB_DTYPE_BYTES; in make_layout()
Dmsg.h47 uint8_t descriptortype; member
/external/protobuf/php/ext/google/protobuf/
Dupb.c713 upb_fieldtype_t type = upb_desctype_to_fieldtype[field->descriptortype]; in upb_getorcreatearr()
795 switch ((upb_descriptortype_t)field->descriptortype) { in upb_decode_varintfield()
840 switch ((upb_descriptortype_t)field->descriptortype) { in upb_decode_64bitfield()
864 switch ((upb_descriptortype_t)field->descriptortype) { in upb_decode_32bitfield()
912 switch ((upb_descriptortype_t)field->descriptortype) { in upb_decode_toarray()
981 switch ((upb_descriptortype_t)field->descriptortype) { in upb_decode_delimitedfield()
1036 CHK(field->descriptortype == UPB_DESCRIPTOR_TYPE_GROUP); in upb_decode_field()
3026 UPB_ASSERT(arr->type == upb_desctype_to_fieldtype2[f->descriptortype]); in upb_encode_array()
3041 switch (f->descriptortype) { in upb_encode_array()
3130 switch (f->descriptortype) { in upb_encode_scalarfield()
[all …]
Dupb.h519 uint8_t descriptortype; member
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c709 upb_fieldtype_t type = upb_desctype_to_fieldtype[field->descriptortype]; in upb_getorcreatearr()
791 switch ((upb_descriptortype_t)field->descriptortype) { in upb_decode_varintfield()
836 switch ((upb_descriptortype_t)field->descriptortype) { in upb_decode_64bitfield()
860 switch ((upb_descriptortype_t)field->descriptortype) { in upb_decode_32bitfield()
908 switch ((upb_descriptortype_t)field->descriptortype) { in upb_decode_toarray()
977 switch ((upb_descriptortype_t)field->descriptortype) { in upb_decode_delimitedfield()
1032 CHK(field->descriptortype == UPB_DESCRIPTOR_TYPE_GROUP); in upb_decode_field()
3677 UPB_ASSERT(arr->type == upb_desctype_to_fieldtype2[f->descriptortype]); in upb_encode_array()
3692 switch (f->descriptortype) { in upb_encode_array()
3781 switch (f->descriptortype) { in upb_encode_scalarfield()
[all …]
Dupb.h6641 uint8_t descriptortype;