/third_party/python/Parser/ |
D | pegen_errors.c | 272 PyObject *error_line = NULL; in _PyPegen_raise_error_known_location() local 304 error_line = get_error_line_from_tokenizer_buffers(p, lineno); in _PyPegen_raise_error_known_location() 307 error_line = _PyErr_ProgramDecodedTextObject(p->tok->filename, in _PyPegen_raise_error_known_location() 311 if (!error_line) { in _PyPegen_raise_error_known_location() 323 error_line = PyUnicode_DecodeUTF8(p->tok->buf, size, "replace"); in _PyPegen_raise_error_known_location() 326 error_line = get_error_line_from_tokenizer_buffers(p, lineno); in _PyPegen_raise_error_known_location() 329 error_line = PyUnicode_FromStringAndSize("", 0); in _PyPegen_raise_error_known_location() 331 if (!error_line) { in _PyPegen_raise_error_known_location() 345 col_number = _PyPegen_byte_offset_to_character_offset(error_line, col_offset); in _PyPegen_raise_error_known_location() 350 … Py_ssize_t end_col_offset = _PyPegen_byte_offset_to_character_offset(error_line, end_col_number); in _PyPegen_raise_error_known_location() [all …]
|
D | pegen.c | 459 PyObject *error_line = NULL; in _PyPegen_raise_error_known_location() local 491 error_line = get_error_line(p, lineno); in _PyPegen_raise_error_known_location() 494 error_line = _PyErr_ProgramDecodedTextObject(p->tok->filename, in _PyPegen_raise_error_known_location() 498 if (!error_line) { in _PyPegen_raise_error_known_location() 510 error_line = PyUnicode_DecodeUTF8(p->tok->buf, size, "replace"); in _PyPegen_raise_error_known_location() 513 error_line = get_error_line(p, lineno); in _PyPegen_raise_error_known_location() 516 error_line = PyUnicode_FromStringAndSize("", 0); in _PyPegen_raise_error_known_location() 518 if (!error_line) { in _PyPegen_raise_error_known_location() 532 col_number = byte_offset_to_character_offset(error_line, col_offset); in _PyPegen_raise_error_known_location() 534 byte_offset_to_character_offset(error_line, end_col_offset) : in _PyPegen_raise_error_known_location() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/ |
D | failure_signal_handler_test.cc | 117 std::string error_line; in TEST_P() local 118 std::getline(error_output, error_line); in TEST_P() 120 error_line, in TEST_P() 128 EXPECT_THAT(error_line, testing::HasSubstr(" on cpu ")); in TEST_P() 132 std::getline(error_output, error_line); in TEST_P() 133 EXPECT_THAT(error_line, StartsWith("PC: ")); in TEST_P()
|
/third_party/abseil-cpp/absl/debugging/ |
D | failure_signal_handler_test.cc | 117 std::string error_line; in TEST_P() local 118 std::getline(error_output, error_line); in TEST_P() 120 error_line, in TEST_P() 126 std::getline(error_output, error_line); in TEST_P() 127 EXPECT_THAT(error_line, StartsWith("PC: ")); in TEST_P()
|
/third_party/quickjs/ |
D | run-test262.c | 1176 int ret, error_line, pos, pos_line; in eval_buf() local 1181 error_line = pos_line; in eval_buf() 1239 error_line = atoi(p + len + 1); in eval_buf() 1289 longest_match(buf, msg, pos, &pos, pos_line, &error_line); in eval_buf() 1292 filename, error_line, strict_mode, msg); in eval_buf() 1299 filename, error_line, strict_mode, msg); in eval_buf() 1302 filename, error_line, strict_mode); in eval_buf() 1313 longest_match(buf, "runTestCase", pos, &pos, pos_line, &error_line); in eval_buf() 1315 longest_match(buf, p, pos, &pos, pos_line, &error_line); in eval_buf() 1318 fprintf(error_out, "%s:%d: %s%s%s\n", filename, error_line, strict_mode, in eval_buf() [all …]
|
/third_party/gn/src/base/json/ |
D | json_reader.cc | 67 *error_line_out = parser.error_line(); in ReadAndReturnError()
|
D | json_parser.h | 61 int error_line() const;
|
D | json_parser.cc | 116 int JSONParser::error_line() const { in error_line() function in base::internal::JSONParser
|
/third_party/python/Python/ |
D | pythonrun.c | 938 const char* error_line = PyUnicode_AsUTF8AndSize(text, &line_size); in print_exception() local 944 end_offset = (error_line != NULL) ? line_size : -1; in print_exception() 948 if (error_line != NULL && end_offset > line_size + 1) { in print_exception()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_device.c | 3417 queue->error_file, queue->error_line, in _anv_device_report_lost() 3460 queue->error_line = line; in _anv_queue_set_lost()
|
D | anv_private.h | 1057 int error_line; member
|