Searched defs:word_start (Results 1 - 6 of 6) sorted by relevance
/illumos-gate/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 in struct:__anon4067 212 * word_start int The index of the first character in line[] 237 const char *line, int word_start, int word_end, 246 if(!cpl || !cf || !line || word_end < word_start) { 260 nleft = word_end - word_start; 264 lptr = line + word_start; 306 return cf_complete_username(cf, cpl, cf->usrnam, line, word_start+1, 334 word_start 236 _cf_complete_file(WordCompletion *cpl, CompleteFile *cf, const char *line, int word_start, int word_end, int escaped, CplCheckFn *check_fn, void *check_data) argument 523 cf_complete_username(CompleteFile *cf, WordCompletion *cpl, const char *prefix, const char *line, int word_start, int word_end, int escaped) argument 607 cf_complete_entry(CompleteFile *cf, WordCompletion *cpl, const char *line, int word_start, int word_end, int escaped, CplCheckFn *check_fn, void *check_data) argument [all...] |
H A D | cplmatch.c | 269 * word_start int The index within line[] of the start of the 296 int word_start, int word_end, const char *suffix, 334 string = _sg_alloc_string(cpl->sg, word_end-word_start + len); 343 strncpy(string, line + word_start, word_end - word_start); 344 strlcpy(string + word_end - word_start, suffix, len + 1); 350 match->suffix = string + word_end - word_start; 295 cpl_add_completion(WordCompletion *cpl, const char *line, int word_start, int word_end, const char *suffix, const char *type_suffix, const char *cont_suffix) argument
|
H A D | pcache.c | 1223 int word_start; /* The index in line[] corresponding to start_path */ local 1271 word_start = start_path - line; 1275 prefix_len = word_end - word_start; 1282 cfc_file_start(pc->cfc, word_start); 1375 if(cpl_add_completion(cpl, line, word_start, word_end, pc->path->name, 1413 cpl_add_completion(cpl, line, word_start, word_end, pc->path->name,
|
/illumos-gate/usr/src/cmd/svc/svccfg/ |
H A D | svccfg_engine.c | 237 int word_start, err; local 242 word_start = strspn(line, whitespace); 243 len = word_end - word_start; 251 err = cpl_add_completion(cpl, line, word_start,
|
H A D | svccfg_libscf.c | 17514 int word_start, err = 0, r; local 17525 word_start = arg1 - line; 17562 err = cpl_add_completion(cpl, line, word_start, 17598 err = cpl_add_completion(cpl, line, word_start,
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.file.c | 717 tchar *str_end, *word_start, last_char; local 750 for (word_start = str_end; word_start > inputline; 751 --word_start) { 752 if (index_(delims, word_start[-1]) || 753 isauxsp(word_start[-1])) 756 space_left = inputline_size - (word_start - inputline) - 1; 757 numitems = search2(word_start, command, space_left);
|
Completed in 332 milliseconds