Searched refs:adh (Results 1 – 1 of 1) sorted by relevance
1488 static void swap_adhdr(apple_double_header_t *adh);3132 swap_adhdr(apple_double_header_t *adh) in swap_adhdr() argument3137 count = (adh->magic == ADH_MAGIC) ? adh->numEntries : SWAP16(adh->numEntries); in swap_adhdr()3139 adh->magic = SWAP32(adh->magic); in swap_adhdr()3140 adh->version = SWAP32(adh->version); in swap_adhdr()3141 adh->numEntries = SWAP16(adh->numEntries); in swap_adhdr()3144 adh->entries[i].type = SWAP32(adh->entries[i].type); in swap_adhdr()3145 adh->entries[i].offset = SWAP32(adh->entries[i].offset); in swap_adhdr()3146 adh->entries[i].length = SWAP32(adh->entries[i].length); in swap_adhdr()