/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/build/android/pylib/monkey/ |
test_runner.py | 20 self._options = test_options 21 self._package = constants.PACKAGE_INFO[self._options.package].package 22 self._activity = constants.PACKAGE_INFO[self._options.package].activity 31 timeout_ms = self._options.event_count * self._options.throttle * 1.5 35 ' '.join(['-c %s' % c for c in self._options.category]), 36 '--throttle %d' % self._options.throttle, 37 '-s %d' % (self._options.seed or random.randint(1, 100)), 38 '-v ' * self._options.verbose_count, 41 self._options.extra_args [all...] |
/external/chromium_org/tools/perf/measurements/ |
rasterize_and_record_micro_unittest.py | 20 self._options = options_for_unittests.GetCopy() 21 self._options.browser_options.wpr_mode = wpr_modes.WPR_OFF 22 self._options.rasterize_repeat = 1 23 self._options.record_repeat = 1 24 self._options.start_wait_time = 0.0 29 results = self.RunMeasurement(measurement, ps, options=self._options)
|
rasterize_and_record_unittest.py | 20 self._options = options_for_unittests.GetCopy() 21 self._options.browser_options.wpr_mode = wpr_modes.WPR_OFF 22 self._options.raster_record_repeat = 1 23 self._options.start_wait_time = 0.0 24 self._options.stop_wait_time = 2.0 29 results = self.RunMeasurement(measurement, ps, options=self._options)
|
smoothness_unittest.py | 20 self._options = options_for_unittests.GetCopy() 21 self._options.browser_options.wpr_mode = wpr_modes.WPR_OFF 26 results = self.RunMeasurement(measurement, ps, options=self._options) 49 timeline_options = self._options
|
/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)
|
/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)
|
suid_actions.py | 36 self._options = parser.parse_args()[0] 37 if not self._options.action: 43 handler = getattr(self, self._options.action) 45 'No handler for %s' % self._options.action
|
/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 | 66 self._options = options_for_unittests.GetCopy() 67 self._options.browser_options.wpr_mode = wpr_modes.WPR_OFF 72 all_results = self.RunMeasurement(measurement, ps, options=self._options) 78 all_results = self.RunMeasurement(measurement, ps, options=self._options) 84 all_results = self.RunMeasurement(measurement, ps, options=self._options) 90 all_results = self.RunMeasurement(measurement, ps, options=self._options) 113 self._options.browser_options.wpr_mode = wpr_modes.WPR_RECORD 119 all_results = self.RunMeasurement(measurement, ps, options=self._options) 123 self._options.browser_options.wpr_mode = wpr_modes.WPR_REPLAY 128 all_results = self.RunMeasurement(measurement, ps, options=self._options) [all...] |
page_test_runner.py | 26 self._options = None 40 results = page_runner.Run(test, ps, expectations, self._options) 78 ps = test.CreatePageSet(self._args, self._options) 95 self._options.allow_live_sites = True 129 self._options = browser_options.BrowserFinderOptions() 130 self._parser = self._options.CreateParser( 160 ps = test.CreatePageSet(self._options)
|
/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-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/third_party/WebKit/Tools/Scripts/webkitpy/tool/steps/ |
confirmdiff.py | 66 changed_files = self._tool.scm().changed_files(self._options.git_commit) 67 return self._tool.scm().create_patch(self._options.git_commit, 71 if not self._options.confirm:
|
abstractstep.py | 38 self._options = options
|
/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...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/test/ |
main.py | 81 self._options = None 114 self._options, args = self._parse_args() 124 self.printer.configure(self._options) 128 names = self.finder.find_names(args, self._options.all) 136 if self._options.coverage: 138 self._options.child_processes = 1 156 test_runner.run(parallel_tests, self._options.child_processes) 161 if self._options.coverage: 185 if self._options.integration_tests:
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/ |
perftestsrunner.py | 61 self._options, self._args = PerfTestsRunner._parse_args(args) 67 self._port = self._host.port_factory.get(self._options.platform, self._options) 161 if self._options.use_skipped_list and self._port.skips_perf_test(relative_path) and filesystem.normpath(relative_path) not in paths: 163 test = PerfTestFactory.create_perf_test(self._port, relative_path, path, test_runner_count=self._options.test_runner_count) 191 repeat = self._options.repeat 200 if not test.prepare(self._options.time_out_ms): 212 if self._options.generate_results and not self._options.profile: 217 if self._options.generate_results and not self._options.profile [all...] |