Lines Matching refs:text
91 char* text; member
202 free(cs->text); in free_screen()
203 cs->text = NULL; in free_screen()
214 cs->text = malloc(cs->si.length * sizeof(*cs->text)); in capture_screen()
215 ASSERT_NOT_NULL(cs->text); in capture_screen()
219 tty_out->handle, cs->text, cs->si.length, origin, &length)); in capture_screen()
233 start = cs->text + cs->si.width * (cursor_position.Y - 1); in make_expect_screen_erase()
237 end = cs->text + cs->si.length; in make_expect_screen_erase()
249 start = cs->text; in make_expect_screen_erase()
254 start = cs->text; in make_expect_screen_erase()
256 end = cs->text + cs->si.length; in make_expect_screen_erase()
265 ASSERT_LE(end - cs->text, cs->si.length); in make_expect_screen_erase()
273 const char* text) { in make_expect_screen_write() argument
276 start = cs->text + cs->si.width * (cursor_position.Y - 1) + in make_expect_screen_write()
278 size_t length = strlen(text); in make_expect_screen_write()
279 size_t remain_length = cs->si.length - (cs->text - start); in make_expect_screen_write()
281 memcpy(start, text, length); in make_expect_screen_write()
306 ASSERT(actual->text); in compare_screen()
308 ASSERT(expect->text); in compare_screen()
320 if (*(actual->text + current) != *(expect->text + current)) { in compare_screen()
327 *(expect->text + current), in compare_screen()
328 *(actual->text + current)); in compare_screen()