Lines Matching refs:num_sizes
405 num_sizes, /* Number of sizes in file */ in _ppdCacheCreateWithFile() local
492 num_sizes = 0; in _ppdCacheCreateWithFile()
597 "%d.", num_sizes, linenum)); in _ppdCacheCreateWithFile()
605 num_sizes)); in _ppdCacheCreateWithFile()
635 if (num_sizes > 0) in _ppdCacheCreateWithFile()
642 if ((num_sizes = atoi(value)) < 0 || num_sizes > 65536) in _ppdCacheCreateWithFile()
645 "%d.", num_sizes, linenum)); in _ppdCacheCreateWithFile()
650 if (num_sizes > 0) in _ppdCacheCreateWithFile()
652 if ((pc->sizes = calloc((size_t)num_sizes, sizeof(pwg_size_t))) == NULL) in _ppdCacheCreateWithFile()
655 num_sizes)); in _ppdCacheCreateWithFile()
663 if (pc->num_sizes >= num_sizes) in _ppdCacheCreateWithFile()
671 size = pc->sizes + pc->num_sizes; in _ppdCacheCreateWithFile()
686 pc->num_sizes ++; in _ppdCacheCreateWithFile()
904 if (pc->num_sizes < num_sizes) in _ppdCacheCreateWithFile()
907 pc->num_sizes, num_sizes)); in _ppdCacheCreateWithFile()
1024 if (ppd->num_sizes > 0) in _ppdCacheCreateWithPPD()
1026 if ((pc->sizes = calloc((size_t)ppd->num_sizes, sizeof(pwg_size_t))) == NULL) in _ppdCacheCreateWithPPD()
1029 "pwg_size_t's.", ppd->num_sizes)); in _ppdCacheCreateWithPPD()
1033 for (i = ppd->num_sizes, pwg_size = pc->sizes, ppd_size = ppd->sizes; in _ppdCacheCreateWithPPD()
1054 for (j = 0; j < pc->num_sizes; j ++) in _ppdCacheCreateWithPPD()
1109 for (k = pc->num_sizes, similar = 0, old_size = pc->sizes, new_size = NULL; in _ppdCacheCreateWithPPD()
1146 pc->num_sizes ++; in _ppdCacheCreateWithPPD()
1906 for (i = pc->num_sizes, size = pc->sizes; i > 0; i --, size ++) in _ppdCacheDestroy()
2378 for (i = pc->num_sizes, size = pc->sizes; i > 0; i --, size ++) in _ppdCacheGetPageSize()
2436 for (i = pc->num_sizes, size = pc->sizes; i > 0; i --, size ++) in _ppdCacheGetPageSize()
2630 for (i = pc->num_sizes, size = pc->sizes; i > 0; i --, size ++) in _ppdCacheGetSize()
2775 cupsFilePrintf(fp, "NumSizes %d\n", pc->num_sizes); in _ppdCacheWriteFile()
2776 for (i = pc->num_sizes, size = pc->sizes; i > 0; i --, size ++) in _ppdCacheWriteFile()