Home
last modified time | relevance | path

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

/nanopb-3.4.0/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-3.4.0/
Dpb_decode.c468 switch (PB_HTYPE(field->type)) in decode_static_field()
630 switch (PB_HTYPE(field->type)) in decode_pointer_field()
642 if (PB_HTYPE(field->type) == PB_HTYPE_ONEOF) in decode_pointer_field()
802 if (PB_HTYPE(field->type) == PB_HTYPE_ONEOF) in decode_field()
891 if (PB_HTYPE(type) == PB_HTYPE_OPTIONAL && field->pSize != NULL) in pb_field_set_to_default()
897 else if (PB_HTYPE(type) == PB_HTYPE_REPEATED || in pb_field_set_to_default()
898 PB_HTYPE(type) == PB_HTYPE_ONEOF) in pb_field_set_to_default()
936 if (PB_HTYPE(type) == PB_HTYPE_REPEATED || in pb_field_set_to_default()
937 PB_HTYPE(type) == PB_HTYPE_ONEOF) in pb_field_set_to_default()
1081 if (PB_HTYPE(iter.type) == PB_HTYPE_REPEATED && iter.pSize == &iter.array_size) in pb_decode_inner()
[all …]
Dpb_encode.c249 if (PB_HTYPE(type) == PB_HTYPE_REQUIRED) in pb_check_proto3_default_value()
254 else if (PB_HTYPE(type) == PB_HTYPE_REPEATED) in pb_check_proto3_default_value()
259 else if (PB_HTYPE(type) == PB_HTYPE_ONEOF) in pb_check_proto3_default_value()
264 else if (PB_HTYPE(type) == PB_HTYPE_OPTIONAL && field->pSize != NULL) in pb_check_proto3_default_value()
420 if (PB_HTYPE(field->type) == PB_HTYPE_ONEOF) in encode_field()
428 else if (PB_HTYPE(field->type) == PB_HTYPE_OPTIONAL) in encode_field()
448 if (PB_HTYPE(field->type) == PB_HTYPE_REQUIRED) in encode_field()
460 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.txt528 Separate PB_HTYPE to PB_ATYPE and PB_HTYPE
Dpb.h284 #define PB_HTYPE(x) ((x) & PB_HTYPE_MASK) macro
/nanopb-3.4.0/spm_headers/nanopb/
Dpb.h284 #define PB_HTYPE(x) ((x) & PB_HTYPE_MASK) macro