Lines Matching refs:to_byte
48 byte b = to_byte<12>(); in SUITE()
53 byte b = to_byte(uc); in SUITE()
66 byte b = to_byte<0xFF>(); in SUITE()
68 byte a = to_byte<0x00>(); in SUITE()
69 CHECK((b | a) == to_byte<0xFF>()); in SUITE()
70 CHECK(a == to_byte<0x00>()); in SUITE()
73 CHECK(a == to_byte<0xFF>()); in SUITE()
75 a = to_byte<0x01>(); in SUITE()
76 CHECK((b & a) == to_byte<0x01>()); in SUITE()
79 CHECK(a == to_byte<0x01>()); in SUITE()
81 CHECK((b ^ a) == to_byte<0xFE>()); in SUITE()
83 CHECK(a == to_byte<0x01>()); in SUITE()
85 CHECK(a == to_byte<0xFE>()); in SUITE()
87 a = to_byte<0x01>(); in SUITE()
88 CHECK(~a == to_byte<0xFE>()); in SUITE()
90 a = to_byte<0xFF>(); in SUITE()
91 CHECK((a << 4) == to_byte<0xF0>()); in SUITE()
92 CHECK((a >> 4) == to_byte<0x0F>()); in SUITE()
95 CHECK(a == to_byte<0xF0>()); in SUITE()
97 CHECK(a == to_byte<0x0F>()); in SUITE()
102 byte b = to_byte<0x12>(); in SUITE()
121 b = to_byte<5>(); in SUITE()