/third_party/python/Lib/test/test_importlib/source/ |
H A D | test_source_encoding.py | 34 source_line = "{0} = '{1}'\n".format(variable, character) 49 source_lines.append(self.source_line.encode(encoding)) 62 self.run_test(self.source_line.encode('utf-8')) 77 self.run_test(codecs.BOM_UTF8 + self.source_line.encode('utf-8'))
|
/third_party/python/Python/ |
H A D | traceback.c | 787 PyObject* source_line = NULL; in tb_displayline() local 790 margin_indent, margin, &truncation, &source_line); in tb_displayline() 791 if (rc != 0 || !source_line) { in tb_displayline() 799 const Py_ssize_t source_line_len = PyUnicode_GET_LENGTH(source_line); in tb_displayline() 835 assert(source_line); in tb_displayline() 836 Py_ssize_t start_offset = _PyPegen_byte_offset_to_character_offset(source_line, start_col_byte_offset); in tb_displayline() 842 Py_ssize_t end_offset = _PyPegen_byte_offset_to_character_offset(source_line, end_col_byte_offset); in tb_displayline() 855 int res = extract_anchors_from_line(filename, source_line, start_offset, end_offset, in tb_displayline() 865 const char *source_line_str = PyUnicode_AsUTF8(source_line); in tb_displayline() 900 Py_XDECREF(source_line); in tb_displayline() [all...] |
H A D | _warnings.c | 530 /* Print " source_line\n" */ in show_warning() 985 PyObject *source_line; in get_source_line() local 1027 source_line = PyList_GetItem(source_list, lineno-1); in get_source_line() 1028 Py_XINCREF(source_line); in get_source_line() 1030 return source_line; in get_source_line() 1047 PyObject *source_line = NULL; in warnings_warn_explicit() local 1068 source_line = get_source_line(tstate->interp, module_globals, lineno); in warnings_warn_explicit() 1069 if (source_line == NULL && PyErr_Occurred()) { in warnings_warn_explicit() 1074 registry, source_line, sourceobj); in warnings_warn_explicit() 1075 Py_XDECREF(source_line); in warnings_warn_explicit() [all...] |
/third_party/skia/third_party/externals/angle2/tools/android/modularization/convenience/ |
H A D | lookup_dep.py | 214 for source_line in sources_contents: 215 source_path = pathlib.Path(source_line.strip())
|
/third_party/selinux/libsepol/src/ |
H A D | assertion.c | 53 avrule->source_line, avrule->source_filename, avrule->line, policy_name(p), in report_failure() 184 avrule->source_line, avrule->source_filename, avrule->line, policy_name(p), in report_assertion_extended_permissions() 200 avrule->source_line, avrule->source_filename, avrule->line, policy_name(p), in report_assertion_extended_permissions()
|
H A D | link.c | 1302 new_rule->source_line = cur->source_line; in copy_avrule_list()
|
H A D | expand.c | 2661 avrule->source_line = source_rule->source_line; in copy_neverallow()
|
H A D | module_to_cil.c | 1195 cil_println(0, ";;* lmx %lu %s\n",avrule->source_line, avrule->source_filename); in avrule_list_to_cil()
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
H A D | ReactorDebugInfo.cpp | 96 location.line = frame.source_line(); in getCallerBacktrace()
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
H A D | policydb.h | 298 unsigned long source_line; member
|
/third_party/selinux/checkpolicy/ |
H A D | policy_define.c | 1623 avrule->source_line = source_lineno; in define_compute_type_helper() 2058 avrule->source_line = source_lineno; in define_te_avtab_xperms_helper() 2367 dest->source_line = src->source_line; in avrule_cpy() 2519 avrule->source_line = source_lineno; in define_te_avtab_helper()
|
/third_party/skia/third_party/externals/expat/expat/lib/ |
H A D | xmlparse.c | 583 ptrdiff_t bytesMore, int source_line, 587 int source_line, 7673 const char *after, ptrdiff_t bytesMore, int source_line, in accountingReportDiff() 7680 levelsAwayFromRootParser, source_line, 10, ""); in accountingReportDiff() 7709 const char *after, int source_line, in accountingDiffTolerated() 7756 bytesMore, source_line, account); in accountingDiffTolerated() 7671 accountingReportDiff(XML_Parser rootParser, unsigned int levelsAwayFromRootParser, const char *before, const char *after, ptrdiff_t bytesMore, int source_line, enum XML_Account account) accountingReportDiff() argument 7708 accountingDiffTolerated(XML_Parser originParser, int tok, const char *before, const char *after, int source_line, enum XML_Account account) accountingDiffTolerated() argument
|
/third_party/python/Modules/expat/ |
H A D | xmlparse.c | 572 ptrdiff_t bytesMore, int source_line, 576 int source_line, 7697 const char *after, ptrdiff_t bytesMore, int source_line, in accountingReportDiff() 7704 levelsAwayFromRootParser, source_line, 10, ""); in accountingReportDiff() 7733 const char *after, int source_line, in accountingDiffTolerated() 7780 bytesMore, source_line, account); in accountingDiffTolerated() 7695 accountingReportDiff(XML_Parser rootParser, unsigned int levelsAwayFromRootParser, const char *before, const char *after, ptrdiff_t bytesMore, int source_line, enum XML_Account account) accountingReportDiff() argument 7732 accountingDiffTolerated(XML_Parser originParser, int tok, const char *before, const char *after, int source_line, enum XML_Account account) accountingDiffTolerated() argument
|
/third_party/python/Lib/test/ |
H A D | test_traceback.py | 929 location, source_line = tb_lines[-2], tb_lines[-1] 932 self.assertTrue(source_line.startswith(' raise'))
|
/third_party/selinux/libsepol/cil/src/ |
H A D | cil_binary.c | 4629 avrule->source_line = node->line; in __cil_init_sepol_avrule() 4634 avrule->source_line = hll_line + node->hll_offset - source_node->hll_offset - 1; in __cil_init_sepol_avrule()
|