Lines Matching refs:ctemp
593 const wchar_t *ctemp = cursor; in find_word_to_complete() local
600 if (ctemp > buffer) { in find_word_to_complete()
601 switch (ctemp[-1]) { in find_word_to_complete()
605 ctemp--; in find_word_to_complete()
613 if (ctemp <= buffer) in find_word_to_complete()
615 if (ctemp - buffer >= 2 && ctemp[-2] == '\\' && in find_word_to_complete()
616 needs_escaping(ctemp[-1])) { in find_word_to_complete()
617 ctemp -= 2; in find_word_to_complete()
620 if (wcschr(word_break, ctemp[-1])) in find_word_to_complete()
622 if (special_prefixes && wcschr(special_prefixes, ctemp[-1])) in find_word_to_complete()
624 ctemp--; in find_word_to_complete()
627 len = (size_t) (cursor - ctemp); in find_word_to_complete()
628 if (len == 1 && (ctemp[0] == '\'' || ctemp[0] == '"')) { in find_word_to_complete()
630 ctemp++; in find_word_to_complete()
634 wchar_t *unescaped_word = unescape_string(ctemp, len); in find_word_to_complete()
642 (void) wcsncpy(temp, ctemp, len); in find_word_to_complete()