Home
last modified time | relevance | path

Searched full:arguments (Results 1 – 25 of 9543) sorted by relevance

12345678910>>...382

/external/autotest/site_utils/
Dtest_that.py73 def validate_arguments(arguments): argument
75 Validates parsed arguments.
77 @param arguments: arguments object, as parsed by ParseArguments
78 @raises: ValueError if arguments were invalid.
80 if arguments.remote == ':lab:':
81 if arguments.args:
84 if arguments.pretend:
87 if arguments.ssh_verbosity:
90 if not arguments.board or arguments.build == test_runner_utils.NO_BUILD:
94 if arguments.web:
[all …]
Ddut_status.py43 arguments. Options are also available for selecting groups of
144 def _include_status(status, arguments): argument
148 `arguments`. Return whether a host with that status should be
152 @param arguments Parsed arguments object as returned by
160 return arguments.working
162 return arguments.broken
165 def _print_host_summaries(history_list, arguments): argument
171 @param arguments Parsed arguments object as returned by
179 if not _include_status(status, arguments):
204 def _print_hosts(history_list, arguments): 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.py16 positional arguments:
20 optional arguments:
99 """Log a message with optional format arguments to stdout.
105 the arguments.
108 @param args Format arguments. If empty, the message is logged
125 the arguments.
128 @param args Format arguments. If empty, the message is logged
138 """Log an error to stderr, with optional format arguments.
144 the arguments.
147 @param args Format arguments. If empty, the message is logged
[all …]
/external/autotest/site_utils/deployment/
Dcmdparse_unittest.py22 """Tests for parsing and adding boolean arguments."""
58 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'])
[all …]
Dcmdvalidate.py7 Arguments for the DUT deployment commands require more processing than
9 validation process not only checks that arguments have allowable values,
10 but also may perform a dialog with the user to ask for missing arguments.
93 The function constructs the full GS URI from the arguments, and
250 def _validate_arguments(arguments): argument
251 """Check command line arguments, and account for defaults.
260 @param arguments Parsed results from
266 if arguments.hostnames and arguments.hostname_file:
271 if (arguments.hostname_file and
272 not _is_hostname_file_valid(arguments.hostname_file)):
[all …]
Dinstall.py135 def _get_upload_log_path(arguments): argument
138 name=arguments.upload_basename)
179 def _update_build(afe, report_log, arguments): argument
337 def _get_afe_host(afe, hostname, host_attrs, arguments): argument
350 @param arguments Command line arguments with options.
372 if host_attrs and not arguments.labstation:
379 if not arguments.labstation:
384 _ensure_label_in_afe(afe_host, 'board', arguments.board)
385 _ensure_label_in_afe(afe_host, 'model', arguments.model)
418 def _create_host_for_installation(host, arguments): argument
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/
DMathRuntimeException.java51 * Arguments used to build the message.
53 private final Object[] arguments; field in MathRuntimeException
60 * @param arguments format arguments
64 public MathRuntimeException(final String pattern, final Object ... arguments) { in MathRuntimeException() argument
65 this(new DummyLocalizable(pattern), arguments); in MathRuntimeException()
73 * @param arguments format arguments
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()
101 * @param arguments format arguments
[all …]
DFunctionEvaluationException.java68 * @param arguments format arguments
72 String pattern, Object ... arguments) { in FunctionEvaluationException() argument
73 this(argument, new DummyLocalizable(pattern), arguments); in FunctionEvaluationException()
81 * @param arguments format arguments
85 Localizable pattern, Object ... arguments) { in FunctionEvaluationException() argument
86 super(pattern, arguments); in FunctionEvaluationException()
95 * @param arguments format arguments
99 String pattern, Object ... arguments) { in FunctionEvaluationException() argument
100 this(argument, new DummyLocalizable(pattern), arguments); in FunctionEvaluationException()
108 * @param arguments format arguments
[all …]
DMathException.java50 * Arguments used to build the message.
52 private final Object[] arguments; field in MathException
60 this.arguments = new Object[] { "" }; in MathException()
68 * @param arguments format arguments
72 public MathException(String pattern, Object ... arguments) { in MathException() argument
73 this(new DummyLocalizable(pattern), arguments); in MathException()
81 * @param arguments format arguments
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()
[all …]
/external/skia/src/sksl/ir/
DSkSLFunctionCall.cpp55 static bool has_compile_time_constant_arguments(const ExpressionArray& arguments) { in has_compile_time_constant_arguments() argument
56 for (const std::unique_ptr<Expression>& arg : arguments) { in has_compile_time_constant_arguments()
105 // Takes up to two vector or scalar arguments and coalesces them in sequence: in coalesce_n_way_vector()
113 // If an argument is null, zero is passed to the coalesce function. If the arguments are a mix in coalesce_n_way_vector()
160 static std::unique_ptr<Expression> coalesce_vector(const IntrinsicArguments& arguments, in coalesce_vector() argument
165 SkASSERT(arguments[0]); in coalesce_vector()
166 SkASSERT(!arguments[1]); in coalesce_vector()
167 type_check_expression<T>(*arguments[0]); in coalesce_vector()
169 return coalesce_n_way_vector(arguments[0], /*arg1=*/nullptr, in coalesce_vector()
174 static std::unique_ptr<Expression> coalesce_pairwise_vectors(const IntrinsicArguments& arguments, in coalesce_pairwise_vectors() argument
[all …]
/external/jazzer-api/agent/src/main/java/com/code_intelligence/jazzer/runtime/
DTraceCmpHooks.java40 integerCompare(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in integerCompare() argument
41 TraceDataFlowNativeCallbacks.traceCmpInt((int) arguments[0], (int) arguments[1], hookId); in integerCompare()
51 integerCompareTo(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in integerCompareTo() argument
52 TraceDataFlowNativeCallbacks.traceCmpInt((int) thisObject, (int) arguments[0], hookId); in integerCompareTo()
60 longCompare(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in longCompare() argument
61 TraceDataFlowNativeCallbacks.traceCmpLong((long) arguments[0], (long) arguments[1], hookId); in longCompare()
67 longCompareTo(MethodHandle method, Long thisObject, Object[] arguments, int hookId) { in longCompareTo() argument
68 TraceDataFlowNativeCallbacks.traceCmpLong(thisObject, (long) arguments[0], hookId); in longCompareTo()
76 MethodHandle method, String thisObject, Object[] arguments, int hookId, Boolean returnValue) { in equals() argument
77 if (arguments[0] instanceof String && !returnValue) { in equals()
[all …]
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/time/
DFastDateParserSDFTest.java34 import org.junit.jupiter.params.provider.Arguments;
44 public static Stream<Arguments> data() { in data()
47Arguments.of("z yyyy", "GMT 2010", Locale.UK, true), // no offset specified, but this is all… in data()
48 Arguments.of("z yyyy", "GMT-123 2010", Locale.UK, false), in data()
49 Arguments.of("z yyyy", "GMT-1234 2010", Locale.UK, false), in data()
50 Arguments.of("z yyyy", "GMT-12:34 2010", Locale.UK, true), in data()
51 Arguments.of("z yyyy", "GMT-1:23 2010", Locale.UK, true), in data()
53 Arguments.of("z yyyy", "-1234 2010", Locale.UK, true), in data()
54 Arguments.of("z yyyy", "-12:34 2010", Locale.UK, false), in data()
55 Arguments.of("z yyyy", "-123 2010", Locale.UK, false), in data()
[all …]
/external/dokka/runners/cli/src/main/kotlin/cli/
Dmain.kt122 val arguments = DokkaArguments() in entry() constant
123 val freeArgs: List<String> = Args.parse(arguments, args) ?: listOf() in entry()
124 …val sources = if (arguments.src.isNotEmpty()) arguments.src.split(File.pathSeparatorChar).toList()… in entry()
125 …val samples = if (arguments.samples.isNotEmpty()) arguments.samples.split(File.pathSeparatorChar).… in entry()
126 …val includes = if (arguments.include.isNotEmpty()) arguments.include.split(File.pathSeparatorChar)… in entry()
128 val sourceLinks = if (arguments.srcLink.isNotEmpty() && arguments.srcLink.contains("=")) in entry()
129 listOf(SourceLinkDefinitionImpl.parseSourceLinkDefinition(arguments.srcLink)) in entry()
131 if (arguments.srcLink.isNotEmpty()) { in entry()
137 val classPath = arguments.classpath.split(File.pathSeparatorChar).toList() in entry()
139 if (arguments.useSamplesURL) DownloadSamples.downloadSamples() in entry()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/message2/
DMf2FeaturesTest.java38 .arguments(Args.NONE) in testEmptyMessage()
47 .arguments(Args.NONE) in testPlainText()
56 .arguments(Args.of("userName", "John")) in testPlaceholders()
69 .arguments(Args.of("name", "John", "today", TEST_DATE)) in testArgumentMissing()
74 .arguments(Args.of("name", "John")) in testArgumentMissing()
79 .arguments(Args.of("today", TEST_DATE)) in testArgumentMissing()
84 .arguments(Args.NONE) in testArgumentMissing()
94 Map<String, Object> arguments = Args.of("date", TEST_DATE); in testDefaultLocale() local
98 .arguments(arguments) in testDefaultLocale()
103 .arguments(arguments) in testDefaultLocale()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/message2/
DMf2FeaturesTest.java41 .arguments(Args.NONE) in testEmptyMessage()
50 .arguments(Args.NONE) in testPlainText()
59 .arguments(Args.of("userName", "John")) in testPlaceholders()
72 .arguments(Args.of("name", "John", "today", TEST_DATE)) in testArgumentMissing()
77 .arguments(Args.of("name", "John")) in testArgumentMissing()
82 .arguments(Args.of("today", TEST_DATE)) in testArgumentMissing()
87 .arguments(Args.NONE) in testArgumentMissing()
97 Map<String, Object> arguments = Args.of("date", TEST_DATE); in testDefaultLocale() local
101 .arguments(arguments) in testDefaultLocale()
106 .arguments(arguments) in testDefaultLocale()
[all …]
/external/ComputeLibrary/src/core/CL/
DICLKernel.h70 /** Returns the number of arguments enqueued per array object.
72 * @return The number of arguments enqueued per array object.
79 /** Returns the number of arguments enqueued per tensor object.
81 * @return The number of arguments enqueued per tensor object.
146 …/** Add the passed 1D array's parameters to the object's kernel's arguments starting from the inde…
148 … Index at which to start adding the array's arguments. Will be incremented by the number of kernel…
159 …/** Add the passed 1D tensor's parameters to the object's kernel's arguments starting from the ind…
161 …Index at which to start adding the tensor's arguments. Will be incremented by the number of kernel…
169 …/** Add the passed 1D tensor's parameters to the object's kernel's arguments starting from the ind…
172 …Index at which to start adding the tensor's arguments. Will be incremented by the number of kernel…
[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/rust/crates/syn/tests/
Dtest_meta.rs17 arguments: None, in test_parse_meta_item_word()
35 arguments: None, in test_parse_meta_name_value()
49 arguments: None, in test_parse_meta_name_value()
71 arguments: None, in test_parse_meta_name_value_with_keyword()
85 arguments: None, in test_parse_meta_name_value_with_keyword()
107 arguments: None, in test_parse_meta_name_value_with_bool()
121 arguments: None, in test_parse_meta_name_value_with_bool()
143 arguments: None, in test_parse_meta_item_list_lit()
159 arguments: None, in test_parse_meta_item_list_lit()
183 arguments: None, in test_parse_meta_item_multiple()
[all …]
/external/apache-commons-io/src/test/java/org/apache/commons/io/file/attribute/
DFileTimesTest.java30 import org.junit.jupiter.params.provider.Arguments;
38 public static Stream<Arguments> dateToNtfsProvider() { in dateToNtfsProvider()
41 Arguments.of("1601-01-01T00:00:00.000Z", 0), in dateToNtfsProvider()
42 Arguments.of("1601-01-01T00:00:00.000Z", 1), in dateToNtfsProvider()
43 Arguments.of("1600-12-31T23:59:59.999Z", -1), in dateToNtfsProvider()
44 Arguments.of("1601-01-01T00:00:00.001Z", FileTimes.HUNDRED_NANOS_PER_MILLISECOND), in dateToNtfsProvider()
45 Arguments.of("1601-01-01T00:00:00.001Z", FileTimes.HUNDRED_NANOS_PER_MILLISECOND + 1), in dateToNtfsProvider()
46 Arguments.of("1601-01-01T00:00:00.000Z", FileTimes.HUNDRED_NANOS_PER_MILLISECOND - 1), in dateToNtfsProvider()
47 Arguments.of("1600-12-31T23:59:59.999Z", -FileTimes.HUNDRED_NANOS_PER_MILLISECOND), in dateToNtfsProvider()
48 Arguments.of("1600-12-31T23:59:59.999Z", -FileTimes.HUNDRED_NANOS_PER_MILLISECOND + 1), in dateToNtfsProvider()
[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 …]
/external/python/cpython3/Lib/test/
Dtest_webbrowser.py27 def _test(self, meth, *, args=[URL], kw={}, options, arguments): argument
28 """Given a web browser instance method name along with arguments and
31 indicated instance method with the indicated arguments, and compares
32 the resulting options and arguments passed to Popen by the browser
34 in a position independent fashion, and the arguments are compared in
48 self.assertEqual(popen_args, arguments)
58 arguments=[URL])
68 arguments=[URL])
78 arguments=[URL])
83 arguments=[URL])
[all …]
/external/pcre/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()
69 Arguments:
111 jit_arguments arguments; in pcre2_jit_match()
124 arguments.str = subject + start_offset; in pcre2_jit_match()
125 arguments.begin = subject; in pcre2_jit_match()
126 arguments.end = subject + length; in pcre2_jit_match()
127 arguments.match_data = match_data; in pcre2_jit_match()
128 arguments.startchar_ptr = subject; in pcre2_jit_match()
[all …]
/external/tensorflow/tensorflow/lite/nnapi/sl/public/
DNeuralNetworksSupportLibraryImpl.h631 * Behavior, arguments, and outputs match NNAPI Runtime function
640 * Behavior, arguments, and outputs match NNAPI Runtime function
648 * ANeuralNetworksCompilation_createForDevices}. Behavior, arguments, and
659 * Behavior, arguments, and outputs match NNAPI Runtime function
668 * Behavior, arguments, and outputs match NNAPI Runtime function
678 * arguments, and outputs match NNAPI Runtime function
689 * arguments, and outputs match NNAPI Runtime function
700 * arguments, and outputs match NNAPI Runtime function
711 * arguments, and outputs match NNAPI Runtime function
721 * Behavior, arguments, and outputs match NNAPI Runtime function
[all …]
/external/apache-commons-io/src/test/java/org/apache/commons/io/file/
DTestArguments.java22 import org.junit.jupiter.params.provider.Arguments;
26 static Stream<Arguments> cleaningPathVisitors() { in cleaningPathVisitors()
29 Arguments.of(CleaningPathVisitor.withBigIntegerCounters()), in cleaningPathVisitors()
30 Arguments.of(CleaningPathVisitor.withLongCounters())); in cleaningPathVisitors()
34 static Stream<Arguments> countingPathVisitors() { in countingPathVisitors()
37 Arguments.of(CountingPathVisitor.withBigIntegerCounters()), in countingPathVisitors()
38 Arguments.of(CountingPathVisitor.withLongCounters())); in countingPathVisitors()
42 static Stream<Arguments> deletingPathVisitors() { in deletingPathVisitors()
45 Arguments.of(DeletingPathVisitor.withBigIntegerCounters()), in deletingPathVisitors()
46 Arguments.of(DeletingPathVisitor.withLongCounters())); in deletingPathVisitors()
[all …]

12345678910>>...382