Lines Matching refs:distribution
67 unsigned char * volatile distribution;
69 /* Allocate a distribution array. */
71 distribution = XCALLOC (nplurals_value, unsigned char);
74 distribution = NULL;
110 if (distribution != NULL && distribution[val] < OFTEN)
111 distribution[val]++;
117 /* Normalize the distribution[val] statistics. */
118 if (distribution != NULL)
123 distribution[val] = (distribution[val] == OFTEN ? 1 : 0);
128 *plural_distribution = distribution;
162 if (distribution != NULL)
163 free (distribution);
220 unsigned char *distribution = NULL;
382 &distribution, &distribution_length);
437 distribution = XCALLOC (2, unsigned char);
438 distribution[1] = 1;
442 /* distribution is not needed if we report errors.
444 we must not use distribution because we would be doing out-of-bounds
446 if (seen_errors > 0 && distribution != NULL)
448 free (distribution);
449 distribution = NULL;
452 *plural_distribution = distribution;