Lines Matching refs:_cups_sp_item_t
40 static int compare_sp_items(_cups_sp_item_t *a, _cups_sp_item_t *b);
51 _cups_sp_item_t *item, /* String pool item */ in _cupsStrAlloc()
82 key = (_cups_sp_item_t *)(s - offsetof(_cups_sp_item_t, str)); in _cupsStrAlloc()
84 if ((item = (_cups_sp_item_t *)cupsArrayFind(stringpool, key)) != NULL) in _cupsStrAlloc()
111 item = (_cups_sp_item_t *)calloc(1, sizeof(_cups_sp_item_t) + slen); in _cupsStrAlloc()
182 _cups_sp_item_t *item; /* Current item */ in _cupsStrFlush()
190 for (item = (_cups_sp_item_t *)cupsArrayFirst(stringpool); in _cupsStrFlush()
192 item = (_cups_sp_item_t *)cupsArrayNext(stringpool)) in _cupsStrFlush()
289 _cups_sp_item_t *item, /* String pool item */ in _cupsStrFree()
317 key = (_cups_sp_item_t *)(s - offsetof(_cups_sp_item_t, str)); in _cupsStrFree()
328 if ((item = (_cups_sp_item_t *)cupsArrayFind(stringpool, key)) != NULL && in _cupsStrFree()
364 _cups_sp_item_t *item; /* Pointer to string pool item */ in _cupsStrRetain()
369 item = (_cups_sp_item_t *)(s - offsetof(_cups_sp_item_t, str)); in _cupsStrRetain()
541 _cups_sp_item_t *item; /* Current item */ in _cupsStrStatistics()
551 item = (_cups_sp_item_t *)cupsArrayFirst(stringpool); in _cupsStrStatistics()
553 item = (_cups_sp_item_t *)cupsArrayNext(stringpool)) in _cupsStrStatistics()
561 abytes += sizeof(_cups_sp_item_t) + len; in _cupsStrStatistics()
765 compare_sp_items(_cups_sp_item_t *a, /* I - First item */ in compare_sp_items()
766 _cups_sp_item_t *b) /* I - Second item */ in compare_sp_items()