Lines Matching refs:temp

139   char *temp;
235 temp = (char *)xmalloc (1 + which);
237 strncpy (temp, string + local_index, which);
238 temp[which] = '\0';
247 history_offset = history_length; free (temp) ; return (char *)NULL; \
252 if (*temp == '\0' && substring_okay)
256 free (temp);
257 temp = savestring (search_string);
266 local_index = (*search_func) (temp, -1);
281 search_string = temp;
287 free (temp);
368 char *temp;
402 temp = (char *)xmalloc (ll + elen + 3);
403 strncpy (temp, s + start, ll);
404 temp[ll] = ':';
405 temp[ll + 1] = ' ';
406 strcpy (temp + ll + 2, emsg);
407 return (temp);
525 char *event, *temp, *result, *tstr, *t, c, *word_spec;
602 temp = word_spec ? savestring (word_spec) : savestring (event);
631 free (temp);
651 tstr = strrchr (temp, '/');
656 free (temp);
657 temp = t;
663 tstr = strrchr (temp, '/');
670 tstr = strrchr (temp, '.');
677 tstr = strrchr (temp, '.');
681 free (temp);
682 temp = t;
758 free (temp);
762 l_temp = strlen (temp);
768 free (temp);
793 for (; temp[si] && whitespace (temp[si]); si++)
796 we = history_tokenize_word (temp, si);
799 if (STREQN (temp+si, subst_lhs, subst_lhs_len))
803 strncpy (new_event, temp, si);
806 temp + si + subst_lhs_len,
809 free (temp);
810 temp = new_event;
820 l_temp = strlen (temp);
827 l_temp = strlen (temp);
846 free (temp);
861 x = sh_single_quote (temp);
863 x = quote_breaks (temp);
865 x = savestring (temp);
867 free (temp);
868 temp = x;
871 n = strlen (temp);
874 strcpy (result, temp);
875 free (temp);
939 char *temp;
1136 temp = (char *)xmalloc (slen);
1137 strncpy (temp, string + quote, slen);
1138 temp[slen - 1] = '\0';
1139 ADD_STRING (temp);
1140 free (temp);
1150 temp = (char *)xmalloc (l - i + 1);
1151 strcpy (temp, string + i);
1152 ADD_STRING (temp);
1153 free (temp);
1182 temp = (char *)xmalloc (1 + strlen (result));
1183 strcpy (temp, result);
1184 ADD_STRING (temp);
1185 free (temp);
1192 r = history_expand_internal (string, i, &eindex, &temp, result);
1195 *output = temp;
1203 if (temp)
1206 if (*temp)
1207 ADD_STRING (temp);
1208 free (temp);