Home
last modified time | relevance | path

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

/nanopb-2.7.6/tests/fuzztest/
Dvalidation.c13 if (PB_HTYPE(iter->type) == PB_HTYPE_REPEATED && iter->pSize) in validate_static()
19 else if (PB_HTYPE(iter->type) == PB_HTYPE_OPTIONAL && iter->pSize) in validate_static()
25 else if (PB_HTYPE(iter->type) == PB_HTYPE_ONEOF) in validate_static()
69 if (PB_HTYPE(iter->type) == PB_HTYPE_ONEOF) in validate_pointer()
80 if (PB_HTYPE(iter->type) == PB_HTYPE_REPEATED && iter->pSize != &iter->array_size) in validate_pointer()
87 if (PB_HTYPE(iter->type) == PB_HTYPE_REPEATED) in validate_pointer()
110 if (PB_HTYPE(iter->type) == PB_HTYPE_REPEATED) in validate_pointer()
123 if (PB_HTYPE(iter->type) == PB_HTYPE_REPEATED) in validate_pointer()
Dgenerate_message.c33 if (PB_HTYPE(iter.type) == PB_HTYPE_REPEATED) in limit_sizes()
38 if (PB_HTYPE(iter.type) == PB_HTYPE_ONEOF) in limit_sizes()
/nanopb-2.7.6/
Dpb_decode.c466 switch (PB_HTYPE(field->type)) in decode_static_field()
628 switch (PB_HTYPE(field->type)) in decode_pointer_field()
640 if (PB_HTYPE(field->type) == PB_HTYPE_ONEOF) in decode_pointer_field()
791 if (PB_HTYPE(field->type) == PB_HTYPE_ONEOF) in decode_field()
880 if (PB_HTYPE(type) == PB_HTYPE_OPTIONAL && field->pSize != NULL) in pb_field_set_to_default()
886 else if (PB_HTYPE(type) == PB_HTYPE_REPEATED || in pb_field_set_to_default()
887 PB_HTYPE(type) == PB_HTYPE_ONEOF) in pb_field_set_to_default()
925 if (PB_HTYPE(type) == PB_HTYPE_REPEATED || in pb_field_set_to_default()
926 PB_HTYPE(type) == PB_HTYPE_ONEOF) in pb_field_set_to_default()
1070 if (PB_HTYPE(iter.type) == PB_HTYPE_REPEATED && iter.pSize == &iter.array_size) in pb_decode_inner()
[all …]
Dpb_encode.c247 if (PB_HTYPE(type) == PB_HTYPE_REQUIRED) in pb_check_proto3_default_value()
252 else if (PB_HTYPE(type) == PB_HTYPE_REPEATED) in pb_check_proto3_default_value()
257 else if (PB_HTYPE(type) == PB_HTYPE_ONEOF) in pb_check_proto3_default_value()
262 else if (PB_HTYPE(type) == PB_HTYPE_OPTIONAL && field->pSize != NULL) in pb_check_proto3_default_value()
418 if (PB_HTYPE(field->type) == PB_HTYPE_ONEOF) in encode_field()
426 else if (PB_HTYPE(field->type) == PB_HTYPE_OPTIONAL) in encode_field()
446 if (PB_HTYPE(field->type) == PB_HTYPE_REQUIRED) in encode_field()
458 else if (PB_HTYPE(field->type) == PB_HTYPE_REPEATED) in encode_field()
Dpb_common.c88 else if (PB_HTYPE(iter->type) == PB_HTYPE_REPEATED && in load_descriptor_values()
151 …iter->required_field_index = (pb_size_t)(iter->required_field_index + (PB_HTYPE(prev_type) == PB_H… in advance_iterator()
DCHANGELOG.txt453 Separate PB_HTYPE to PB_ATYPE and PB_HTYPE
Dpb.h248 #define PB_HTYPE(x) ((x) & PB_HTYPE_MASK) macro
/nanopb-2.7.6/spm_headers/nanopb/
Dpb.h248 #define PB_HTYPE(x) ((x) & PB_HTYPE_MASK) macro