Lines Matching refs:iptr
549 const char *iptr = keyseq; /* Pointer into keyseq[] */
556 while(*iptr) {
560 switch(*iptr) {
567 if(iptr[1]) {
571 if(iptr[1] == '\\') {
572 c = _kt_backslash_escape(iptr+2, &iptr);
574 c = iptr[1];
575 iptr += 2;
582 *optr++ = *iptr++;
592 *optr++ = _kt_backslash_escape(iptr+1, &iptr);
598 if(_kt_is_emacs_meta(iptr)) {
600 iptr += 2;
602 *optr++ = *iptr++;
609 if(_kt_is_emacs_ctrl(iptr)) {
610 *optr++ = MAKE_CTRL(iptr[2]);
611 iptr += 3;
613 *optr++ = *iptr++;
622 if(IS_META_CHAR(*iptr)) {
624 *optr++ = META_TO_CHAR(*iptr);
625 iptr++;
632 } else if(iptr==keyseq && !IS_CTRL_CHAR(*iptr) &&
636 *optr++ = *iptr++;
638 *optr++ = *iptr++;