Lines Matching refs:temp
73 char *temp;
81 temp = strdup(txt + 1);
82 if (temp == NULL)
87 temp = el_calloc(len, sizeof(*temp));
88 if (temp == NULL)
90 (void)strlcpy(temp, txt + 1, len - 1);
92 if (temp[0] == 0) {
104 if (getpwnam_r(temp, &pwres, pwbuf, sizeof(pwbuf), &pass) != 0)
107 pass = getpwnam_r(temp, &pwres, pwbuf, sizeof(pwbuf));
109 pass = getpwnam(temp);
112 el_free(temp); /* value no more needed */
121 temp = el_calloc(len, sizeof(*temp));
122 if (temp == NULL)
124 (void)snprintf(temp, len, "%s/%s", pass->pw_dir, txt);
126 return temp;
207 wchar_t *temp = el->el_line.buffer;
213 while (temp != el->el_line.cursor) {
218 if (temp[0] == '\'' && !d_quoted &&
219 (temp == el->el_line.buffer || temp[-1] != '\\'))
224 else if (temp[0] == '"' && !s_quoted)
226 temp++;
331 char *temp;
432 temp = el_calloc(len, sizeof(*temp));
433 if (temp == NULL)
435 (void)snprintf(temp, len, "%s%s", dirname, entry->d_name);
439 temp = NULL;
442 return temp;
594 wchar_t *temp;
639 temp = el_malloc((len + 1) * sizeof(*temp));
640 if (temp == NULL)
642 (void) wcsncpy(temp, ctemp, len);
643 temp[len] = '\0';
644 return temp;
669 wchar_t *temp;
690 temp = find_word_to_complete(li->cursor,
692 if (temp == NULL)
705 ct_encode_string(temp, &el->el_scratch),
712 ct_encode_string(temp, &el->el_scratch), complete_func);
825 el_free(temp);