/external/python/cpython2/Objects/ |
D | lnotab_notes.txt | 1 All about co_lnotab, the line number table. 3 Code objects store a field named co_lnotab. This is an array of unsigned bytes 33 part. A user of co_lnotab desiring to find the source line number 37 for addr_incr, line_incr in co_lnotab: 105 and the co_lnotab will claim that execution has moved to line 4, which is wrong. 110 co_lnotab indicates we have jumped to the *start* of a line, i.e. if the current 112 co_lnotab. For backward jumps, however, we always call the line trace function,
|
D | codeobject.c | 144 co->co_lnotab = lnotab; in PyCode_New() 214 {"co_lnotab", T_OBJECT, OFF(co_lnotab), READONLY}, 355 Py_XDECREF(co->co_lnotab); in code_dealloc() 701 int size = PyString_Size(co->co_lnotab) / 2; in PyCode_Addr2Line() 702 unsigned char *p = (unsigned char*)PyString_AsString(co->co_lnotab); in PyCode_Addr2Line() 722 p = (unsigned char*)PyString_AS_STRING(co->co_lnotab); in _PyCode_CheckLineNumber() 723 size = PyString_GET_SIZE(co->co_lnotab) / 2; in _PyCode_CheckLineNumber()
|
D | frameobject.c | 173 PyString_AsStringAndSize(f->f_code->co_lnotab, in frame_setlineno()
|
/external/python/cpython3/Objects/ |
D | lnotab_notes.txt | 1 All about co_lnotab, the line number table. 3 Code objects store a field named co_lnotab. This is an array of unsigned bytes 37 That's the delicate part. A user of co_lnotab desiring to find the source 42 for addr_incr, line_incr in co_lnotab: 116 and the co_lnotab will claim that execution has moved to line 4, which is wrong. 121 co_lnotab indicates we have jumped to the *start* of a line, i.e. if the current 123 co_lnotab. For backward jumps, however, we always call the line trace function,
|
D | codeobject.c | 217 co->co_lnotab = lnotab; in PyCode_New() 289 {"co_lnotab", T_OBJECT, OFF(co_lnotab), READONLY}, 453 Py_XDECREF(co->co_lnotab); in code_dealloc() 775 Py_ssize_t size = PyBytes_Size(co->co_lnotab) / 2; in PyCode_Addr2Line() 776 unsigned char *p = (unsigned char*)PyBytes_AsString(co->co_lnotab); in PyCode_Addr2Line() 798 p = (unsigned char*)PyBytes_AS_STRING(co->co_lnotab); in _PyCode_CheckLineNumber() 799 size = PyBytes_GET_SIZE(co->co_lnotab) / 2; in _PyCode_CheckLineNumber()
|
D | frameobject.c | 161 PyBytes_AsStringAndSize(f->f_code->co_lnotab, in frame_setlineno()
|
/external/python/cpython2/Lib/ |
D | dis.py | 184 byte_increments = [ord(c) for c in code.co_lnotab[0::2]] 185 line_increments = [ord(c) for c in code.co_lnotab[1::2]]
|
D | modulefinder.py | 612 co.co_firstlineno, co.co_lnotab,
|
/external/python/cpython2/Include/ |
D | code.h | 26 PyObject *co_lnotab; /* string (encoding addr<->lineno mapping) See member
|
/external/libchrome/third_party/jinja2/ |
D | debug.py | 276 code.co_lnotab, (), ()) 283 code.co_lnotab, (), ())
|
/external/python/cpython3/Include/ |
D | code.h | 43 PyObject *co_lnotab; /* string (encoding addr<->lineno mapping) See member
|
/external/python/cpython3/Misc/ |
D | gdbinit | 54 set $__sz = ((PyVarObject *)$__co->co_lnotab)->ob_size/2 55 set $__p = (unsigned char *)((PyBytesObject *)$__co->co_lnotab)->ob_sval
|
/external/python/cpython2/Misc/ |
D | gdbinit | 54 set $__sz = ((PyStringObject *)$__co->co_lnotab)->ob_size/2 55 set $__p = (unsigned char *)((PyStringObject *)$__co->co_lnotab)->ob_sval
|
/external/python/cpython3/Lib/ |
D | dis.py | 442 byte_increments = code.co_lnotab[0::2] 443 line_increments = code.co_lnotab[1::2]
|
D | types.py | 264 co.co_name, co.co_firstlineno, co.co_lnotab, co.co_freevars,
|
D | modulefinder.py | 566 co.co_firstlineno, co.co_lnotab, co.co_freevars,
|
/external/python/cpython2/Lib/test/ |
D | test_new.py | 122 lnotab = c.co_lnotab
|
D | test_compile.py | 251 self.assertEqual(co.co_lnotab, '')
|
D | test_import.py | 508 code.co_name, code.co_firstlineno, code.co_lnotab,
|
/external/python/cpython2/Tools/gdb/ |
D | libpython.py | 635 co_lnotab = self.pyop_field('co_lnotab').proxyval(set()) 642 for addr_incr, line_incr in zip(co_lnotab[::2], co_lnotab[1::2]):
|
/external/python/cpython3/Lib/test/ |
D | test_code.py | 163 c.co_lnotab, c.co_freevars + ('__class__',), c.co_cellvars)
|
D | test_compile.py | 157 self.assertEqual(co.co_lnotab, bytes())
|
/external/python/cpython3/Tools/gdb/ |
D | libpython.py | 649 co_lnotab = self.pyop_field('co_lnotab').proxyval(set()) 656 for addr_incr, line_incr in zip(co_lnotab[::2], co_lnotab[1::2]):
|
/external/python/cpython3/Doc/library/ |
D | dis.rst | 235 This generator function uses the ``co_firstlineno`` and ``co_lnotab`` 238 See :source:`Objects/lnotab_notes.txt` for the ``co_lnotab`` format and
|
/external/python/cpython2/Python/ |
D | marshal.c | 444 w_object(co->co_lnotab, p); in w_object()
|