Lines Matching refs:pSize
114 static bool safe_read_bool(const void *pSize) in safe_read_bool() argument
116 const char *p = (const char *)pSize; in safe_read_bool()
135 count = *(pb_size_t*)field->pSize; in encode_array()
257 return *(const pb_size_t*)field->pSize == 0; in pb_check_proto3_default_value()
262 return *(const pb_size_t*)field->pSize == 0; in pb_check_proto3_default_value()
264 else if (PB_HTYPE(type) == PB_HTYPE_OPTIONAL && field->pSize != NULL) in pb_check_proto3_default_value()
268 return safe_read_bool(field->pSize) == false; in pb_check_proto3_default_value()
422 if (*(const pb_size_t*)field->pSize != field->tag) in encode_field()
430 if (field->pSize) in encode_field()
432 if (safe_read_bool(field->pSize) == false) in encode_field()
934 if (PB_LTYPE(field->type) == PB_LTYPE_SUBMSG_W_CB && field->pSize != NULL) in pb_enc_submessage()
937 pb_callback_t *callback = (pb_callback_t*)field->pSize - 1; in pb_enc_submessage()