Home
last modified time | relevance | path

Searched refs:firstlineno (Results 1 – 9 of 9) sorted by relevance

/third_party/python/Lib/test/
Dtest_trace.py132 firstlineno = get_firstlineno(traced_func_linear)
134 expected[(self.my_py_filename, firstlineno + i)] = 1
141 firstlineno = get_firstlineno(traced_func_loop)
143 (self.my_py_filename, firstlineno + 1): 1,
144 (self.my_py_filename, firstlineno + 2): 6,
145 (self.my_py_filename, firstlineno + 3): 5,
146 (self.my_py_filename, firstlineno + 4): 1,
153 firstlineno = get_firstlineno(traced_func_importing)
155 (self.my_py_filename, firstlineno + 1): 1,
195 firstlineno = get_firstlineno(traced_decorated_function)
[all …]
/third_party/python/Objects/clinic/
Dcodeobject.c.h18 int firstlineno, PyObject *linetable, PyObject *freevars,
37 int firstlineno; in code_new() local
109 firstlineno = _PyLong_AsInt(PyTuple_GET_ITEM(args, 12)); in code_new()
110 if (firstlineno == -1 && PyErr_Occurred()) { in code_new()
135 …cals, stacksize, flags, code, consts, names, varnames, filename, name, firstlineno, linetable, fre… in code_new()
/third_party/python/Doc/c-api/
Dcode.rst36 …*freevars, PyObject *cellvars, PyObject *filename, PyObject *name, int firstlineno, PyObject *lnot…
43 …*freevars, PyObject *cellvars, PyObject *filename, PyObject *name, int firstlineno, PyObject *lnot…
49 …nction:: PyCodeObject* PyCode_NewEmpty(const char *filename, const char *funcname, int firstlineno)
/third_party/python/Include/cpython/
Dcode.h130 PyCode_NewEmpty(const char *filename, const char *funcname, int firstlineno);
178 void PyLineTable_InitAddressRange(const char *linetable, Py_ssize_t length, int firstlineno, PyCode…
/third_party/python/Objects/
Dcodeobject.c121 PyObject *filename, PyObject *name, int firstlineno, in PyCode_NewWithPosOnlyArgs() argument
260 co->co_firstlineno = firstlineno; in PyCode_NewWithPosOnlyArgs()
279 PyObject *filename, PyObject *name, int firstlineno, in PyCode_New() argument
285 name, firstlineno, linetable); in PyCode_New()
332 PyCode_NewEmpty(const char *filename, const char *funcname, int firstlineno) in PyCode_NewEmpty() argument
371 firstlineno, /* firstlineno */ in PyCode_NewEmpty()
553 int firstlineno, PyObject *linetable, PyObject *freevars, in code_new_impl() argument
621 name, firstlineno, linetable); in code_new_impl()
1258 PyLineTable_InitAddressRange(const char *linetable, Py_ssize_t length, int firstlineno, PyCodeAddre… in PyLineTable_InitAddressRange() argument
1264 range->opaque.computed_line = firstlineno; in PyLineTable_InitAddressRange()
/third_party/python/Python/
Dmarshal.c1318 int firstlineno; in r_object() local
1371 firstlineno = (int)r_long(p); in r_object()
1372 if (firstlineno == -1 && PyErr_Occurred()) in r_object()
1383 firstlineno, linetable); in r_object()
Dcompile.c2329 int firstlineno; in compiler_function() local
2359 firstlineno = s->lineno; in compiler_function()
2361 firstlineno = ((expr_ty)asdl_seq_GET(decos, 0))->lineno; in compiler_function()
2377 if (!compiler_enter_scope(c, name, scope_type, (void *)s, firstlineno)) { in compiler_function()
2427 int i, firstlineno; in compiler_class() local
2433 firstlineno = s->lineno; in compiler_class()
2435 firstlineno = ((expr_ty)asdl_seq_GET(decos, 0))->lineno; in compiler_class()
2452 COMPILER_SCOPE_CLASS, (void *)s, firstlineno)) in compiler_class()
6559 assemble_init(struct assembler *a, int nblocks, int firstlineno) in assemble_init() argument
6562 a->a_prevlineno = a->a_lineno = firstlineno; in assemble_init()
[all …]
/third_party/python/Doc/data/
Drefcounts.dat252 PyCode_NewWithPosOnlyArgs:int:firstlineno::
269 PyCode_New:int:firstlineno::
275 PyCode_NewEmpty:int:firstlineno::
/third_party/python/Modules/
D_testcapimodule.c3437 int firstlineno; in code_newempty() local
3440 &filename, &funcname, &firstlineno)) in code_newempty()
3443 return (PyObject *)PyCode_NewEmpty(filename, funcname, firstlineno); in code_newempty()