Lines Matching refs:ptr

1536     char_u	*ptr;  in do_put()  local
1621 ptr = insert_string; in do_put()
1622 while (ptr != NULL) in do_put()
1625 y_array[y_size] = ptr; in do_put()
1627 ptr = vim_strchr(ptr, '\n'); in do_put()
1628 if (ptr != NULL) in do_put()
1631 *ptr = NUL; in do_put()
1632 ++ptr; in do_put()
1634 if (*ptr == NUL) in do_put()
1678 ptr = vim_strsave(p); in do_put()
1679 if (ptr == NULL) in do_put()
1681 ml_append(curwin->w_cursor.lnum, ptr, (colnr_T)0, FALSE); in do_put()
1682 vim_free(ptr); in do_put()
1688 ptr = vim_strnsave(oldp, p - oldp); in do_put()
1689 if (ptr == NULL) in do_put()
1691 ml_replace(curwin->w_cursor.lnum, ptr, FALSE); in do_put()
1844 for (ptr = oldp; vcol < col && *ptr; ) in do_put()
1847 incr = lbr_chartabsize_adv(oldp, &ptr, (colnr_T)vcol); in do_put()
1850 bd.textcol = (colnr_T)(ptr - oldp); in do_put()
1852 shortline = (vcol < col) || (vcol == col && !*ptr) ; in do_put()
1903 ptr = newp; in do_put()
1904 mch_memmove(ptr, oldp, (size_t)bd.textcol); in do_put()
1905 ptr += bd.textcol; in do_put()
1908 vim_memset(ptr, ' ', (size_t)bd.startspaces); in do_put()
1909 ptr += bd.startspaces; in do_put()
1914 mch_memmove(ptr, y_array[i], (size_t)yanklen); in do_put()
1915 ptr += yanklen; in do_put()
1920 vim_memset(ptr, ' ', (size_t)spaces); in do_put()
1921 ptr += spaces; in do_put()
1926 vim_memset(ptr, ' ', (size_t)bd.endspaces); in do_put()
1927 ptr += bd.endspaces; in do_put()
1930 mch_memmove(ptr, oldp + bd.textcol + delcount, in do_put()
2060 ptr = newp + col; in do_put()
2063 mch_memmove(ptr, y_array[0], (size_t)yanklen); in do_put()
2064 ptr += yanklen; in do_put()
2066 STRMOVE(ptr, oldp + col); in do_put()
2104 ptr = ml_get(lnum) + col; in do_put()
2106 newp = alloc(STRLEN(ptr) + totlen + 1); in do_put()
2110 STRCAT(newp, ptr); in do_put()
2145 ptr = ml_get(lnum); in do_put()
2147 lendiff = (int)STRLEN(ptr); in do_put()
2149 if (*ptr == '#' && preprocs_left()) in do_put()
2153 if (*ptr == NUL) in do_put()