Home
last modified time | relevance | path

Searched refs:line_number (Results 1 – 25 of 80) sorted by relevance

1234

/external/webkit/Tools/Scripts/webkitpy/style/checkers/
Dcpp.py571 def count(self, line_number): argument
573 if self.in_a_function and line_number >= self.body_start_position.row:
576 def check(self, error, line_number): argument
594 error(line_number, 'readability/fn_size', error_level,
809 for line_number in range(len(lines)):
810 self.lines.append(cleanse_comments(lines[line_number]))
811 elided = self.collapse_strings(lines[line_number])
866 line_number = position.row
884 return Position(line_number, current_column)
887 line_number += 1
[all …]
Dcommon.py45 for line_number in range(len(lines)):
46 if not lines[line_number].endswith("\r"):
49 self._handle_style_error(line_number + 1, # Correct for offset.
55 lines[line_number] = lines[line_number].rstrip("\r")
70 for line_number, line in enumerate(lines):
72 self.handle_style_error(line_number + 1,
Dcommon_unittest.py48 def _mock_style_error_handler(self, line_number, category, confidence, argument
51 error = (line_number, category, confidence, message)
64 expected_errors = [(line_number, self._category, self._confidence,
66 for line_number in error_lines]
105 def style_error_handler(line_number, category, confidence, message): argument
109 self._error_lines.append(line_number)
Dchangelog_unittest.py36 def handle_style_error(line_number, category, confidence, message): argument
37 …self.fail('Unexpected error: %d %s %d %s for\n%s' % (line_number, category, confidence, message, c…
45 def handle_style_error(line_number, category, confidence, message): argument
47 self.assertEquals(expected_line_number, line_number)
57 def mock_should_line_be_checked(self, line_number): argument
58 return line_number in self.lines_to_check
Dxml_unittest.py36 def handle_style_error(line_number, category, confidence, message): argument
37 … self.fail('Unexpected error: %d %s %d %s' % (line_number, category, confidence, message))
42 def handle_style_error(line_number, category, confidence, message): argument
44 self.assertEquals(expected_line_number, line_number)
Dtext_unittest.py44 def error_for_test(line_number, category, confidence, message): argument
55 def error_for_test(line_number, category, confidence, message): argument
57 self.assertEquals(expected_line_number, line_number)
Dpython.py43 def _pep8_handle_error(line_number, offset, text, check): argument
52 self._handle_style_error(line_number, category, 5, pep8_message)
Dpython_unittest.py49 def _mock_handle_style_error(line_number, category, confidence, argument
51 error = (line_number, category, confidence, message)
/external/webkit/Tools/Scripts/webkitpy/style/
Derror_handlers.py126 def should_line_be_checked(self, line_number): argument
129 return self._line_numbers is None or line_number in self._line_numbers
131 def __call__(self, line_number, category, confidence, message): argument
137 if not self.should_line_be_checked(line_number):
156 line_number=line_number,
Derror_handlers_unittest.py76 def _call_error_handler(self, handle_error, confidence, line_number=100): argument
78 handle_error(line_number=line_number,
179 self._call_error_handler(error_handler, confidence, line_number=60)
184 self._call_error_handler(error_handler, confidence, line_number=50)
/external/bison/lib/
Derror.c69 unsigned int line_number, const char *message,
234 unsigned int line_number, const char *message, ...) in error_at_line() argument
243 if (old_line_number == line_number in error_at_line()
250 old_line_number = line_number; in error_at_line()
281 __fwprintf (stderr, L"%s:%d: ", file_name, line_number); in error_at_line()
284 fprintf (stderr, "%s:%d: ", file_name, line_number); in error_at_line()
/external/chromium/net/proxy/
Dproxy_resolver_js_bindings.cc26 ErrorNetlogParams(int line_number, in ErrorNetlogParams() argument
28 : line_number_(line_number), in ErrorNetlogParams()
142 virtual void OnError(int line_number, const string16& message) { in OnError() argument
144 if (line_number == -1) in OnError()
147 VLOG(1) << "PAC-error: " << "line: " << line_number << ": " << message; in OnError()
152 new ErrorNetlogParams(line_number, message)); in OnError()
/external/webkit/Tools/Scripts/webkitpy/common/checkout/
Ddiff_parser.py111 def add_new_line(self, line_number, line): argument
112 self.lines.append((0, line_number, line))
114 def add_deleted_line(self, line_number, line): argument
115 self.lines.append((line_number, 0, line))
/external/chromium/base/
Dtracked.cc17 int line_number) in Location() argument
20 line_number_(line_number) { in Location()
112 return -1 == tracked_births_->location().line_number(); in MissingBirthplace()
Dtracked.h44 Location(const char* function_name, const char* file_name, int line_number);
65 int line_number() const { return line_number_; } in line_number() function
/external/gtest/include/gtest/
Dgtest-test-part.h61 int line_number, in TestPartResult() argument
65 line_number_(line_number), in TestPartResult()
79 int line_number() const { return line_number_; } in line_number() function
/external/protobuf/gtest/include/gtest/
Dgtest-test-part.h61 int line_number, in TestPartResult() argument
65 line_number_(line_number), in TestPartResult()
79 int line_number() const { return line_number_; } in line_number() function
/external/grub/lib/
Ddevice.c517 int line_number = 0; in read_device_map() local
526 line_number++; in read_device_map()
543 show_error (line_number, "No open parenthesis found"); in read_device_map()
550 show_error (line_number, "Bad drive name"); in read_device_map()
561 show_error (line_number, "Bad device number"); in read_device_map()
566 show_warning (line_number, in read_device_map()
577 show_error (line_number, "No close parenthesis found"); in read_device_map()
588 show_error (line_number, "No filename found"); in read_device_map()
601 show_error (line_number, "Duplicated entry found"); in read_device_map()
/external/chromium/testing/gtest/test/
Dgtest-test-part_test.cc71 EXPECT_EQ(42, result.line_number()); in TEST_F()
119 TEST_F(TestPartResultTest, line_number) { in TEST_F() argument
120 EXPECT_EQ(10, r1_.line_number()); in TEST_F()
121 EXPECT_EQ(-1, r2_.line_number()); in TEST_F()
/external/chromium/sdch/open-vcdiff/src/gtest/
Dgtest-spi.h53 int line_number, in TestPartResult() argument
57 line_number_(line_number), in TestPartResult()
70 int line_number() const { return line_number_; } in line_number() function
/external/protobuf/gtest/test/
Dgtest-test-part_test.cc70 TEST_F(TestPartResultTest, line_number) { in TEST_F() argument
71 EXPECT_EQ(10, r1_.line_number()); in TEST_F()
72 EXPECT_EQ(-1, r2_.line_number()); in TEST_F()
/external/gtest/test/
Dgtest-test-part_test.cc45 TEST_F(TestPartResultTest, line_number) { in TEST_F() argument
46 EXPECT_EQ(10, r1_.line_number()); in TEST_F()
47 EXPECT_EQ(-1, r2_.line_number()); in TEST_F()
/external/emma/core/java12/com/vladium/jcd/cls/attribute/
DLineNumber_info.java46 public LineNumber_info (final int start_pc, final int line_number) in LineNumber_info() argument
49 m_line_number = line_number; in LineNumber_info()
/external/webkit/Tools/iExploder/iexploder-1.7.2/src/
Diexploder.rb717 0.upto(tag_count) do |line_number|
719 if lines.include?(line_number)
720 tag_data = all_tags[line_number]
721 elsif required_tags.key?(line_number)
722 tag_data = "<" + required_tags[line_number] + ">"
725 if line_number < body_start
/external/v8/src/
Dprofile-generator-inl.h52 int line_number, in CodeEntry() argument
58 line_number_(line_number), in CodeEntry()

1234