Home | History | Annotate | Download | only in stubs

Lines Matching defs:uint16

108 typedef unsigned __int16 uint16;
118 typedef unsigned short uint16;
233 #define GOOGLE_UNALIGNED_LOAD16(_p) (*reinterpret_cast<const uint16 *>(_p))
237 #define GOOGLE_UNALIGNED_STORE16(_p, _val) (*reinterpret_cast<uint16 *>(_p) = (_val))
242 inline uint16 GOOGLE_UNALIGNED_LOAD16(const void *p) {
243 uint16 t;
260 inline void GOOGLE_UNALIGNED_STORE16(void *p, uint16 v) {
293 static inline uint16 bswap_16(uint16 x) {
294 return static_cast<uint16>(((x & 0xFF) << 8) | ((x & 0xFF00) >> 8));
326 static uint16 FromHost16(uint16 x) { return bswap_16(x); }
327 static uint16 ToHost16(uint16 x) { return bswap_16(x); }
339 static uint16 FromHost16(uint16 x) { return x; }
340 static uint16 ToHost16(uint16 x) { return x; }
353 static uint16 Load16(const void *p) {
357 static void Store16(void *p, uint16 v) {