| /vim-8.2.3635/src/ |
| H A D | ui.c | 91 mch_memmove(new + ta_len - ta_off, s, (size_t)len); in ui_inchar_undo() 95 mch_memmove(new, s, (size_t)len); in ui_inchar_undo() 133 mch_memmove(buf, ta_str + ta_off, (size_t)ta_len); in ui_inchar() 137 mch_memmove(buf, ta_str + ta_off, (size_t)maxlen); in ui_inchar() 826 mch_memmove(inbuf, gap->ga_data, gap->ga_len); in set_input_buf() 831 mch_memmove(inbuf + gap->ga_len, inbuf, inbufcount); in set_input_buf() 832 mch_memmove(inbuf, gap->ga_data, gap->ga_len); in set_input_buf() 898 mch_memmove(buf, inbuf, (size_t)maxlen); in read_from_input_buf() 901 mch_memmove(inbuf, inbuf + maxlen, (size_t)inbufcount); in read_from_input_buf() 947 mch_memmove(inbuf + inbufcount, rest, unconverted); in fill_input_buf() [all …]
|
| H A D | textprop.c | 264 mch_memmove(newtext, buf->b_ml.ml_line_ptr, textlen); in prop_add_one() 271 mch_memmove(&tmp_prop, props + i * sizeof(textprop_T), in prop_add_one() 278 mch_memmove(newprops, props, sizeof(textprop_T) * i); in prop_add_one() 286 mch_memmove(newprops + i * sizeof(textprop_T), &tmp_prop, in prop_add_one() 290 mch_memmove(newprops + (i + 1) * sizeof(textprop_T), in prop_add_one() 531 mch_memmove(prop, props + i * sizeof(textprop_T), in find_visible_prop() 561 mch_memmove(newtext, text, textlen); in set_text_props() 563 mch_memmove(newtext + textlen, props, len); in set_text_props() 1049 mch_memmove(&textprop, cur_prop, sizeof(textprop_T)); in f_prop_remove() 1060 mch_memmove(newptr, buf->b_ml.ml_line_ptr, in f_prop_remove() [all …]
|
| H A D | change.c | 1102 mch_memmove(newp, oldp, (size_t)col); in ins_char_bytes() 1107 mch_memmove(p + newlen, oldp + col + oldlen, in ins_char_bytes() 1111 mch_memmove(p, buf, charlen); in ins_char_bytes() 1172 mch_memmove(newp, oldp, (size_t)col); in ins_str() 1173 mch_memmove(newp + col, s, (size_t)newlen); in ins_str() 1324 mch_memmove(newp, oldp, (size_t)col); in del_bytes() 1847 mch_memmove(endp + l, endp, in open_line() 1868 mch_memmove(p + 1, p + l + 1, in open_line() 1898 mch_memmove(p + lead_repl_len, p + i, in open_line() 1915 mch_memmove(p, p + 1, in open_line() [all …]
|
| H A D | memline.c | 341 mch_memmove(b0p->b0_version, "VIM ", 4); in ml_open() 1023 mch_memmove(b0p->b0_fname + 1, uname, ulen); in set_b0_fname() 1095 mch_memmove((char *)b0p->b0_fname + size - n, in add_b0_fenc() 1378 mch_memmove(p, hp->bh_data, previous_page_size); in ml_recover() 2736 mch_memmove(new_line, *line, *len); in add_text_props_for_append() 2890 mch_memmove((char *)dp + dp->db_txt_start, in ml_append_int() 3128 mch_memmove(&pp->pb_pointer[pb_idx + 2], in ml_append_int() 3207 mch_memmove(&pp_new->pb_pointer[0], in ml_append_int() 3475 mch_memmove(newline, line, len); in ml_replace_len() 4343 mch_memmove(newstack, buf->b_ml.ml_stack, in ml_add_stack() [all …]
|
| H A D | os_unix.h | 444 # define mch_memmove(to, from, len) memmove((char *)(to), (char *)(from), len) macro 447 # define mch_memmove(to, from, len) bcopy((char *)(from), (char *)(to), len) macro 450 # define mch_memmove(to, from, len) memcpy((char *)(to), (char *)(from), len) macro
|
| H A D | bufwrite.c | 207 mch_memmove(ip->bw_rest, ip->bw_rest + n, in buf_write_bytes() 223 mch_memmove(ip->bw_rest, buf + wlen, in buf_write_bytes() 269 mch_memmove(from, ip->bw_rest, (size_t)ip->bw_restlen); in buf_write_bytes() 270 mch_memmove(from + ip->bw_restlen, buf, (size_t)len); in buf_write_bytes() 303 mch_memmove(ip->bw_rest, from, fromlen); in buf_write_bytes() 396 mch_memmove(from, ip->bw_rest, (size_t)ip->bw_restlen); in buf_write_bytes() 397 mch_memmove(from + ip->bw_restlen, buf, (size_t)len); in buf_write_bytes() 434 mch_memmove(fp, ip->bw_rest, (size_t)ip->bw_restlen); in buf_write_bytes() 435 mch_memmove(fp + ip->bw_restlen, buf, (size_t)len); in buf_write_bytes() 475 mch_memmove(ip->bw_rest, (void *)from, fromlen); in buf_write_bytes() [all …]
|
| H A D | getchar.c | 219 mch_memmove(buf->bh_first.b_next->b_str, in add_buff() 1034 mch_memmove(s1 + newoff, typebuf.tb_buf + typebuf.tb_off, in ins_typebuf() 1037 mch_memmove(s1 + newoff + offset, str, (size_t)addlen); in ins_typebuf() 1040 mch_memmove(s1 + newoff + offset + addlen, in ins_typebuf() 1049 mch_memmove(s2 + newoff + offset + addlen, in ins_typebuf() 1204 mch_memmove(typebuf.tb_buf + MAXMAPLEN, in del_typebuf() 1206 mch_memmove(typebuf.tb_noremap + 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() 3615 mch_memmove(p + 3, p + 1, (size_t)i); in fix_input_buffer() [all …]
|
| H A D | drawscreen.c | 961 mch_memmove(current_ScreenLine, text, len); in text_to_screenline() 2939 mch_memmove(screenline + r * cols, in redraw_asap() 2942 mch_memmove(screenattr + r * cols, in redraw_asap() 2947 mch_memmove(screenlineUC + r * cols, in redraw_asap() 2951 mch_memmove(screenlineC[i] + r * cols, in redraw_asap() 2956 mch_memmove(screenline2 + r * cols, in redraw_asap() 2971 mch_memmove(current_ScreenLine, in redraw_asap() 2974 mch_memmove(ScreenAttrs + off, in redraw_asap() 2979 mch_memmove(ScreenLinesUC + off, in redraw_asap() 2983 mch_memmove(ScreenLinesC[i] + off, in redraw_asap() [all …]
|
| H A D | strings.c | 29 mch_memmove(p, string, len); in vim_strsave() 104 mch_memmove(p2, p, (size_t)l); in vim_strsave_escaped_ext() 399 mch_memmove(s, res, p - res); in strup_save() 466 mch_memmove(s, res, p - res); in strlow_save() 525 mch_memmove(to + tolen, from, tosize - tolen - 1); in vim_strcat() 529 mch_memmove(to + tolen, from, fromlen + 1); in vim_strcat() 1559 mch_memmove((char *)ga.ga_data + ga.ga_len, cpstr, (size_t)cplen); in f_tr() 1908 mch_memmove(str + str_l, p, n > avail ? avail : n); in vim_vsnprintf_typval() 2719 mch_memmove(str + str_l, str_arg, in vim_vsnprintf_typval() 2754 mch_memmove(str + str_l, in vim_vsnprintf_typval()
|
| H A D | blob.c | 444 mch_memmove(p + idx, p + idx + 1, (size_t)len - idx - 1); in blob_remove() 473 mch_memmove((char_u *)blob->bv_ga.ga_data, p + idx, in blob_remove() 480 mch_memmove(p + idx, p + end + 1, (size_t)(len - end - 1)); in blob_remove()
|
| H A D | scriptfile.c | 573 mch_memmove(new_rtp, p_rtp, keep); in add_pack_dir_to_rtp() 577 mch_memmove(new_rtp + new_rtp_len, fname, addlen - 1); in add_pack_dir_to_rtp() 587 mch_memmove(new_rtp + new_rtp_len, p_rtp + keep, in add_pack_dir_to_rtp() 590 mch_memmove(new_rtp + new_rtp_len, afterdir, afterlen - 1); in add_pack_dir_to_rtp() 598 mch_memmove(new_rtp + new_rtp_len, p_rtp + keep, oldlen - keep + 1); in add_pack_dir_to_rtp() 882 mch_memmove(match, s, e - s + 1); in ExpandRTDir() 935 mch_memmove(match, s, e - s + 1); in ExpandPackAddDir() 1475 mch_memmove(t, t + 1, STRLEN(t)); in do_source()
|
| H A D | register.c | 1473 mch_memmove(pnew, bd->textstart, (size_t)bd->textlen); in yank_copy_line() 1904 mch_memmove(ptr, oldp, (size_t)bd.textcol); in do_put() 1914 mch_memmove(ptr, y_array[i], (size_t)yanklen); in do_put() 1930 mch_memmove(ptr, oldp + bd.textcol + delcount, in do_put() 2059 mch_memmove(newp, oldp, (size_t)col); in do_put() 2063 mch_memmove(ptr, y_array[0], (size_t)yanklen); in do_put() 2121 mch_memmove(newp, oldp, (size_t)col); in do_put() 2123 mch_memmove(newp + col, y_array[0], (size_t)(yanklen + 1)); in do_put() 2995 mch_memmove(s, y_ptr->y_array[lnum], (size_t)extra); in str_to_reg() 2999 mch_memmove(s + extra, str + start, (size_t)i); in str_to_reg()
|
| H A D | if_xcmdsrv.c | 700 mch_memmove(p, &e, sizeof(e)); in ServerReplyFind() 707 mch_memmove(p, p + 1, (serverReply.ga_len - i - 1) * sizeof(*p)); in ServerReplyFind() 801 mch_memmove(s, s + len, p->strings.ga_len - len); in serverReadReply() 969 mch_memmove(entry, p, count); in LookupName() 1023 mch_memmove(entry, p, lastHalf); in DeleteAnyLingerer()
|
| H A D | fileio.c | 1204 mch_memmove(ptr, conv_rest, conv_restlen); in readfile() 1367 mch_memmove(new_buffer, buffer, linerest); in readfile() 1369 mch_memmove(new_buffer + linerest, newptr, in readfile() 1486 mch_memmove(ptr, ptr + blen, (size_t)size); in readfile() 1585 mch_memmove(line_start, buffer, (size_t)linerest); in readfile() 1625 mch_memmove(src, ptr, size); in readfile() 1733 mch_memmove(dst, src, bytelen); in readfile() 1748 mch_memmove(conv_rest, src, size); in readfile() 1983 mch_memmove(line_start, buffer, (size_t)linerest); in readfile() 2020 mch_memmove(conv_rest, p, conv_restlen); in readfile() [all …]
|
| H A D | alloc.c | 598 mch_memmove(ret, p, len); in vim_memsave() 815 mch_memmove((char *)gap->ga_data + gap->ga_len, s, (size_t)len); in ga_concat() 831 mch_memmove((char *)gap->ga_data + gap->ga_len, s, len); in ga_concat_len()
|
| H A D | spellsuggest.c | 676 mch_memmove(p, line, c); in spell_suggest() 2264 mch_memmove(p, p + n, fl); in suggest_trie_walk() 2352 mch_memmove(p, p + n + fl, tl); in suggest_trie_walk() 2381 mch_memmove(p + fl + tl, p, n); in suggest_trie_walk() 2424 mch_memmove(p, p + n, fl); in suggest_trie_walk() 2453 mch_memmove(p + tl, p, n); in suggest_trie_walk() 2485 mch_memmove(p + tl, p, n); in suggest_trie_walk() 2514 mch_memmove(p, p + tl, n); in suggest_trie_walk() 2600 mch_memmove(p, ftp->ft_to, tl); in suggest_trie_walk() 2631 mch_memmove(p, ftp->ft_from, fl); in suggest_trie_walk() [all …]
|
| H A D | crypt.c | 368 mch_memmove(buffer, magic_buffer, CRYPT_MAGIC_LEN); in crypt_create_from_file() 408 mch_memmove(*header, cryptmethods[method_nr].magic, CRYPT_MAGIC_LEN); in crypt_create_for_writing() 882 mch_memmove(p2, buf_out, buf_len);
|
| H A D | screen.c | 2804 mch_memmove(new_ScreenLines + new_LineOffset[new_row], in screenalloc() 2810 mch_memmove(new_ScreenLinesUC + new_LineOffset[new_row], in screenalloc() 2814 mch_memmove(new_ScreenLinesC[i] in screenalloc() 2820 mch_memmove(new_ScreenLines2 + new_LineOffset[new_row], in screenalloc() 2823 mch_memmove(new_ScreenAttrs + new_LineOffset[new_row], in screenalloc() 3040 mch_memmove(ScreenLines + off_to, ScreenLines + off_from, in linecopy() 3046 mch_memmove(ScreenLinesUC + off_to, ScreenLinesUC + off_from, in linecopy() 3049 mch_memmove(ScreenLinesC[i] + off_to, ScreenLinesC[i] + off_from, in linecopy() 3053 mch_memmove(ScreenLines2 + off_to, ScreenLines2 + off_from, in linecopy() 3055 mch_memmove(ScreenAttrs + off_to, ScreenAttrs + off_from, in linecopy()
|
| H A D | undo.c | 393 mch_memmove(&prop, props + i * sizeof prop, sizeof prop); in has_prop_w_flags() 603 mch_memmove(uhp->uh_namedm, curbuf->b_namedm, sizeof(pos_T) * NMARKS); in u_savecommon() 860 mch_memmove(p + 4, p, STRLEN(p) + 1); in u_get_undo_file_name() 861 mch_memmove(p, "_un_", 4); in u_get_undo_file_name() 866 mch_memmove(p + 1, p, STRLEN(p) + 1); in u_get_undo_file_name() 940 mch_memmove(bi->bi_buffer + bi->bi_used, p, n); in undo_write() 949 mch_memmove(bi->bi_buffer + bi->bi_used, p, len_todo); in undo_write() 1141 mch_memmove(p, bi->bi_buffer + bi->bi_used, n); in undo_read() 2701 mch_memmove(namedm, curbuf->b_namedm, sizeof(pos_T) * NMARKS); in u_undoredo()
|
| H A D | usercmd.c | 974 mch_memmove(cmd + 1, cmd, (gap->ga_len - i) * sizeof(ucmd_T)); in uc_add_command() 1212 mch_memmove(cmd, cmd + 1, (gap->ga_len - i) * sizeof(ucmd_T)); in ex_delcommand() 1715 mch_memmove(q, p, len); in do_ucmd() 1737 mch_memmove(q, p, len); in do_ucmd()
|
| H A D | ops.c | 365 mch_memmove(newp, oldp, (size_t)bd.textcol); in shift_block() 369 mch_memmove(newp + bd.textcol + i + j, bd.textstart, (size_t)len); in shift_block() 457 mch_memmove(newp, oldp, (size_t)(verbatim_copy_end - oldp)); in shift_block() 556 mch_memmove(newp, oldp, (size_t)(offset)); in block_insert() 564 mch_memmove(newp + startcol, s, (size_t)s_len); in block_insert() 790 mch_memmove(newp, oldp, (size_t)bd.textcol); in op_delete() 1101 mch_memmove(newp, oldp, (size_t)bd.textcol); in op_replace() 1797 mch_memmove(newp, oldp, (size_t)bd.textcol); in op_change() 1801 mch_memmove(newp + offset, ins_text, (size_t)ins_len); in op_change() 2101 mch_memmove(cend, curr, (size_t)currsize); in do_join()
|
| H A D | help.c | 539 mch_memmove(IObuff, IObuff + 1, STRLEN(IObuff)); in find_help_tags() 545 mch_memmove(IObuff, IObuff + 1, STRLEN(IObuff)); in find_help_tags() 552 mch_memmove(IObuff, IObuff + 1, STRLEN(IObuff)); in find_help_tags()
|
| H A D | channel.c | 1873 mch_memmove(p, node->rq_buffer, node->rq_buflen); in channel_get_all() 1934 mch_memmove(buf, buf + len, node->rq_buflen - len); in channel_consume() 1971 mch_memmove(p, node->rq_buffer, node->rq_buflen); in channel_collapse() 1978 mch_memmove(p, n->rq_buffer, n->rq_buflen); in channel_collapse() 2038 mch_memmove(node->rq_buffer, buf, len); in channel_save() 2104 mch_memmove(p, reader->js_buf, keeplen); in channel_fill() 2105 mch_memmove(p + keeplen, next, addlen + 1); in channel_fill() 2335 mch_memmove(p, p + 1, (gap->ga_len - i) * sizeof(int)); in channel_remove_block_id() 4135 mch_memmove(entry->wq_ga.ga_data, in channel_send() 4160 mch_memmove((char *)last->wq_ga.ga_data in channel_send() [all …]
|
| H A D | charset.c | 305 mch_memmove(buf + trs_len, buf + 1, (size_t)len); in trans_characters() 307 mch_memmove(buf, trs, (size_t)trs_len); in trans_characters() 409 mch_memmove(ga.ga_data, str, (size_t)len); in str_foldcase() 416 mch_memmove(buf, str, (size_t)len); in str_foldcase()
|
| H A D | message.c | 334 mch_memmove(buf + e, s + e, len); in trunc_string() 340 mch_memmove(buf + e, "...", (size_t)3); in trunc_string() 344 mch_memmove(buf + e + 3, s + i, len); in trunc_string() 1906 mch_memmove(buf, s, (size_t)l); in msg_prt_line() 3161 mch_memmove((char_u *)error_ga.ga_data + error_ga.ga_len, in mch_errmsg() 3881 mch_memmove(to, from, (size_t)len); in copy_char()
|