Home
last modified time | relevance | path

Searched refs:_options (Results 1 – 25 of 64) sorted by relevance

123

/external/chromium_org/v8/tools/push-to-trunk/
Dchromium_roll.py25 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 …]
Dmerge_to_branch.py40 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 …]
Dauto_roll.py29 "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:
Dreleases.py127 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 …]
Dcommon_includes.py264 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/
Dtest_runner.py20 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/
Decho_client.py291 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/
Dmanager.py77 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 …]
Dlayout_test_finder.py42 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/
Dtest_endtoend.py175 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 …]
Dclient_for_testing.py293 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/
Doptions_for_unittests.py14 _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/
D7zEncode.cpp59 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/
Dpage_test_unittest.py83 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/
Dvalgrind_test.py139 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 …]
Dchrome_tests.py48 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/
Drasterize_and_record_micro_unittest.py24 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)
Dthread_times_unittest.py17 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)
Dloading_trace_unittest.py12 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)
Dskpicture_printer_unittest.py16 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)
Dscreenshot_unittest.py18 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/
Dcns.py178 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/
Dperftestsrunner.py61 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/
Dcloudstorage_api.py289 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.py427 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 …]

123