Home
last modified time | relevance | path

Searched refs:sourceline (Results 1 – 13 of 13) 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.c480 PyObject *category, PyObject *sourceline) in show_warning() argument
515 if (sourceline) { in show_warning()
522 if (PyUnicode_READY(sourceline) < 1) in show_warning()
525 kind = PyUnicode_KIND(sourceline); in show_warning()
526 data = PyUnicode_DATA(sourceline); in show_warning()
527 len = PyUnicode_GET_LENGTH(sourceline); in show_warning()
534 truncated = PyUnicode_Substring(sourceline, i, len); in show_warning()
538 PyFile_WriteObject(sourceline, f_stderr, Py_PRINT_RAW); in show_warning()
554 PyObject *sourceline, PyObject *source) in call_show_warning() argument
567 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/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/v8/samples/
Dshell.cc366 v8::String::Utf8Value sourceline( in ReportException() local
368 const char* sourceline_string = ToCString(sourceline); in ReportException()
/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.py422 for i, (filename, lineno, funcname, sourceline) in enumerate(stack):
428 self.assertEqual(sourceline, "g456()")
431 filename, lineno, funcname, sourceline = stack[i+1]
433 self.assertIn(sourceline, ["leave_g.wait()", "entered_g.set()"])
/external/v8/src/d8/
Dd8.cc1993 Local<String> sourceline; in ReportException() local
1994 if (message->GetSourceLine(context).ToLocal(&sourceline)) { in ReportException()
1996 v8::String::Utf8Value sourcelinevalue(isolate, sourceline); in ReportException()
/external/toolchain-utils/deprecated/dejagnu/gdb_baseline/
Darmv7a-cros-linux-gnueabi18979 PASS: gdb.trace/tracecmd.exp: 1.1a: set tracepoint at sourceline