/titanic_41/usr/src/lib/libtecla/common/ |
H A D | cplfile.c | 95 int word_start, int word_end, int escaped); 98 const char *line, int word_start, int word_end, 116 int word_start; /* The index in line[] of the start of the username */ member 237 const char *line, int word_start, int word_end, in _cf_complete_file() argument 246 if(!cpl || !cf || !line || word_end < word_start) { in _cf_complete_file() 260 nleft = word_end - word_start; in _cf_complete_file() 264 lptr = line + word_start; in _cf_complete_file() 306 return cf_complete_username(cf, cpl, cf->usrnam, line, word_start+1, in _cf_complete_file() 334 word_start = (lptr + seglen) - line + FS_DIR_SEP_LEN; in _cf_complete_file() 452 return cf_complete_entry(cf, cpl, line, word_start, word_end, escaped, in _cf_complete_file() [all …]
|
H A D | cplmatch.c | 296 int word_start, int word_end, const char *suffix, in cpl_add_completion() argument 334 string = _sg_alloc_string(cpl->sg, word_end-word_start + len); in cpl_add_completion() 343 strncpy(string, line + word_start, word_end - word_start); in cpl_add_completion() 344 strlcpy(string + word_end - word_start, suffix, len + 1); in cpl_add_completion() 350 match->suffix = string + word_end - word_start; in cpl_add_completion()
|
H A D | cplfile.h | 84 const char *line, int word_start, int word_end,
|
H A D | pcache.c | 1223 int word_start; /* The index in line[] corresponding to start_path */ in CPL_MATCH_FN() local 1271 word_start = start_path - line; in CPL_MATCH_FN() 1275 prefix_len = word_end - word_start; in CPL_MATCH_FN() 1282 cfc_file_start(pc->cfc, word_start); in CPL_MATCH_FN() 1375 if(cpl_add_completion(cpl, line, word_start, word_end, pc->path->name, in CPL_MATCH_FN() 1413 cpl_add_completion(cpl, line, word_start, word_end, pc->path->name, in CPL_MATCH_FN()
|
/titanic_41/usr/src/cmd/csh/ |
H A D | sh.file.c | 717 tchar *str_end, *word_start, last_char; in tenex() local 750 for (word_start = str_end; word_start > inputline; in tenex() 751 --word_start) { in tenex() 752 if (index_(delims, word_start[-1]) || in tenex() 753 isauxsp(word_start[-1])) in tenex() 756 space_left = inputline_size - (word_start - inputline) - 1; in tenex() 757 numitems = search2(word_start, command, space_left); in tenex()
|
/titanic_41/usr/src/cmd/svc/svccfg/ |
H A D | svccfg_engine.c | 237 int word_start, err; in add_cmd_matches() local 242 word_start = strspn(line, whitespace); in add_cmd_matches() 243 len = word_end - word_start; in add_cmd_matches() 251 err = cpl_add_completion(cpl, line, word_start, in add_cmd_matches()
|
H A D | svccfg_libscf.c | 17501 int word_start, err = 0, r; in CPL_MATCH_FN() local 17512 word_start = arg1 - line; in CPL_MATCH_FN() 17549 err = cpl_add_completion(cpl, line, word_start, in CPL_MATCH_FN() 17585 err = cpl_add_completion(cpl, line, word_start, in CPL_MATCH_FN()
|
/titanic_41/usr/src/lib/libtecla/ |
H A D | libtecla.h | 1571 int word_start, int word_end, const char *suffix,
|