Searched refs:stack_level (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Include/ |
D | warnings.h | 14 Py_ssize_t stack_level); 17 Py_ssize_t stack_level, 25 Py_ssize_t stack_level,
|
/external/python/cpython3/Python/ |
D | _warnings.c | 673 setup_context(Py_ssize_t stack_level, PyObject **filename, int *lineno, in setup_context() argument 682 if (stack_level <= 0 || is_internal_frame(f)) { in setup_context() 683 while (--stack_level > 0 && f != NULL) { in setup_context() 688 while (--stack_level > 0 && f != NULL) { in setup_context() 838 do_warn(PyObject *message, PyObject *category, Py_ssize_t stack_level, in do_warn() argument 844 if (!setup_context(stack_level, &filename, &lineno, &module, ®istry)) in do_warn() 989 Py_ssize_t stack_level, PyObject *source) in warn_unicode() argument 996 res = do_warn(message, category, stack_level, source); in warn_unicode() 1006 PyObject *category, Py_ssize_t stack_level, in _PyErr_WarnFormatV() argument 1016 res = warn_unicode(category, message, stack_level, source); in _PyErr_WarnFormatV() [all …]
|
/external/python/cpython2/Python/ |
D | _warnings.c | 449 setup_context(Py_ssize_t stack_level, PyObject **filename, int *lineno, in setup_context() argument 456 while (--stack_level > 0 && f != NULL) in setup_context() 594 do_warn(PyObject *message, PyObject *category, Py_ssize_t stack_level) in do_warn() argument 599 if (!setup_context(stack_level, &filename, &lineno, &module, ®istry)) in do_warn() 615 Py_ssize_t stack_level = 1; in warnings_warn() local 618 &message, &category, &stack_level)) in warnings_warn() 624 return do_warn(message, category, stack_level); in warnings_warn() 716 PyErr_WarnEx(PyObject *category, const char *text, Py_ssize_t stack_level) in PyErr_WarnEx() argument 726 res = do_warn(message, category, stack_level); in PyErr_WarnEx()
|
/external/python/cpython3/Doc/c-api/ |
D | exceptions.rst | 299 .. c:function:: int PyErr_WarnEx(PyObject *category, const char *message, Py_ssize_t stack_level) 302 below) or *NULL*; the *message* argument is a UTF-8 encoded string. *stack_level* is a 304 the currently executing line of code in that stack frame. A *stack_level* of 1 344 .. c:function:: int PyErr_WarnFormat(PyObject *category, Py_ssize_t stack_level, const char *format… 353 .. c:function:: int PyErr_ResourceWarning(PyObject *source, Py_ssize_t stack_level, const char *for…
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 612 PyErr_ResourceWarning:Py_ssize_t:stack_level:: 709 PyErr_WarnEx:Py_ssize_t:stack_level:: 729 PyErr_WarnFormat:Py_ssize_t:stack_level::
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 354 PyErr_WarnEx:Py_ssize_t:stack_level::
|