Home
last modified time | relevance | path

Searched refs:co_lnotab (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython2/Objects/
Dlnotab_notes.txt1 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,
Dcodeobject.c144 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()
702 int size = PyString_Size(co->co_lnotab) / 2; in PyCode_Addr2Line()
703 unsigned char *p = (unsigned char*)PyString_AsString(co->co_lnotab); in PyCode_Addr2Line()
723 p = (unsigned char*)PyString_AS_STRING(co->co_lnotab); in _PyCode_CheckLineNumber()
724 size = PyString_GET_SIZE(co->co_lnotab) / 2; in _PyCode_CheckLineNumber()
Dframeobject.c151 PyString_AsStringAndSize(f->f_code->co_lnotab, in frame_setlineno()
/external/python/cpython2/Lib/
Ddis.py184 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]]
Dmodulefinder.py612 co.co_firstlineno, co.co_lnotab,
/external/python/cpython2/Include/
Dcode.h26 PyObject *co_lnotab; /* string (encoding addr<->lineno mapping) See member
/external/python/cpython2/Misc/
Dgdbinit54 set $__sz = ((PyStringObject *)$__co->co_lnotab)->ob_size/2
55 set $__p = (unsigned char *)((PyStringObject *)$__co->co_lnotab)->ob_sval
Dcheatsheet1289 co_lnotab (string, R/O): string encoding bytecode offsets to line numbers.
DHISTORY5050 - SET_LINENO is gone. co_lnotab is now consulted to determine when to
/external/python/cpython2/Lib/test/
Dtest_new.py122 lnotab = c.co_lnotab
Dtest_compile.py251 self.assertEqual(co.co_lnotab, '')
Dtest_import.py509 code.co_name, code.co_firstlineno, code.co_lnotab,
/external/libmojo/third_party/jinja2/
Ddebug.py252 code.co_lnotab, (), ())
/external/python/cpython2/Tools/gdb/
Dlibpython.py628 co_lnotab = self.pyop_field('co_lnotab').proxyval(set())
635 for addr_incr, line_incr in zip(co_lnotab[::2], co_lnotab[1::2]):
/external/python/cpython2/Python/
Dmarshal.c444 w_object(co->co_lnotab, p); in w_object()
/external/python/cpython2/Doc/library/
Dinspect.rst189 | | co_lnotab | encoded mapping of line | |
Ddis.rst82 This generator function uses the ``co_firstlineno`` and ``co_lnotab``
/external/python/cpython2/Doc/reference/
Ddatamodel.rst932 single: co_lnotab (code object attribute)
953 :attr:`co_lnotab` is a string encoding the mapping from bytecode offsets to