Lines Matching refs:newp
1537 char_u *newp, *oldp; in do_put() local
1898 newp = alloc(totlen + oldlen + 1); in do_put()
1899 if (newp == NULL) in do_put()
1903 ptr = newp; in do_put()
1932 ml_replace(curwin->w_cursor.lnum, newp, FALSE); in do_put()
2056 newp = alloc(totlen + oldlen + 1); in do_put()
2057 if (newp == NULL) in do_put()
2059 mch_memmove(newp, oldp, (size_t)col); in do_put()
2060 ptr = newp + col; in do_put()
2067 ml_replace(lnum, newp, FALSE); in do_put()
2106 newp = alloc(STRLEN(ptr) + totlen + 1); in do_put()
2107 if (newp == NULL) in do_put()
2109 STRCPY(newp, y_array[y_size - 1]); in do_put()
2110 STRCAT(newp, ptr); in do_put()
2112 ml_append(lnum, newp, (colnr_T)0, FALSE); in do_put()
2114 vim_free(newp); in do_put()
2117 newp = alloc(col + yanklen + 1); in do_put()
2118 if (newp == NULL) 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()
2124 ml_replace(lnum, newp, FALSE); in do_put()