Lines Matching refs:SWAP16
1378 #define SWAP16(x) OSSwapBigToHostInt16((x))
1455 header->numEntries = SWAP16(header->numEntries);
2948 xah->appledouble.numEntries = SWAP16 (2);
2985 rsrcforkhdr->mh_Types = SWAP16 (RF_NULL_MAP_LENGTH - 2 );
2986 rsrcforkhdr->mh_Names = SWAP16 (RF_NULL_MAP_LENGTH);
2987 rsrcforkhdr->typeCount = SWAP16 (-1);
3033 count = (adh->magic == ADH_MAGIC) ? adh->numEntries : SWAP16(adh->numEntries);
3037 adh->numEntries = SWAP16 (adh->numEntries);
3056 count = (ah->magic == ATTR_HDR_MAGIC) ? ah->num_attrs : SWAP16(ah->num_attrs);
3063 ah->flags = SWAP16 (ah->flags);
3064 ah->num_attrs = SWAP16 (ah->num_attrs);
3070 ae->flags = SWAP16 (ae->flags);
3104 ah->flags = SWAP16 (ah->flags);
3105 ah->num_attrs = SWAP16 (ah->num_attrs);
3138 ae->flags = SWAP16(ae->flags);