Lines Matching defs:read_u8
1210 uint8_t read_u8(uint8_t *data, size_t offset)
1715 set_pixel_format(vs, read_u8(data, 4), read_u8(data, 5),
1716 read_u8(data, 6), read_u8(data, 7),
1718 read_u16(data, 12), read_u8(data, 14),
1719 read_u8(data, 15), read_u8(data, 16));
1744 read_u8(data, 1), read_u16(data, 2), read_u16(data, 4),
1751 key_event(vs, read_u8(data, 1), read_u32(data, 4));
1757 pointer_event(vs, read_u8(data, 1), read_u16(data, 2), read_u16(data, 4));
1775 switch (read_u8(data, 1)) {
1797 switch (read_u8(data, 4)) {
1805 printf("Invalid audio format %d\n", read_u8(data, 4));
1809 vs->as.nchannels = read_u8(data, 5);
1812 read_u8(data, 5));
1819 printf ("Invalid audio message %d\n", read_u8(data, 4));