Lines Matching refs:totalLines
32 static int charsPerLine, totalLines;
75 totalLines = '\177' - ' ' + 1;
76 if (totalLines > reps) totalLines = reps;
78 charBuf = malloc(totalLines * sizeof (char *));
80 items = malloc(totalLines * SEGS * sizeof (XTextItem));
82 for (int i = 0; i != totalLines; i++) {
139 totalLines = rows;
153 if (brows > totalLines) totalLines = brows;
169 if (totalLines > reps) totalLines = reps;
175 items = malloc(totalLines * SEGS * sizeof (XTextItem));
177 for (int i = 0; i < totalLines; i++) {
210 charBuf = malloc(totalLines * sizeof (char *));
211 for (int i = 0; i < totalLines; i++) {
239 startLine = (startLine + 1) % totalLines;
241 line = (line + 1) % totalLines;
261 startLine = (startLine + 1) % totalLines;
263 line = (line + 1) % totalLines;
283 startLine = (startLine + 1) % totalLines;
285 line = (line + 1) % totalLines;
305 startLine = (startLine + 1) % totalLines;
307 line = (line + 1) % totalLines;
326 startLine = (startLine + 17) % totalLines;
329 line = (line + 1) % totalLines;
348 startLine = (startLine + 17) % totalLines;
351 line = (line + 1) % totalLines;
366 for (int i = 0; i != totalLines; i++)
381 for (int i = 0; i < totalLines; i++) {
388 for (int i = 0; i < totalLines; i++) {
485 totalLines = '\177' - ' ' + 1;
486 if (totalLines > reps) totalLines = reps;
488 charBuf = malloc(totalLines * sizeof (char *));
490 for (int i = 0; i != totalLines; i++) {
516 startLine = (startLine + 1) % totalLines;
518 line = (line + 1) % totalLines;
527 for (int i = 0; i != totalLines; i++)