/external/python/cpython2/Lib/test/ |
D | test_new.py | 122 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/ |
D | pyassem.py | 506 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/ |
D | codeobject.c | 97 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()
|
D | frameobject.c | 104 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()
|
D | lnotab_notes.txt | 69 that the same line may appear multiple times in the lnotab, either because the
|
/external/python/cpython3/Objects/ |
D | codeobject.c | 122 PyObject *lnotab) in PyCode_NewWithPosOnlyArgs() argument 140 lnotab == NULL || !PyBytes_Check(lnotab)) { in PyCode_NewWithPosOnlyArgs() 253 Py_INCREF(lnotab); in PyCode_NewWithPosOnlyArgs() 254 co->co_lnotab = lnotab; in PyCode_NewWithPosOnlyArgs() 272 PyObject *lnotab) in PyCode_New() argument 277 name, firstlineno, lnotab); in PyCode_New() 463 PyObject *lnotab; in code_new() local 473 &firstlineno, &lnotab, in code_new() 536 name, firstlineno, lnotab); in code_new()
|
D | lnotab_notes.txt | 7 for lnotab to contain bytecode offsets that are no longer valid (for example 78 that the same line may appear multiple times in the lnotab, either because the
|
/external/python/cpython3/Python/ |
D | peephole.c | 237 unsigned char *lnotab; in PyCode_Optimize() local 250 lnotab = (unsigned char*)PyBytes_AS_STRING(lnotab_obj); in PyCode_Optimize() 259 if (lnotab[i] == 255) { in PyCode_Optimize() 471 cum_orig_offset += lnotab[i]; in PyCode_Optimize() 477 lnotab[i] = (unsigned char)offset_delta; in PyCode_Optimize()
|
D | marshal.c | 1315 PyObject *lnotab = NULL; in r_object() local 1370 lnotab = r_object(p); in r_object() 1371 if (lnotab == NULL) in r_object() 1385 firstlineno, lnotab); in r_object() 1397 Py_XDECREF(lnotab); in r_object()
|
D | compile.c | 5604 unsigned char *lnotab; in assemble_lnotab() local 5630 lnotab = (unsigned char *) in assemble_lnotab() 5633 *lnotab++ = 255; in assemble_lnotab() 5634 *lnotab++ = 0; in assemble_lnotab() 5668 lnotab = (unsigned char *) in assemble_lnotab() 5670 *lnotab++ = d_bytecode; in assemble_lnotab() 5671 *lnotab++ = k; in assemble_lnotab() 5674 *lnotab++ = 0; in assemble_lnotab() 5675 *lnotab++ = k; in assemble_lnotab() 5686 lnotab = (unsigned char *) in assemble_lnotab() [all …]
|
/external/python/cpython3/Doc/c-api/ |
D | code.rst | 36 …reevars, PyObject *cellvars, PyObject *filename, PyObject *name, int firstlineno, PyObject *lnotab) 43 …reevars, PyObject *cellvars, PyObject *filename, PyObject *name, int firstlineno, PyObject *lnotab)
|
/external/python/cpython2/Lib/ |
D | trace.py | 328 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/Lib/ |
D | trace.py | 267 lnotab = _find_executable_linenos(filename) 269 lnotab = {} 275 lnotab, count, encoding) 296 def write_results_file(self, path, lines, lnotab, lines_hit, encoding=None): argument 317 elif lineno in lnotab and not PRAGMA_NOCOVER in line:
|
/external/python/cpython3/Lib/test/ |
D | test_peepholer.py | 46 lnotab = list(dis.findlinestarts(code)) 49 min_bytecode = min(t[0] for t in lnotab) 50 max_bytecode = max(t[0] for t in lnotab)
|
/external/python/cpython3/Include/cpython/ |
D | code.h | 159 PyObject *names, PyObject *lnotab);
|
/external/python/cpython2/Python/ |
D | marshal.c | 1018 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()
|
D | compile.c | 3555 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/cpython2/Doc/c-api/ |
D | code.rst | 36 …reevars, PyObject *cellvars, PyObject *filename, PyObject *name, int firstlineno, PyObject *lnotab)
|
/external/python/cpython2/Doc/library/ |
D | new.rst | 49 …als, stacksize, flags, codestring, constants, names, varnames, filename, name, firstlineno, lnotab)
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 253 PyCode_NewWithPosOnlyArgs:PyObject*:lnotab:0: 270 PyCode_New:PyObject*:lnotab:0:
|