Lines Matching refs:width

84   int width;  member
98 si->width = si->csbi.dwSize.X; in get_screen_info()
100 si->length = si->width * si->height; in get_screen_info()
233 start = cs->text + cs->si.width * (cursor_position.Y - 1); in make_expect_screen_erase()
240 end = start + cs->si.width; in make_expect_screen_erase()
259 end = start + cs->si.width; in make_expect_screen_erase()
276 start = cs->text + cs->si.width * (cursor_position.Y - 1) + in make_expect_screen_write()
289 start = cs->attributes + cs->si.width * (cursor_position.Y - 1) + in make_expect_screen_set_attr()
313 if (actual->si.width != expect->si.width) { in compare_screen()
321 line = current / actual->si.width + 1; in compare_screen()
322 col = current - actual->si.width * (line - 1) + 1; in compare_screen()
332 line = current / actual->si.width + 1; in compare_screen()
333 col = current - actual->si.width * (line - 1) + 1; in compare_screen()
389 cursor_pos_old.X = si.width / 2; in TEST_IMPL()
440 cursor_pos_old.X = si.width / 2; in TEST_IMPL()
460 cursor_pos_old.X = si.width / 2; in TEST_IMPL()
491 cursor_pos_old.X = si.width / 2; in TEST_IMPL()
504 snprintf(buffer, sizeof(buffer), "%s%dC", CSI, si.width / 4); in TEST_IMPL()
508 ASSERT_EQ(cursor_pos_old.X + si.width / 4, cursor_pos.X); in TEST_IMPL()
511 cursor_pos_old.X = si.width; in TEST_IMPL()
521 cursor_pos_old.X = si.width; in TEST_IMPL()
552 cursor_pos_old.X = si.width / 2; in TEST_IMPL()
565 snprintf(buffer, sizeof(buffer), "%s%dD", CSI, si.width / 4); in TEST_IMPL()
569 ASSERT_EQ(cursor_pos_old.X - si.width / 4, cursor_pos.X); in TEST_IMPL()
613 cursor_pos_old.X = si.width / 2; in TEST_IMPL()
633 cursor_pos_old.X = si.width / 2; in TEST_IMPL()
664 cursor_pos_old.X = si.width / 2; in TEST_IMPL()
715 cursor_pos_old.X = si.width / 2; in TEST_IMPL()
727 snprintf(buffer, sizeof(buffer), "%s%dG", CSI, si.width / 4); in TEST_IMPL()
730 ASSERT_EQ(si.width / 4, cursor_pos.X); in TEST_IMPL()
734 snprintf(buffer, sizeof(buffer), "%s%dG", CSI, si.width + 1); in TEST_IMPL()
737 ASSERT_EQ(si.width, cursor_pos.X); in TEST_IMPL()
761 cursor_pos.X = si.width / 2; in TEST_IMPL()
774 buffer, sizeof(buffer), "%s%d;%df", CSI, si.height / 2, si.width / 2); in TEST_IMPL()
777 ASSERT_EQ(si.width / 2, cursor_pos.X); in TEST_IMPL()
782 buffer, sizeof(buffer), "%s%d;%df", CSI, si.height / 2, si.width + 1); in TEST_IMPL()
785 ASSERT_EQ(si.width, cursor_pos.X); in TEST_IMPL()
789 buffer, sizeof(buffer), "%s%d;%df", CSI, si.height + 1, si.width / 2); in TEST_IMPL()
792 ASSERT_EQ(si.width / 2, cursor_pos.X); in TEST_IMPL()
855 cursor_pos.X = expect.si.width / 2; in TEST_IMPL()
929 cursor_pos.X = expect.si.width / 2; in TEST_IMPL()
1090 cursor_pos.X = expect.si.width / 2; in TEST_IMPL()
1109 cursor_pos.X = expect.si.width / 2; in TEST_IMPL()
1129 cursor_pos.X = expect.si.width / 2; in TEST_IMPL()
1153 cursor_pos.X = expect.si.width / 2; in TEST_IMPL()
1184 cursor_pos.X = expect.si.width / 2; in TEST_IMPL()
1207 cursor_pos.X = expect.si.width / 2; in TEST_IMPL()
1258 cursor_pos_old.X = si.width / 2; in TEST_IMPL()
1266 cursor_pos.X = si.width / 4; in TEST_IMPL()
1277 cursor_pos_old.X = si.width / 2; in TEST_IMPL()
1285 cursor_pos.X = si.width / 4; in TEST_IMPL()
1320 cursor_pos.X = expect.si.width; in TEST_IMPL()
1554 expect.si.width / 2); in TEST_IMPL()
1578 cursor_pos_old.X = expect.si.width / 2; in TEST_IMPL()
1586 expect.si.width / 4); in TEST_IMPL()
1609 cursor_pos.X = expect.si.width / 2; in TEST_IMPL()