Lines Matching refs:current
305 int current = 0; in compare_screen() local
319 while (current < actual->si.length) { in compare_screen()
320 if (*(actual->text + current) != *(expect->text + current)) { 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()
327 *(expect->text + current), in compare_screen()
328 *(actual->text + current)); in compare_screen()
331 if (*(actual->attributes + current) != *(expect->attributes + current)) { 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()
338 *(expect->attributes + current), in compare_screen()
339 *(actual->attributes + current)); in compare_screen()
342 current++; in compare_screen()