Home
last modified time | relevance | path

Searched refs:SwapWord (Results 1 – 1 of 1) sorted by relevance

/sdk/emulator/qtools/
Dread_elf.cpp23 #define SwapWord(a) (((a & 0xff000000) >> 24) | ((a & 0x00ff0000) >> 8) | ((a & 0x0000ff00) << 8) |… macro
24 #define SwapAddr(a) SwapWord(a)
25 #define SwapOff(a) SwapWord(a)
38 hdr->e_version = SwapWord(hdr->e_version); in SwapElfHeader()
42 hdr->e_flags = SwapWord(hdr->e_flags); in SwapElfHeader()
53 shdr->sh_name = SwapWord(shdr->sh_name); in SwapSectionHeader()
54 shdr->sh_type = SwapWord(shdr->sh_type); in SwapSectionHeader()
55 shdr->sh_flags = SwapWord(shdr->sh_flags); in SwapSectionHeader()
58 shdr->sh_size = SwapWord(shdr->sh_size); in SwapSectionHeader()
59 shdr->sh_link = SwapWord(shdr->sh_link); in SwapSectionHeader()
[all …]