Lines Matching defs:off
64 #define GET_16BE(off) ((buf[off] << 8) + (buf[(off)+1])) argument
65 #define GET_32BE(off) ((GET_16BE(off) << 16U) + GET_16BE((off)+2U)) argument
66 #define GET_64BE(off) ((((unsigned long long)GET_32BE(off)) << 32ULL) + \ argument
68 #define PUT_16BE(off, v)(buf[off] = ((v) >> 8) & 0xff, \ argument
70 #define PUT_32BE(off, v)(PUT_16BE((off), (v) >> 16L), PUT_16BE((off) + 2, (v))) argument
71 #define PUT_64BE(off, v)((PUT_32BE((off), (v) >> 32L), \ argument
74 #define GET_16LE(off) ((buf[off]) + (buf[(off)+1] << 8)) argument
75 #define GET_32LE(off) (GET_16LE(off) + (GET_16LE((off)+2U) << 16U)) argument
76 #define GET_64LE(off) ((unsigned long long)GET_32LE(off) + \ argument
78 #define PUT_16LE(off, v) (buf[off] = (v) & 0xff, \ argument
80 #define PUT_32LE(off, v) (PUT_16LE((off), (v)), PUT_16LE((off) + 2, (v) >> 16L)) argument
81 #define PUT_64LE(off, v) (PUT_32LE((off), (v)), PUT_32LE((off) + 4, (v) >> 32L)) argument
83 #define GET_16(off) (e_data == ELFDATA2MSB ? GET_16BE(off) : GET_16LE(off)) argument
84 #define GET_32(off) (e_data == ELFDATA2MSB ? GET_32BE(off) : GET_32LE(off)) argument
85 #define GET_64(off) (e_data == ELFDATA2MSB ? GET_64BE(off) : GET_64LE(off)) argument
86 #define PUT_16(off, v) (e_data == ELFDATA2MSB ? PUT_16BE(off, v) : \ argument
88 #define PUT_32(off, v) (e_data == ELFDATA2MSB ? PUT_32BE(off, v) : \ argument
90 #define PUT_64(off, v) (e_data == ELFDATA2MSB ? PUT_64BE(off, v) : \ argument