Lines Matching defs:last
62 ErrMsg *err; /* Information about the last error */
80 int nc, int *first, int *last);
266 int first,last; /* The first and last entries in the table which */
306 switch(_kt_locate_keybinding(kt, binary, nc, &first, &last)) {
357 * Make space to insert the new key-sequence before 'last'.
359 if(last < kt->nkey) {
360 memmove(kt->table + last + 1, kt->table + last,
361 (kt->nkey - last) * sizeof(kt->table[0]));
366 sym = kt->table + last;
395 * first,last int * If there is an ambiguous or exact match, the indexes
396 * of the first and last symbols that minimally match
397 * will be assigned to *first and *last respectively.
398 * If there is no match, then first and last will
409 int nc, int *first, int *last)
429 *first = *last = mid;
439 *last = bot;
441 * See if any ambiguous matches exist, and if so make *first and *last
442 * refer to the first and last matches.
444 if(*last < kt->nkey && kt->table[*last].nc > nc &&
445 _kt_compare_strings(kt->table[*last].keyseq, nc, binary_keyseq, nc)==0) {
446 *first = *last;
447 while(*last+1 < kt->nkey && kt->table[*last+1].nc > nc &&
448 _kt_compare_strings(kt->table[*last+1].keyseq, nc, binary_keyseq, nc)==0)
449 (*last)++;
486 int first,last; /* The indexes of the first and last matching entry */
501 status = _kt_locate_keybinding(kt, binary_keyseq, nc, &first, &last);
510 *nmatch = last - first + 1;
1012 * about the last error to occur in any of the public functions of this