Home
last modified time | relevance | path

Searched refs:lnotab (Results 1 – 20 of 20) 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.c104 unsigned char *lnotab = NULL; /* Iterating over co_lnotab */ in frame_setlineno() local
175 lnotab = (unsigned char *) tmp; in frame_setlineno()
180 addr += lnotab[offset]; in frame_setlineno()
181 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/cpython3/Objects/
Dcodeobject.c102 PyObject *lnotab) in PyCode_New() argument
118 lnotab == NULL || !PyBytes_Check(lnotab)) { in PyCode_New()
216 Py_INCREF(lnotab); in PyCode_New()
217 co->co_lnotab = lnotab; in PyCode_New()
360 PyObject *lnotab; in code_new() local
370 &firstlineno, &lnotab, in code_new()
418 name, firstlineno, lnotab); in code_new()
Dframeobject.c76 unsigned char *lnotab = NULL; /* Iterating over co_lnotab */ in frame_setlineno() local
163 lnotab = (unsigned char *) tmp; in frame_setlineno()
168 addr += lnotab[offset]; in frame_setlineno()
169 line += (signed char)lnotab[offset+1]; in frame_setlineno()
Dlnotab_notes.txt76 that the same line may appear multiple times in the lnotab, either because the
/external/python/cpython3/Python/
Dpeephole.c230 unsigned char *lnotab; in PyCode_Optimize() local
243 lnotab = (unsigned char*)PyBytes_AS_STRING(lnotab_obj); in PyCode_Optimize()
246 if (memchr(lnotab, 255, tabsiz) != NULL) { in PyCode_Optimize()
435 cum_orig_offset += lnotab[i]; in PyCode_Optimize()
441 lnotab[i] = (unsigned char)offset_delta; in PyCode_Optimize()
Dmarshal.c1375 PyObject *lnotab = NULL; in r_object() local
1426 lnotab = r_object(p); in r_object()
1427 if (lnotab == NULL) in r_object()
1435 firstlineno, lnotab); in r_object()
1447 Py_XDECREF(lnotab); in r_object()
Dcompile.c5132 unsigned char *lnotab; in assemble_lnotab() local
5158 lnotab = (unsigned char *) in assemble_lnotab()
5161 *lnotab++ = 255; in assemble_lnotab()
5162 *lnotab++ = 0; in assemble_lnotab()
5196 lnotab = (unsigned char *) in assemble_lnotab()
5198 *lnotab++ = d_bytecode; in assemble_lnotab()
5199 *lnotab++ = k; in assemble_lnotab()
5202 *lnotab++ = 0; in assemble_lnotab()
5203 *lnotab++ = k; in assemble_lnotab()
5214 lnotab = (unsigned char *) in assemble_lnotab()
[all …]
/external/python/cpython3/Lib/
Dtrace.py267 lnotab = _find_executable_linenos(filename)
269 lnotab = {}
275 lnotab, count, encoding)
295 def write_results_file(self, path, lines, lnotab, lines_hit, encoding=None): argument
316 elif lineno in lnotab and not PRAGMA_NOCOVER in line:
/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/cpython3/Include/
Dcode.h143 PyObject *names, PyObject *lnotab);
/external/python/cpython2/Python/
Dmarshal.c1018 PyObject *lnotab = NULL; in r_object() local
1052 lnotab = r_object(p); in r_object()
1053 if (lnotab == NULL) in r_object()
1060 firstlineno, lnotab); in r_object()
1071 Py_XDECREF(lnotab); in r_object()
Dcompile.c3555 unsigned char *lnotab; in assemble_lnotab() local
3582 lnotab = (unsigned char *) in assemble_lnotab()
3585 *lnotab++ = 255; in assemble_lnotab()
3586 *lnotab++ = 0; in assemble_lnotab()
3608 lnotab = (unsigned char *) in assemble_lnotab()
3610 *lnotab++ = d_bytecode; in assemble_lnotab()
3611 *lnotab++ = 255; in assemble_lnotab()
3614 *lnotab++ = 0; in assemble_lnotab()
3615 *lnotab++ = 255; in assemble_lnotab()
3626 lnotab = (unsigned char *) in assemble_lnotab()
[all …]
/external/python/cpython3/Doc/c-api/
Dcode.rst36 …reevars, PyObject *cellvars, PyObject *filename, PyObject *name, int firstlineno, PyObject *lnotab)
/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)
/external/python/cpython3/Doc/data/
Drefcounts.dat252 PyCode_New:PyObject*:lnotab:0: