Lines Matching refs:header

62   tx_frame_.header.PCB = TEQ1_I(0, 0);  in TEST_F()
66 rx_frame_.header.PCB = *pcb; in TEST_F()
67 rx_frame_.header.LEN = 2; in TEST_F()
71 …teq1_frame_error_check(&state_, &tx_frame_, &rx_frame_)) << teq1_pcb_to_name(rx_frame_.header.PCB); in TEST_F()
125 tx_frame_.header.PCB = TEQ1_I(0, 0); in SetUp()
130 rx_frame_.header.PCB = TEQ1_I(0, 0); in SetUp()
131 rx_frame_.header.LEN = INF_LEN; in SetUp()
140 teq1_trace_transmit(tx_frame_.header.PCB, tx_frame_.header.LEN); in RunRules()
141 teq1_trace_receive(rx_frame_.header.PCB, rx_frame_.header.LEN); in RunRules()
147 EXPECT_EQ(0, tx_next_.header.PCB) in RunRules()
148 << "Actual next TX: " << teq1_pcb_to_name(tx_next_.header.PCB); in RunRules()
160 rx_frame_.header.LEN = 0; in TEST_F()
163 EXPECT_EQ(0U, rx_frame_.header.LEN); in TEST_F()
174 tx_frame_.header.PCB = TEQ1_I(1, 0); in TEST_F()
175 rx_frame_.header.PCB = TEQ1_I(0, 0); in TEST_F()
179 EXPECT_EQ(INF_LEN, rx_frame_.header.LEN); in TEST_F()
187 tx_frame_.header.PCB = TEQ1_I(0, 0); in TEST_F()
192 rx_frame_.header.PCB = TEQ1_S_WTX(0); in TEST_F()
193 rx_frame_.header.LEN = 1; in TEST_F()
198 teq1_trace_transmit(tx_frame_.header.PCB, tx_frame_.header.LEN); in TEST_F()
199 teq1_trace_receive(rx_frame_.header.PCB, rx_frame_.header.LEN); in TEST_F()
202 teq1_trace_transmit(tx_next_.header.PCB, tx_next_.header.LEN); in TEST_F()
207 EXPECT_EQ(TEQ1_S_WTX(1), tx_next_.header.PCB) in TEST_F()
208 << "Actual next TX: " << teq1_pcb_to_name(tx_next_.header.PCB); in TEST_F()
224 EXPECT_EQ(1, bs_get(PCB.I.more_data, tx_frame_.header.PCB)); in RunRules()
230 rx_frame_.header.LEN = 0; in RunRules()
234 teq1_trace_transmit(tx_frame_.header.PCB, tx_frame_.header.LEN); in RunRules()
235 teq1_trace_receive(rx_frame_.header.PCB, rx_frame_.header.LEN); in RunRules()
238 teq1_trace_transmit(tx_next_.header.PCB, tx_next_.header.LEN); in RunRules()
256 tx_frame_.header.PCB = TEQ1_I(0, 0); in TEST_F()
257 rx_frame_.header.PCB = TEQ1_R(1, 0, 0); in TEST_F()
259 EXPECT_EQ(TEQ1_I(1, 1), tx_next_.header.PCB) in TEST_F()
260 << "Actual next TX: " << teq1_pcb_to_name(tx_next_.header.PCB); in TEST_F()
265 tx_frame_.header.PCB = TEQ1_I(1, 0); in TEST_F()
266 rx_frame_.header.PCB = TEQ1_R(0, 0, 0); in TEST_F()
268 EXPECT_EQ(TEQ1_I(0, 1), tx_next_.header.PCB) in TEST_F()
269 << "Actual next TX: " << teq1_pcb_to_name(tx_next_.header.PCB); in TEST_F()
274 tx_frame_.header.PCB = TEQ1_I(1, 0); in TEST_F()
275 rx_frame_.header.PCB = TEQ1_R(0, 0, 0); in TEST_F()
277 EXPECT_EQ(TEQ1_I(0, 0), tx_next_.header.PCB) in TEST_F()
278 << "Actual next TX: " << teq1_pcb_to_name(tx_next_.header.PCB); in TEST_F()
293 tx_frame_.header.PCB = TEQ1_I(0, 0); in SetUp()
298 rx_frame_.header.LEN = 0; in SetUp()
299 rx_frame_.header.PCB = TEQ1_R(0, 0, 0); in SetUp()
304 teq1_trace_transmit(tx_frame_.header.PCB, tx_frame_.header.LEN); in TearDown()
305 teq1_trace_receive(rx_frame_.header.PCB, rx_frame_.header.LEN); in TearDown()
318 rx_frame_.header.PCB = TEQ1_R(0, 0, 0); in TEST_F()
323 rx_frame_.header.PCB = TEQ1_R(0, 0, 1); in TEST_F()
328 rx_frame_.header.PCB = TEQ1_R(0, 1, 0); in TEST_F()
333 rx_frame_.header.PCB = TEQ1_R(0, 1, 1); in TEST_F()
342 tx_frame_.header.PCB = TEQ1_I(0, 0); in TEST_F()
346 rx_frame_.header.PCB = TEQ1_I(0, 0); in TEST_F()
347 rx_frame_.header.LEN = 0; in TEST_F()
351 teq1_trace_transmit(tx_frame_.header.PCB, tx_frame_.header.LEN); in TEST_F()
352 teq1_trace_receive(rx_frame_.header.PCB, rx_frame_.header.LEN); in TEST_F()
359 EXPECT_EQ(TEQ1_R(0, 0, 1), tx_next_.header.PCB) in TEST_F()
360 << "Actual next TX: " << teq1_pcb_to_name(tx_next_.header.PCB); in TEST_F()