Home
last modified time | relevance | path

Searched refs:arguments (Results 1 – 25 of 1987) sorted by relevance

12345678910>>...80

/external/autotest/site_utils/
Ddut_status.py139 def _include_status(status, arguments): argument
155 return arguments.working
157 return arguments.broken
160 def _print_host_summaries(history_list, arguments): argument
174 if not _include_status(status, arguments):
199 def _print_hosts(history_list, arguments): argument
214 if not _include_status(status, arguments):
217 if arguments.full_history:
220 elif arguments.diagnosis:
225 def _validate_time_range(arguments): argument
[all …]
Dtest_that.py57 def validate_arguments(arguments): argument
64 if arguments.remote == ':lab:':
65 if arguments.args:
68 if arguments.pretend:
71 if arguments.ssh_verbosity:
74 if not arguments.board or not arguments.build:
78 if arguments.build is None:
79 arguments.build = test_runner_utils.NO_BUILD
80 if arguments.web:
173 def perform_bootstrap_into_autotest_root(arguments, autotest_path, argv): argument
[all …]
Ddut_status_unittest.py37 arguments = dut_status._parse_command(
39 dut_status._validate_time_range(arguments)
40 return arguments
42 def _check_duration(self, arguments, duration): argument
43 start_time = (arguments.until - duration * 3600)
44 self.assertEqual(arguments.since, start_time)
49 arguments = self._try_parse([])
50 self.assertEqual(arguments.until, end_time)
51 self._check_duration(arguments, dut_status._DEFAULT_DURATION)
62 arguments = self._try_parse([option, start_time_string])
[all …]
Dbalance_pools.py313 def _balance_board(arguments, afe, board, pool, start_time, end_time): argument
328 spare_pool = _DUTPool(afe, board, arguments.spare,
334 if arguments.total is not None:
335 target_total = arguments.total
336 elif arguments.grow:
337 target_total += arguments.grow
338 elif arguments.shrink:
339 target_total -= arguments.shrink
351 if spares_needed or surplus_duts or arguments.verbose:
352 dry_run = arguments.dry_run
[all …]
Dtest_droid.py94 arguments = _parse_arguments_internal(argv)
96 serials = arguments.serials
107 arguments.results_dir)
108 arguments.results_dir = results_directory
117 if arguments.fastboot_serial:
118 host_attributes['fastboot_serial'] = arguments.fastboot_serial
123 if arguments.interactive:
127 if arguments.args:
128 arguments.args += ' '
130 arguments.args = ''
[all …]
Dtest_push.py261 arguments = parser.parse_args(sys.argv[1:])
264 if not arguments.build:
265 arguments.build = get_default_build(arguments.board, arguments.web)
266 if not arguments.shard_build:
267 arguments.shard_build = get_default_build(arguments.shard_board,
268 arguments.web)
270 arguments.num_duts = ast.literal_eval(arguments.num_duts)
272 return arguments
275 def do_run_suite(suite_name, arguments, use_shard=False, argument
293 board = arguments.shard_board
[all …]
Dlab_inventory.py867 def _send_email(arguments, tag, subject, recipients, body): argument
890 if arguments.debug:
893 filename = os.path.join(arguments.logdir, tag)
921 def _verify_arguments(arguments): argument
940 arguments.board_notify = _separate_email_addresses(
941 arguments.board_notify)
942 arguments.pool_notify = _separate_email_addresses(
943 arguments.pool_notify)
944 if not arguments.board_notify and not arguments.pool_notify:
945 if not arguments.debug:
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/
DMathRuntimeException.java53 private final Object[] arguments; field in MathRuntimeException
64 public MathRuntimeException(final String pattern, final Object ... arguments) { in MathRuntimeException() argument
65 this(new DummyLocalizable(pattern), arguments); in MathRuntimeException()
76 public MathRuntimeException(final Localizable pattern, final Object ... arguments) { in MathRuntimeException() argument
78 this.arguments = (arguments == null) ? new Object[0] : arguments.clone(); in MathRuntimeException()
91 this.arguments = new Object[] { (rootCause == null) ? "" : rootCause.getMessage() }; in MathRuntimeException()
106 final String pattern, final Object ... arguments) { in MathRuntimeException() argument
107 this(rootCause, new DummyLocalizable(pattern), arguments); in MathRuntimeException()
121 final Localizable pattern, final Object ... arguments) { in MathRuntimeException() argument
124 this.arguments = (arguments == null) ? new Object[0] : arguments.clone(); in MathRuntimeException()
[all …]
DMathException.java52 private final Object[] arguments; field in MathException
60 this.arguments = new Object[] { "" }; in MathException()
72 public MathException(String pattern, Object ... arguments) { in MathException() argument
73 this(new DummyLocalizable(pattern), arguments); in MathException()
84 public MathException(Localizable pattern, Object ... arguments) { in MathException() argument
86 this.arguments = (arguments == null) ? new Object[0] : arguments.clone(); in MathException()
99 this.arguments = new Object[] { (rootCause == null) ? "" : rootCause.getMessage() }; in MathException()
114 public MathException(Throwable rootCause, String pattern, Object ... arguments) { in MathException() argument
115 this(rootCause, new DummyLocalizable(pattern), arguments); in MathException()
128 public MathException(Throwable rootCause, Localizable pattern, Object ... arguments) { in MathException() argument
[all …]
DFunctionEvaluationException.java72 String pattern, Object ... arguments) { in FunctionEvaluationException() argument
73 this(argument, new DummyLocalizable(pattern), arguments); in FunctionEvaluationException()
85 Localizable pattern, Object ... arguments) { in FunctionEvaluationException() argument
86 super(pattern, arguments); in FunctionEvaluationException()
99 String pattern, Object ... arguments) { in FunctionEvaluationException() argument
100 this(argument, new DummyLocalizable(pattern), arguments); in FunctionEvaluationException()
112 Localizable pattern, Object ... arguments) { in FunctionEvaluationException() argument
113 super(pattern, arguments); in FunctionEvaluationException()
152 Object ... arguments) { in FunctionEvaluationException() argument
153 this(cause, argument, new DummyLocalizable(pattern), arguments); in FunctionEvaluationException()
[all …]
DMathConfigurationException.java47 public MathConfigurationException(String pattern, Object ... arguments) { in MathConfigurationException() argument
48 this(new DummyLocalizable(pattern), arguments); in MathConfigurationException()
58 public MathConfigurationException(Localizable pattern, Object ... arguments) { in MathConfigurationException() argument
59 super(pattern, arguments); in MathConfigurationException()
78 public MathConfigurationException(Throwable cause, String pattern, Object ... arguments) { in MathConfigurationException() argument
79 this(cause, new DummyLocalizable(pattern), arguments); in MathConfigurationException()
90 public MathConfigurationException(Throwable cause, Localizable pattern, Object ... arguments) { in MathConfigurationException() argument
91 super(cause, pattern, arguments); in MathConfigurationException()
DConvergenceException.java50 public ConvergenceException(String pattern, Object ... arguments) { in ConvergenceException() argument
51 this(new DummyLocalizable(pattern), arguments); in ConvergenceException()
61 public ConvergenceException(Localizable pattern, Object ... arguments) { in ConvergenceException() argument
62 super(pattern, arguments); in ConvergenceException()
83 public ConvergenceException(Throwable cause, String pattern, Object ... arguments) { in ConvergenceException() argument
84 this(cause, new DummyLocalizable(pattern), arguments); in ConvergenceException()
95 public ConvergenceException(Throwable cause, Localizable pattern, Object ... arguments) { in ConvergenceException() argument
96 super(cause, pattern, arguments); in ConvergenceException()
/external/autotest/site_utils/deployment/
Dcommandline.py251 def _validate_arguments(arguments): argument
267 if arguments.hostnames and arguments.hostname_file:
272 if (arguments.hostname_file and
273 not _is_hostname_file_valid(arguments.hostname_file)):
277 if (not arguments.hostnames and not arguments.hostname_file and
278 (arguments.board or arguments.build)):
282 if arguments.board is not None:
283 if not _validate_board(arguments.board):
285 if (arguments.build is not None and
286 not _validate_build(arguments.board, arguments.build)):
[all …]
Dinstall.py118 def _get_upload_log_path(arguments): argument
121 name=commandline.get_default_logdir_name(arguments))
160 def _update_build(afe, report_log, arguments): argument
183 afe_version = version_map.get_version(arguments.board)
184 omaha_version = _get_omaha_build(arguments.board)
192 if arguments.build:
193 if utils.compare_versions(arguments.build, version) >= 0:
194 version = arguments.build
197 (arguments.build,))
198 if version != afe_version and not arguments.nostable:
[all …]
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DTokenRewriteStream.js66 if (arguments.length===0) {
69 sup.constructor.apply(this, arguments);
154 if (arguments.length===1) {
156 instructionIndex = arguments[0];
157 } else if (arguments.length===2) {
158 programName = arguments[0];
159 instructionIndex = arguments[1];
192 if (arguments.length===1) {
194 op = arguments[0];
195 } else if (arguments.length===2) {
[all …]
DCommonToken.js8 if (arguments.length == 1) {
9 if (org.antlr.lang.isNumber(arguments[0])) {
10 this.type = arguments[0];
12 oldToken = arguments[0];
24 } else if (arguments.length == 2) {
25 this.type = arguments[0];
26 this.text = arguments[1];
28 } else if (arguments.length == 5) {
29 this.input = arguments[0];
30 this.type = arguments[1];
[all …]
/external/pcre/dist2/src/
Dpcre2_jit_match.c47 static SLJIT_NOINLINE int jit_machine_stack_exec(jit_arguments *arguments, jit_function executable_… in jit_machine_stack_exec() argument
56 arguments->stack = &local_stack; in jit_machine_stack_exec()
57 return executable_func(arguments); in jit_machine_stack_exec()
112 jit_arguments arguments; in pcre2_jit_match()
125 arguments.str = subject + start_offset; in pcre2_jit_match()
126 arguments.begin = subject; in pcre2_jit_match()
127 arguments.end = subject + length; in pcre2_jit_match()
128 arguments.match_data = match_data; in pcre2_jit_match()
129 arguments.startchar_ptr = subject; in pcre2_jit_match()
130 arguments.mark_ptr = NULL; in pcre2_jit_match()
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DTestThread.java90 public void callAndAssertReturns(String methodName, Object... arguments) throws Exception { in callAndAssertReturns() argument
92 checkNotNull(arguments); in callAndAssertReturns()
93 sendRequest(methodName, arguments); in callAndAssertReturns()
101 public void callAndAssertReturns(boolean expected, String methodName, Object... arguments) in callAndAssertReturns() argument
104 checkNotNull(arguments); in callAndAssertReturns()
105 sendRequest(methodName, arguments); in callAndAssertReturns()
113 public void callAndAssertReturns(int expected, String methodName, Object... arguments) in callAndAssertReturns() argument
116 checkNotNull(arguments); in callAndAssertReturns()
117 sendRequest(methodName, arguments); in callAndAssertReturns()
126 String methodName, Object... arguments) throws Exception { in callAndAssertThrows() argument
[all …]
/external/v8/src/wasm/
Dwasm-result.cc51 va_list arguments; in TypeError() local
52 va_start(arguments, format); in TypeError()
53 Format(isolate_->type_error_function(), format, arguments); in TypeError()
54 va_end(arguments); in TypeError()
59 va_list arguments; in RangeError() local
60 va_start(arguments, format); in RangeError()
61 Format(isolate_->range_error_function(), format, arguments); in RangeError()
62 va_end(arguments); in RangeError()
67 va_list arguments; in CompileError() local
68 va_start(arguments, format); in CompileError()
[all …]
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/
Ddeterministic.js40 switch (arguments.length) {
42 case 1: return new orig_date(arguments[0]);
43 default: return new orig_date(arguments[0], arguments[1],
44 arguments.length >= 3 ? arguments[2] : 1,
45 arguments.length >= 4 ? arguments[3] : 0,
46 arguments.length >= 5 ? arguments[4] : 0,
47 arguments.length >= 6 ? arguments[5] : 0,
48 arguments.length >= 7 ? arguments[6] : 0);
/external/icu/icu4j/samples/src/com/ibm/icu/samples/util/timescale/
DPivotDemo.java48 Object arguments[] = {cal, null}; in main() local
50 arguments[0] = cal; in main()
54 arguments[1] = " 000000000000000"; in main()
55 System.out.println(fmt.format(arguments)); in main()
58 arguments[1] = "-62164684800000L"; in main()
59 System.out.println(fmt.format(arguments)); in main()
62 arguments[1] = "-62135769600000L"; in main()
63 System.out.println(fmt.format(arguments)); in main()
68 arguments[1] = "0x80000000"; in main()
69 System.out.println(fmt.format(arguments)); in main()
[all …]
/external/ImageMagick/MagickCore/
Ddistort.c374 DistortMethod *method,const size_t number_arguments,const double *arguments, in GenerateCoefficients() argument
426 i = poly_number_terms(arguments[0]); in GenerateCoefficients()
525 coeff[2] = arguments[0] - arguments[2]; in GenerateCoefficients()
527 coeff[5] = arguments[1] - arguments[3]; in GenerateCoefficients()
532 coeff[i*3+2] = arguments[cp_values+i]; in GenerateCoefficients()
565 terms[0] = arguments[i+cp_x]; /* x */ in GenerateCoefficients()
566 terms[1] = arguments[i+cp_y]; /* y */ in GenerateCoefficients()
569 &(arguments[i+cp_values]),3UL,number_values); in GenerateCoefficients()
576 terms[0] = arguments[cp_x] in GenerateCoefficients()
577 - ( arguments[cp_size+cp_y] - arguments[cp_y] ); /* x2 */ in GenerateCoefficients()
[all …]
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
Dt053heteroT9.g9 if (arguments.length===4) {
10 ttype = arguments[0];
11 x = arguments[1];
12 y = arguments[2];
13 z = arguments[3];
15 } else if (arguments.length===3) {
16 ttype = arguments[0];
17 token = arguments[1];
18 x = arguments[2];
/external/slf4j/slf4j-api/src/main/java/org/slf4j/helpers/
DSubstituteLogger.java69 public void trace(String format, Object... arguments) { in trace() argument
70 delegate().trace(format, arguments); in trace()
93 public void trace(Marker marker, String format, Object... arguments) { in trace() argument
94 delegate().trace(marker, format, arguments); in trace()
117 public void debug(String format, Object... arguments) { in debug() argument
118 delegate().debug(format, arguments); in debug()
141 public void debug(Marker marker, String format, Object... arguments) { in debug() argument
142 delegate().debug(marker, format, arguments); in debug()
165 public void info(String format, Object... arguments) { in info() argument
166 delegate().info(format, arguments); in info()
[all …]
/external/v8/src/debug/
Ddebug.js1291 if (request.arguments) {
1292 var args = request.arguments;
1345 if (request.arguments) {
1349 var stepaction = request.arguments.stepaction;
1382 if (!request.arguments) {
1388 var type = request.arguments.type;
1389 var target = request.arguments.target;
1390 var line = request.arguments.line;
1391 var column = request.arguments.column;
1392 var enabled = IS_UNDEFINED(request.arguments.enabled) ?
[all …]

12345678910>>...80