Home
last modified time | relevance | path

Searched refs:new_lineno (Results 1 – 4 of 4) sorted by relevance

/external/yapf/yapf/yapflib/
Dcontinuation_splicer.py39 new_lineno = node.lineno - node.prefix.count('\n')
43 context=('', (new_lineno, 0)))
Dcomment_splicer.py226 new_lineno = comment_lineno + index - 1
232 context=('', (new_lineno, comment_column)))
/external/python/cpython2/Objects/
Dframeobject.c99 int new_lineno = 0; /* The new value of f_lineno */ in frame_setlineno() local
158 new_lineno = (int) PyInt_AsLong(p_new_lineno); in frame_setlineno()
159 if (new_lineno < f->f_code->co_firstlineno) { in frame_setlineno()
162 new_lineno); in frame_setlineno()
165 else if (new_lineno == f->f_code->co_firstlineno) { in frame_setlineno()
167 new_lineno = f->f_code->co_firstlineno; in frame_setlineno()
182 if (line >= new_lineno) { in frame_setlineno()
184 new_lineno = line; in frame_setlineno()
194 new_lineno); in frame_setlineno()
382 f->f_lineno = new_lineno; in frame_setlineno()
/external/python/cpython3/Objects/
Dframeobject.c375 int new_lineno; in frame_setlineno() local
391 new_lineno = (int)l_new_lineno; in frame_setlineno()
393 if (new_lineno < f->f_code->co_firstlineno) { in frame_setlineno()
396 new_lineno); in frame_setlineno()
406 new_lineno = first_line_not_before(lines, len, new_lineno); in frame_setlineno()
407 if (new_lineno < 0) { in frame_setlineno()
427 if (lines[i] == new_lineno) { in frame_setlineno()
477 f->f_lineno = new_lineno; in frame_setlineno()