/external/chromium_org/build/android/pylib/monkey/ |
D | 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, 42 '%d' % self._options.event_count] [all …]
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/example/ |
D | 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/layout_tests/controllers/ |
D | 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,… 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_missin… 153 if self._options.build: [all …]
|
D | 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:
|
D | layout_test_runner_unittest.py | 111 runner._options.exit_after_n_failures = None 112 runner._options.exit_after_n_crashes_or_times = None 124 runner._options.exit_after_n_failures = 101 125 runner._options.exit_after_n_crashes_or_timeouts = 101 129 runner._options.exit_after_n_crashes_or_timeouts = 10 134 runner._options.exit_after_n_crashes_or_timeouts = None 135 runner._options.exit_after_n_failures = 10 141 runner._options.pixel_tests = False
|
D | layout_test_runner.py | 65 self._options = options 70 self._sharder = Sharder(self._port.split_test, self._options.max_locked_shards) 100 …hards = self._sharder.shard_tests(test_inputs, int(self._options.child_processes), self._options.f… 109 if self._options.dry_run: 144 return Worker(worker_connection, results_directory, self._options) 165 self._options.exit_after_n_failures, 170 self._options.exit_after_n_crashes_or_timeouts, 177 …ctations.matches_an_expected_result(result.test_name, result.type, self._options.pixel_tests or re… 215 self._options = options 235 self._port = self._host.port_factory.get(self._options.platform, self._options) [all …]
|
/external/chromium_org/tools/telemetry/telemetry/unittest/ |
D | 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/gyp/ |
D | 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-trace/trace-viewer/third_party/pywebsocket/src/test/ |
D | 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 …]
|
D | 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/chromium_org/chrome/test/pyautolib/ |
D | 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/tools/valgrind/ |
D | 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 …]
|
D | 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/lzma/CPP/7zip/Archive/7z/ |
D | 7zEncode.cpp | 59 for (int i = 0; i < _options.Methods.Size(); i++) in CreateMixerCoder() 61 const CMethodFull &methodFull = _options.Methods[i]; in CreateMixerCoder() 84 RINOK(setCoderMt->SetNumberOfThreads(_options.NumThreads)); in CreateMixerCoder() 116 const UInt32 sizeInBytes = _options.Password.Length() * 2; in CreateMixerCoder() 118 for (int i = 0; i < _options.Password.Length(); i++) in CreateMixerCoder() 120 wchar_t c = _options.Password[i]; in CreateMixerCoder() 284 _options = options; in CEncoder() 292 if (_options.Methods.IsEmpty()) in EncoderConstr() 295 if (!_options.PasswordIsDefined) in EncoderConstr() 297 if (!_options.Binds.IsEmpty()) in EncoderConstr() [all …]
|
/external/chromium_org/tools/telemetry/telemetry/page/ |
D | 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 …]
|
D | 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/perf/measurements/ |
D | 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)
|
D | 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)
|
D | 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/media/tools/constrained_network_server/ |
D | 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/performance_tests/ |
D | 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.nor… 163 …reate_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: 218 test_results_server = self._options.test_results_server 222 if self._options.show_results: [all …]
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/ |
D | _stream_hybi.py | 427 self._options = options 429 if self._options.deflate_stream: 442 self._options.mask_send, self._options.outgoing_frame_filters, 443 self._options.encode_text_message_to_utf8) 463 unmask_receive=self._options.unmask_receive) 492 for message_filter in self._options.outgoing_message_filters: 551 if (not self._options.allow_fragmented_control_frame and 718 for frame_filter in self._options.incoming_frame_filters: 730 for message_filter in self._options.incoming_message_filters: 757 body, mask=self._options.mask_send, [all …]
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/views/ |
D | printing.py | 65 self._options = options 83 if self._options.new_baseline: 90 self._print_default("Using %s build" % self._options.configuration) 91 if self._options.pixel_tests: 97 (self._options.time_out_ms, self._options.slow_time_out_ms)) 151 self._print_worker_statistics(run_results, int(self._options.child_processes)) 277 if self._options.timing: 299 if self._options.verbose or self._options.debug_rwt_logging or unexpected: 343 if self._options.verbose: 354 self._options.timing, result.test_run_time) [all …]
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/test/ |
D | 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/thirdparty/mod_pywebsocket/ |
D | _stream_hybi.py | 421 self._options = options 432 self._options.mask_send, self._options.outgoing_frame_filters, 433 self._options.encode_text_message_to_utf8) 453 unmask_receive=self._options.unmask_receive) 481 for frame_filter in self._options.incoming_frame_filters: 483 for message_filter in self._options.incoming_message_filters: 508 for message_filter in self._options.outgoing_message_filters: 762 for frame_filter in self._options.incoming_frame_filters: 774 for message_filter in self._options.incoming_message_filters: 801 body, mask=self._options.mask_send, [all …]
|