Lines Matching refs:le64toh
575 le64toh(h->header_size) < sizeof(CatalogHeader) ||
576 le64toh(h->catalog_item_size) < sizeof(CatalogItem) ||
578 le64toh(h->n_items) <= 0 ||
579 st.st_size < (off_t) (le64toh(h->header_size) + le64toh(h->catalog_item_size) * le64toh(h->n_items))) {
605 f = bsearch(&key, (const uint8_t*) p + le64toh(h->header_size), le64toh(h->n_items), le64toh(h->catalog_item_size), catalog_compare_func);
612 f = bsearch(&key, (const uint8_t*) p + le64toh(h->header_size), le64toh(h->n_items), le64toh(h->catalog_item_size), catalog_compare_func);
619 f = bsearch(&key, (const uint8_t*) p + le64toh(h->header_size), le64toh(h->n_items), le64toh(h->catalog_item_size), catalog_compare_func);
626 le64toh(h->header_size) +
627 le64toh(h->n_items) * le64toh(h->catalog_item_size) +
628 le64toh(f->offset);
715 items = (const CatalogItem*) ((const uint8_t*) p + le64toh(h->header_size));
717 for (n = 0; n < le64toh(h->n_items); n++) {