Lines Matching refs:tmp

1467 	struct _line *tmp;  local
1469 tmp = (struct _line *) malloc(sizeof (struct _line));
1470 tmp->row = malloc(columns + 1);
1471 tmp->attributes = malloc(columns + 1);
1472 tmp->prev_screen = NULL;
1473 tmp->next_screen = NULL;
1476 tmp->row[i] = ' ';
1477 tmp->attributes[i] = '\0';
1479 tmp->scroll = tmp->changed = FALSE;
1480 tmp->row[0] = '\0';
1481 tmp->attributes[0] = '\0';
1482 tmp->row[columns] = '\0';
1483 tmp->attributes[columns] = '\0';
1484 tmp->last_char = 0;
1485 return(tmp);
2061 struct _line *tmp; local
2065 for (i = 0, tmp = window->first_line; i < window->Num_lines; i++, tmp = tmp->next_screen)
2066 clear_line(tmp, 0, window->Num_cols);
2074 struct _line *tmp; local
2079 for (row = 0, tmp = window->first_line; row < window->LY; row++)
2080 tmp = tmp->next_screen;
2081 clear_line(tmp, column, window->Num_cols);
2495 struct _line *tmp; local
2502 …for (row = 0, tmp = window->first_line; (row < window->Num_lines) && (tmp->next_screen != NULL); r…
2503 tmp = tmp->next_screen;
2504 if (tmp->prev_screen != NULL)
2505 tmp->prev_screen->next_screen = NULL;
2506 tmp1 = tmp;
2509 for (row = 0, tmp = window->first_line; (row < window->LY) && (tmp->next_screen != NULL); row++)
2510 tmp = tmp->next_screen;
2513 tmp1->next_screen = tmp->next_screen;
2514 tmp->next_screen = tmp1;
2515 tmp->changed = TRUE;
2516 tmp->next_screen->prev_screen = tmp;
2520 if (tmp->prev_screen != NULL)
2521 tmp->prev_screen->next_screen = tmp1;
2522 tmp1->prev_screen = tmp->prev_screen;
2523 tmp->prev_screen = tmp1;
2524 tmp1->next_screen = tmp;
2525 tmp->changed = TRUE;
2526 tmp->scroll = DOWN;
2544 struct _line *tmp; local
2553 for (row = 0, tmp = window->first_line; row < window->LY; row++)
2554 tmp = tmp->next_screen;
2556 window->first_line = tmp->next_screen;
2557 if (tmp->prev_screen != NULL)
2558 tmp->prev_screen->next_screen = tmp->next_screen;
2559 if (tmp->next_screen != NULL)
2561 tmp->next_screen->changed = TRUE;
2562 tmp->next_screen->scroll = UP;
2563 tmp->next_screen->prev_screen = tmp->prev_screen;
2565 tmpline = tmp;
2568 for (row = 0, tmp = window->first_line; tmp->next_screen != NULL; row++)
2569 tmp = tmp->next_screen;
2570 if (tmp != NULL)
2572 tmp->next_screen = tmpline;
2573 tmp->next_screen->prev_screen = tmp;
2574 tmp->changed = TRUE;
2575 tmp = tmp->next_screen;
2578 tmp = tmpline;
2579 tmp->next_screen = NULL;
2581 for (row = 0, tmp = window->first_line; row < window->Num_lines; row++)
2583 window->line_array[row] = tmp;
2584 tmp = tmp->next_screen;
2598 struct _line *tmp; local
2603 for (row = 0, tmp = window->first_line; row < window->LY; row++)
2604 tmp = tmp->next_screen;
2605 clear_line(tmp, column, window->Num_cols);
2608 tmp = tmp->next_screen;
2609 clear_line(tmp, 0, window->Num_cols);
2978 struct _line *tmp; local
2981 for (i = 0, tmp = curscr->first_line; i < window->SR; i++)
2982 tmp = tmp->next_screen;
2985 top_of_win = tmp;
2989 for (i = 0, tmp = top_of_win; (tmp->next_screen != NULL) && (i < end_row); i++)
2990 tmp = tmp->next_screen;
2991 if (tmp->prev_screen != NULL)
2992 tmp->prev_screen->next_screen = tmp->next_screen;
2993 if (tmp->next_screen != NULL)
2994 tmp->next_screen->prev_screen = tmp->prev_screen;
2995 tmp1 = tmp;
2999 clear_line(tmp, 0, window->Num_cols);
3001 for (i = 0, tmp = curscr->first_line; (tmp->next_screen != NULL) && (i < window->SR); i++)
3002 tmp = tmp->next_screen;
3003 top_of_win = tmp;
3004 for (i = 0, tmp = top_of_win; i < row; i++)
3005 tmp = tmp->next_screen;
3006 if ((tmp->prev_screen != NULL) && (window->Num_lines > 0))
3007 tmp->prev_screen->next_screen = tmp1;
3008 tmp1->prev_screen = tmp->prev_screen;
3009 tmp->prev_screen = tmp1;
3010 tmp1->next_screen = tmp;
3040 struct _line *tmp; local
3045 tmp = curscr->first_line;
3049 tmp = tmp->next_screen;
3054 top_of_win = tmp;
3057 for (i = 0, tmp = top_of_win; i < row; i++)
3058 tmp = tmp->next_screen;
3059 if (tmp->prev_screen != NULL)
3060 tmp->prev_screen->next_screen = tmp->next_screen;
3061 if (tmp->next_screen != NULL)
3062 tmp->next_screen->prev_screen = tmp->prev_screen;
3063 tmp2 = tmp->next_screen;
3064 tmp1 = tmp;
3073 for (i = 0, tmp = curscr->first_line; (tmp->next_screen != NULL) && (i < window->SR); i++)
3074 tmp = tmp->next_screen;
3075 top_of_win = tmp;
3076 for (i = 0, tmp = top_of_win; (i < end_row) && (tmp->next_screen != NULL); i++)
3077 tmp = tmp->next_screen;
3078 tmp1->next_screen = tmp;
3079 tmp1->prev_screen = tmp->prev_screen;
3082 tmp->prev_screen = tmp1;