/third_party/python/Lib/test/ |
D | test_dis.py | 48 """ % (_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 …]
|
D | test_frame.py | 101 lines.append(f.f_lineno-f.f_code.co_firstlineno) 201 offset = outer.__code__.co_firstlineno
|
D | test_compile.py | 158 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
|
D | test_sys_settrace.py | 358 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
|
D | test_code.py | 171 self.assertEqual(co.co_firstlineno, 15) 228 co.co_firstlineno,
|
D | test_opcodes.py | 30 self.assertEqual(co.co_firstlineno, 1)
|
D | test_traceback.py | 375 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)
|
D | test_bdb.py | 117 lineno = code.co_firstlineno 324 return ((lineno - self.frame.f_code.co_firstlineno + 1) 328 return (self.frame.f_code.co_firstlineno + lineno - 1
|
D | test_sys_setprofile.py | 386 return code.co_firstlineno, code.co_name
|
D | test_trace.py | 28 return func.__code__.co_firstlineno
|
/third_party/python/Objects/clinic/ |
D | codeobject.c.h | 159 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/ |
D | codeobject.c | 260 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 …]
|
D | lnotab_notes.txt | 65 line = code.co_firstlineno
|
D | frameobject.c | 407 if (new_lineno < f->f_code->co_firstlineno) { in frame_setlineno()
|
/third_party/python/Lib/asyncio/ |
D | format_helpers.py | 14 return (code.co_filename, code.co_firstlineno)
|
D | coroutines.py | 266 lineno = coro_code.co_firstlineno
|
/third_party/python/Lib/ |
D | dis.py | 276 line_offset = first_line - co.co_firstlineno 477 self.first_line = co.co_firstlineno 481 self._line_offset = first_line - co.co_firstlineno
|
D | cProfile.py | 126 return (code.co_filename, code.co_firstlineno, code.co_name)
|
D | profile.py | 268 fn = (fcode.co_filename, fcode.co_firstlineno, fcode.co_name) 353 self.co_firstlineno = 0
|
D | bdb.py | 230 lineno = frame.f_code.co_firstlineno
|
D | pdb.py | 666 lineno = code.co_firstlineno
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | debug.py | 275 location, code.co_firstlineno, 282 location, code.co_firstlineno,
|
/third_party/python/Include/cpython/ |
D | code.h | 26 int co_firstlineno; /* first source line number */ member
|
/third_party/python/Misc/ |
D | gdbinit | 62 set $__li = $__co->co_firstlineno
|
/third_party/mindspore/mindspore/common/ |
D | api.py | 161 str(self.fn.__code__.co_firstlineno) + '.' + str(id(self.fn))
|