Lines Matching defs:current
305 int current = 0;
319 while (current < actual->si.length) {
320 if (*(actual->text + current) != *(expect->text + current)) {
321 line = current / actual->si.width + 1;
322 col = current - actual->si.width * (line - 1) + 1;
327 *(expect->text + current),
328 *(actual->text + current));
331 if (*(actual->attributes + current) != *(expect->attributes + current)) {
332 line = current / actual->si.width + 1;
333 col = current - actual->si.width * (line - 1) + 1;
338 *(expect->attributes + current),
339 *(actual->attributes + current));
342 current++;