Home
last modified time | relevance | path

Searched refs:co_firstlineno (Results 1 – 25 of 37) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_dis.py21 """%(_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)
Dtest_traceback.py215 lineno = prn.__code__.co_firstlineno
228 lineno = fmt.__code__.co_firstlineno
247 lineno = extract.__code__.co_firstlineno
Dtest_sys_settrace.py272 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
Dtest_hotshot.py92 f_lineno = f.func_code.co_firstlineno
93 g_lineno = g.func_code.co_firstlineno
Dtest_code.py113 self.assertEqual(co.co_firstlineno, 15)
Dtest_univnewlines2k.py86 self.assertEqual(func.func_code.co_firstlineno, 3)
Dtest_new.py121 firstlineno = c.co_firstlineno
Dtest_sys_setprofile.py345 return code.co_firstlineno, code.co_name
Dtest_trace.py27 return func.__code__.co_firstlineno
Dtest_compile.py250 self.assertEqual(co.co_firstlineno, 257)
/external/python/cpython2/Objects/
Dcodeobject.c142 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()
Dframeobject.c137 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/
Dlex.py360 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/
Dcode.h25 int co_firstlineno; /* first source line number */ member
/external/python/cpython2/Lib/hotshot/
Dstats.py82 self.co_firstlineno = firstlineno
/external/ply/ply/ply/
Dlex.py362 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/
DcProfile.py159 return (code.co_filename, code.co_firstlineno, code.co_name)
Dprofile.py289 fn = (fcode.co_filename, fcode.co_firstlineno, fcode.co_name)
374 self.co_firstlineno = 0
Ddis.py188 lineno = code.co_firstlineno
Dbdb.py134 lineno = frame.f_code.co_firstlineno
/external/selinux/python/sepolgen/src/sepolgen/
Dlex.py307 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
Dyacc.py470 …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/
Ddebug.py251 location, code.co_firstlineno,
/external/python/cpython2/Modules/
D_hotshot.c808 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/
Dgdbinit56 set $__li = $__co->co_firstlineno

12