Lines Matching refs:offset
4506 int offset, in put_string_in_typebuf() argument
4521 del_typebuf(-extra, offset); in put_string_in_typebuf()
4524 ins_typebuf(string + slen, REMAP_YES, offset, FALSE, FALSE); in put_string_in_typebuf()
4528 mch_memmove(typebuf.tb_buf + typebuf.tb_off + offset, string, in put_string_in_typebuf()
4535 mch_memmove(buf + offset, buf + offset - extra, in put_string_in_typebuf()
4536 (size_t)(*buflen + offset + extra)); in put_string_in_typebuf()
4543 mch_memmove(buf + offset + extra, buf + offset, in put_string_in_typebuf()
4544 (size_t)(*buflen - offset)); in put_string_in_typebuf()
4546 mch_memmove(buf + offset, string, (size_t)new_slen); in put_string_in_typebuf()
4885 int offset, in handle_key_with_modifier() argument
4923 if (put_string_in_typebuf(offset, csi_len, string, new_slen, in handle_key_with_modifier()
4926 return new_slen - csi_len + offset; in handle_key_with_modifier()
4949 int offset, in handle_csi() argument
5081 csi_len, offset, buf, bufsize, buflen); in handle_csi()
5308 int offset; in check_termcode() local
5335 for (offset = 0; offset < max_offset; ++offset) in check_termcode()
5339 if (offset >= typebuf.tb_len) in check_termcode()
5341 tp = typebuf.tb_buf + typebuf.tb_off + offset; in check_termcode()
5342 len = typebuf.tb_len - offset; // length of the input in check_termcode()
5346 if (offset >= *buflen) in check_termcode()
5348 tp = buf + offset; in check_termcode()
5349 len = *buflen - offset; in check_termcode()
5358 offset += 2; // there are always 2 extra characters in check_termcode()
5414 if (cpo_koffset && offset && len < slen) in check_termcode()
5474 if (cpo_koffset && offset && len < modslen) in check_termcode()
5566 int resp = handle_csi(tp, len, argp, offset, buf, in check_termcode()
5854 if (put_string_in_typebuf(offset, slen, string, new_slen, in check_termcode()
5857 return retval == 0 ? (len + new_slen - slen + offset) : retval; in check_termcode()