Home
last modified time | relevance | path

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

/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.c414 switch (PB_HTYPE(type)) in decode_static_field()
566 switch (PB_HTYPE(type)) in decode_pointer_field()
578 if (PB_HTYPE(type) == PB_HTYPE_ONEOF) in decode_pointer_field()
739 if (PB_HTYPE(iter->pos->type) == PB_HTYPE_ONEOF) in decode_field()
859 if (PB_HTYPE(type) == PB_HTYPE_OPTIONAL && iter->pSize != iter->pData) in pb_field_set_to_default()
865 else if (PB_HTYPE(type) == PB_HTYPE_REPEATED || in pb_field_set_to_default()
866 PB_HTYPE(type) == PB_HTYPE_ONEOF) in pb_field_set_to_default()
899 if (PB_HTYPE(type) == PB_HTYPE_REPEATED || in pb_field_set_to_default()
900 PB_HTYPE(type) == PB_HTYPE_ONEOF) in pb_field_set_to_default()
994 if (PB_HTYPE(iter.pos->type) == PB_HTYPE_REPEATED in pb_decode_noinit()
[all …]
Dpb_encode.c245 if (PB_HTYPE(type) == PB_HTYPE_REQUIRED) in pb_check_proto3_default_value()
250 else if (PB_HTYPE(type) == PB_HTYPE_REPEATED) in pb_check_proto3_default_value()
258 else if (PB_HTYPE(type) == PB_HTYPE_ONEOF) in pb_check_proto3_default_value()
263 else if (PB_HTYPE(type) == PB_HTYPE_OPTIONAL && field->size_offset != 0) in pb_check_proto3_default_value()
355 else if (PB_HTYPE(field->type) == PB_HTYPE_OPTIONAL) in encode_basic_field()
376 switch (PB_HTYPE(field->type)) in encode_basic_field()
DCHANGELOG.txt281 Separate PB_HTYPE to PB_ATYPE and PB_HTYPE
Dpb.h205 #define PB_HTYPE(x) ((x) & PB_HTYPE_MASK) macro
/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/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()
/external/nanopb-c/spm_headers/nanopb/
Dpb.h205 #define PB_HTYPE(x) ((x) & PB_HTYPE_MASK) macro