Home
last modified time | relevance | path

Searched refs:CustomBitStruct (Results 1 – 1 of 1) sorted by relevance

/art/libartbase/base/
Dbit_struct_test.cc62 struct CustomBitStruct { struct
63 CustomBitStruct() = default;
64 explicit CustomBitStruct(int8_t data) : data(data) {} in CustomBitStruct() argument
74 CustomBitStruct expected(0b1111); in TEST()
76 BitStructField<CustomBitStruct, /*lsb=*/4, /*width=*/4> f{}; in TEST()
80 f = CustomBitStruct(0b1111); in TEST()
82 CustomBitStruct read_out = f; in TEST()
89 BitStructField<CustomBitStruct, /*lsb=*/0, /*width=*/4> f4_a;
90 BitStructField<CustomBitStruct, /*lsb=*/4, /*width=*/4> f4_b;
101 cst.f4_a = CustomBitStruct(0b0110); in TEST()
[all …]