Searched refs:adh (Results 1 – 1 of 1) sorted by relevance
1577 static void swap_adhdr(apple_double_header_t *adh);3846 swap_adhdr(apple_double_header_t *adh) in swap_adhdr() argument3851 count = (adh->magic == ADH_MAGIC) ? adh->numEntries : SWAP16(adh->numEntries); in swap_adhdr()3853 adh->magic = SWAP32(adh->magic); in swap_adhdr()3854 adh->version = SWAP32(adh->version); in swap_adhdr()3855 adh->numEntries = SWAP16(adh->numEntries); in swap_adhdr()3858 adh->entries[i].type = SWAP32(adh->entries[i].type); in swap_adhdr()3859 adh->entries[i].offset = SWAP32(adh->entries[i].offset); in swap_adhdr()3860 adh->entries[i].length = SWAP32(adh->entries[i].length); in swap_adhdr()