Searched refs:unaligned_read_le16 (Results 1 - 2 of 2) sorted by relevance

/systemd/src/basic/
H A Dunaligned.h71 static inline uint16_t unaligned_read_le16(const void *_u) { function
81 return (((uint32_t) unaligned_read_le16(u + 2)) << 16) |
82 ((uint32_t) unaligned_read_le16(u));
/systemd/src/test/
H A Dtest-unaligned.c98 assert_se(unaligned_read_le16(&data[0]) == 0x0100);
99 assert_se(unaligned_read_le16(&data[1]) == 0x0201);

Completed in 598 milliseconds