Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dframeobject.c69 int new_lineno = 0; /* The new value of f_lineno */ in frame_setlineno() local
145 new_lineno = (int)l_new_lineno; in frame_setlineno()
147 if (new_lineno < f->f_code->co_firstlineno) { in frame_setlineno()
150 new_lineno); in frame_setlineno()
153 else if (new_lineno == f->f_code->co_firstlineno) { in frame_setlineno()
155 new_lineno = f->f_code->co_firstlineno; in frame_setlineno()
170 if (line >= new_lineno) { in frame_setlineno()
172 new_lineno = line; in frame_setlineno()
182 new_lineno); in frame_setlineno()
369 f->f_lineno = new_lineno; in frame_setlineno()
/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/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)))