/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zio_compress.c | 91 uint64_t *word, *word_end; local 102 word_end = (uint64_t *)((char *)src + s_len); 103 for (word = src; word < word_end; word++) 107 if (word == word_end)
|
/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, 117 int word_end; /* The index in line[] following the end of the prefix */ member in struct:__anon4067 214 * word_end int The index of the character in line[] that 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; 307 word_end, escaped); 440 if(cpl_add_completion(cpl, line, lptr-line, word_end, FS_DIR_SEP, 452 return cf_complete_entry(cf, cpl, line, word_start, word_end, escape 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 | 271 * word_end int The index within line[] of the character which 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; 517 * word_end int The index of the character in line[] which 535 int word_end, void *data, 546 if(!cpl || !line || !match_fn || word_end < 0 || word_end > line_le 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 534 cpl_complete_word(WordCompletion *cpl, const char *line, int word_end, void *data, CplMatchFn *match_fn) argument [all...] |
/illumos-gate/usr/src/cmd/svc/svccfg/ |
H A D | svccfg_engine.c | 176 if (arg1end_i < word_end) 187 ret = cpl_file_completions(cpl, cfc, line, word_end); 234 add_cmd_matches(WordCompletion *cpl, const char *line, int word_end, argument 243 len = word_end - word_start; 244 bol = line + word_end - len; 252 word_end, cip->name + len, "", " "); 277 if ((arg0 + arg0len) - line >= word_end || 279 return (complete_command(cpl, (void *)arg0, line, word_end)); 295 word_end));
|
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | elfedit.c | 2982 * cpl, line, word_start, word_end, cont_suffix - As documented 3124 cmd_match_fcn(WordCompletion *cpl, void *data, const char *line, int word_end) argument 3151 * Tokenize the line up through word_end. The last token in 3154 tokst = tokenize_user_cmd(line, word_end, 1); 3163 cstate.ecpl_word_end = word_end;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg.c | 524 initial_match(const char *line1, const char *line2, int word_end) argument 526 if (word_end <= 0) 528 return (strncmp(line1, line2, word_end) == 0); 533 int word_end) 538 if (initial_match(line1, list[i], word_end)) { 539 err = cpl_add_completion(cpl, line1, 0, word_end, 540 list[i] + word_end, "", ""); 562 if (MINI_STR(line, "create ", word_end, 2) == 0) 564 word_end)); 565 if (MINI_STR(line, "destroy ", word_end, 532 add_stuff(WordCompletion *cpl, const char *line1, const char **list, int word_end) argument [all...] |
/illumos-gate/usr/src/cmd/zonecfg/ |
H A D | zonecfg.c | 612 initial_match(const char *line1, const char *line2, int word_end) argument 614 if (word_end <= 0) 616 return (strncmp(line1, line2, word_end) == 0); 621 int word_end) 626 if (initial_match(line1, list[i], word_end)) { 627 err = cpl_add_completion(cpl, line1, 0, word_end, 628 list[i] + word_end, "", ""); 646 if (strncmp(line, "add ", MAX(MIN(word_end, 4), 1)) == 0) 647 return (add_stuff(cpl, line, add_cmds, word_end)); 648 if (strncmp(line, "clear ", MAX(MIN(word_end, 620 add_stuff(WordCompletion *cpl, const char *line1, const char **list, int word_end) argument [all...] |