Home
last modified time | relevance | path

Searched refs:sourceline (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython3/Lib/idlelib/
Dstackviewer.py75 sourceline = linecache.getline(filename, lineno)
76 sourceline = sourceline.strip()
78 item = "%s, line %d: %s" % (modname, lineno, sourceline)
81 lineno, sourceline)
Ddebugger.py402 sourceline = linecache.getline(filename, lineno)
403 sourceline = sourceline.strip()
405 item = "%s, line %d: %s" % (modname, lineno, sourceline)
408 lineno, sourceline)
/external/python/cpython2/Lib/idlelib/
DStackViewer.py73 sourceline = linecache.getline(filename, lineno)
74 sourceline = sourceline.strip()
76 item = "%s, line %d: %s" % (modname, lineno, sourceline)
79 lineno, sourceline)
DDebugger.py398 sourceline = linecache.getline(filename, lineno)
400 sourceline = string.strip(sourceline)
402 item = "%s, line %d: %s" % (modname, lineno, sourceline)
405 lineno, sourceline)
/external/python/cpython3/Python/
D_warnings.c489 PyObject *category, PyObject *sourceline) in show_warning() argument
524 if (sourceline) { in show_warning()
531 if (PyUnicode_READY(sourceline) < 1) in show_warning()
534 kind = PyUnicode_KIND(sourceline); in show_warning()
535 data = PyUnicode_DATA(sourceline); in show_warning()
536 len = PyUnicode_GET_LENGTH(sourceline); in show_warning()
543 truncated = PyUnicode_Substring(sourceline, i, len); in show_warning()
547 PyFile_WriteObject(sourceline, f_stderr, Py_PRINT_RAW); in show_warning()
563 PyObject *sourceline, PyObject *source) in call_show_warning() argument
576 show_warning(filename, lineno, text, category, sourceline); in call_show_warning()
[all …]
/external/python/cpython2/Python/
D_warnings.c250 *category, PyObject *sourceline) in show_warning() argument
279 if (sourceline) { in show_warning()
280 char *source_line_str = PyString_AS_STRING(sourceline); in show_warning()
297 PyObject *module, PyObject *registry, PyObject *sourceline) in warn_explicit() argument
408 show_warning(filename, lineno, text, category, sourceline); in warn_explicit()
/external/wayland/protocol/
Dgenerate-shm-formats.py134 last_line = node.sourceline
/external/pdfium/fxjs/xfa/
Dcfxjse_context.cpp318 v8::String::Utf8Value sourceline( in ExecuteScript() local
320 fprintf(stderr, "Line %d: %s\n", linenum, *sourceline); in ExecuteScript()
/external/python/cpython2/Lib/test/
Dtest_sys.py356 for i, (filename, lineno, funcname, sourceline) in enumerate(stack):
362 self.assertEqual(sourceline, "g456()")
365 filename, lineno, funcname, sourceline = stack[i+1]
367 self.assertIn(sourceline, ["leave_g.wait()", "entered_g.set()"])
/external/deqp/scripts/khr_util/
Dregistry.py35 …warning('%s:%d, %s %s: ' + fmt, elem.base, elem.sourceline, elem.tag, elem.get('name') or '', *arg…
61 kwargs['location'] = (elem.base, elem.sourceline)
/external/python/cpython3/Lib/test/
Dtest_sys.py416 for i, (filename, lineno, funcname, sourceline) in enumerate(stack):
422 self.assertEqual(sourceline, "g456()")
425 filename, lineno, funcname, sourceline = stack[i+1]
427 self.assertIn(sourceline, ["leave_g.wait()", "entered_g.set()"])