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