Home
last modified time | relevance | path

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

12

/third_party/python/Lib/test/
Dtest_dis.py48 """ % (_C.__init__.__code__.co_firstlineno + 1,)
68 """ % (_C.cm.__code__.co_firstlineno + 2,)
77 """ % (_C.sm.__code__.co_firstlineno + 2,)
103 """ % (_f.__code__.co_firstlineno + 1,
104 _f.__code__.co_firstlineno + 2)
137 """ % (bug708901.__code__.co_firstlineno + 1,
138 bug708901.__code__.co_firstlineno + 2,
139 bug708901.__code__.co_firstlineno + 1,
140 bug708901.__code__.co_firstlineno + 3,
141 bug708901.__code__.co_firstlineno + 1)
[all …]
Dtest_frame.py101 lines.append(f.f_lineno-f.f_code.co_firstlineno)
201 offset = outer.__code__.co_firstlineno
Dtest_compile.py158 self.assertEqual(co.co_firstlineno, 1)
812 line1 = call.__code__.co_firstlineno + 1
847 self.assertEqual(frame.f_lineno-frame.f_code.co_firstlineno, lastline)
864 self.assertEqual(line, code.co_firstlineno)
907 code_lines = [ line-func.__code__.co_firstlineno
922 code_lines = [ None if line is None else line-return_genexp.__code__.co_firstlineno
933 code_lines = [ None if line is None else line-test.__code__.co_firstlineno
Dtest_sys_settrace.py358 self.compare_events(func.__code__.co_firstlineno,
368 self.compare_events(func.__code__.co_firstlineno,
425 self.compare_events(generator_example.__code__.co_firstlineno,
607 self.compare_events(doit_async.__code__.co_firstlineno,
1223 frame.f_lineno == f.__code__.co_firstlineno + 2):
1274 self.firstLine = None if decorated else self.code.co_firstlineno
Dtest_code.py171 self.assertEqual(co.co_firstlineno, 15)
228 co.co_firstlineno,
Dtest_opcodes.py30 self.assertEqual(co.co_firstlineno, 1)
Dtest_traceback.py375 lineno = prn.__code__.co_firstlineno
402 lineno_f = f.__code__.co_firstlineno
449 lineno_g = g.__code__.co_firstlineno
485 lineno_h = h.__code__.co_firstlineno
576 lineno = fmt.__code__.co_firstlineno
1015 lineno = extract.__code__.co_firstlineno
1157 ' v = 4\n' % (__file__, some_inner.__code__.co_firstlineno + 3)
Dtest_bdb.py117 lineno = code.co_firstlineno
324 return ((lineno - self.frame.f_code.co_firstlineno + 1)
328 return (self.frame.f_code.co_firstlineno + lineno - 1
Dtest_sys_setprofile.py386 return code.co_firstlineno, code.co_name
Dtest_trace.py28 return func.__code__.co_firstlineno
/third_party/python/Objects/clinic/
Dcodeobject.c.h159 int co_firstlineno, PyBytesObject *co_code,
179 int co_firstlineno = self->co_firstlineno; in code_replace() local
252 co_firstlineno = _PyLong_AsInt(args[6]); in code_replace()
253 if (co_firstlineno == -1 && PyErr_Occurred()) { in code_replace()
352 …onlyargcount, co_kwonlyargcount, co_nlocals, co_stacksize, co_flags, co_firstlineno, co_code, co_c… in code_replace()
/third_party/python/Objects/
Dcodeobject.c260 co->co_firstlineno = firstlineno; in PyCode_NewWithPosOnlyArgs()
398 {"co_firstlineno", T_INT, OFF(co_firstlineno), READONLY},
452 int line = code->co_firstlineno; in code_getlnotab()
726 int co_firstlineno, PyBytesObject *co_code, in code_replace_impl() argument
746 CHECK_INT_ARG(co_firstlineno); in code_replace_impl()
761 co_firstlineno, (PyObject*)co_linetable); in code_replace_impl()
768 if (co->co_firstlineno != 0) in code_repr()
769 lineno = co->co_firstlineno; in code_repr()
942 eq = co->co_firstlineno == cp->co_firstlineno; in code_richcompare()
1249 return co->co_firstlineno; in PyCode_Addr2Line()
[all …]
Dlnotab_notes.txt65 line = code.co_firstlineno
Dframeobject.c407 if (new_lineno < f->f_code->co_firstlineno) { in frame_setlineno()
/third_party/python/Lib/asyncio/
Dformat_helpers.py14 return (code.co_filename, code.co_firstlineno)
Dcoroutines.py266 lineno = coro_code.co_firstlineno
/third_party/python/Lib/
Ddis.py276 line_offset = first_line - co.co_firstlineno
477 self.first_line = co.co_firstlineno
481 self._line_offset = first_line - co.co_firstlineno
DcProfile.py126 return (code.co_filename, code.co_firstlineno, code.co_name)
Dprofile.py268 fn = (fcode.co_filename, fcode.co_firstlineno, fcode.co_name)
353 self.co_firstlineno = 0
Dbdb.py230 lineno = frame.f_code.co_firstlineno
Dpdb.py666 lineno = code.co_firstlineno
/third_party/node/tools/inspector_protocol/jinja2/
Ddebug.py275 location, code.co_firstlineno,
282 location, code.co_firstlineno,
/third_party/python/Include/cpython/
Dcode.h26 int co_firstlineno; /* first source line number */ member
/third_party/python/Misc/
Dgdbinit62 set $__li = $__co->co_firstlineno
/third_party/mindspore/mindspore/common/
Dapi.py161 str(self.fn.__code__.co_firstlineno) + '.' + str(id(self.fn))

12