• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/gdb/gdb/

Lines Matching refs:word

48 /* readline uses the word breaks for two things:
51 it doesn't matter a lot what the word breaks are for this purpose, but
53 (2) If one of the matches contains a word break character, readline
62 word break characters, since we use it in command names. If the
69 /* When completing on file names, we remove from the list of word
117 filename_completer (char *text, char *word)
158 if (word == text)
161 else if (word > text)
165 strcpy (q, p + (word - text));
172 q = xmalloc (strlen (p) + (text - word) + 5);
173 strncpy (q, word, text - word);
174 q[text - word] = '\0';
200 location_completer (char *text, char *word)
275 list = make_file_symbol_completion_list (symbol_start, word,
281 list = make_symbol_completion_list (symbol_start, word);
311 leading directories, as possible completions, because `word'
312 starts at the "b". But we ignore the value of `word' when we
323 memmove (fn_list[n_files], fn_list[n_files] + (word - text),
324 strlen (fn_list[n_files]) + 1 - (word - text));
333 list = make_symbol_completion_list (orig_text, word);
341 command_completer (char *text, char *word)
343 return complete_on_cmdlist (cmdlist, text, word);
365 "file Make" "file" (word break hard to screw up here)
366 "file ../gdb.stabs/we" "ird" (needs to not break word at slash)
373 TEXT is the caller's idea of the "word" we are looking at.
385 char *word;
388 /* Choose the default set of word break characters to break completions.
392 special word break set for command strings, which leaves out the
407 word = tmp_command + point - strlen (text);
458 word);
462 list = complete_on_cmdlist (cmdlist, p, word);
486 list = complete_on_cmdlist (*c->prefixlist, p, word);
495 list = complete_on_enum (c->enums, p, word);
509 command, just the last word. To this
511 file name by starting at `word' and going
513 for (p = word;
525 for (p = word;
531 list = (*c->completer) (p, word);
552 list = complete_on_cmdlist (result_list, q, word);
572 list = complete_on_enum (c->enums, p, word);
581 for (p = word;
591 for (p = word;
597 list = (*c->completer) (p, word);
611 TEXT is the caller's idea of the "word" we are looking at.
665 /* Can't do this because readline hasn't yet checked the word breaks
668 /* Make sure the word break characters are set back to normal for the
677 /* Skip over the possibly quoted word STR (as defined by the quote
678 characters QUOTECHARS and the the word break characters
679 BREAKCHARS). Returns pointer to the location after the "word". If
721 /* Skip over the possibly quoted word STR (as defined by the quote
722 characters and word break characters used by the completer).
723 Returns pointer to the location after the "word". */