Lines Matching refs:tb_off

421 	typebuf.tb_off += typebuf.tb_maplen;  in flush_buffers()
437 typebuf.tb_off = MAXMAPLEN; in flush_buffers()
928 typebuf.tb_off = MAXMAPLEN + 4; in init_typebuf()
984 if (offset == 0 && addlen <= typebuf.tb_off) in ins_typebuf()
989 typebuf.tb_off -= addlen; in ins_typebuf()
990 mch_memmove(typebuf.tb_buf + typebuf.tb_off, str, (size_t)addlen); in ins_typebuf()
999 typebuf.tb_off = (typebuf.tb_buflen - addlen - 3 * (MAXMAPLEN + 4)) / 2; in ins_typebuf()
1000 mch_memmove(typebuf.tb_buf + typebuf.tb_off, str, (size_t)addlen); in ins_typebuf()
1034 mch_memmove(s1 + newoff, typebuf.tb_buf + typebuf.tb_off, in ins_typebuf()
1041 typebuf.tb_buf + typebuf.tb_off + offset, in ins_typebuf()
1047 mch_memmove(s2 + newoff, typebuf.tb_noremap + typebuf.tb_off, in ins_typebuf()
1050 typebuf.tb_noremap + typebuf.tb_off + offset, in ins_typebuf()
1056 typebuf.tb_off = newoff; in ins_typebuf()
1083 typebuf.tb_noremap[typebuf.tb_off + i + offset] = in ins_typebuf()
1190 if (offset == 0 && typebuf.tb_buflen - (typebuf.tb_off + len) in del_typebuf()
1192 typebuf.tb_off += len; in del_typebuf()
1198 i = typebuf.tb_off + offset; in del_typebuf()
1202 if (typebuf.tb_off > MAXMAPLEN) in del_typebuf()
1205 typebuf.tb_buf + typebuf.tb_off, (size_t)offset); in del_typebuf()
1207 typebuf.tb_noremap + typebuf.tb_off, (size_t)offset); in del_typebuf()
1208 typebuf.tb_off = MAXMAPLEN; in del_typebuf()
1211 mch_memmove(typebuf.tb_buf + typebuf.tb_off + offset, in del_typebuf()
1215 mch_memmove(typebuf.tb_noremap + typebuf.tb_off + offset, in del_typebuf()
1339 typebuf.tb_off = MAXMAPLEN + 4; // can insert without realloc in alloc_typebuf()
2300 char_u *p = typebuf.tb_buf + typebuf.tb_off; in at_ctrl_x_key()
2328 tp = typebuf.tb_buf + typebuf.tb_off + offset; in check_simplify_modifier()
2411 tb_c1 = typebuf.tb_buf[typebuf.tb_off]; in handle_mapping()
2416 && (typebuf.tb_noremap[typebuf.tb_off] in handle_mapping()
2428 && typebuf.tb_buf[typebuf.tb_off + 1] == KS_MODIFIER) in handle_mapping()
2484 c2 = typebuf.tb_buf[typebuf.tb_off + mlen]; in handle_mapping()
2494 typebuf.tb_buf[typebuf.tb_off + mlen]) in handle_mapping()
2523 s = typebuf.tb_noremap + typebuf.tb_off; in handle_mapping()
2577 if (p_pt[mlen] != typebuf.tb_buf[typebuf.tb_off + mlen]) in handle_mapping()
2583 gotchars(typebuf.tb_buf + typebuf.tb_off + typebuf.tb_maplen, in handle_mapping()
2625 typebuf.tb_off] == RM_YES)) in handle_mapping()
2654 typebuf.tb_off] & 0xff) == CSI) in handle_mapping()
2658 for (s = typebuf.tb_buf + typebuf.tb_off + 1; in handle_mapping()
2659 s < typebuf.tb_buf + typebuf.tb_off + typebuf.tb_len in handle_mapping()
2666 (int)(s + 1 - (typebuf.tb_buf + typebuf.tb_off)), 0); in handle_mapping()
2692 && typebuf.tb_buf[typebuf.tb_off] == K_SPECIAL in handle_mapping()
2693 && typebuf.tb_buf[typebuf.tb_off + 1] == KS_MENU) in handle_mapping()
2753 gotchars(typebuf.tb_buf + typebuf.tb_off + typebuf.tb_maplen, in handle_mapping()
3050 c = typebuf.tb_buf[typebuf.tb_off]; in vgetorpeek()
3061 + typebuf.tb_off, 1); in vgetorpeek()
3064 typebuf.tb_off]; in vgetorpeek()
3091 && typebuf.tb_buf[typebuf.tb_off] == ESC in vgetorpeek()
3098 && (c = inchar(typebuf.tb_buf + typebuf.tb_off in vgetorpeek()
3194 typebuf.tb_noremap[typebuf.tb_off + n] = RM_YES; in vgetorpeek()
3282 && ptr2cells(typebuf.tb_buf + typebuf.tb_off in vgetorpeek()
3285 edit_putchar(typebuf.tb_buf[typebuf.tb_off in vgetorpeek()
3301 typebuf.tb_buf[typebuf.tb_off + showcmd_idx++]); in vgetorpeek()
3312 && ptr2cells(typebuf.tb_buf + typebuf.tb_off in vgetorpeek()
3315 putcmdline(typebuf.tb_buf[typebuf.tb_off in vgetorpeek()
3345 c = inchar(typebuf.tb_buf + typebuf.tb_off + typebuf.tb_len, in vgetorpeek()
3346 typebuf.tb_buflen - typebuf.tb_off - typebuf.tb_len - 1, in vgetorpeek()
3377 while (typebuf.tb_buf[typebuf.tb_off in vgetorpeek()
3379 typebuf.tb_noremap[typebuf.tb_off in vgetorpeek()