Lines Matching defs:ptr
44 #define as_u8(ptr) (*(uint8_t*)(ptr)) argument
45 #define as_u16(ptr) (*(uint16_t*)(ptr)) argument
46 #define as_u32(ptr) (*(uint32_t*)(ptr)) argument
47 #define as_u64(ptr) (*(uint64_t*)(ptr)) argument
48 #define as_s8(ptr) (*(int8_t*)(ptr)) argument
49 #define as_s16(ptr) (*(int16_t*)(ptr)) argument
50 #define as_s32(ptr) (*(int32_t*)(ptr)) argument
51 #define as_s64(ptr) (*(int64_t*)(ptr)) argument
52 #define as_float(ptr) (*(float_t*)(ptr)) argument
53 #define as_double(ptr) (*(double_t*)(ptr)) argument
55 #define as_u8c(ptr) (*(const uint8_t*)(ptr)) argument
56 #define as_u16c(ptr) (*(const uint16_t*)(ptr)) argument
57 #define as_u32c(ptr) (*(const uint32_t*)(ptr)) argument
58 #define as_u64c(ptr) (*(const uint64_t*)(ptr)) argument
59 #define as_s8c(ptr) (*(const int8_t*)(ptr)) argument
60 #define as_s16c(ptr) (*(const int16_t*)(ptr)) argument
61 #define as_s32c(ptr) (*(const int32_t*)(ptr)) argument
62 #define as_s64c(ptr) (*(const int64_t*)(ptr)) argument
63 #define as_floatc(ptr) (*(const float_t*)(ptr)) argument
64 #define as_doublec(ptr) (*(const double_t*)(ptr)) argument
66 #define _get_triple_le(ptr) (*(uint8_t*)(ptr) | (uint32_t)*((uint8_t*)(ptr) + 1) << 8 | (uint32_t)*… argument
67 #define _get_triple_be(ptr) ((uint32_t)*(uint8_t*)(ptr) << 16 | (uint32_t)*((uint8_t*)(ptr) + 1) <<… argument
68 #define _put_triple_le(ptr,val) do { \ argument
75 #define _put_triple_be(ptr,val) do { \ argument
84 #define _get_triple(ptr) _get_triple_le(ptr) argument
85 #define _get_triple_s(ptr) _get_triple_be(ptr) argument
86 #define _put_triple(ptr,val) _put_triple_le(ptr,val) argument
87 #define _put_triple_s(ptr,val) _put_triple_be(ptr,val) argument
89 #define _get_triple(ptr) _get_triple_be(ptr) argument
90 #define _get_triple_s(ptr) _get_triple_le(ptr) argument
91 #define _put_triple(ptr,val) _put_triple_be(ptr,val) argument
92 #define _put_triple_s(ptr,val) _put_triple_le(ptr,val) argument