Home
last modified time | relevance | path

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

/external/nanopb-c/
Dpb_encode.c136 if (PB_ATYPE(field->type) != PB_ATYPE_POINTER && count > field->array_size) in encode_array()
194 if (PB_ATYPE(field->type) == PB_ATYPE_POINTER && in encode_array()
243 if (PB_ATYPE(type) == PB_ATYPE_STATIC) in pb_check_proto3_default_value()
332 if (PB_ATYPE(field->type) == PB_ATYPE_POINTER) in encode_basic_field()
419 switch (PB_ATYPE(field->type)) in encode_field()
440 if (PB_ATYPE(field->type) == PB_ATYPE_POINTER) in default_extension_encoder()
822 if (PB_ATYPE(field->type) == PB_ATYPE_STATIC && in pb_enc_bytes()
837 if (PB_ATYPE(field->type) == PB_ATYPE_POINTER) in pb_enc_string()
Dpb_common.c51 else if (PB_ATYPE(prev_field->type) == PB_ATYPE_STATIC && in pb_field_iter_next()
58 else if (PB_ATYPE(prev_field->type) == PB_ATYPE_POINTER) in pb_field_iter_next()
Dpb_decode.c719 switch (PB_ATYPE(iter->pos->type)) in decode_field()
745 if (PB_ATYPE(field->type) == PB_ATYPE_POINTER) in iter_from_extension()
829 else if (PB_ATYPE(type) == PB_ATYPE_STATIC) in pb_field_set_to_default()
866 else if (PB_ATYPE(type) == PB_ATYPE_POINTER) in pb_field_set_to_default()
878 else if (PB_ATYPE(type) == PB_ATYPE_CALLBACK) in pb_field_set_to_default()
1162 if (PB_ATYPE(type) == PB_ATYPE_POINTER) in pb_release_single_field()
1169 if (PB_ATYPE(type) == PB_ATYPE_STATIC && iter->pSize == iter->pData) { in pb_release_single_field()
1176 if (PB_ATYPE(type) == PB_ATYPE_STATIC && count > iter->pos->array_size) in pb_release_single_field()
1193 if (PB_ATYPE(type) == PB_ATYPE_POINTER) in pb_release_single_field()
1407 if (PB_ATYPE(field->type) == PB_ATYPE_POINTER) in pb_dec_bytes()
[all …]
Dpb.h203 #define PB_ATYPE(x) ((x) & PB_ATYPE_MASK) macro
DCHANGELOG.txt233 Separate PB_HTYPE to PB_ATYPE and PB_HTYPE
/external/grpc-grpc/third_party/nanopb/
Dpb_encode.c123 if (PB_ATYPE(field->type) != PB_ATYPE_POINTER && count > field->array_size) in encode_array()
181 if (PB_ATYPE(field->type) == PB_ATYPE_POINTER && in encode_array()
216 if (PB_ATYPE(field->type) == PB_ATYPE_POINTER) in encode_basic_field()
297 switch (PB_ATYPE(field->type)) in encode_field()
318 if (PB_ATYPE(field->type) == PB_ATYPE_POINTER) in default_extension_encoder()
654 if (PB_ATYPE(field->type) == PB_ATYPE_STATIC && in pb_enc_bytes()
669 if (PB_ATYPE(field->type) == PB_ATYPE_POINTER) in pb_enc_string()
Dpb_common.c51 else if (PB_ATYPE(prev_field->type) == PB_ATYPE_STATIC && in pb_field_iter_next()
58 else if (PB_ATYPE(prev_field->type) == PB_ATYPE_POINTER) in pb_field_iter_next()
Dpb_decode.c658 switch (PB_ATYPE(iter->pos->type)) in decode_field()
684 if (PB_ATYPE(field->type) == PB_ATYPE_POINTER) in iter_from_extension()
768 else if (PB_ATYPE(type) == PB_ATYPE_STATIC) in pb_field_set_to_default()
805 else if (PB_ATYPE(type) == PB_ATYPE_POINTER) in pb_field_set_to_default()
817 else if (PB_ATYPE(type) == PB_ATYPE_CALLBACK) in pb_field_set_to_default()
1031 if (PB_ATYPE(type) == PB_ATYPE_POINTER) in pb_release_single_field()
1040 if (PB_ATYPE(type) == PB_ATYPE_STATIC && count > iter->pos->array_size) in pb_release_single_field()
1057 if (PB_ATYPE(type) == PB_ATYPE_POINTER) in pb_release_single_field()
1264 if (PB_ATYPE(field->type) == PB_ATYPE_POINTER) in pb_dec_bytes()
1305 if (PB_ATYPE(field->type) == PB_ATYPE_POINTER) in pb_dec_string()
Dpb.h198 #define PB_ATYPE(x) ((x) & PB_ATYPE_MASK) macro
DCHANGELOG.txt172 Separate PB_HTYPE to PB_ATYPE and PB_HTYPE
/external/grpc-grpc/third_party/nanopb/docs/
Dmigration.rst235 * Change *PB_HTYPE_CALLBACK* to *PB_ATYPE()* and *PB_ATYPE_CALLBACK*.
/external/nanopb-c/docs/
Dmigration.rst279 * Change *PB_HTYPE_CALLBACK* to *PB_ATYPE()* and *PB_ATYPE_CALLBACK*.