Home
last modified time | relevance | path

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

12345678910>>...133

/external/autotest/site_utils/
Ddut_status.py140 def _include_status(status, arguments): argument
156 return arguments.working
158 return arguments.broken
161 def _print_host_summaries(history_list, arguments): argument
175 if not _include_status(status, arguments):
200 def _print_hosts(history_list, arguments): argument
215 if not _include_status(status, arguments):
218 if arguments.full_history:
221 elif arguments.diagnosis:
226 def _validate_time_range(arguments): argument
[all …]
Dtest_that.py56 def validate_arguments(arguments): argument
63 if arguments.remote == ':lab:':
64 if arguments.args:
67 if arguments.pretend:
70 if arguments.ssh_verbosity:
73 if not arguments.board or arguments.build == test_runner_utils.NO_BUILD:
77 if arguments.web:
177 def perform_bootstrap_into_autotest_root(arguments, autotest_path, argv): argument
198 verbose=arguments.debug)
199 if arguments.no_quickmerge:
[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.py374 def _balance_model(arguments, afe, pool, labels, start_time, end_time): argument
388 spare_pool = _DUTPool(afe, arguments.spare, labels, start_time, end_time)
392 if arguments.total is not None:
393 target_total = arguments.total
394 elif arguments.grow:
395 target_total += arguments.grow
396 elif arguments.shrink:
397 target_total -= arguments.shrink
409 if spares_needed or surplus_duts or arguments.verbose:
410 dry_run = arguments.dry_run
[all …]
Dtest_push.py203 arguments = parser.parse_args(argv[1:])
207 if not arguments.build:
208 arguments.build = version_map.get_image_name(arguments.board)
209 if not arguments.shard_build:
210 arguments.shard_build = version_map.get_image_name(
211 arguments.shard_board)
212 return arguments
215 def do_run_suite(suite_name, arguments, use_shard=False, argument
232 board = arguments.shard_board
233 build = arguments.shard_build
[all …]
Dlab_inventory.py900 def _send_email(arguments, tag, subject, recipients, body): argument
922 if arguments.debug:
925 filename = os.path.join(arguments.logdir, tag)
973 def _perform_model_inventory(arguments, inventory, timestamp): argument
989 if arguments.recommend:
991 inventory, arguments.recommend) + '\n\n\n'
995 _send_email(arguments,
998 arguments.model_notify,
1002 def _perform_pool_inventory(arguments, inventory, timestamp): argument
1019 _send_email(arguments,
[all …]
/external/autotest/site_utils/deployment/
Dcmdparse_unittest.py58 arguments = parser.parse_args([])
59 self.assertFalse(arguments.option)
64 arguments = parser.parse_args([])
65 self.assertTrue(arguments.option)
70 arguments = parser.parse_args(['--option'])
71 self.assertTrue(arguments.option)
76 arguments = parser.parse_args(['--option'])
77 self.assertTrue(arguments.option)
82 arguments = parser.parse_args(['--nooption'])
83 self.assertFalse(arguments.option)
[all …]
Dcmdvalidate.py249 def _validate_arguments(arguments): argument
265 if arguments.hostnames and arguments.hostname_file:
270 if (arguments.hostname_file and
271 not _is_hostname_file_valid(arguments.hostname_file)):
275 if (not arguments.hostnames and not arguments.hostname_file and
276 (arguments.board or arguments.build)):
280 if arguments.board is not None:
281 if not _validate_board(arguments.board):
283 if (arguments.build is not None and
284 not _validate_build(arguments.board, arguments.build)):
[all …]
Dinstall.py131 def _get_upload_log_path(arguments): argument
134 name=arguments.upload_basename)
173 def _update_build(afe, report_log, arguments): argument
206 afe_cros = cros_version_map.get_version(arguments.board)
207 afe_fw = fw_version_map.get_version(arguments.board)
208 omaha_cros = _get_omaha_build(arguments.board)
221 if arguments.build and arguments.build != cros_version:
223 or utils.compare_versions(cros_version, arguments.build) < 0):
224 cros_version = arguments.build
228 % (arguments.build, cros_version))
[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 …]
/external/antlr/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 …]
/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/autotest/site_utils/stable_images/
Dstable_version_unittest.py20 arguments = stable_version._parse_args(['command'])
21 self.assertFalse(arguments.dry_run)
22 self.assertIsNone(arguments.type)
23 self.assertIsNone(arguments.web)
24 self.assertFalse(arguments.delete)
25 self.assertIsNone(arguments.key)
26 self.assertIsNone(arguments.version)
32 arguments = stable_version._parse_args(argv)
33 self.assertEqual(arguments.web, argv[2])
39 arguments = stable_version._parse_args(argv)
[all …]
Dstable_version.py308 def _validate_set_mapping(arguments): argument
318 if not arguments.type:
321 if arguments.type == _FirmwareVersionMapHandler.TYPE:
348 def _validate_delete_mapping(arguments): argument
357 if arguments.key is None:
360 if arguments.version is not None:
363 if not arguments.type:
414 def _dispatch_command(afe, arguments): argument
415 if arguments.delete:
416 _validate_delete_mapping(arguments)
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DMethodCallExpr.java62 private NodeList<Expression> arguments; field in MethodCallExpr
68 public MethodCallExpr(String name, Expression... arguments) { in MethodCallExpr() argument
69 this(null, null, new NodeList<>(), new SimpleName(name), new NodeList<>(arguments)); in MethodCallExpr()
80 …c MethodCallExpr(final Expression scope, final String name, final NodeList<Expression> arguments) { in MethodCallExpr() argument
81 this(null, scope, new NodeList<>(), new SimpleName(name), arguments); in MethodCallExpr()
84 …thodCallExpr(final Expression scope, final SimpleName name, final NodeList<Expression> arguments) { in MethodCallExpr() argument
85 this(null, scope, new NodeList<>(), name, arguments); in MethodCallExpr()
89 … final NodeList<Type> typeArguments, final SimpleName name, final NodeList<Expression> arguments) { in MethodCallExpr() argument
90 this(null, scope, typeArguments, name, arguments); in MethodCallExpr()
97 … Expression scope, NodeList<Type> typeArguments, SimpleName name, NodeList<Expression> arguments) { in MethodCallExpr() argument
[all …]
/external/v8/src/builtins/
Ddata-view.tq84 context: Context, receiver: Object, ...arguments): JSArrayBuffer {
92 context: Context, receiver: Object, ...arguments): Number {
105 context: Context, receiver: Object, ...arguments): Number {
458 context: Context, receiver: Object, ...arguments): Object {
459 let offset: Object = arguments.length > 0 ?
460 arguments[0] :
466 context: Context, receiver: Object, ...arguments): Object {
467 let offset: Object = arguments.length > 0 ?
468 arguments[0] :
474 context: Context, receiver: Object, ...arguments): Object {
[all …]
/external/v8/src/wasm/
Dwasm-result.cc81 va_list arguments; in TypeError() local
82 va_start(arguments, format); in TypeError()
83 Format(kTypeError, format, arguments); in TypeError()
84 va_end(arguments); in TypeError()
88 va_list arguments; in RangeError() local
89 va_start(arguments, format); in RangeError()
90 Format(kRangeError, format, arguments); in RangeError()
91 va_end(arguments); in RangeError()
95 va_list arguments; in CompileError() local
96 va_start(arguments, format); in CompileError()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DExplicitConstructorInvocationStmt.java64 private NodeList<Expression> arguments; field in ExplicitConstructorInvocationStmt
70 …tionStmt(final boolean isThis, final Expression expression, final NodeList<Expression> arguments) { in ExplicitConstructorInvocationStmt() argument
71 this(null, new NodeList<>(), isThis, expression, arguments); in ExplicitConstructorInvocationStmt()
75 …guments, final boolean isThis, final Expression expression, final NodeList<Expression> arguments) { in ExplicitConstructorInvocationStmt() argument
76 this(null, typeArguments, isThis, expression, arguments); in ExplicitConstructorInvocationStmt()
83 …eList<Type> typeArguments, boolean isThis, Expression expression, NodeList<Expression> arguments) { in ExplicitConstructorInvocationStmt() argument
88 setArguments(arguments); in ExplicitConstructorInvocationStmt()
106 return arguments; in getArguments()
134 public ExplicitConstructorInvocationStmt setArguments(final NodeList<Expression> arguments) { in setArguments() argument
135 assertNotNull(arguments); in setArguments()
[all …]
/external/tensorflow/tensorflow/compiler/xla/tests/
Dclient_library_test_base.cc106 XlaBuilder* builder, absl::Span<GlobalData* const> arguments) { in Execute() argument
109 return client_->Execute(computation, arguments, &execution_options_); in Execute()
113 const XlaComputation& computation, absl::Span<GlobalData* const> arguments, in ExecuteAndTransfer() argument
120 return client_->ExecuteAndTransfer(computation, arguments, in ExecuteAndTransfer()
125 XlaBuilder* builder, absl::Span<GlobalData* const> arguments, in ExecuteAndTransfer() argument
129 return ExecuteAndTransfer(computation, arguments, shape_with_output_layout); in ExecuteAndTransfer()
133 const XlaComputation& computation, absl::Span<GlobalData* const> arguments, in ExecuteAndTransferReference() argument
141 return ref_client_->ExecuteAndTransfer(computation, arguments, in ExecuteAndTransferReference()
146 XlaBuilder* builder, absl::Span<GlobalData* const> arguments) { in ExecuteToString() argument
154 client_->ExecuteAndTransfer(computation, arguments, &execution_options_); in ExecuteToString()
[all …]
/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/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
DEnumConstantDeclaration.java58 private NodeList<Expression> arguments; field in EnumConstantDeclaration
71 …List<AnnotationExpr> annotations, SimpleName name, NodeList<Expression> arguments, NodeList<BodyDe… in EnumConstantDeclaration() argument
72 this(null, annotations, name, arguments, classBody); in EnumConstantDeclaration()
79 …List<AnnotationExpr> annotations, SimpleName name, NodeList<Expression> arguments, NodeList<BodyDe… in EnumConstantDeclaration() argument
82 setArguments(arguments); in EnumConstantDeclaration()
101 return arguments; in getArguments()
115 public EnumConstantDeclaration setArguments(final NodeList<Expression> arguments) { in setArguments() argument
116 assertNotNull(arguments); in setArguments()
117 if (arguments == this.arguments) { in setArguments()
120 notifyPropertyChange(ObservableProperty.ARGUMENTS, this.arguments, arguments); in setArguments()
[all …]
/external/python/cpython3/Lib/test/
Dtest_webbrowser.py25 def _test(self, meth, *, args=[URL], kw={}, options, arguments): argument
46 self.assertEqual(popen_args, arguments)
56 arguments=[URL])
66 arguments=[URL])
76 arguments=[URL])
81 arguments=[URL])
86 arguments=[URL])
91 arguments=[URL])
101 arguments=[URL])
106 arguments=[URL])
[all …]

12345678910>>...133