Home
last modified time | relevance | path

Searched refs:sourceline (Results 1 – 12 of 12) 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.c342 PyObject *category, PyObject *sourceline) in show_warning() argument
377 if (sourceline) { in show_warning()
384 if (PyUnicode_READY(sourceline) < 1) in show_warning()
387 kind = PyUnicode_KIND(sourceline); in show_warning()
388 data = PyUnicode_DATA(sourceline); in show_warning()
389 len = PyUnicode_GET_LENGTH(sourceline); in show_warning()
396 truncated = PyUnicode_Substring(sourceline, i, len); in show_warning()
400 PyFile_WriteObject(sourceline, f_stderr, Py_PRINT_RAW); in show_warning()
416 PyObject *sourceline, PyObject *source) in call_show_warning() argument
429 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/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/v8/samples/
Dshell.cc391 v8::String::Utf8Value sourceline( in ReportException() local
393 const char* sourceline_string = ToCString(sourceline); in ReportException()
/external/python/cpython3/Lib/test/
Dtest_sys.py395 for i, (filename, lineno, funcname, sourceline) in enumerate(stack):
401 self.assertEqual(sourceline, "g456()")
404 filename, lineno, funcname, sourceline = stack[i+1]
406 self.assertIn(sourceline, ["leave_g.wait()", "entered_g.set()"])
/external/v8/src/
Dd8.cc1560 Local<String> sourceline; in ReportException() local
1561 if (message->GetSourceLine(context).ToLocal(&sourceline)) { in ReportException()
1563 v8::String::Utf8Value sourcelinevalue(isolate, sourceline); in ReportException()
/external/toolchain-utils/dejagnu/gdb_baseline/
Darmv7a-cros-linux-gnueabi18979 PASS: gdb.trace/tracecmd.exp: 1.1a: set tracepoint at sourceline