Lines Matching refs:sp
1632 get_one_sourceline(source_cookie_T *sp) in get_one_sourceline() argument
1647 ++sp->sourcing_lnum; in get_one_sourceline()
1656 sp->fp) == NULL) in get_one_sourceline()
1663 && sp->fileformat == EOL_DOS in get_one_sourceline()
1682 if (sp->fileformat == EOL_UNKNOWN) in get_one_sourceline()
1685 sp->fileformat = EOL_DOS; in get_one_sourceline()
1687 sp->fileformat = EOL_UNIX; in get_one_sourceline()
1690 if (sp->fileformat == EOL_DOS) in get_one_sourceline()
1700 if (!sp->error) in get_one_sourceline()
1705 sp->error = TRUE; in get_one_sourceline()
1706 sp->fileformat = EOL_UNIX; in get_one_sourceline()
1717 ++sp->sourcing_lnum; in get_one_sourceline()
1750 source_cookie_T *sp = (source_cookie_T *)cookie; in getsourceline() local
1760 if (sp->dbg_tick < debug_tick) in getsourceline()
1762 sp->breakpoint = dbg_find_breakpoint(TRUE, sp->fname, SOURCING_LNUM); in getsourceline()
1763 sp->dbg_tick = debug_tick; in getsourceline()
1772 SOURCING_LNUM = sp->sourcing_lnum + 1; in getsourceline()
1776 if (sp->finished || sp->fp == NULL) in getsourceline()
1778 else if (sp->nextline == NULL) in getsourceline()
1779 line = get_one_sourceline(sp); in getsourceline()
1782 line = sp->nextline; in getsourceline()
1783 sp->nextline = NULL; in getsourceline()
1784 ++sp->sourcing_lnum; in getsourceline()
1799 --sp->sourcing_lnum; in getsourceline()
1807 sp->nextline = get_one_sourceline(sp); in getsourceline()
1808 if (sp->nextline != NULL in getsourceline()
1809 && (*(p = skipwhite(sp->nextline)) == '\\' in getsourceline()
1829 vim_free(sp->nextline); in getsourceline()
1830 sp->nextline = get_one_sourceline(sp); in getsourceline()
1831 if (sp->nextline == NULL) in getsourceline()
1833 p = skipwhite(sp->nextline); in getsourceline()
1865 if (line != NULL && sp->conv.vc_type != CONV_NONE) in getsourceline()
1870 s = string_convert(&sp->conv, line, NULL); in getsourceline()
1880 if (sp->breakpoint != 0 && sp->breakpoint <= SOURCING_LNUM) in getsourceline()
1882 dbg_breakpoint(sp->fname, SOURCING_LNUM); in getsourceline()
1884 sp->breakpoint = dbg_find_breakpoint(TRUE, sp->fname, SOURCING_LNUM); in getsourceline()
1885 sp->dbg_tick = debug_tick; in getsourceline()
1898 source_cookie_T *sp; in ex_scriptencoding() local
1917 sp = (source_cookie_T *)getline_cookie(eap->getline, eap->cookie); in ex_scriptencoding()
1918 convert_setup(&sp->conv, name, p_enc); in ex_scriptencoding()