/external/chromium_org/tools/telemetry/telemetry/unittest/ |
options_for_unittests.py | 12 _options = None variable 15 global _options 18 _options = options 22 if not _options: 25 return _options.Copy() 28 if _options:
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/steps/ |
postdiff.py | 46 description = self._options.description or "Patch" 47 comment_text = self._options.comment 50 self._tool.bugs.add_patch_to_bug(bug_id, diff, description, comment_text=comment_text, mark_for_review=self._options.review, mark_for_commit_queue=self._options.request_commit) 51 if self._options.open_bug:
|
checkstyle.py | 44 if not self._options.check_style: 48 if self._options.git_commit: 50 args.append(self._options.git_commit) 55 if self._options.check_style_filter: 57 args.append(self._options.check_style_filter) 62 if self._options.non_interactive:
|
cleanworkingdirectory.py | 44 if not self._options.clean: 47 if self._tool.scm().has_working_directory_changes() and not self._options.force_clean:
|
discardlocalchanges.py | 44 if not self._options.clean: 47 if not self._options.force_clean:
|
abstractstep.py | 38 self._options = options 51 "changed_files": lambda self, state: self._tool.scm().changed_files(self._options.git_commit), 52 "diff": lambda self, state: self._tool.scm().create_patch(self._options.git_commit, changed_files=self._changed_files(state)), 54 "changelogs": lambda self, state: self._tool.checkout().modified_changelogs(self._options.git_commit, changed_files=self._changed_files(state)),
|
ensurelocalcommitifneeded.py | 46 if self._options.local_commit and not self._tool.scm().supports_local_commits():
|
runtests.py | 53 if not self._options.test: 56 if not self._options.non_interactive: 90 if self._options.non_interactive: 105 if self._options.quiet:
|
commit.py | 65 if self._options.non_interactive: 71 self._commit_message = self._tool.checkout().commit_message_for_this_commit(self._options.git_commit).message() 80 force_squash = self._options.non_interactive 88 commit_text = scm.commit_with_message(self._commit_message, git_commit=self._options.git_commit, username=username, password=password, force_squash=force_squash, changed_files=self._changed_files(state)) 100 if self._options.non_interactive:
|
/external/chromium_org/build/android/gyp/ |
write_ordered_libraries.py | 31 _options = None variable 37 return '%s/%s' % (_options.libraries_dir, library_name) 47 readelf_cmd = [_options.readelf, 106 global _options 107 _options, _ = parser.parse_args() 109 libraries = build_utils.ParseGypList(_options.input_libraries) 116 build_utils.WriteJson(libraries, _options.output, only_if_changed=True) 118 if _options.stamp: 119 build_utils.Touch(_options.stamp)
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
possible_browser.py | 12 self._options = options 23 return self._options
|
/external/chromium_org/media/tools/bug_hunter/ |
bug_hunter.py | 178 self._options = options 195 comments_feed = self._client.get_comments(self._options.project_name, 213 if self._options.interval_value: 218 **{self._options.interval_unit: self._options.interval_value}) 222 query = gdata.projecthosting.client.Query(text_query=self._options.query, 226 feed = self._client.get_issues(self._options.project_name, query=query) 229 self._options.query) 240 if 'comments' in self._options.email_entries: 244 in self.GetComments(issue_id, self._options.max_comments)] [all...] |
/development/testrunner/ |
runtest.py | 93 self._options = None 177 self._options, self._test_args = parser.parse_args() 179 if (not self._options.only_list_tests 180 and not self._options.all_tests 181 and not self._options.continuous_tests 182 and not self._options.suite 183 and not self._options.test_path 190 if self._options.emulator: 192 elif self._options.device: 194 elif self._options.serial is not None [all...] |
/external/chromium_org/chrome/test/pyautolib/ |
fetch_prebuilt_pyauto.py | 53 self._options, self._args = parser.parse_args() 54 if self._options.latest: 55 self._url = self._GetLastestDownloadURL(self._options.platform) 61 if not self._options.outdir: 64 self._outdir = self._options.outdir 70 if not self._options.platform.startswith('linux'): 73 }[self._options.platform] 80 }[self._options.platform] 94 if self._options.platform == 'win': 100 if self._options.platform == 'mac' [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/ |
manager.py | 77 self._options = options 89 self._finder = LayoutTestFinder(self._port, self._options) 90 self._runner = LayoutTestRunner(self._options, self._port, self._printer, self._results_directory, self._test_is_slow) 93 return self._finder.find_tests(self._options, args) 113 if self._options.order == 'natural': 115 elif self._options.order == 'random': 117 elif self._options.order == 'random-seeded': 130 self._options.slow_time_out_ms if self._test_is_slow(test_file) else self._options.time_out_ms, 132 should_add_missing_baselines=(self._options.new_test_results and not self._test_is_expected_missing(test_file)) [all...] |
layout_test_finder.py | 42 self._options = options 100 if self._options.skip_failing_tests: 104 if self._options.skipped == 'only': 106 elif self._options.skipped == 'ignore': 108 elif self._options.skipped != 'always': 116 if not self._options.run_chunk and not self._options.run_part: 121 chunk_value = self._options.run_chunk or self._options.run_part 136 if self._options.run_chunk [all...] |
/external/chromium_org/chrome/test/pyautolib/chromeos/ |
enable_testing.py | 39 self._options, self._args = parser.parse_args() 48 print manager.EnableChromeTesting(True, self._options.extra_chrome_flags)
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
test_endtoend.py | 175 self._options = client_for_testing.ClientOptions() 176 self._options.server_host = 'localhost' 177 self._options.origin = 'http://localhost' 178 self._options.resource = '/echo' 184 self._options.server_port = _external_server_port 186 self._options.server_port = self.test_port 236 self._run_hybi_test_with_client_options(test_function, self._options) 243 self._options.enable_deflate_stream() 244 client = client_for_testing.create_client(self._options) 257 self._options.enable_deflate_frame( [all...] |
client_for_testing.py | 293 self._options = options 304 request_line = _method_line(self._options.resource) 313 self._options.server_host, 314 self._options.server_port, 315 self._options.use_tls)) 317 if self._options.version is 8: 318 fields.append(_sec_origin_header(self._options.origin)) 320 fields.append(_origin_header(self._options.origin)) 328 fields.append('Sec-WebSocket-Version: %d\r\n' % self._options.version) 331 if len(self._options.extensions) > 0 [all...] |
/external/lzma/CPP/7zip/Archive/7z/ |
7zEncode.cpp | 59 for (int i = 0; i < _options.Methods.Size(); i++)
61 const CMethodFull &methodFull = _options.Methods[i];
84 RINOK(setCoderMt->SetNumberOfThreads(_options.NumThreads));
116 const UInt32 sizeInBytes = _options.Password.Length() * 2;
118 for (int i = 0; i < _options.Password.Length(); i++)
120 wchar_t c = _options.Password[i];
284 _options = options;
292 if (_options.Methods.IsEmpty())
295 if (!_options.PasswordIsDefined)
297 if (!_options.Binds.IsEmpty()) [all...] |
/external/chromium_org/tools/telemetry/telemetry/page/ |
page_measurement_unittest.py | 57 self._options = options_for_unittests.GetCopy() 58 self._options.wpr_mode = wpr_modes.WPR_OFF 63 all_results = self.RunMeasurement(measurement, ps, options=self._options) 70 all_results = self.RunMeasurement(measurement, ps, options=self._options) 76 all_results = self.RunMeasurement(measurement, ps, options=self._options) 82 all_results = self.RunMeasurement(measurement, ps, options=self._options) 105 self._options.wpr_mode = wpr_modes.WPR_RECORD 111 all_results = self.RunMeasurement(measurement, ps, options=self._options) 115 self._options.wpr_mode = wpr_modes.WPR_REPLAY 120 all_results = self.RunMeasurement(measurement, ps, options=self._options) [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/example/ |
echo_client.py | 291 self._options = options 302 request_line = _build_method_line(self._options.resource) 309 self._options.server_host, 310 self._options.server_port, 311 self._options.use_tls)) 314 if self._options.origin is not None: 315 if self._options.protocol_version == _PROTOCOL_VERSION_HYBI08: 318 self._options.origin)) 321 self._options.origin)) 333 if self._options.version_header > 0 [all...] |
/external/chromium_org/tools/valgrind/ |
chrome_tests.py | 48 self._options = options 62 if not self._options.build_dir: 74 self._options.build_dir = build_dir[0] 76 self._options.build_dir = None 78 if self._options.build_dir: 79 build_dir = os.path.abspath(self._options.build_dir) 80 self._command_preamble += ["--build_dir=%s" % (self._options.build_dir)] 83 if not self._options.build_dir: 109 if self._options.valgrind_tool_flags: 110 cmd += self._options.valgrind_tool_flags.split(" " [all...] |
valgrind_test.py | 139 self._options, self._args = self._parser.parse_args(known_args) 141 self._timeout = int(self._options.timeout) 142 self._source_dir = self._options.source_dir 143 if self._options.keep_logs: 151 self._ignore_exit_code = self._options.ignore_exit_code 152 if self._options.gtest_filter != "": 153 self._args.append("--gtest_filter=%s" % self._options.gtest_filter) 154 if self._options.gtest_repeat: 155 self._args.append("--gtest_repeat=%s" % self._options.gtest_repeat) 156 if self._options.gtest_print_time [all...] |
/external/chromium_org/media/tools/constrained_network_server/ |
cns.py | 178 self._options = options 244 if self._options.local_server_port: 252 sanitized_path = os.path.abspath(os.path.join(self._options.www_root, f)) 253 if not sanitized_path.startswith(self._options.www_root): 260 test_url = self._GetServerURL(f, self._options.local_server_port) 269 if self._options.local_server_port: 270 redirect_url = self._GetServerURL(f, self._options.local_server_port) 274 sanitized_path = os.path.abspath(os.path.join(self._options.www_root, f)) 286 if self._options.local_server_port: 288 cherrypy.url().replace('ServeConstrained', self._options.www_root), f [all...] |