Searched refs:WordCompletion (Results 1 – 10 of 10) sorted by relevance
/titanic_44/usr/src/lib/libtecla/common/ |
H A D | cplmatch.c | 75 struct WordCompletion { struct 85 static void cpl_sort_matches(WordCompletion *cpl); argument 86 static void cpl_zap_duplicates(WordCompletion *cpl); 87 static void cpl_clear_completions(WordCompletion *cpl); 167 WordCompletion *new_WordCompletion(void) in new_WordCompletion() 169 WordCompletion *cpl; /* The object to be returned */ in new_WordCompletion() 173 cpl = (WordCompletion *) malloc(sizeof(WordCompletion)); in new_WordCompletion() 240 WordCompletion *del_WordCompletion(WordCompletion *cpl) in del_WordCompletion() 295 int cpl_add_completion(WordCompletion *cpl, const char *line, in cpl_add_completion() 365 static void cpl_sort_matches(WordCompletion *cpl) in cpl_sort_matches() [all …]
|
H A D | cplfile.c | 93 static int cf_complete_username(CompleteFile *cf, WordCompletion *cpl, 97 static int cf_complete_entry(CompleteFile *cf, WordCompletion *cpl, 113 WordCompletion *cpl; /* The string-completion rsource object */ 236 int _cf_complete_file(WordCompletion *cpl, CompleteFile *cf, in _cf_complete_file() 523 static int cf_complete_username(CompleteFile *cf, WordCompletion *cpl, in cf_complete_username() 560 WordCompletion *cpl = args->cpl; in HOME_DIR_FN() 607 static int cf_complete_entry(CompleteFile *cf, WordCompletion *cpl, in cf_complete_entry()
|
H A D | cplfile.h | 83 int _cf_complete_file(WordCompletion *cpl, CompleteFile *cf,
|
H A D | getline.c | 368 WordCompletion *cpl; /* String completion resource object */
|
/titanic_44/usr/src/lib/libtecla/ |
H A D | libtecla.h | 284 typedef struct WordCompletion WordCompletion; typedef 289 WordCompletion *new_WordCompletion(void); 294 WordCompletion *del_WordCompletion(WordCompletion *cpl); 319 #define CPL_MATCH_FN(fn) int (fn)(WordCompletion *cpl, void *data, \ 441 void cpl_record_error(WordCompletion *cpl, const char *errmsg); 1570 int cpl_add_completion(WordCompletion *cpl, const char *line, 1620 CplMatches *cpl_complete_word(WordCompletion *cpl, const char *line, 1642 CplMatches *cpl_recall_matches(WordCompletion *cpl); 1667 const char *cpl_last_error(WordCompletion *cpl);
|
/titanic_44/usr/src/cmd/svc/svccfg/ |
H A D | svccfg.h | 490 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()
|
/titanic_44/usr/src/cmd/sgs/elfedit/common/ |
H A D | elfedit.c | 125 WordCompletion *ecpl_cpl; /* tecla handle */ 3124 cmd_match_fcn(WordCompletion *cpl, void *data, const char *line, int word_end) in cmd_match_fcn()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg.c | 532 add_stuff(WordCompletion *cpl, const char *line1, const char **list, in add_stuff()
|
/titanic_44/usr/src/cmd/zonecfg/ |
H A D | zonecfg.c | 600 add_stuff(WordCompletion *cpl, const char *line1, const char **list, in add_stuff()
|