Lines Matching refs:q2dp
36 struct q2d_info *q2dp = priv;
53 q2dp->histos[index]++;
54 q2dp->nhistos++;
59 struct q2d_info *q2dp = malloc(sizeof(*q2dp));
61 return memset(q2dp, 0, sizeof(*q2dp));
95 struct q2d_info *q2dp = priv;
96 double nh = (double)q2dp->nhistos;
99 double p = 100.0 * (double)q2dp->histos[i] / nh;
107 struct q2d_info *q2dp = priv;
109 return q2dp && q2dp->nhistos > 0;