Home
last modified time | relevance | path

Searched refs:PB_HTYPE (Results 1 – 12 of 12) sorted by relevance

/external/grpc-grpc/third_party/nanopb/
Dpb_common.c44 if (PB_HTYPE(prev_field->type) == PB_HTYPE_ONEOF && in pb_field_iter_next()
45 PB_HTYPE(iter->pos->type) == PB_HTYPE_ONEOF) in pb_field_iter_next()
52 PB_HTYPE(prev_field->type) == PB_HTYPE_REPEATED) in pb_field_iter_next()
65 if (PB_HTYPE(prev_field->type) == PB_HTYPE_REQUIRED) in pb_field_iter_next()
Dpb_decode.c357 switch (PB_HTYPE(type)) in decode_static_field()
490 switch (PB_HTYPE(type)) in decode_pointer_field()
502 if (PB_HTYPE(type) == PB_HTYPE_ONEOF) in decode_pointer_field()
651 if (PB_HTYPE(iter->pos->type) == PB_HTYPE_ONEOF) in decode_field()
771 if (PB_HTYPE(type) == PB_HTYPE_OPTIONAL) in pb_field_set_to_default()
777 else if (PB_HTYPE(type) == PB_HTYPE_REPEATED || in pb_field_set_to_default()
778 PB_HTYPE(type) == PB_HTYPE_ONEOF) in pb_field_set_to_default()
811 if (PB_HTYPE(type) == PB_HTYPE_REPEATED || in pb_field_set_to_default()
812 PB_HTYPE(type) == PB_HTYPE_ONEOF) in pb_field_set_to_default()
896 if (PB_HTYPE(iter.pos->type) == PB_HTYPE_REQUIRED in pb_decode_noinit()
[all …]
DCHANGELOG.txt172 Separate PB_HTYPE to PB_ATYPE and PB_HTYPE
Dpb.h199 #define PB_HTYPE(x) ((x) & PB_HTYPE_MASK) macro
Dpb_encode.c227 switch (PB_HTYPE(field->type)) in encode_basic_field()
/external/nanopb-c/
Dpb_common.c44 if (PB_HTYPE(prev_field->type) == PB_HTYPE_ONEOF && in pb_field_iter_next()
45 PB_HTYPE(iter->pos->type) == PB_HTYPE_ONEOF && in pb_field_iter_next()
52 PB_HTYPE(prev_field->type) == PB_HTYPE_REPEATED) in pb_field_iter_next()
65 if (PB_HTYPE(prev_field->type) == PB_HTYPE_REQUIRED) in pb_field_iter_next()
Dpb_decode.c409 switch (PB_HTYPE(type)) in decode_static_field()
548 switch (PB_HTYPE(type)) in decode_pointer_field()
560 if (PB_HTYPE(type) == PB_HTYPE_ONEOF) in decode_pointer_field()
712 if (PB_HTYPE(iter->pos->type) == PB_HTYPE_ONEOF) in decode_field()
832 if (PB_HTYPE(type) == PB_HTYPE_OPTIONAL && iter->pSize != iter->pData) in pb_field_set_to_default()
838 else if (PB_HTYPE(type) == PB_HTYPE_REPEATED || in pb_field_set_to_default()
839 PB_HTYPE(type) == PB_HTYPE_ONEOF) in pb_field_set_to_default()
872 if (PB_HTYPE(type) == PB_HTYPE_REPEATED || in pb_field_set_to_default()
873 PB_HTYPE(type) == PB_HTYPE_ONEOF) in pb_field_set_to_default()
967 if (PB_HTYPE(iter.pos->type) == PB_HTYPE_REPEATED in pb_decode_noinit()
[all …]
Dpb_encode.c220 if (PB_HTYPE(type) == PB_HTYPE_REQUIRED) in pb_check_proto3_default_value()
225 else if (PB_HTYPE(type) == PB_HTYPE_REPEATED) in pb_check_proto3_default_value()
230 else if (PB_HTYPE(type) == PB_HTYPE_ONEOF) in pb_check_proto3_default_value()
235 else if (PB_HTYPE(type) == PB_HTYPE_OPTIONAL && field->size_offset) in pb_check_proto3_default_value()
321 else if (PB_HTYPE(field->type) == PB_HTYPE_OPTIONAL) in encode_basic_field()
342 switch (PB_HTYPE(field->type)) in encode_basic_field()
DCHANGELOG.txt233 Separate PB_HTYPE to PB_ATYPE and PB_HTYPE
Dpb.h204 #define PB_HTYPE(x) ((x) & PB_HTYPE_MASK) macro
/external/grpc-grpc/third_party/nanopb/tests/fuzztest/
Dgenerate_message.c50 if (PB_HTYPE(iter.pos->type) == PB_HTYPE_REPEATED) in limit_sizes()
55 if (PB_HTYPE(iter.pos->type) == PB_HTYPE_ONEOF) in limit_sizes()
/external/nanopb-c/tests/fuzztest/
Dgenerate_message.c50 if (PB_HTYPE(iter.pos->type) == PB_HTYPE_REPEATED) in limit_sizes()
55 if (PB_HTYPE(iter.pos->type) == PB_HTYPE_ONEOF) in limit_sizes()