Lines Matching full:temp
137 char *temp; local
231 temp = (char *)xmalloc (1 + which);
233 strncpy (temp, string + local_index, which);
234 temp[which] = '\0';
243 history_offset = history_length; free (temp) ; return (char *)NULL; \
248 if (*temp == '\0' && substring_okay)
252 free (temp);
253 temp = savestring (search_string);
262 local_index = (*search_func) (temp, -1);
277 search_string = temp;
283 free (temp);
364 char *temp; local
399 temp = (char *)xmalloc (len);
400 strncpy (temp, s + start, ll);
401 strlcat (temp, ": ", len);
402 strlcat (temp, emsg, len);
403 return (temp);
521 char *event, *temp, *result, *tstr, *t, c, *word_spec; local
598 temp = word_spec ? savestring (word_spec) : savestring (event);
621 free (temp);
641 tstr = strrchr (temp, '/');
646 free (temp);
647 temp = t;
653 tstr = strrchr (temp, '/');
660 tstr = strrchr (temp, '.');
667 tstr = strrchr (temp, '.');
671 free (temp);
672 temp = t;
748 free (temp);
752 l_temp = strlen (temp);
758 free (temp);
762 /* Find the first occurrence of THIS in TEMP. */
765 if (STREQN (temp+si, subst_lhs, subst_lhs_len))
769 strncpy (new_event, temp, si);
772 temp + si + subst_lhs_len,
775 free (temp);
776 temp = new_event;
783 l_temp = strlen (temp);
802 free (temp);
817 x = sh_single_quote (temp);
819 x = quote_breaks (temp);
821 x = savestring (temp);
823 free (temp);
824 temp = x;
827 n = strlen (temp);
830 strlcpy (result, temp, n + 2);
831 free (temp);
895 char *temp; local
1076 temp = (char *)xmalloc (slen);
1077 strncpy (temp, string + quote, slen);
1078 temp[slen - 1] = '\0';
1079 ADD_STRING (temp);
1080 free (temp);
1090 temp = (char *)xmalloc (l - i + 1);
1091 strlcpy (temp, string + i, l - i + 1);
1092 ADD_STRING (temp);
1093 free (temp);
1122 temp = (char *)xmalloc (1 + strlen (result));
1123 strlcpy (temp, result, 1 + strlen(result));
1124 ADD_STRING (temp);
1125 free (temp);
1132 r = history_expand_internal (string, i, &eindex, &temp, result);
1135 *output = temp;
1143 if (temp)
1146 if (*temp)
1147 ADD_STRING (temp);
1148 free (temp);