/third_party/python/Lib/test/ |
H A D | test_trace.py | 138 firstlineno = get_firstlineno(traced_func_linear) 140 expected[(self.my_py_filename, firstlineno + i)] = 1 147 firstlineno = get_firstlineno(traced_func_loop) 149 (self.my_py_filename, firstlineno + 1): 1, 150 (self.my_py_filename, firstlineno + 2): 6, 151 (self.my_py_filename, firstlineno + 3): 5, 152 (self.my_py_filename, firstlineno + 4): 1, 159 firstlineno = get_firstlineno(traced_func_importing) 161 (self.my_py_filename, firstlineno + 1): 1, 201 firstlineno [all...] |
/third_party/python/Objects/clinic/ |
H A D | codeobject.c.h | 8 " qualname, firstlineno, linetable, exceptiontable, freevars=(),\n" 19 PyObject *qualname, int firstlineno, PyObject *linetable, 40 int firstlineno; in code_new() local 122 firstlineno = _PyLong_AsInt(PyTuple_GET_ITEM(args, 13)); in code_new() 123 if (firstlineno == -1 && PyErr_Occurred()) { in code_new() 153 return_value = code_new_impl(type, argcount, posonlyargcount, kwonlyargcount, nlocals, stacksize, flags, code, consts, names, varnames, filename, name, qualname, firstlineno, linetable, exceptiontable, freevars, cellvars); in code_new()
|
/third_party/python/Objects/ |
H A D | codeobject.c | 304 co->co_firstlineno = con->firstlineno; in init_code() 503 PyObject *qualname, int firstlineno, in PyCode_NewWithPosOnlyArgs() 581 .firstlineno = firstlineno, in PyCode_NewWithPosOnlyArgs() 627 int firstlineno, in PyCode_New() 634 name, qualname, firstlineno, in PyCode_New() 656 PyCode_NewEmpty(const char *filename, const char *funcname, int firstlineno) in PyCode_NewEmpty() argument 692 .firstlineno = firstlineno, in PyCode_NewEmpty() 781 _PyLineTable_InitAddressRange(const char *linetable, Py_ssize_t length, int firstlineno, PyCodeAddressRang argument 498 PyCode_NewWithPosOnlyArgs(int argcount, int posonlyargcount, int kwonlyargcount, int nlocals, int stacksize, int flags, PyObject *code, PyObject *consts, PyObject *names, PyObject *varnames, PyObject *freevars, PyObject *cellvars, PyObject *filename, PyObject *name, PyObject *qualname, int firstlineno, PyObject *linetable, PyObject *exceptiontable) PyCode_NewWithPosOnlyArgs() argument 622 PyCode_New(int argcount, int kwonlyargcount, int nlocals, int stacksize, int flags, PyObject *code, PyObject *consts, PyObject *names, PyObject *varnames, PyObject *freevars, PyObject *cellvars, PyObject *filename, PyObject *name, PyObject *qualname, int firstlineno, PyObject *linetable, PyObject *exceptiontable) PyCode_New() argument 1522 code_new_impl(PyTypeObject *type, int argcount, int posonlyargcount, int kwonlyargcount, int nlocals, int stacksize, int flags, PyObject *code, PyObject *consts, PyObject *names, PyObject *varnames, PyObject *filename, PyObject *name, PyObject *qualname, int firstlineno, PyObject *linetable, PyObject *exceptiontable, PyObject *freevars, PyObject *cellvars) code_new_impl() argument [all...] |
/third_party/python/Include/cpython/ |
H A D | code.h | 163 PyCode_NewEmpty(const char *filename, const char *funcname, int firstlineno);
|
/third_party/python/Include/internal/ |
H A D | pycore_code.h | 177 int firstlineno; member 229 int firstlineno,
|
/third_party/python/Python/ |
H A D | marshal.c | 1368 int firstlineno; in r_object() local 1419 firstlineno = (int)r_long(p); in r_object() 1420 if (firstlineno == -1 && PyErr_Occurred()) in r_object() 1436 .firstlineno = firstlineno, in r_object()
|
H A D | compile.c | 2601 int firstlineno; in compiler_function() local 2631 firstlineno = s->lineno; in compiler_function() 2633 firstlineno = ((expr_ty)asdl_seq_GET(decos, 0))->lineno; in compiler_function() 2649 if (!compiler_enter_scope(c, name, scope_type, (void *)s, firstlineno)) { in compiler_function() 2695 int i, firstlineno; in compiler_class() local 2701 firstlineno = s->lineno; in compiler_class() 2703 firstlineno = ((expr_ty)asdl_seq_GET(decos, 0))->lineno; in compiler_class() 2719 COMPILER_SCOPE_CLASS, (void *)s, firstlineno)) { in compiler_class() 7230 assemble_init(struct assembler *a, int nblocks, int firstlineno) in assemble_init() argument 7233 a->a_prevlineno = a->a_lineno = firstlineno; in assemble_init() 8273 guarantee_lineno_for_exits(struct assembler *a, int firstlineno) guarantee_lineno_for_exits() argument [all...] |
/third_party/python/Tools/gdb/ |
H A D | libpython.py | 658 def parse_location_table(firstlineno, linetable): 659 line = firstlineno
|
/third_party/python/Modules/ |
H A D | _testcapimodule.c | 3612 int firstlineno; in code_newempty() local 3615 &filename, &funcname, &firstlineno)) in code_newempty() 3618 return (PyObject *)PyCode_NewEmpty(filename, funcname, firstlineno); in code_newempty()
|