Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_trace.py114 firstlineno = get_firstlineno(traced_func_linear)
116 expected[(self.my_py_filename, firstlineno + i)] = 1
123 firstlineno = get_firstlineno(traced_func_loop)
125 (self.my_py_filename, firstlineno + 1): 1,
126 (self.my_py_filename, firstlineno + 2): 6,
127 (self.my_py_filename, firstlineno + 3): 5,
128 (self.my_py_filename, firstlineno + 4): 1,
135 firstlineno = get_firstlineno(traced_func_importing)
137 (self.my_py_filename, firstlineno + 1): 1,
183 firstlineno = get_firstlineno(method)
[all …]
Dtest_new.py121 firstlineno = c.co_firstlineno
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/cpython3/Lib/test/
Dtest_trace.py115 firstlineno = get_firstlineno(traced_func_linear)
117 expected[(self.my_py_filename, firstlineno + i)] = 1
124 firstlineno = get_firstlineno(traced_func_loop)
126 (self.my_py_filename, firstlineno + 1): 1,
127 (self.my_py_filename, firstlineno + 2): 6,
128 (self.my_py_filename, firstlineno + 3): 5,
129 (self.my_py_filename, firstlineno + 4): 1,
136 firstlineno = get_firstlineno(traced_func_importing)
138 (self.my_py_filename, firstlineno + 1): 1,
186 firstlineno = get_firstlineno(method)
[all …]
/external/python/cpython2/Objects/
Dcodeobject.c96 PyObject *filename, PyObject *name, int firstlineno, in PyCode_New() argument
142 co->co_firstlineno = firstlineno; in PyCode_New()
152 PyCode_NewEmpty(const char *filename, const char *funcname, int firstlineno) in PyCode_NewEmpty() argument
188 firstlineno, /* firstlineno */ in PyCode_NewEmpty()
284 int firstlineno; in code_new() local
294 &firstlineno, &lnotab, in code_new()
335 name, firstlineno, lnotab); in code_new()
/external/python/cpython2/Lib/hotshot/
Dstats.py80 def __init__(self, filename, firstlineno, funcname): argument
82 self.co_firstlineno = firstlineno
Dlog.py115 filename, firstlineno, funcname = self._stack[-1]
/external/python/cpython3/Objects/
Dcodeobject.c101 PyObject *filename, PyObject *name, int firstlineno, in PyCode_New() argument
215 co->co_firstlineno = firstlineno; in PyCode_New()
225 PyCode_NewEmpty(const char *filename, const char *funcname, int firstlineno) in PyCode_NewEmpty() argument
262 firstlineno, /* firstlineno */ in PyCode_NewEmpty()
359 int firstlineno; in code_new() local
370 &firstlineno, &lnotab, in code_new()
418 name, firstlineno, lnotab); in code_new()
/external/python/cpython3/Doc/c-api/
Dcode.rst36 …*freevars, PyObject *cellvars, PyObject *filename, PyObject *name, int firstlineno, PyObject *lnot…
44 …nction:: PyCodeObject* PyCode_NewEmpty(const char *filename, const char *funcname, int firstlineno)
/external/python/cpython2/Doc/c-api/
Dcode.rst36 …*freevars, PyObject *cellvars, PyObject *filename, PyObject *name, int firstlineno, PyObject *lnot…
44 .. c:function:: int PyCode_NewEmpty(const char *filename, const char *funcname, int firstlineno)
/external/python/cpython2/Include/
Dcode.h78 PyCode_NewEmpty(const char *filename, const char *funcname, int firstlineno);
/external/python/cpython3/Include/
Dcode.h112 PyCode_NewEmpty(const char *filename, const char *funcname, int firstlineno);
/external/python/cpython2/Modules/_ctypes/
Dcallbacks.c102 PyCode_NewEmpty(const char *filename, const char *funcname, int firstlineno) in PyCode_NewEmpty() argument
138 firstlineno, /* firstlineno */ in PyCode_NewEmpty()
/external/python/cpython2/Doc/library/
Dnew.rst49 …als, stacksize, flags, codestring, constants, names, varnames, filename, name, firstlineno, lnotab)
/external/python/cpython3/Python/
Dmarshal.c1374 int firstlineno; in r_object() local
1423 firstlineno = (int)r_long(p); in r_object()
1424 if (firstlineno == -1 && PyErr_Occurred()) in r_object()
1435 firstlineno, lnotab); in r_object()
Dcompile.c5080 assemble_init(struct assembler *a, int nblocks, int firstlineno) in assemble_init() argument
5083 a->a_lineno = firstlineno; in assemble_init()
/external/python/cpython2/Python/
Dmarshal.c1017 int firstlineno; in r_object() local
1051 firstlineno = (int)r_long(p); in r_object()
1060 firstlineno, lnotab); in r_object()
Dcompile.c3491 assemble_init(struct assembler *a, int nblocks, int firstlineno) in assemble_init() argument
3494 a->a_lineno = firstlineno; in assemble_init()
/external/python/cpython2/Modules/
D_testcapimodule.c2298 int firstlineno; in code_newempty() local
2301 &filename, &funcname, &firstlineno)) in code_newempty()
2304 return (PyObject *)PyCode_NewEmpty(filename, funcname, firstlineno); in code_newempty()
/external/python/cpython3/Modules/
D_testcapimodule.c2928 int firstlineno; in code_newempty() local
2931 &filename, &funcname, &firstlineno)) in code_newempty()
2934 return (PyObject *)PyCode_NewEmpty(filename, funcname, firstlineno); in code_newempty()
/external/python/cpython3/Doc/data/
Drefcounts.dat251 PyCode_New:int:firstlineno::
257 PyCode_NewEmpty:int:firstlineno::