Lines Matching refs:tem

135     pending_output_line *tem = pending_lines;  in output()  local
137 delete tem; in output()
174 pending_output_line *tem = pending_lines; in output_pending_lines() local
176 delete tem; in output_pending_lines()
488 int tem = fontno; in set_font() local
490 prev_fontno = tem; in set_font()
531 font_family *tem = family; in set_family() local
533 prev_family = tem; in set_family()
926 vunits tem(post_vertical_spacing); in total_post_vertical_spacing() local
928 tem += (line_spacing - 1)*vertical_spacing; in total_post_vertical_spacing()
929 return tem; in total_post_vertical_spacing()
1056 for (node *tem = line; tem; tem = tem->next) { in width_registers() local
1057 tem->vertical_extent(&v1, &v2); in width_registers()
1064 if ((cur += tem->vertical_width()) < min) in width_registers()
1068 character_type |= tem->character_type(); in width_registers()
1142 env_list *tem = env_stack; in environment_switch() local
1144 delete tem; in environment_switch()
1585 node *tem = make_node(charset_table[i], curenv); in number_lines() local
1586 if (!tem) { in number_lines()
1590 tem->next = nd; in number_lines()
1591 nd = tem; in number_lines()
1708 node *tem = line; in newline() local
1710 delete tem; in newline()
1778 node *tem; in output_line() local
1780 tem = margin_character_node; in output_line()
1784 tem = margin_character_node->copy(); in output_line()
1785 tem->next = n; in output_line()
1786 n = tem; in output_line()
1787 width += tem->width(); in output_line()
1791 node *tem = n->next; in output_line() local
1794 n = tem; in output_line()
1897 breakpoint *tem = bp->next; in choose_breakpoint() local
1899 while (tem != 0) { in choose_breakpoint()
1900 breakpoint *tem1 = tem; in choose_breakpoint()
1901 tem = tem->next; in choose_breakpoint()
1938 breakpoint *tem = bp->next; in choose_breakpoint() local
1940 while (tem != 0) { in choose_breakpoint()
1941 breakpoint *tem1 = tem; in choose_breakpoint()
1942 tem = tem->next; in choose_breakpoint()
1956 breakpoint *tem = bp; in choose_breakpoint() local
1958 delete tem; in choose_breakpoint()
1995 node *tem = *startp; in hyphenate_line() local
1997 tem = tem->next; in hyphenate_line()
1998 } while (tem != 0 && tem->get_hyphenation_type() == HYPHEN_MIDDLE); in hyphenate_line()
1999 int inhibit = (tem != 0 && tem->get_hyphenation_type() == HYPHEN_INHIBIT); in hyphenate_line()
2000 node *end = tem; in hyphenate_line()
2002 tem = *startp; in hyphenate_line()
2005 while (tem != end) { in hyphenate_line()
2006 sl = tem->get_hyphen_list(sl, &i); in hyphenate_line()
2007 node *tem1 = tem; in hyphenate_line()
2008 tem = tem->next; in hyphenate_line()
2034 tem = tem1->add_self(tem, &sl); in hyphenate_line()
2036 *startp = tem; in hyphenate_line()
2043 node *tem = n; in node_list_reverse() local
2045 tem->next = res; in node_list_reverse()
2046 res = tem; in node_list_reverse()
2065 for (node *tem = n; tem; tem = tem->next) in distribute_space() local
2066 tem->spread_space(&nspaces, &desired_space); in distribute_space()
2123 node *tem; in possibly_break_line() local
2124 for (tem = line; tem != 0; tem = tem->next) in possibly_break_line()
2125 if (!tem->discardable()) in possibly_break_line()
2126 first_non_discardable = tem; in possibly_break_line()
2131 for (tem = line; tem != 0; tem = tem->next) { in possibly_break_line()
2132 width_total += tem->width(); in possibly_break_line()
2133 space_total += tem->nspaces(); in possibly_break_line()
2146 tem = to_be_discarded; in possibly_break_line()
2148 input_line_start -= tem->width(); in possibly_break_line()
2149 delete tem; in possibly_break_line()
2345 node *tem = line; in do_break() local
2347 delete tem; in do_break()
2363 node *tem = line; in do_break() local
2365 output_line(tem, width_total, was_centered); in do_break()
2432 node *tem = p; in title() local
2434 tem->next = n; in title()
2435 n = tem; in title()
2443 node *tem = p; in title() local
2445 tem->next = n; in title()
2446 n = tem; in title()
2451 node *tem = p; in title() local
2453 tem->next = n; in title()
2454 n = tem; in title()
2605 tab *tem; in distance_to_next_tab() local
2606 for (tem = initial_list; tem && tem->pos <= curpos; tem = tem->next) in distance_to_next_tab()
2607 lastpos = tem->pos; in distance_to_next_tab()
2608 if (tem) { in distance_to_next_tab()
2609 *distance = tem->pos - curpos; in distance_to_next_tab()
2610 *nextpos = tem->pos; in distance_to_next_tab()
2611 return tem->type; in distance_to_next_tab()
2617 for (tem = repeated_list; tem && tem->pos + base <= curpos; tem = tem->next) in distance_to_next_tab()
2618 lastpos = tem->pos; in distance_to_next_tab()
2619 if (tem) { in distance_to_next_tab()
2620 *distance = tem->pos + base - curpos; in distance_to_next_tab()
2621 *nextpos = tem->pos + base; in distance_to_next_tab()
2622 return tem->type; in distance_to_next_tab()
2720 tab *tem = initial_list; in clear() local
2722 delete tem; in clear()
2725 tab *tem = repeated_list; in clear() local
2727 delete tem; in clear()
2877 node *tem; in wrap_up_tab() local
2878 for (tem = tab_contents; tem->next != 0; tem = tem->next) in wrap_up_tab()
2880 tem->next = line; in wrap_up_tab()
2991 node *tem; in wrap_up_field() local
2992 for (tem = tab_contents; tem->next != 0; tem = tem->next) in wrap_up_field()
2994 tem->next = line; in wrap_up_field()
3436 unsigned char *tem = new unsigned char[npos + 1]; in hyphen_word() local
3437 memcpy(tem, pos, npos + 1); in hyphen_word()
3438 tem = (unsigned char *)current_language->exceptions.lookup(symbol(buf), in hyphen_word()
3439 tem); in hyphen_word()
3440 if (tem) in hyphen_word()
3441 a_delete tem; in hyphen_word() local
3557 unsigned char *tem = new unsigned char[npos + 1]; in insert_hyphenation() local
3558 memcpy(tem, pos, npos + 1); in insert_hyphenation()
3559 tem = (unsigned char *)ex->lookup(symbol(buf), tem); in insert_hyphenation()
3560 if (tem) in insert_hyphenation()
3561 a_delete tem; in insert_hyphenation() local
3594 operation *tem = op; in do_delete() local
3595 op = tem->next; in do_delete()
3596 delete tem; in do_delete()
3814 hyphen_list *tem; in hyphenate() local
3815 for (tem = h; tem && len < WORD_MAX; tem = tem->next) { in hyphenate()
3816 if (tem->hyphenation_code != 0) in hyphenate()
3817 buf[len++] = tem->hyphenation_code; in hyphenate()
3821 hyphen_list *nexth = tem; in hyphenate()
3829 for (tem = h; tem != 0; tem = tem->next, i++) in hyphenate()
3831 tem->hyphen = 1; in hyphenate()
3845 for (i = 2, tem = h; i < len && tem; tem = tem->next, i++) in hyphenate()
3847 tem->hyphen = 1; in hyphenate()