Home
last modified time | relevance | path

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

/external/libese/libese-teq1/tests/
Dteq1_unittests.cpp93 tx_data_(INF_LEN, 'A'), in Teq1RulesTest()
94 rx_data_(INF_LEN, 'B'), in Teq1RulesTest()
131 rx_frame_.header.LEN = INF_LEN; in SetUp()
132 ASSERT_EQ(static_cast<unsigned long>(INF_LEN), tx_data_.size()); // Catch fixture changes. in SetUp()
134 memcpy(rx_frame_.INF, tx_data_.data(), INF_LEN); in SetUp()
135 rx_frame_.INF[INF_LEN] = teq1_compute_LRC(&rx_frame_); in SetUp()
176 rx_frame_.INF[INF_LEN] = teq1_compute_LRC(&rx_frame_); in TEST_F()
179 EXPECT_EQ(INF_LEN, rx_frame_.header.LEN); in TEST_F()
226 EXPECT_EQ(static_cast<uint32_t>(oversized_data_len_ - INF_LEN), in RunRules()
246 EXPECT_EQ(static_cast<uint32_t>(oversized_data_len_ - (2 * INF_LEN)), in RunRules()
[all …]
/external/libese/libese-teq1/include/ese/
Dteq1.h100 #define TEQ1FRAME_SIZE INF_LEN + 1 + TEQ1HEADER_SIZE
102 #define INF_LEN 254 macro
106 uint8_t val[sizeof(struct Teq1Header) + INF_LEN + 1];
110 uint8_t INF[INF_LEN + 1]; /* Up to 254 with trailing LRC byte. */
/external/libese/libese-teq1/
Dteq1.c181 uint32_t inf_len = INF_LEN; in teq1_fill_info_block()