Home
last modified time | relevance | path

Searched refs:field_callback (Results 1 – 6 of 6) sorted by relevance

/nanopb-2.7.6/tests/fuzztest/
Dfuzztest.c144 static bool field_callback(pb_istream_t *stream, const pb_field_t *field, void **arg) in field_callback() function
171 msg->rep_int32.funcs.decode = &field_callback; in do_callback_decode()
173 msg->rep_string.funcs.decode = &field_callback; in do_callback_decode()
175 msg->rep_farray.funcs.decode = &field_callback; in do_callback_decode()
177 msg->req_limits.int64_min.funcs.decode = &field_callback; in do_callback_decode()
/nanopb-2.7.6/
Dpb_encode.c343 else if (field->descriptor->field_callback == pb_default_field_callback) in pb_check_proto3_default_value()
350 return field->descriptor->field_callback == NULL; in pb_check_proto3_default_value()
406 if (field->descriptor->field_callback != NULL) in encode_callback_field()
408 if (!field->descriptor->field_callback(NULL, stream, field)) in encode_callback_field()
Dpb_decode.c534 field->submsg_desc->field_callback != NULL || in decode_static_field()
745 if (!field->descriptor->field_callback) in decode_callback_field()
759 if (!field->descriptor->field_callback(&substream, NULL, field)) in decode_callback_field()
782 return field->descriptor->field_callback(&substream, NULL, field); in decode_callback_field()
899 field->submsg_desc->field_callback != NULL || in pb_field_set_to_default()
Dpb.h285 …bool (*field_callback)(pb_istream_t *istream, pb_ostream_t *ostream, const pb_field_iter_t *field); member
/nanopb-2.7.6/spm_headers/nanopb/
Dpb.h285 …bool (*field_callback)(pb_istream_t *istream, pb_ostream_t *ostream, const pb_field_iter_t *field); member
/nanopb-2.7.6/docs/
Dreference.md243 …bool (*field_callback)(pb_istream_t *istream, pb_ostream_t *ostream, const pb_field_iter_t *field);
252 |`field_callback` | Function used to handle all callback fields in this message. By default `pb_def…