Home
last modified time | relevance | path

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

/nanopb-2.7.6/
Dpb_common.c89 (PB_ATYPE(iter->type) == PB_ATYPE_STATIC || in load_descriptor_values()
90 PB_ATYPE(iter->type) == PB_ATYPE_POINTER)) in load_descriptor_values()
100 if (PB_ATYPE(iter->type) == PB_ATYPE_POINTER && iter->pField != NULL) in load_descriptor_values()
172 if (PB_ATYPE(word0 >> 8) == PB_ATYPE_POINTER) in pb_field_iter_begin_extension()
Dpb_encode.c138 if (PB_ATYPE(field->type) != PB_ATYPE_POINTER && count > field->array_size) in encode_array()
203 if (PB_ATYPE(field->type) == PB_ATYPE_POINTER && in encode_array()
245 if (PB_ATYPE(type) == PB_ATYPE_STATIC) in pb_check_proto3_default_value()
332 else if (PB_ATYPE(type) == PB_ATYPE_POINTER) in pb_check_proto3_default_value()
336 else if (PB_ATYPE(type) == PB_ATYPE_CALLBACK) in pb_check_proto3_default_value()
436 else if (PB_ATYPE(field->type) == PB_ATYPE_STATIC) in encode_field()
454 if (PB_ATYPE(field->type) == PB_ATYPE_CALLBACK) in encode_field()
854 if (PB_ATYPE(field->type) == PB_ATYPE_STATIC && in pb_enc_bytes()
869 if (PB_ATYPE(field->type) == PB_ATYPE_POINTER) in pb_enc_string()
Dpb_decode.c798 switch (PB_ATYPE(field->type)) in decode_field()
877 else if (PB_ATYPE(type) == PB_ATYPE_STATIC) in pb_field_set_to_default()
919 else if (PB_ATYPE(type) == PB_ATYPE_POINTER) in pb_field_set_to_default()
931 else if (PB_ATYPE(type) == PB_ATYPE_CALLBACK) in pb_field_set_to_default()
1206 if (PB_ATYPE(field->type) == PB_ATYPE_POINTER) in pb_release_union_field()
1245 else if (PB_LTYPE_IS_SUBMSG(type) && PB_ATYPE(type) != PB_ATYPE_CALLBACK) in pb_release_single_field()
1250 if (PB_ATYPE(type) == PB_ATYPE_POINTER) in pb_release_single_field()
1263 if (PB_ATYPE(type) == PB_ATYPE_STATIC && count > field->array_size) in pb_release_single_field()
1280 if (PB_ATYPE(type) == PB_ATYPE_POINTER) in pb_release_single_field()
1494 if (PB_ATYPE(field->type) == PB_ATYPE_POINTER) in pb_dec_bytes()
[all …]
Dpb.h247 #define PB_ATYPE(x) ((x) & PB_ATYPE_MASK) macro
DCHANGELOG.txt453 Separate PB_HTYPE to PB_ATYPE and PB_HTYPE
/nanopb-2.7.6/tests/fuzztest/
Dvalidation.c152 if (PB_ATYPE(iter.type) == PB_ATYPE_STATIC) in validate_message()
156 else if (PB_ATYPE(iter.type) == PB_ATYPE_POINTER) in validate_message()
/nanopb-2.7.6/spm_headers/nanopb/
Dpb.h247 #define PB_ATYPE(x) ((x) & PB_ATYPE_MASK) macro
/nanopb-2.7.6/docs/
Dmigration.md564 - Change `PB_HTYPE_CALLBACK` to `PB_ATYPE()` and `PB_ATYPE_CALLBACK`.