Lines Matching refs:ch
92 int ch, ret = 0; in do_test_get_char() local
99 ch = io__get_char(&io); in do_test_get_char()
101 EXPECT_EQUAL(ch, test_string[i]); in do_test_get_char()
104 ch = io__get_char(&io); in do_test_get_char()
105 EXPECT_EQUAL(ch, -1); in do_test_get_char()
139 int ch, ret = 0; in do_test_get_hex() local
145 ch = io__get_hex(&io, &hex); in do_test_get_hex()
147 EXPECT_EQUAL(ch, ch1); in do_test_get_hex()
149 ch = io__get_hex(&io, &hex); in do_test_get_hex()
151 EXPECT_EQUAL(ch, ch2); in do_test_get_hex()
153 ch = io__get_hex(&io, &hex); in do_test_get_hex()
155 EXPECT_EQUAL(ch, ch3); in do_test_get_hex()
220 int ch, ret = 0; in do_test_get_dec() local
226 ch = io__get_dec(&io, &dec); in do_test_get_dec()
228 EXPECT_EQUAL(ch, ch1); in do_test_get_dec()
230 ch = io__get_dec(&io, &dec); in do_test_get_dec()
232 EXPECT_EQUAL(ch, ch2); in do_test_get_dec()
234 ch = io__get_dec(&io, &dec); in do_test_get_dec()
236 EXPECT_EQUAL(ch, ch3); in do_test_get_dec()