HomeSort by relevance Sort by last modified time
    Searched refs:line_number (Results 1 - 25 of 296) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/cld/base/
crash.h 13 CrashReason() : filename(0), line_number(0), message(0), depth(0) {}
16 int line_number; member in struct:base::CrashReason
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/
common.py 45 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,
cmake.py 99 def _process_line(self, line_number, line_content):
106 self._handle_style_error(line_number, 'whitespace/parentheses', 5,
110 self._handle_style_error(line_number, 'whitespace/parentheses', 5,
112 self._check_trailing_whitespace(line_number, l)
113 self._check_no_space_cmds(line_number, l)
114 self._check_one_space_cmds(line_number, l)
115 self._check_indent(line_number, line_content)
117 def _check_trailing_whitespace(self, line_number, line_content):
123 self._handle_style_error(line_number, 'whitespace/trailing', 5,
126 def _check_no_space_cmds(self, line_number, line_content)
    [all...]
cpp.py 593 def count(self, line_number):
595 if self.in_a_function and line_number >= self.body_start_position.row:
598 def check(self, error, line_number):
603 line_number: The number of the line to check.
616 error(line_number, 'readability/fn_size', error_level,
    [all...]
xcodeproj_unittest.py 38 def __call__(self, line_number, category, confidence, message):
39 self.handler(self, line_number, category, confidence, message)
47 def handler(error_handler, line_number, category, confidence, message):
48 self.fail('Unexpected error: %d %s %d %s' % (line_number, category, confidence, message))
57 def handler(error_handler, line_number, category, confidence, message):
common_unittest.py 48 def _mock_style_error_handler(self, line_number, category, confidence,
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):
109 self._error_lines.append(line_number)
xml_unittest.py 38 def __call__(self, line_number, category, confidence, message):
39 self._handle_style_error(self, line_number, category, confidence, message)
47 def handle_style_error(mock_error_handler, line_number, category, confidence, message):
48 self.fail('Unexpected error: %d %s %d %s' % (line_number, category, confidence, message))
56 def handle_style_error(mock_error_handler, line_number, category, confidence, message):
58 self.assertEqual(expected_line_number, line_number)
  /external/chromium_org/net/proxy/
proxy_resolver_error_observer.h 20 // Handler for when an error is encountered. |line_number| may be -1
28 virtual void OnPACScriptError(int line_number,
network_delegate_error_observer.cc 22 void NotifyPACScriptError(int line_number, const base::string16& error);
48 int line_number,
53 base::Bind(&Core::NotifyPACScriptError, this, line_number, error));
57 network_delegate_->NotifyPACScriptError(line_number, error);
77 int line_number,
79 core_->NotifyPACScriptError(line_number, error);
network_delegate_error_observer.h 30 virtual void OnPACScriptError(int line_number, const base::string16& error)
  /external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/
tokens.py 40 line_number: The number of the line the token is found in.
50 def __init__(self, string, token_type, line, line_number, values=None):
57 line_number: The line number of the token.
66 self.line_number = line_number
87 return not self.previous or self.previous.line_number != self.line_number
95 return not self.next or self.next.line_number != self.line_number
124 self.values, self.line_number,
    [all...]
tokenizer.py 78 def _CreateToken(self, string, token_type, line, line_number, values=None):
85 line_number: The line number of the token.
93 return tokens.Token(string, token_type, line, line_number, values)
102 line_number = self.__line_number
106 self.__AddToken(self._CreateToken('', Type.BLANK_LINE, line, line_number))
122 line_number))
127 line_number, match.groupdict()))
147 self.__CreateNormalToken(self.mode, normal_token, line, line_number))
149 def __CreateNormalToken(self, mode, string, line, line_number):
156 line_number: The line number within the file
    [all...]
erroroutput.py 31 line = '%d' % error.token.line_number
44 line = 'Line %d, ' % error.token.line_number
tokens_test.py 57 a.line_number = 30
58 b.line_number = 30
63 b.line_number = 31
74 a.line_number = 30
75 b.line_number = 30
78 b.line_number = 31
  /external/chromium_org/third_party/closure_linter/closure_linter/common/
tokens.py 40 line_number: The number of the line the token is found in.
50 def __init__(self, string, token_type, line, line_number, values=None):
57 line_number: The line number of the token.
66 self.line_number = line_number
87 return not self.previous or self.previous.line_number != self.line_number
95 return not self.next or self.next.line_number != self.line_number
124 self.values, self.line_number,
    [all...]
tokenizer.py 78 def _CreateToken(self, string, token_type, line, line_number, values=None):
85 line_number: The line number of the token.
93 return tokens.Token(string, token_type, line, line_number, values)
102 line_number = self.__line_number
106 self.__AddToken(self._CreateToken('', Type.BLANK_LINE, line, line_number))
122 line_number))
127 line_number, match.groupdict()))
147 self.__CreateNormalToken(self.mode, normal_token, line, line_number))
149 def __CreateNormalToken(self, mode, string, line, line_number):
156 line_number: The line number within the file
    [all...]
erroroutput.py 31 line = '%d' % error.token.line_number
44 line = 'Line %d, ' % error.token.line_number
  /external/skia/tools/
sanitize_source_files.py 46 line_number = 0 # Keeps track of line numbers in the source file.
52 line_number += 1
55 line = modifier(line, full_item_path, line_number)
85 def TrailingWhitespaceRemover(line, file_path, line_number):
89 print 'Removing trailing whitespace in %s:%s' % (file_path, line_number)
93 def CrlfReplacer(line, file_path, line_number):
96 print 'Replacing CRLF with LF in %s:%s' % (file_path, line_number)
100 def TabReplacer(line, file_path, line_number):
103 print 'Replacing Tab with whitespace in %s:%s' % (file_path, line_number)
  /external/chromium_org/base/
location.cc 22 int line_number,
26 line_number_(line_number),
75 LocationSnapshot::LocationSnapshot() : line_number(-1) {
82 line_number(location.line_number()) {
  /external/chromium_org/gpu/config/
gpu_test_expectations_parser.h 55 size_t line_number; member in struct:gpu::GPUTestExpectationsParser::GPUTestExpectationEntry
60 bool ParseLine(const std::string& line_data, size_t line_number);
64 GPUTestConfig* config, int32 token, size_t line_number);
69 size_t line_number);
76 void PushErrorMessage(const std::string& message, size_t line_number);
gpu_test_expectations_parser.cc 262 const std::string& line_data, size_t line_number) {
267 entry.line_number = line_number;
299 line_number);
303 if (!UpdateTestConfig(&config, tokens[i], line_number))
306 if (!UpdateTestConfig(&config, token, line_number))
316 line_number);
325 line_number);
338 line_number);
351 line_number);
    [all...]
  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/nasm/
nasmlib.c 131 static long line_number = 0; variable
147 long oldline = line_number;
148 line_number = newline;
154 return line_number;
163 *xline = line_number;
166 if (*xline != line_number)
168 long tmp = line_number - *xline;
169 *xline = line_number;
  /art/runtime/base/
logging_linux.cc 35 data.file, data.line_number, message);
  /external/chromium_org/sync/util/
test_unrecoverable_error_handler.cc 18 ADD_FAILURE_AT(from_here.file_name(), from_here.line_number())
  /external/chromium_org/sync/api/
sync_error_unittest.cc 31 EXPECT_EQ(location.line_number(), error.location().line_number());
46 EXPECT_EQ(location.line_number(), error.location().line_number());
55 EXPECT_EQ(location2.line_number(), error.location().line_number());
72 EXPECT_EQ(location.line_number(), error1.location().line_number());
78 EXPECT_EQ(error1.location().line_number(), error3.location().line_number());
    [all...]

Completed in 1948 milliseconds

1 2 3 4 5 6 7 8 91011>>