Home
last modified time | relevance | path

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

/external/libese/libese/tests/
Dbitspec_unittests.cpp82 EXPECT_EQ(1, bs_get(kTestSpec.single.bit[bit], expected_byte)); in TEST_F()
92 EXPECT_EQ(1, bs_get(kTestSpec.single.bit[bit], expected_byte)); in TEST_F()
102 EXPECT_EQ(0, bs_get(kTestSpec.single.bit[bit], expected_byte)); in TEST_F()
113 EXPECT_EQ(0, bs_get(kTestSpec.single.bit[bit], expected_byte)); in TEST_F()
119 EXPECT_EQ(0, bs_get(kTestSpec.adjacent.high, byte)); in TEST_F()
120 EXPECT_EQ(0, bs_get(kTestSpec.adjacent.mid, byte)); in TEST_F()
121 EXPECT_EQ(0, bs_get(kTestSpec.adjacent.low, byte)); in TEST_F()
123 EXPECT_EQ(0x3, bs_get(kTestSpec.adjacent.high, byte)); in TEST_F()
124 EXPECT_EQ(0xf, bs_get(kTestSpec.adjacent.mid, byte)); in TEST_F()
125 EXPECT_EQ(0x3, bs_get(kTestSpec.adjacent.low, byte)); in TEST_F()
[all …]
/external/libese/libese-teq1/
Dteq1.c185 switch (bs_get(PCB.type, frame->header.PCB)) { in teq1_fill_info_block()
215 switch (bs_get(PCB.type, frame->header.PCB)) { in teq1_get_app_data()
257 switch (bs_get(PCB.type, tx_frame->header.PCB)) { in teq1_frame_error_check()
260 chained = bs_get(PCB.I.more_data, tx_frame->header.PCB); in teq1_frame_error_check()
262 bs_get(PCB.I.send_seq, tx_frame->header.PCB); in teq1_frame_error_check()
269 switch (bs_get(PCB.type, rx_frame->header.PCB)) { in teq1_frame_error_check()
284 if ((bs_get(PCB.I.send_seq, rx_frame->header.PCB)) == in teq1_frame_error_check()
287 bs_get(PCB.I.send_seq, rx_frame->header.PCB), in teq1_frame_error_check()
292 state->card_state->seq.card = bs_get(PCB.I.send_seq, rx_frame->header.PCB); in teq1_frame_error_check()
348 TEQ1_R(!bs_get(PCB.I.send_seq, rx_frame->header.PCB), 0, 0); in teq1_rules()
[all …]
/external/libese/libese/include/ese/
Dbit_spec.h24 static inline uint8_t bs_get(const struct bit_spec b, uint8_t var) { in bs_get() function
/external/libese/libese-teq1/tests/
Dteq1_unittests.cpp224 EXPECT_EQ(1, bs_get(PCB.I.more_data, tx_frame_.header.PCB)); in RunRules()