Home
last modified time | relevance | path

Searched refs:pCallback (Results 1 – 2 of 2) sorted by relevance

/nanopb-2.7.6/
Dpb_common.c304 pb_callback_t *pCallback = (pb_callback_t*)field->pData; in pb_default_field_callback() local
306 if (pCallback != NULL) in pb_default_field_callback()
308 if (istream != NULL && pCallback->funcs.decode != NULL) in pb_default_field_callback()
310 return pCallback->funcs.decode(istream, field, &pCallback->arg); in pb_default_field_callback()
313 if (ostream != NULL && pCallback->funcs.encode != NULL) in pb_default_field_callback()
315 return pCallback->funcs.encode(ostream, field, &pCallback->arg); in pb_default_field_callback()
Dpb_encode.c345 pb_callback_t *pCallback = (pb_callback_t*)field->pData; in pb_check_proto3_default_value() local
346 return pCallback->funcs.encode == NULL; in pb_check_proto3_default_value()