Searched refs:co_firstlineno (Results 1 – 25 of 37) sorted by relevance
12
/external/python/cpython2/Lib/test/ |
D | test_dis.py | 21 """%(_f.func_code.co_firstlineno + 1, 22 _f.func_code.co_firstlineno + 2) 45 """%(bug708901.func_code.co_firstlineno + 1, 46 bug708901.func_code.co_firstlineno + 2, 47 bug708901.func_code.co_firstlineno + 3) 75 """%(bug1333982.func_code.co_firstlineno + 1, 76 bug1333982.func_code.co_firstlineno + 2, 77 bug1333982.func_code.co_firstlineno + 3)
|
D | test_traceback.py | 215 lineno = prn.__code__.co_firstlineno 228 lineno = fmt.__code__.co_firstlineno 247 lineno = extract.__code__.co_firstlineno
|
D | test_sys_settrace.py | 272 self.compare_events(func.func_code.co_firstlineno, 282 self.compare_events(func.func_code.co_firstlineno, 335 self.compare_events(generator_example.__code__.co_firstlineno, 450 frame.f_lineno == f.func_code.co_firstlineno + 2): 482 firstLine = frame.f_code.co_firstlineno
|
D | test_hotshot.py | 92 f_lineno = f.func_code.co_firstlineno 93 g_lineno = g.func_code.co_firstlineno
|
D | test_code.py | 113 self.assertEqual(co.co_firstlineno, 15)
|
D | test_univnewlines2k.py | 86 self.assertEqual(func.func_code.co_firstlineno, 3)
|
D | test_new.py | 121 firstlineno = c.co_firstlineno
|
D | test_sys_setprofile.py | 345 return code.co_firstlineno, code.co_name
|
D | test_trace.py | 27 return func.__code__.co_firstlineno
|
D | test_compile.py | 250 self.assertEqual(co.co_firstlineno, 257)
|
/external/python/cpython2/Objects/ |
D | codeobject.c | 142 co->co_firstlineno = firstlineno; in PyCode_New() 213 {"co_firstlineno", T_INT, OFF(co_firstlineno), READONLY}, 371 if (co->co_firstlineno != 0) in code_repr() 372 lineno = co->co_firstlineno; in code_repr() 395 cmp = co->co_firstlineno - cp->co_firstlineno; in code_compare() 581 eq = co->co_firstlineno == cp->co_firstlineno; in code_richcompare() 704 int line = co->co_firstlineno; in PyCode_Addr2Line() 727 line = co->co_firstlineno; in _PyCode_CheckLineNumber()
|
D | frameobject.c | 137 if (new_lineno < f->f_code->co_firstlineno) { in frame_setlineno() 143 else if (new_lineno == f->f_code->co_firstlineno) { in frame_setlineno() 145 new_lineno = f->f_code->co_firstlineno; in frame_setlineno() 155 line = f->f_code->co_firstlineno; in frame_setlineno() 739 f->f_lineno = code->co_firstlineno; in PyFrame_New()
|
/external/libmojo/third_party/ply/ |
D | lex.py | 360 func_code(func).co_filename, func_code(func).co_firstlineno, 682 line = func_code(t).co_firstlineno 709 … f.sort(lambda x,y: cmp(func_code(x[1]).co_firstlineno,func_code(y[1]).co_firstlineno)) 712 f.sort(key=lambda x: func_code(x[1]).co_firstlineno) 730 line = func_code(f).co_firstlineno 800 line = func_code(f).co_firstlineno 934 line = func_code(f).co_firstlineno
|
/external/python/cpython2/Include/ |
D | code.h | 25 int co_firstlineno; /* first source line number */ member
|
/external/python/cpython2/Lib/hotshot/ |
D | stats.py | 82 self.co_firstlineno = firstlineno
|
/external/ply/ply/ply/ |
D | lex.py | 362 func.__code__.co_filename, func.__code__.co_firstlineno, 696 line = t.__code__.co_firstlineno 722 f.sort(key=lambda x: x[1].__code__.co_firstlineno) 734 line = f.__code__.co_firstlineno 803 line = f.__code__.co_firstlineno 952 line = f.__code__.co_firstlineno
|
/external/python/cpython2/Lib/ |
D | cProfile.py | 159 return (code.co_filename, code.co_firstlineno, code.co_name)
|
D | profile.py | 289 fn = (fcode.co_filename, fcode.co_firstlineno, fcode.co_name) 374 self.co_firstlineno = 0
|
D | dis.py | 188 lineno = code.co_firstlineno
|
D | bdb.py | 134 lineno = frame.f_code.co_firstlineno
|
/external/selinux/python/sepolgen/src/sepolgen/ |
D | lex.py | 307 func.__code__.co_filename, func.__code__.co_firstlineno, 644 f.sort(key=lambda x: x[1].__code__.co_firstlineno) 658 line = f.__code__.co_firstlineno
|
D | yacc.py | 470 …ar rule '%s' defined without p_ prefix.\n" % (v.__code__.co_filename, v.__code__.co_firstlineno,n)) 731 line = f.__code__.co_firstlineno 2087 eline = ef.__code__.co_firstlineno 2108 symbols.sort(key=lambda x: x.__code__.co_firstlineno)
|
/external/libmojo/third_party/jinja2/ |
D | debug.py | 251 location, code.co_firstlineno,
|
/external/python/cpython2/Modules/ |
D | _hotshot.c | 808 obj = PyInt_FromLong(fcode->co_firstlineno); in get_fileno() 816 if (pack_define_func(self, fileno, fcode->co_firstlineno, in get_fileno() 875 frame->f_code->co_firstlineno); in tracer_callback()
|
/external/python/cpython2/Misc/ |
D | gdbinit | 56 set $__li = $__co->co_firstlineno
|
12