Lines Matching refs:CatalogItem
63 typedef struct CatalogItem {
67 } CatalogItem;
70 const CatalogItem *i = p;
77 const CatalogItem *i = a, *j = b;
169 _cleanup_free_ CatalogItem *i = NULL;
176 i = new0(CatalogItem, 1);
393 CatalogItem *items, size_t n) {
416 header.catalog_item_size = htole64(sizeof(CatalogItem));
427 k = fwrite(items, 1, n * sizeof(CatalogItem), w);
428 if (k != n * sizeof(CatalogItem)) {
464 _cleanup_free_ CatalogItem *items = NULL;
467 CatalogItem *i;
502 items = new(CatalogItem, hashmap_size(h));
524 qsort_safe(items, n, sizeof(CatalogItem), catalog_compare_func);
576 le64toh(h->catalog_item_size) < sizeof(CatalogItem) ||
593 CatalogItem key, *f = NULL;
704 const CatalogItem *items;
715 items = (const CatalogItem*) ((const uint8_t*) p + le64toh(h->header_size));