Searched refs:pCallback (Results 1 – 2 of 2) sorted by relevance
304 pb_callback_t *pCallback = (pb_callback_t*)field->pData; in pb_default_field_callback() local306 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()
347 pb_callback_t *pCallback = (pb_callback_t*)field->pData; in pb_check_proto3_default_value() local348 return pCallback->funcs.encode == NULL; in pb_check_proto3_default_value()