Lines Matching refs:temp

962   char *temp = xmalloc (strlen (string) + 1);  in fix_whitespace()  local
971 c = temp[temp_index++] = string[string_index++]; in fix_whitespace()
975 temp[temp_index - 1] = ' '; in fix_whitespace()
982 temp[temp_index] = 0; in fix_whitespace()
983 strcpy (string, temp); in fix_whitespace()
984 free (temp); in fix_whitespace()
992 int temp = search_forward (string, input_text_offset); in discard_until() local
994 int tt = (temp < 0) ? input_text_length : temp + strlen (string); in discard_until()
1002 if (temp < 0) in discard_until()
1023 input_text_offset = temp + strlen (string); in discard_until()
1218 char *temp; in get_until_in_braces() local
1248 temp = xmalloc (2 + match_len); in get_until_in_braces()
1249 memcpy (temp, input_text + input_text_offset, match_len); in get_until_in_braces()
1250 temp[match_len] = 0; in get_until_in_braces()
1252 *string = temp; in get_until_in_braces()
1577 char *html_name, *directory_part, *basename_part, *temp; in convert_from_loaded_file() local
1585 temp = strrchr (basename_part, '.'); in convert_from_loaded_file()
1586 if (temp) in convert_from_loaded_file()
1587 *temp = 0; in convert_from_loaded_file()
1679 int temp = 0; in convert_from_loaded_file() local
1681 while (temp != input_text_offset) in convert_from_loaded_file()
1682 if (input_text[temp++] == '\n') in convert_from_loaded_file()
1696 COMMAND_LINE_DEFINE *temp; in convert_from_loaded_file() local
1698 for (temp = command_line_defines; temp; temp = temp->next) in convert_from_loaded_file()
1700 handle_variable_internal (temp->action, temp->define); in convert_from_loaded_file()
1701 free(temp->define); in convert_from_loaded_file()
2345 BRACE_ELEMENT *temp; in pop_and_call_brace() local
2355 temp = brace_stack->next; in pop_and_call_brace()
2357 brace_stack = temp; in pop_and_call_brace()
2415 BRACE_ELEMENT *temp; in discard_braces() local
2416 temp = brace_stack->next; in discard_braces()
2418 brace_stack = temp; in discard_braces()
2706 int temp = output_paragraph_offset; in add_char() local
2707 while (--temp > 0 && output_paragraph[temp] != '\n') in add_char()
2711 if (output_paragraph[temp] == ' ') in add_char()
2714 while (temp && whitespace (output_paragraph[temp - 1])) in add_char()
2715 temp--; in add_char()
2724 if (temp && output_paragraph[temp - 1] != '\n') in add_char()
2725 output_paragraph[temp++] = '\n'; in add_char()
2732 int t1 = temp; in add_char()
2746 if (t1 != temp) in add_char()
2748 adjust_braces_following (temp, (- (t1 - temp))); in add_char()
2749 memmove (&output_paragraph[temp], in add_char()
2752 output_paragraph_offset -= (t1 - temp); in add_char()
2759 int buffer_len = ((output_paragraph_offset - temp) in add_char()
2766 adjust_braces_following (temp, current_indent); in add_char()
2773 (char *) &output_paragraph[temp], in add_char()
2784 memcpy ((char *) &output_paragraph[temp], in add_char()
2790 while (temp < output_paragraph_offset) in add_char()
2792 get_char_len (output_paragraph[temp++]); in add_char()
2945 int temp = UNMETA (output_paragraph[i]); in flush_output() local
2946 if (temp == ' ') in flush_output()
3096 char *temp; in do_flush_right_indentation() local
3115 temp = xmalloc (temp_len + 1); in do_flush_right_indentation()
3116 memcpy (temp, (char *)output_paragraph, temp_len); in do_flush_right_indentation()
3121 memcpy ((char *)output_paragraph + i, temp, temp_len); in do_flush_right_indentation()
3122 free (temp); in do_flush_right_indentation()
3499 DEFINE *temp; in set() local
3501 for (temp = defines; temp; temp = temp->next) in set()
3502 if (strcmp (name, temp->name) == 0) in set()
3504 free (temp->value); in set()
3505 temp->value = xstrdup (value); in set()
3509 temp = xmalloc (sizeof (DEFINE)); in set()
3510 temp->next = defines; in set()
3511 temp->name = xstrdup (name); in set()
3512 temp->value = xstrdup (value); in set()
3513 defines = temp; in set()
3527 DEFINE *temp, *last; in clear() local
3530 temp = defines; in clear()
3532 while (temp) in clear()
3534 if (strcmp (temp->name, name) == 0) in clear()
3537 last->next = temp->next; in clear()
3539 defines = temp->next; in clear()
3541 free (temp->name); in clear()
3542 free (temp->value); in clear()
3543 free (temp); in clear()
3546 last = temp; in clear()
3547 temp = temp->next; in clear()
3561 DEFINE *temp; in set_p() local
3563 for (temp = defines; temp; temp = temp->next) in set_p()
3564 if (strcmp (temp->name, name) == 0) in set_p()
3565 return temp->value; in set_p()
3715 char *temp; in handle_variable_internal() local
3719 temp = name; in handle_variable_internal()
3721 while (*temp && (delimiter || !whitespace (*temp))) in handle_variable_internal()
3724 if (*temp == '"' || *temp == '\'') in handle_variable_internal()
3726 if (*temp == delimiter) in handle_variable_internal()
3729 delimiter = *temp; in handle_variable_internal()
3732 temp++; in handle_variable_internal()
3735 if (*temp) in handle_variable_internal()
3738 *temp = 0; in handle_variable_internal()
3770 value = temp + 1; in handle_variable_internal()
3822 char *temp; in handle_variable_internal() local
3826 temp = cname; in handle_variable_internal()
3828 while (*temp && !whitespace (*temp)) in handle_variable_internal()
3829 temp++; in handle_variable_internal()
3830 *temp = 0; in handle_variable_internal()