Lines Matching defs:row
55 int row;
74 for (row = 0; row <= tst->_maxy; ++row) {
75 tst->_line[row].text = &pline[tst->_pary + row].text[tst->_parx];
91 int col, row, size_x, size_y;
148 for (row = 0; row <= ToLines; ++row) {
149 int begin = (row > size_y) ? 0 : (size_x + 1);
154 if (row <= size_y) {
157 returnCode(cleanup_lines(new_lines, row));
160 ? win->_line[row].text[col]
164 s = win->_line[row].text;
168 returnCode(cleanup_lines(new_lines, row));
173 s = &pline[win->_pary + row].text[win->_parx];
176 if_USE_SCROLL_HINTS(new_lines[row].oldindex = row);
177 if (row <= size_y) {
178 new_lines[row].firstchar = win->_line[row].firstchar;
179 new_lines[row].lastchar = win->_line[row].lastchar;
181 if ((ToCols != size_x) || (row > size_y)) {
183 if (new_lines[row].firstchar < begin)
184 new_lines[row].firstchar = begin;
186 new_lines[row].firstchar = 0;
188 new_lines[row].lastchar = ToCols;
190 new_lines[row].text = s;
198 for (row = ToLines + 1; row <= size_y; row++) {
199 free(win->_line[row].text);
202 for (row = 0; row <= size_y; row++) {
203 free(win->_line[row].text);