Home | History | Annotate | Download | only in bitfields

Lines Matching refs:bits

68         self.expect("frame variable --show-types bits", VARIABLES_DISPLAYED_CORRECTLY,
90 self.expect("expr (bits.b1)", VARIABLES_DISPLAYED_CORRECTLY,
92 self.expect("expr (bits.b2)", VARIABLES_DISPLAYED_CORRECTLY,
94 self.expect("expr (bits.b3)", VARIABLES_DISPLAYED_CORRECTLY,
96 self.expect("expr (bits.b4)", VARIABLES_DISPLAYED_CORRECTLY,
98 self.expect("expr (bits.b5)", VARIABLES_DISPLAYED_CORRECTLY,
100 self.expect("expr (bits.b6)", VARIABLES_DISPLAYED_CORRECTLY,
102 self.expect("expr (bits.b7)", VARIABLES_DISPLAYED_CORRECTLY,
104 self.expect("expr (bits.four)", VARIABLES_DISPLAYED_CORRECTLY,
123 substrs = ['Bits', 'uint32_t b3 : 3',
149 # Lookup the "bits" variable which contains 8 bitfields.
151 bits = frame.FindVariable("bits")
152 self.DebugSBValue(bits)
153 self.assertTrue(bits.GetTypeName() == 'Bits', "bits.GetTypeName() == 'Bits'");
154 self.assertTrue(bits.GetNumChildren() == 10, "bits.GetNumChildren() == 10");
155 self.assertTrue(bits.GetByteSize() == 32, "bits.GetByteSize() == 32");
160 b1 = bits.GetChildMemberWithName("b1")
166 'bits.b1 has type uint32_t:1, is in scope, and == 1')
168 b7 = bits.GetChildMemberWithName("b7")
174 'bits.b7 has type uint32_t:7, is in scope, and == 127')
176 four = bits.GetChildMemberWithName("four")
182 'bits.four has type uint32_t:4, is in scope, and == 15')