Home
last modified time | relevance | path

Searched refs:firstlineno (Results 1 – 12 of 12) 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/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/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/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/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/cpython2/Python/
Dmarshal.c1011 int firstlineno; in r_object() local
1045 firstlineno = (int)r_long(p); in r_object()
1054 firstlineno, lnotab); in r_object()
Dcompile.c3490 assemble_init(struct assembler *a, int nblocks, int firstlineno) in assemble_init() argument
3493 a->a_lineno = firstlineno; in assemble_init()
/external/python/cpython2/Modules/
D_testcapimodule.c2200 int firstlineno; in code_newempty() local
2203 &filename, &funcname, &firstlineno)) in code_newempty()
2206 return (PyObject *)PyCode_NewEmpty(filename, funcname, firstlineno); in code_newempty()