Lines Matching refs:X
98 si->width = si->csbi.dwSize.X; in get_screen_info()
109 pos.X -= 1; in set_cursor_position()
118 cursor_position->X = info.dwCursorPosition.X + 1; in get_cursor_position()
177 length = info.dwSize.X * (info.srWindow.Bottom - info.srWindow.Top + 1); in setup_screen()
178 origin.X = 0; in setup_screen()
190 length = (info.srWindow.Bottom - info.srWindow.Top + 1) * info.dwSize.X - 1; in clear_screen()
191 origin.X = 0; in clear_screen()
212 origin.X = 0; in capture_screen()
243 start += cursor_position.X - 1; in make_expect_screen_erase()
246 end = start + cursor_position.X; in make_expect_screen_erase()
277 cursor_position.X - 1; in make_expect_screen_write()
290 cursor_position.X - 1; in make_expect_screen_set_attr()
389 cursor_pos_old.X = si.width / 2; in TEST_IMPL()
398 ASSERT_EQ(cursor_pos_old.X, cursor_pos.X); in TEST_IMPL()
406 ASSERT_EQ(cursor_pos_old.X, cursor_pos.X); in TEST_IMPL()
409 cursor_pos_old.X = 1; in TEST_IMPL()
416 ASSERT_EQ(cursor_pos_old.X, cursor_pos.X); in TEST_IMPL()
440 cursor_pos_old.X = si.width / 2; in TEST_IMPL()
449 ASSERT_EQ(cursor_pos_old.X, cursor_pos.X); in TEST_IMPL()
457 ASSERT_EQ(cursor_pos_old.X, cursor_pos.X); in TEST_IMPL()
460 cursor_pos_old.X = si.width / 2; in TEST_IMPL()
467 ASSERT_EQ(cursor_pos_old.X, cursor_pos.X); in TEST_IMPL()
491 cursor_pos_old.X = si.width / 2; in TEST_IMPL()
500 ASSERT_EQ(cursor_pos_old.X + 1, cursor_pos.X); 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()
518 ASSERT_EQ(cursor_pos_old.X, cursor_pos.X); in TEST_IMPL()
521 cursor_pos_old.X = si.width; in TEST_IMPL()
528 ASSERT_EQ(cursor_pos_old.X, cursor_pos.X); in TEST_IMPL()
552 cursor_pos_old.X = si.width / 2; in TEST_IMPL()
561 ASSERT_EQ(cursor_pos_old.X - 1, cursor_pos.X); in TEST_IMPL()
569 ASSERT_EQ(cursor_pos_old.X - si.width / 4, cursor_pos.X); in TEST_IMPL()
572 cursor_pos_old.X = 1; in TEST_IMPL()
579 ASSERT_EQ(cursor_pos_old.X, cursor_pos.X); in TEST_IMPL()
582 cursor_pos_old.X = 1; in TEST_IMPL()
589 ASSERT_EQ(1, cursor_pos.X); in TEST_IMPL()
613 cursor_pos_old.X = si.width / 2; in TEST_IMPL()
622 ASSERT_EQ(1, cursor_pos.X); in TEST_IMPL()
630 ASSERT_EQ(1, cursor_pos.X); in TEST_IMPL()
633 cursor_pos_old.X = si.width / 2; in TEST_IMPL()
640 ASSERT_EQ(1, cursor_pos.X); in TEST_IMPL()
664 cursor_pos_old.X = si.width / 2; in TEST_IMPL()
673 ASSERT_EQ(1, cursor_pos.X); in TEST_IMPL()
681 ASSERT_EQ(1, cursor_pos.X); in TEST_IMPL()
684 cursor_pos_old.X = 1; in TEST_IMPL()
691 ASSERT_EQ(1, cursor_pos.X); in TEST_IMPL()
715 cursor_pos_old.X = si.width / 2; in TEST_IMPL()
723 ASSERT_EQ(1, cursor_pos.X); in TEST_IMPL()
730 ASSERT_EQ(si.width / 4, cursor_pos.X); in TEST_IMPL()
737 ASSERT_EQ(si.width, cursor_pos.X); in TEST_IMPL()
761 cursor_pos.X = si.width / 2; in TEST_IMPL()
769 ASSERT_EQ(1, cursor_pos.X); in TEST_IMPL()
777 ASSERT_EQ(si.width / 2, cursor_pos.X); in TEST_IMPL()
785 ASSERT_EQ(si.width, cursor_pos.X); 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()
1160 cursor_pos.X += strlen(HELLO); 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()
1219 cursor_pos.X += strlen(HELLO); in TEST_IMPL()
1258 cursor_pos_old.X = si.width / 2; in TEST_IMPL()
1266 cursor_pos.X = si.width / 4; in TEST_IMPL()
1274 ASSERT_EQ(cursor_pos.X, cursor_pos_old.X); in TEST_IMPL()
1277 cursor_pos_old.X = si.width / 2; in TEST_IMPL()
1285 cursor_pos.X = si.width / 4; in TEST_IMPL()
1293 ASSERT_EQ(cursor_pos.X, cursor_pos_old.X); in TEST_IMPL()
1320 cursor_pos.X = expect.si.width; in TEST_IMPL()
1366 cursor_pos.X = 1; in TEST_IMPL()
1371 cursor_pos.X += strlen(HELLO); in TEST_IMPL()
1379 cursor_pos.X = 1; in TEST_IMPL()
1384 cursor_pos.X += strlen(HELLO); in TEST_IMPL()
1392 cursor_pos.X = 1; in TEST_IMPL()
1397 cursor_pos.X += strlen(HELLO); in TEST_IMPL()
1405 cursor_pos.X = 1; in TEST_IMPL()
1419 cursor_pos.X += strlen(HELLO); in TEST_IMPL()
1421 cursor_pos.X += strlen(HELLO); in TEST_IMPL()
1428 cursor_pos.X = 1; in TEST_IMPL()
1433 cursor_pos.X += strlen(HELLO); in TEST_IMPL()
1442 cursor_pos.X = 1; in TEST_IMPL()
1452 cursor_pos.X = 1; in TEST_IMPL()
1462 cursor_pos.X = 1; in TEST_IMPL()
1479 cursor_pos.X = 1; in TEST_IMPL()
1498 cursor_pos.X = 1; in TEST_IMPL()
1503 cursor_pos.X += strlen(HELLO); in TEST_IMPL()
1523 ASSERT_EQ(1, cursor_pos.X); in TEST_IMPL()
1527 cursor_pos.X = 1; in TEST_IMPL()
1557 ASSERT_EQ(1, cursor_pos.X); in TEST_IMPL()
1578 cursor_pos_old.X = expect.si.width / 2; in TEST_IMPL()
1589 ASSERT(cursor_pos.X = cursor_pos_old.X); in TEST_IMPL()
1609 cursor_pos.X = expect.si.width / 2; in TEST_IMPL()