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

/systemd/src/basic/
H A Dunaligned.h78 static inline uint32_t unaligned_read_le32(const void *_u) { function
88 return (((uint64_t) unaligned_read_le32(u + 4)) << 32) |
89 ((uint64_t) unaligned_read_le32(u));
/systemd/src/test/
H A Dtest-unaligned.c101 assert_se(unaligned_read_le32(&data[0]) == 0x03020100);
102 assert_se(unaligned_read_le32(&data[1]) == 0x04030201);
103 assert_se(unaligned_read_le32(&data[2]) == 0x05040302);
104 assert_se(unaligned_read_le32(&data[3]) == 0x06050403);

Completed in 513 milliseconds