Home
last modified time | relevance | path

Searched refs:lineno_obj (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Python/
D_warnings.c415 PyObject *filename, int lineno, PyObject *lineno_obj, in call_show_warning() argument
449 filename, lineno_obj, Py_None, Py_None, source, in call_show_warning()
476 PyObject *key = NULL, *text = NULL, *result = NULL, *lineno_obj = NULL; in warn_explicit() local
521 lineno_obj = PyLong_FromLong(lineno); in warn_explicit()
522 if (lineno_obj == NULL) in warn_explicit()
530 key = PyTuple_Pack(3, text, category, lineno_obj); in warn_explicit()
592 lineno_obj, sourceline, source) < 0) in warn_explicit()
606 Py_XDECREF(lineno_obj); in warn_explicit()
/external/python/cpython2/Python/
D_warnings.c299 PyObject *key = NULL, *text = NULL, *result = NULL, *lineno_obj = NULL; in warn_explicit() local
337 lineno_obj = PyInt_FromLong(lineno); in warn_explicit()
338 if (lineno_obj == NULL) in warn_explicit()
342 key = PyTuple_Pack(3, text, category, lineno_obj); in warn_explicit()
422 filename, lineno_obj, in warn_explicit()
440 Py_XDECREF(lineno_obj); in warn_explicit()
Dpeephole.c300 PyObject *lineno_obj) in PyCode_Optimize() argument
318 assert(PyString_Check(lineno_obj)); in PyCode_Optimize()
319 lineno = (unsigned char*)PyString_AS_STRING(lineno_obj); in PyCode_Optimize()
320 tabsiz = PyString_GET_SIZE(lineno_obj); in PyCode_Optimize()
/external/python/cpython2/Include/
Dcode.h111 PyObject *names, PyObject *lineno_obj);
/external/python/cpython3/Modules/
D_tracemalloc.c1191 PyObject *frame_obj, *lineno_obj; in frame_to_pyobject() local
1200 lineno_obj = PyLong_FromUnsignedLong(frame->lineno); in frame_to_pyobject()
1201 if (lineno_obj == NULL) { in frame_to_pyobject()
1205 PyTuple_SET_ITEM(frame_obj, 1, lineno_obj); in frame_to_pyobject()