/third_party/python/Lib/test/ |
H A D | test_dis.py | 53 """ % (_C.__init__.__code__.co_firstlineno, _C.__init__.__code__.co_firstlineno + 1,) 76 """ % (_C.cm.__code__.co_firstlineno, _C.cm.__code__.co_firstlineno + 2,) 87 """ % (_C.sm.__code__.co_firstlineno, _C.sm.__code__.co_firstlineno + 2,) 116 """ % (_f.__code__.co_firstlineno, 117 _f.__code__.co_firstlineno + 1, 118 _f.__code__.co_firstlineno + 2) 156 """ % (bug708901.__code__.co_firstlineno, [all...] |
H A D | test_traceback.py | 387 callable_line = get_exception.__code__.co_firstlineno + 2 395 lineno_f = f.__code__.co_firstlineno 413 lineno_f = f_with_unicode.__code__.co_firstlineno 430 lineno_f = f_with_type.__code__.co_firstlineno 450 lineno_f = f_with_multiline.__code__.co_firstlineno 480 lineno_f = f_with_multiline.__code__.co_firstlineno 506 lineno_f = f_with_multiline.__code__.co_firstlineno 523 lineno_f = f_with_binary_operator.__code__.co_firstlineno 540 lineno_f = f_with_binary_operator.__code__.co_firstlineno 557 lineno_f = f_with_binary_operator.__code__.co_firstlineno [all...] |
H A D | test_code.py | 180 self.assertEqual(co.co_firstlineno, 15) 237 co.co_firstlineno, 269 ("co_firstlineno", 100), 314 co.co_firstlineno, 430 self.assertEqual(end_line, new_code.co_firstlineno + 1) 552 line = code.co_firstlineno 684 co_firstlineno=42,
|
H A D | test_frame.py | 119 lines.append(f.f_lineno-f.f_code.co_firstlineno) 219 offset = outer.__code__.co_firstlineno
|
H A D | test_sys_settrace.py | 361 self.compare_events(func.__code__.co_firstlineno, 371 self.compare_events(func.__code__.co_firstlineno, 428 self.compare_events(generator_example.__code__.co_firstlineno, 610 self.compare_events(doit_async.__code__.co_firstlineno, 662 self.compare_events(f.__code__.co_firstlineno, 1565 start_line = func.__code__.co_firstlineno 1743 frame.f_lineno == f.__code__.co_firstlineno + 2): 1808 self.firstLine = None if decorated else self.code.co_firstlineno 1814 # frame.f_code.co_firstlineno is the first line of the decorator when
|
H A D | test_opcodes.py | 30 self.assertEqual(co.co_firstlineno, 1)
|
H A D | test_bdb.py | 118 lineno = code.co_firstlineno 325 return ((lineno - self.frame.f_code.co_firstlineno + 1) 329 return (self.frame.f_code.co_firstlineno + lineno - 1
|
H A D | test_compile.py | 162 self.assertEqual(co.co_firstlineno, 1) 864 line1 = call.__code__.co_firstlineno + 1 899 self.assertEqual(frame.f_lineno-frame.f_code.co_firstlineno, lastline) 914 self.assertEqual(line, code.co_firstlineno) 921 res.append(line - code.co_firstlineno)
|
H A D | test_exception_group.py | 250 line0 = create_simple_eg.__code__.co_firstlineno 525 line0 = create_nested_eg.__code__.co_firstlineno 541 line0 = create_nested_eg.__code__.co_firstlineno
|
H A D | test_sys_setprofile.py | 387 return code.co_firstlineno, code.co_name
|
H A D | test_trace.py | 34 return func.__code__.co_firstlineno
|
/third_party/python/Objects/clinic/ |
H A D | codeobject.c.h | 162 " co_flags=-1, co_firstlineno=-1, co_code=None, co_consts=None,\n" 177 int co_firstlineno, PyBytesObject *co_code, 189 static const char * const _keywords[] = {"co_argcount", "co_posonlyargcount", "co_kwonlyargcount", "co_nlocals", "co_stacksize", "co_flags", "co_firstlineno", "co_code", "co_consts", "co_names", "co_varnames", "co_freevars", "co_cellvars", "co_filename", "co_name", "co_qualname", "co_linetable", "co_exceptiontable", NULL}; in code_replace() 199 int co_firstlineno = self->co_firstlineno; in code_replace() local 274 co_firstlineno = _PyLong_AsInt(args[6]); in code_replace() 275 if (co_firstlineno == -1 && PyErr_Occurred()) { in code_replace() 397 return_value = code_replace_impl(self, co_argcount, co_posonlyargcount, co_kwonlyargcount, co_nlocals, co_stacksize, co_flags, co_firstlineno, co_code, co_consts, co_names, co_varnames, co_freevars, co_cellvars, co_filename, co_name, co_qualname, co_linetable, co_exceptiontable); in code_replace()
|
/third_party/python/Objects/ |
H A D | codeobject.c | 304 co->co_firstlineno = con->firstlineno; in init_code() 652 0, // Offset from co_firstlineno. 769 return co->co_firstlineno; in PyCode_Addr2Line() 797 _PyLineTable_InitAddressRange(linetable, length, co->co_firstlineno, bounds); in _PyCode_InitAddressRange() 986 *start_line = *end_line = co->co_firstlineno; in PyCode_Addr2Location() 1104 int line = code->co_firstlineno; in decode_linetable() 1651 if (co->co_firstlineno != 0) in code_repr() 1652 lineno = co->co_firstlineno; in code_repr() 1693 eq = co->co_firstlineno == cp->co_firstlineno; in code_richcompare() 1904 code_replace_impl(PyCodeObject *self, int co_argcount, int co_posonlyargcount, int co_kwonlyargcount, int co_nlocals, int co_stacksize, int co_flags, int co_firstlineno, PyBytesObject *co_code, PyObject *co_consts, PyObject *co_names, PyObject *co_varnames, PyObject *co_freevars, PyObject *co_cellvars, PyObject *co_filename, PyObject *co_name, PyObject *co_qualname, PyBytesObject *co_linetable, PyBytesObject *co_exceptiontable) code_replace_impl() argument [all...] |
H A D | frameobject.c | 708 if (new_lineno < f->f_frame->f_code->co_firstlineno) { in frame_setlineno()
|
/third_party/python/Lib/asyncio/ |
H A D | coroutines.py | 108 lineno = coro_code.co_firstlineno
|
H A D | format_helpers.py | 14 return (code.co_filename, code.co_firstlineno)
|
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | debug.py | 275 location, code.co_firstlineno, 282 location, code.co_firstlineno,
|
/third_party/python/Include/cpython/ |
H A D | code.h | 48 * - co_firstlineno \ 73 int co_firstlineno; /* first source line number */ \
|
/third_party/jinja2/ |
H A D | debug.py | 136 code.co_firstlineno,
|
/third_party/python/Lib/ |
H A D | cProfile.py | 127 return (code.co_filename, code.co_firstlineno, code.co_name)
|
H A D | profile.py | 269 fn = (fcode.co_filename, fcode.co_firstlineno, fcode.co_name) 354 self.co_firstlineno = 0
|
H A D | dis.py | 344 line_offset = first_line - co.co_firstlineno 701 self.first_line = co.co_firstlineno 705 self._line_offset = first_line - co.co_firstlineno
|
H A D | bdb.py | 230 lineno = frame.f_code.co_firstlineno
|
H A D | doctest.py | 1121 lineno = obj.co_firstlineno - 1
|
/third_party/python/Tools/scripts/ |
H A D | umarshal.py | 290 retval.co_firstlineno = self.r_long()
|