Searched refs:co_linetable (Results 1 - 11 of 11) sorted by relevance
/third_party/python/Lib/test/ |
H A D | test_code.py | 238 co.co_linetable, 278 ("co_linetable", code2.co_linetable), 315 co.co_linetable, 338 new_code = code = func.__code__.replace(co_linetable=b'') 426 new_code = func.__code__.replace(co_linetable=b'') 443 code_b = code_a.replace(co_linetable=b"") 553 it = iter(code.co_linetable) 692 co_linetable=bytes(
|
H A D | test_compile.py | 661 # Merging equal co_linetable is not a strict requirement 669 self.assertIs(f1.__code__.co_linetable, f2.__code__.co_linetable)
|
H A D | test_dis.py | 199 bug42562.__code__ = bug42562.__code__.replace(co_linetable=b'\xf8') 1619 code_without_location_table = code.replace(co_linetable=b'')
|
H A D | test_exceptions.py | 2666 f.__code__ = f.__code__.replace(co_linetable=b'\xf8\xf8\xf8\xf9\xf8\xf8\xf8')
|
/third_party/python/Objects/clinic/ |
H A D | codeobject.c.h | 165 " co_qualname=None, co_linetable=None, co_exceptiontable=None)\n" 182 PyBytesObject *co_linetable, 189 static const char * const _keywords[] = {"co_argcount", "co_posonlyargcount", "co_kwonlyargcount", "co_nlocals", "co_stacksize", "co_flags", "co_firstlineno", "co_code", "co_consts", "co_names", "co_varnames", "co_freevars", "co_cellvars", "co_filename", "co_name", "co_qualname", "co_linetable", "co_exceptiontable", NULL}; in code_replace() 209 PyBytesObject *co_linetable = (PyBytesObject *)self->co_linetable; in code_replace() local 383 _PyArg_BadArgument("replace", "argument 'co_linetable'", "bytes", args[16]); in code_replace() 386 co_linetable = (PyBytesObject *)args[16]; in code_replace() 397 return_value = code_replace_impl(self, co_argcount, co_posonlyargcount, co_kwonlyargcount, co_nlocals, co_stacksize, co_flags, co_firstlineno, co_code, co_consts, co_names, co_varnames, co_freevars, co_cellvars, co_filename, co_name, co_qualname, co_linetable, co_exceptiontable); in code_replace()
|
/third_party/python/Objects/ |
H A D | codeobject.c | 306 co->co_linetable = con->linetable; in init_code() 717 /* Use co_linetable to compute the line number from a bytecode index, addrq. See 794 assert(co->co_linetable != NULL); in _PyCode_InitAddressRange() 795 const char *linetable = PyBytes_AS_STRING(co->co_linetable); in _PyCode_InitAddressRange() 796 Py_ssize_t length = PyBytes_GET_SIZE(co->co_linetable); in _PyCode_InitAddressRange() 1632 Py_XDECREF(co->co_linetable); in code_dealloc() 1730 eq = PyObject_RichCompareBool(co->co_linetable, cp->co_linetable, Py_EQ); in code_richcompare() 1771 Py_hash_t h4 = PyObject_Hash(co->co_linetable); in code_hash() 1802 {"co_linetable", T_OBJEC 1904 code_replace_impl(PyCodeObject *self, int co_argcount, int co_posonlyargcount, int co_kwonlyargcount, int co_nlocals, int co_stacksize, int co_flags, int co_firstlineno, PyBytesObject *co_code, PyObject *co_consts, PyObject *co_names, PyObject *co_varnames, PyObject *co_freevars, PyObject *co_cellvars, PyObject *co_filename, PyObject *co_name, PyObject *co_qualname, PyBytesObject *co_linetable, PyBytesObject *co_exceptiontable) code_replace_impl() argument [all...] |
/third_party/python/Include/cpython/ |
H A D | code.h | 90 PyObject *co_linetable; /* bytes object that holds location info */ \
|
/third_party/python/Tools/scripts/ |
H A D | deepfreeze.py | 247 co_linetable = self.generate(name + "_linetable", code.co_linetable) 286 self.write(f".co_linetable = {co_linetable},")
|
H A D | umarshal.py | 291 retval.co_linetable = self.r_object()
|
/third_party/python/Tools/gdb/ |
H A D | libpython.py | 709 co_linetable = self.pyop_field('co_linetable').proxyval(set()) 718 for addr, end_addr, line in parse_location_table(lineno, co_linetable):
|
/third_party/python/Python/ |
H A D | marshal.c | 573 w_object(co->co_linetable, p); in w_complex_object()
|
Completed in 18 milliseconds