Lines Matching refs:count
75 rdataset->count = ISC_UINT32_MAX;
103 rdataset->count = ISC_UINT32_MAX;
130 rdataset->count = ISC_UINT32_MAX;
239 return ((rdataset->methods->count)(rdataset));
322 unsigned int i, count = 0, added, choice;
344 count = 1;
357 count = (rdataset->methods->count)(rdataset);
368 if (!question && count > 1 &&
373 if (shuffle && count > MAX_SHUFFLE) {
374 shuffled = isc_mem_get(cctx->mctx, count * sizeof(*shuffled));
375 sorted = isc_mem_get(cctx->mctx, count * sizeof(*sorted));
389 INSIST(i < count);
397 INSIST(i == count);
407 for (i = 0; i < count; i++) {
416 for (i = 0; i < count; i++) {
421 choice = i + (val % (count - i));
439 val = rdataset->count;
442 j = val % count;
443 for (i = 0; i < count; i++) {
451 if (j == count)
460 qsort(sorted, count, sizeof(sorted[0]),
520 if (i == count)
532 *countp += count;
552 isc_mem_put(cctx->mctx, sorted, count * sizeof(*sorted));
554 isc_mem_put(cctx->mctx, shuffled, count * sizeof(*shuffled));