/external/chromium_org/v8/tools/push-to-trunk/ |
D | chromium_roll.py | 25 self["last_push"] = self._options.last_push or self.FindLastTrunkPush( 37 cwd = self._options.chromium 52 self.GitCheckout("master", cwd=self._options.chromium) 53 self.Command("gclient", "sync --nohooks", cwd=self._options.chromium) 54 self.GitPull(cwd=self._options.chromium) 60 cwd=self._options.chromium) 70 cwd=self._options.chromium) is None: 79 (commit_title, sheriff, self._options.reviewer), 80 author=self._options.author, 81 cwd=self._options.chromium) [all …]
|
D | merge_to_branch.py | 40 if self._options.force: 42 elif self._options.step == 0: # pragma: no cover 47 if self._options.revert_bleeding_edge: 49 elif self._options.branch: 50 self["merge_to_branch"] = self._options.branch 71 self._options.revisions)) 146 self.ApplyPatch(self.Config("TEMPORARY_PATCH_FILE"), self._options.revert) 147 if self._options.patch: 148 self.ApplyPatch(self._options.patch, self._options.revert) 155 if self._options.revert_bleeding_edge: [all …]
|
D | auto_roll.py | 29 "owner": self._options.author, 58 exec(FileToText(os.path.join(self._options.chromium, "DEPS"))) 90 if self._options.roll: 92 "--author", self._options.author, 93 "--reviewer", self._options.reviewer, 94 "--chromium", self._options.chromium, 97 if self._options.sheriff: 99 "--sheriff", "--googlers-mapping", self._options.googlers_mapping]) 100 if self._options.dry_run:
|
D | releases.py | 127 return (self._options.max_releases > 0 128 and len(releases) > self._options.max_releases) 240 if self._options.branch == 'recent': 242 if self._options.max_releases == 0: # pragma: no cover 243 self._options.max_releases = 10 249 elif self._options.branch == 'all': # pragma: no cover 257 assert self._options.branch in branches + ["trunk", "bleeding_edge"] 258 releases += self.GetReleasesFromBranch(self._options.branch) 269 cwd = self._options.chromium 282 cwd = self._options.chromium [all …]
|
D | common_includes.py | 264 self._options = options 338 if self._options.force_readline_defaults and default is not None: 363 if self._options.requires_editor: 385 if not self._options.manual: # pragma: no cover 411 if (self._options.requires_editor and (not os.environ.get("EDITOR") or 464 answer = self.ReadLine(None if self._options.wait_for_lgtm else "LGTM") 523 self.Command("svn", "update", cwd=self._options.svn) 524 if self.Command("svn", "status", cwd=self._options.svn) != "": 528 cwd=self._options.svn): 533 (self._options.author, self._options.svn_config, commit_message), [all …]
|
/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 90 self._finder = LayoutTestFinder(self._port, self._options) 91 …self._runner = LayoutTestRunner(self._options, self._port, self._printer, self._results_directory,… 94 return self._finder.find_tests(self._options, args) 117 if self._options.order == 'natural': 119 elif self._options.order == 'random': 121 elif self._options.order == 'random-seeded': 134 … self._options.slow_time_out_ms if self._test_is_slow(test_file) else self._options.time_out_ms, 136 …should_add_missing_baselines=(self._options.new_test_results and not self._test_is_expected_missin… 188 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:
|
/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/tools/telemetry/telemetry/unittest/ |
D | options_for_unittests.py | 14 _options = [] variable 18 _options.append(options) 22 return _options.pop() 28 return _options[-1].Copy() 32 return bool(_options)
|
/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_test_unittest.py | 83 self._options = options_for_unittests.GetCopy() 84 self._options.browser_options.wpr_mode = wpr_modes.WPR_OFF 89 all_results = self.RunMeasurement(measurement, ps, options=self._options) 95 all_results = self.RunMeasurement(measurement, ps, options=self._options) 101 all_results = self.RunMeasurement(measurement, ps, options=self._options) 107 all_results = self.RunMeasurement(measurement, ps, options=self._options) 131 self._options.browser_options.wpr_mode = wpr_modes.WPR_RECORD 137 all_results = self.RunMeasurement(measurement, ps, options=self._options) 141 self._options.browser_options.wpr_mode = wpr_modes.WPR_REPLAY 146 all_results = self.RunMeasurement(measurement, ps, options=self._options) [all …]
|
/external/chromium_org/tools/valgrind/ |
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 …]
|
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 …]
|
/external/chromium_org/tools/perf/measurements/ |
D | rasterize_and_record_micro_unittest.py | 24 self._options = options_for_unittests.GetCopy() 25 self._options.browser_options.wpr_mode = wpr_modes.WPR_OFF 26 self._options.rasterize_repeat = 1 27 self._options.record_repeat = 1 28 self._options.start_wait_time = 0.0 29 self._options.report_detailed_results = True 36 results = self.RunMeasurement(measurement, ps, options=self._options)
|
D | thread_times_unittest.py | 17 self._options = options_for_unittests.GetCopy() 18 self._options.browser_options.wpr_mode = wpr_modes.WPR_OFF 24 timeline_options = self._options 38 timeline_options = self._options 49 self.TestTracingCleanedUp(thread_times.ThreadTimes, self._options)
|
D | loading_trace_unittest.py | 12 self._options = options_for_unittests.GetCopy() 13 self._options.browser_options.wpr_mode = wpr_modes.WPR_OFF 18 trace_options = self._options 23 self.TestTracingCleanedUp(loading_trace.LoadingTrace, self._options)
|
D | skpicture_printer_unittest.py | 16 self._options = options_for_unittests.GetCopy() 17 self._options.skp_outdir = tempfile.mkdtemp('_skp_test') 20 shutil.rmtree(self._options.skp_outdir) 26 results = self.RunMeasurement(measurement, ps, options=self._options)
|
D | screenshot_unittest.py | 18 self._options = options_for_unittests.GetCopy() 19 self._options.png_outdir = tempfile.mkdtemp('_png_test') 22 shutil.rmtree(self._options.png_outdir) 29 results = self.RunMeasurement(measurement, ps, 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_org/third_party/google_appengine_cloudstorage/cloudstorage/ |
D | cloudstorage_api.py | 289 self._options = options.copy() 291 self._path + '?' + urllib.urlencode(self._options)) 293 self._new_max_keys = self._options.get('max-keys') 296 options = self._options 316 max_keys = self._options.get('max-keys') 321 extras=self._options) 325 self._path + '?' + urllib.urlencode(self._options)) 409 if ('max-keys' in self._options and 410 self._options['max-keys'] <= common._MAX_GET_BUCKET_RESULT): 421 self._options.pop('marker', None) [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 …]
|