Home
last modified time | relevance | path

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

/nanopb-3.4.0/
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.c347 pb_callback_t *pCallback = (pb_callback_t*)field->pData; in pb_check_proto3_default_value() local
348 return pCallback->funcs.encode == NULL; in pb_check_proto3_default_value()