Searched refs:WordCompletion (Results 1 – 11 of 11) sorted by relevance
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | cplmatch.c | 73 struct WordCompletion { struct 83 static void cpl_sort_matches(WordCompletion *cpl); argument 84 static void cpl_zap_duplicates(WordCompletion *cpl); 85 static void cpl_clear_completions(WordCompletion *cpl); 165 WordCompletion *new_WordCompletion(void) in new_WordCompletion() 167 WordCompletion *cpl; /* The object to be returned */ in new_WordCompletion() 171 cpl = (WordCompletion *) malloc(sizeof(WordCompletion)); in new_WordCompletion() 238 WordCompletion *del_WordCompletion(WordCompletion *cpl) in del_WordCompletion() 293 int cpl_add_completion(WordCompletion *cpl, const char *line, in cpl_add_completion() 363 static void cpl_sort_matches(WordCompletion *cpl) in cpl_sort_matches() [all …]
|
H A D | cplfile.c | 91 static int cf_complete_username(CompleteFile *cf, WordCompletion *cpl, 95 static int cf_complete_entry(CompleteFile *cf, WordCompletion *cpl, 111 WordCompletion *cpl; /* The string-completion rsource object */ 234 int _cf_complete_file(WordCompletion *cpl, CompleteFile *cf, in _cf_complete_file() 521 static int cf_complete_username(CompleteFile *cf, WordCompletion *cpl, in cf_complete_username() 558 WordCompletion *cpl = args->cpl; in HOME_DIR_FN() 605 static int cf_complete_entry(CompleteFile *cf, WordCompletion *cpl, in cf_complete_entry()
|
H A D | cplfile.h | 81 int _cf_complete_file(WordCompletion *cpl, CompleteFile *cf,
|
H A D | getline.c | 367 WordCompletion *cpl; /* String completion resource object */
|
/illumos-gate/usr/src/lib/libtecla/ |
H A D | libtecla.h | 282 typedef struct WordCompletion WordCompletion; typedef 287 WordCompletion *new_WordCompletion(void); 292 WordCompletion *del_WordCompletion(WordCompletion *cpl); 317 #define CPL_MATCH_FN(fn) int (fn)(WordCompletion *cpl, void *data, \ 439 void cpl_record_error(WordCompletion *cpl, const char *errmsg); 1568 int cpl_add_completion(WordCompletion *cpl, const char *line, 1618 CplMatches *cpl_complete_word(WordCompletion *cpl, const char *line, 1640 CplMatches *cpl_recall_matches(WordCompletion *cpl); 1665 const char *cpl_last_error(WordCompletion *cpl);
|
/illumos-gate/usr/src/cmd/svc/svccfg/ |
H A D | svccfg.h | 502 extern int add_cmd_matches(WordCompletion *, const char *, int, uint32_t);
|
H A D | svccfg_engine.c | 234 add_cmd_matches(WordCompletion *cpl, const char *line, int word_end, in add_cmd_matches()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | main.c | 178 cmdmatch(WordCompletion *cpl, void *data, const char *line, int word_end) in cmdmatch()
|
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | elfedit.c | 125 WordCompletion *ecpl_cpl; /* tecla handle */ 3127 cmd_match_fcn(WordCompletion *cpl, void *data, const char *line, int word_end) in cmd_match_fcn()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg.c | 537 add_stuff(WordCompletion *cpl, const char *line1, const char **list, in add_stuff()
|
/illumos-gate/usr/src/cmd/zonecfg/ |
H A D | zonecfg.c | 622 add_stuff(WordCompletion *cpl, const char *line1, const char **list, in add_stuff()
|