Home
last modified time | relevance | path

Searched refs:lnotab (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_new.py122 lnotab = c.co_lnotab
128 firstlineno, lnotab, freevars, cellvars)
133 firstlineno, lnotab)
138 constants, names, varnames, filename, name, firstlineno, lnotab)
143 constants, names, varnames, filename, name, firstlineno, lnotab)
148 constants, (5,), varnames, filename, name, firstlineno, lnotab)
156 firstlineno, lnotab)
/external/python/cpython2/Lib/compiler/
Dpyassem.py506 self.lnotab = lnotab = LineAddrTable()
510 lnotab.addCode(self.opnum[opname])
514 lnotab.nextLine(oparg)
518 lnotab.addCode(self.opnum[opname], lo, hi)
540 self.lnotab.getCode(), self.getConsts(),
542 self.filename, self.name, self.lnotab.firstline,
543 self.lnotab.getTable(), tuple(self.freevars),
608 self.lnotab = []
634 push = self.lnotab.append
651 return ''.join(map(chr, self.lnotab))
/external/python/cpython2/Objects/
Dcodeobject.c97 PyObject *lnotab) in PyCode_New() argument
110 lnotab == NULL || !PyString_Check(lnotab) || in PyCode_New()
143 Py_INCREF(lnotab); in PyCode_New()
144 co->co_lnotab = lnotab; in PyCode_New()
285 PyObject *lnotab; in code_new() local
294 &firstlineno, &lnotab, in code_new()
335 name, firstlineno, lnotab); in code_new()
Dframeobject.c101 unsigned char *lnotab = NULL; /* Iterating over co_lnotab */ in frame_setlineno() local
153 lnotab = (unsigned char *) tmp; in frame_setlineno()
158 addr += lnotab[offset]; in frame_setlineno()
159 line += lnotab[offset+1]; in frame_setlineno()
Dlnotab_notes.txt69 that the same line may appear multiple times in the lnotab, either because the
/external/python/cpython2/Lib/
Dtrace.py328 lnotab = find_executable_linenos(filename)
330 lnotab = {}
335 lnotab, count)
357 def write_results_file(self, path, lines, lnotab, lines_hit): argument
383 if lineno in lnotab and not PRAGMA_NOCOVER in lines[i]:
/external/python/cpython2/Python/
Dmarshal.c1012 PyObject *lnotab = NULL; in r_object() local
1046 lnotab = r_object(p); in r_object()
1047 if (lnotab == NULL) in r_object()
1054 firstlineno, lnotab); in r_object()
1065 Py_XDECREF(lnotab); in r_object()
Dcompile.c3554 unsigned char *lnotab; in assemble_lnotab() local
3581 lnotab = (unsigned char *) in assemble_lnotab()
3584 *lnotab++ = 255; in assemble_lnotab()
3585 *lnotab++ = 0; in assemble_lnotab()
3607 lnotab = (unsigned char *) in assemble_lnotab()
3609 *lnotab++ = d_bytecode; in assemble_lnotab()
3610 *lnotab++ = 255; in assemble_lnotab()
3613 *lnotab++ = 0; in assemble_lnotab()
3614 *lnotab++ = 255; in assemble_lnotab()
3625 lnotab = (unsigned char *) in assemble_lnotab()
[all …]
/external/python/cpython2/Doc/c-api/
Dcode.rst36 …reevars, PyObject *cellvars, PyObject *filename, PyObject *name, int firstlineno, PyObject *lnotab)
/external/python/cpython2/Doc/library/
Dnew.rst49 …als, stacksize, flags, codestring, constants, names, varnames, filename, name, firstlineno, lnotab)