• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/vfs/

Lines Matching refs:SWAP32

1245 #define SWAP32(x)  OSSwapBigToHostInt32((x))
1319 header->magic = SWAP32(header->magic);
1320 header->version = SWAP32(header->version);
1343 header->entries[i].type = SWAP32(header->entries[i].type);
1344 header->entries[i].offset = SWAP32(header->entries[i].offset);
1345 header->entries[i].length = SWAP32(header->entries[i].length);
2732 xah->appledouble.magic = SWAP32 (ADH_MAGIC);
2733 xah->appledouble.version = SWAP32 (ADH_VERSION);
2735 xah->appledouble.entries[0].type = SWAP32 (AD_FINDERINFO);
2736 xah->appledouble.entries[0].offset = SWAP32 (offsetof(apple_double_header_t, finfo));
2737 xah->appledouble.entries[0].length = SWAP32 (ATTR_BUF_SIZE - offsetof(apple_double_header_t, finfo) - rsrcforksize);
2738 xah->appledouble.entries[1].type = SWAP32 (AD_RESOURCE);
2739 xah->appledouble.entries[1].offset = SWAP32 (ATTR_BUF_SIZE - rsrcforksize);
2740 xah->appledouble.entries[1].length = SWAP32 (rsrcforksize);
2744 xah->magic = SWAP32 (ATTR_HDR_MAGIC);
2745 xah->debug_tag = SWAP32 (fileid);
2746 xah->total_size = SWAP32 (ATTR_BUF_SIZE - rsrcforksize);
2747 xah->data_start = SWAP32 (sizeof(attr_header_t));
2765 rsrcforkhdr->fh_DataOffset = SWAP32 (RF_FIRST_RESOURCE);
2766 rsrcforkhdr->fh_MapOffset = SWAP32 (RF_FIRST_RESOURCE);
2767 rsrcforkhdr->fh_MapLength = SWAP32 (RF_NULL_MAP_LENGTH);
2768 rsrcforkhdr->mh_DataOffset = SWAP32 (RF_FIRST_RESOURCE);
2769 rsrcforkhdr->mh_MapOffset = SWAP32 (RF_FIRST_RESOURCE);
2770 rsrcforkhdr->mh_MapLength = SWAP32 (RF_NULL_MAP_LENGTH);
2821 adh->magic = SWAP32 (adh->magic);
2822 adh->version = SWAP32 (adh->version);
2826 adh->entries[i].type = SWAP32 (adh->entries[i].type);
2827 adh->entries[i].offset = SWAP32 (adh->entries[i].offset);
2828 adh->entries[i].length = SWAP32 (adh->entries[i].length);
2844 ah->magic = SWAP32 (ah->magic);
2845 ah->debug_tag = SWAP32 (ah->debug_tag);
2846 ah->total_size = SWAP32 (ah->total_size);
2847 ah->data_start = SWAP32 (ah->data_start);
2848 ah->data_length = SWAP32 (ah->data_length);
2854 ae->offset = SWAP32 (ae->offset);
2855 ae->length = SWAP32 (ae->length);
2881 if (SWAP32(ah->magic) != ATTR_HDR_MAGIC)
2885 ah->magic = SWAP32(ah->magic);
2886 ah->debug_tag = SWAP32 (ah->debug_tag);
2887 ah->total_size = SWAP32 (ah->total_size);
2888 ah->data_start = SWAP32 (ah->data_start);
2889 ah->data_length = SWAP32 (ah->data_length);
2922 ae->offset = SWAP32(ae->offset);
2923 ae->length = SWAP32(ae->length);