Searched refs:sourceline (Results 1 – 8 of 8) sorted by relevance
/third_party/python/Lib/idlelib/ |
D | stackviewer.py | 75 sourceline = linecache.getline(filename, lineno) 76 sourceline = sourceline.strip() 78 item = "%s, line %d: %s" % (modname, lineno, sourceline) 81 lineno, sourceline)
|
D | debugger.py | 402 sourceline = linecache.getline(filename, lineno) 403 sourceline = sourceline.strip() 405 item = "%s, line %d: %s" % (modname, lineno, sourceline) 408 lineno, sourceline)
|
/third_party/python/Python/ |
D | _warnings.c | 483 PyObject *category, PyObject *sourceline) in show_warning() argument 518 if (sourceline) { in show_warning() 525 if (PyUnicode_READY(sourceline) < 1) in show_warning() 528 kind = PyUnicode_KIND(sourceline); in show_warning() 529 data = PyUnicode_DATA(sourceline); in show_warning() 530 len = PyUnicode_GET_LENGTH(sourceline); in show_warning() 537 truncated = PyUnicode_Substring(sourceline, i, len); in show_warning() 541 PyFile_WriteObject(sourceline, f_stderr, Py_PRINT_RAW); in show_warning() 557 PyObject *sourceline, PyObject *source) in call_show_warning() argument 570 show_warning(filename, lineno, text, category, sourceline); in call_show_warning() [all …]
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/ |
D | consistency_tools.py | 473 sourceline = None 478 sourceline = getattr(elem, 'sourceline', None) 482 if fn is None and sourceline is None: 486 return "Line {}: {}".format(sourceline, message) 488 if sourceline is None: 491 return "{}:{}: {}".format(fn, sourceline, message)
|
/third_party/node/src/ |
D | node_errors.cc | 92 std::string sourceline(*encoded_source, encoded_source.length()); in GetErrorSource() local 95 if (sourceline.find("node-do-not-add-exception-line") != std::string::npos) { in GetErrorSource() 96 return sourceline; in GetErrorSource() 154 sourceline.c_str()); in GetErrorSource() 160 static_cast<size_t>(end) > sourceline.size()) { in GetErrorSource() 169 if (sourceline[i] == '\0' || off >= kUnderlineBufsize) { in GetErrorSource() 173 underline_buf[off++] = (sourceline[i] == '\t') ? '\t' : ' '; in GetErrorSource() 176 if (sourceline[i] == '\0' || off >= kUnderlineBufsize) { in GetErrorSource()
|
/third_party/python/Lib/test/ |
D | test_sys.py | 386 for i, (filename, lineno, funcname, sourceline) in enumerate(stack): 392 self.assertEqual(sourceline, "g456()") 395 filename, lineno, funcname, sourceline = stack[i+1] 397 self.assertIn(sourceline, ["leave_g.wait()", "entered_g.set()"]) 453 for i, (filename, lineno, funcname, sourceline) in enumerate(stack): 459 self.assertEqual(sourceline, "g456()") 462 filename, lineno, funcname, sourceline = stack[i+1] 464 self.assertTrue(sourceline.startswith("if leave_g.wait("))
|
/third_party/vk-gl-cts/scripts/khr_util/ |
D | registry.py | 35 …warning('%s:%d, %s %s: ' + fmt, elem.base, elem.sourceline, elem.tag, elem.get('name') or '', *arg… 61 kwargs['location'] = (elem.base, elem.sourceline)
|
/third_party/node/deps/v8/src/d8/ |
D | d8.cc | 2778 Local<String> sourceline; in ReportException() local 2779 if (message->GetSourceLine(context).ToLocal(&sourceline)) { in ReportException() 2781 v8::String::Utf8Value sourcelinevalue(isolate, sourceline); in ReportException()
|