Lines Matching refs:SWAP16
1244 #define SWAP16(x) OSSwapBigToHostInt16((x))
1321 header->numEntries = SWAP16(header->numEntries);
2734 xah->appledouble.numEntries = SWAP16 (2);
2771 rsrcforkhdr->mh_Types = SWAP16 (RF_NULL_MAP_LENGTH - 2 );
2772 rsrcforkhdr->mh_Names = SWAP16 (RF_NULL_MAP_LENGTH);
2773 rsrcforkhdr->typeCount = SWAP16 (-1);
2819 count = (adh->magic == ADH_MAGIC) ? adh->numEntries : SWAP16(adh->numEntries);
2823 adh->numEntries = SWAP16 (adh->numEntries);
2842 count = (ah->magic == ATTR_HDR_MAGIC) ? ah->num_attrs : SWAP16(ah->num_attrs);
2849 ah->flags = SWAP16 (ah->flags);
2850 ah->num_attrs = SWAP16 (ah->num_attrs);
2856 ae->flags = SWAP16 (ae->flags);
2890 ah->flags = SWAP16 (ah->flags);
2891 ah->num_attrs = SWAP16 (ah->num_attrs);
2924 ae->flags = SWAP16(ae->flags);