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