Home
last modified time | relevance | path

Searched +full:is +full:- +full:arguments (Results 1 – 25 of 1274) sorted by relevance

12345678910>>...51

/external/autotest/site_utils/
Ddut_status.py3 # Use of this source code is governed by a BSD-style license that can be
14 broken". The status determination is based on the history of
15 completed jobs for the DUT in a given time interval; still-running
20 A DUT's reported status is based on the DUT's job history in a time
21 interval determined by command line options. The interval is
23 --until/-u DATE/TIME - Specifies an end time for the search
25 --since/-s DATE/TIME - Specifies a start time for the search
27 --duration/-d HOURS - Specifies the length of the search interval
31 one option is provided, these defaults are used:
32 --until - Use the given end time with the default duration.
[all …]
Dtest_that.py3 # Use of this source code is governed by a BSD-style license that can be
57 'Cannot determine board, please specify a --board option.')
67 'Cannot determine model, please specify a --model option.')
73 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:
82 raise ValueError('--args flag not supported when running against '
[all …]
Dbalance_pools.py3 # Use of this source code is governed by a BSD-style license that can be
10 of spares. The command is meant primarily for replacing broken DUTs
16 positional arguments:
20 optional arguments:
21 -h, --help show this help message and exit
22 -t COUNT, --total COUNT
25 -a COUNT, --grow COUNT
28 -d COUNT, --shrink COUNT
31 -s POOL, --spare POOL
34 -p PHASE, --phase PHASE
[all …]
/external/autotest/site_utils/deployment/
Dcmdvalidate.py2 # Use of this source code is governed by a BSD-style license that can be
7 Arguments for the DUT deployment commands require more processing than
8 can readily be done by `ArgumentParser.parse_args()`. The post-parsing
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.
13 The interactive dialog is invoked if the board and hostnames are omitted
20 existing setting is retained.
38 # one build. The template is to be filled in with a board
41 _BUILD_URI_FORMAT = 'gs://chromeos-image-archive/%s-release/%s'
47 # is used to convert the recognized syntaxes into the name as
[all …]
Dcmdparse_unittest.py22 """Tests for parsing and adding boolean arguments."""
38 parser.parse_args(['--option', '--nooption'])
40 parser.parse_args(['--nooption', '--option'])
51 parser.parse_args(['--option', '--nooption'])
53 parser.parse_args(['--nooption', '--option'])
56 """Test option handling when no option is provided."""
58 arguments = parser.parse_args([])
59 self.assertFalse(arguments.option)
62 """Test option handling when no option is provided."""
64 arguments = parser.parse_args([])
[all …]
Dinstall.py3 # Use of this source code is governed by a BSD-style license that can be
10 case is for deployment of DUTs that have just been placed in the lab
11 for the first time. The second use case is for use after repairing
29 servo is generally in good order.
30 * For the full deployment case, install dev-signed RO firmware
39 * Every servo host is up and running, and accessible via SSH.
40 * There is a known, working test image that can be staged and
84 _LOG_FORMAT = '%(asctime)s | %(levelname)-10s | %(message)s'
92 _LOG_BUCKET_NAME = 'chromeos-install-logs'
94 _OMAHA_STATUS = 'gs://chromeos-build-release-console/omaha_status.json'
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/
DMathRuntimeException.java9 * http://www.apache.org/licenses/LICENSE-2.0
12 * distributed under the License is distributed on an "AS IS" BASIS,
35 * Base class for commons-math unchecked exceptions.
37 * @version $Revision: 1070725 $ $Date: 2011-02-15 02:31:12 +0100 (mar. 15 févr. 2011) $
51 * Arguments used to build the message.
53 private final Object[] arguments; field in MathRuntimeException
58 * Message formatting is delegated to {@link java.text.MessageFormat}.
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()
[all …]
DFunctionEvaluationException.java9 * http://www.apache.org/licenses/LICENSE-2.0
12 * distributed under the License is distributed on an "AS IS" BASIS,
30 * @version $Revision: 1070725 $ $Date: 2011-02-15 02:31:12 +0100 (mar. 15 févr. 2011) $
65 * Message formatting is delegated to {@link java.text.MessageFormat}.
68 * @param arguments format arguments
72 String pattern, Object ... arguments) { in FunctionEvaluationException() argument
73 this(argument, new DummyLocalizable(pattern), arguments); in FunctionEvaluationException()
78 * Message formatting is delegated to {@link java.text.MessageFormat}.
81 * @param arguments format arguments
85 Localizable pattern, Object ... arguments) { in FunctionEvaluationException() argument
[all …]
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/time/
DFastDateParserSDFTest.java9 * http://www.apache.org/licenses/LICENSE-2.0
12 * distributed under the License is distributed on an "AS IS" BASIS,
34 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()
[all …]
/external/autotest/site_utils/stable_images/
Dstable_version_unittest.py2 # Use of this source code is governed by a BSD-style license that can be
20 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)
29 """Test for the `--web` option."""
30 for option in ['-w', '--web']:
[all …]
Dstable_version.py3 # Use of this source code is governed by a BSD-style license that can be
9 stable_version [ -w SERVER ] [ -n ] [ -t TYPE ]
10 stable_version [ -w SERVER ] [ -n ] [ -t TYPE ] BOARD/MODEL
11 stable_version [ -w SERVER ] [ -n ] -t TYPE -d BOARD/MODEL
12 stable_version [ -w SERVER ] [ -n ] -t TYPE BOARD/MODEL VERSION
15 -w SERVER | --web SERVER
18 -n | --dry-run
22 -t TYPE | --type TYPE
23 Specifies the type of version mapping to use. This option is
28 -d | --delete
[all …]
/external/skia/src/sksl/ir/
DSkSLFunctionCall.cpp4 * Use of this source code is governed by a BSD-style license that can be
53 static bool has_compile_time_constant_arguments(const ExpressionArray& arguments) { in has_compile_time_constant_arguments() argument
54 for (const std::unique_ptr<Expression>& arg : arguments) { in has_compile_time_constant_arguments()
90 // Takes up to two vector or scalar arguments and coalesces them in sequence: in coalesce_n_way_vector()
98 // If an argument is null, zero is passed to the coalesce function. If the arguments are a mix in coalesce_n_way_vector()
102 Position pos = arg0->fPosition; in coalesce_n_way_vector()
106 const Type& vecType = arg0->type().isVector() ? arg0->type() : in coalesce_n_way_vector()
107 (arg1 && arg1->type().isVector()) ? arg1->type() : in coalesce_n_way_vector()
108 arg0->type(); in coalesce_n_way_vector()
109 SkASSERT( arg0->type().componentType().matches(vecType.componentType())); in coalesce_n_way_vector()
[all …]
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
DTokenRewriteStream.js5 * operations are done lazily--only if you convert the buffer to a
6 * String. This is very efficient because you are not moving data around
7 * all the time. As the buffer of tokens is converted to strings, the
8 * toString() method(s) check to see if there is an operation at the
9 * current index. If so, the operation is done and then normal String
10 * rendering continues on the buffer. This is like having multiple Turing
13 * Since the operations are done lazily at toString-time, operations do not
14 * screw up the token index values. That is, an insert operation at token
15 * index i does not change the index values for tokens i+1..n-1.
20 * roll back any changes if there is an error just by removing instructions.
[all …]
/external/jazzer-api/src/test/java/com/code_intelligence/jazzer/mutation/mutator/lang/
DFloatingPointMutatorTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
24 import static org.junit.jupiter.params.provider.Arguments.arguments;
36 import org.junit.jupiter.params.provider.Arguments;
43 static Stream<Arguments> floatForceInRangeCases() { in floatForceInRangeCases()
50 // value is already in range: it should stay in range in floatForceInRangeCases()
51 arguments(0.0f, 0.0f, 1.0f, true), arguments(0.0f, 1.0f, 1.0f, true), in floatForceInRangeCases()
52 arguments(Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY, 1.0f, true), in floatForceInRangeCases()
53 arguments(Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY, Float.POSITIVE_INFINITY, true), in floatForceInRangeCases()
54 arguments(Float.NaN, 0.0f, 1.0f, true), in floatForceInRangeCases()
[all …]
/external/ComputeLibrary/src/core/CL/
DICLKernel.h2 * Copyright (c) 2016-2022 Arm Limited.
4 * SPDX-License-Identifier: MIT
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
10 * sell copies of the Software, and to permit persons to whom the Software is
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
70 /** 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.
99 * @param[in] lws_hint Local-Workgroup-Size to use.
[all …]
/external/python/cpython2/Doc/library/
Dargparse.rst1 :mod:`argparse` --- Parser for command-line options, arguments and sub-commands
5 :synopsis: Command-line option and argument parsing library.
13 --------------
18 introduction to Python command-line parsing, have a look at the
19 :ref:`argparse tutorial <argparse-tutorial>`.
21 The :mod:`argparse` module makes it easy to write user-friendly command-line
22 interfaces. The program defines what arguments it requires, and :mod:`argparse`
25 when users give the program invalid arguments.
29 -------
31 The following code is a Python program that takes a list of integers and
[all …]
/external/tensorflow/tensorflow/compiler/xla/python/
Djax_jit.h7 http://www.apache.org/licenses/LICENSE-2.0
10 distributed under the License is distributed on an "AS IS" BASIS,
36 // - a global flag value, e.g., associated to --jax_enable_x64
37 // - possibly a thread-local value, which initially is std::nullopt and
38 // overrides the global value if set. The thread-local state is
43 // We likely do not hold the GIL if this JitState is thread-local, so we in ~JitState()
46 xla::GlobalPyRefManager()->AddGarbage(absl::MakeSpan(&o, 1)); in ~JitState()
55 // in global state, indicating there is no manual override.
64 // A callback that, if present, is called when a JITted function is executed
72 // Getters for JitState fields that first look in thread-local state, then
[all …]
/external/python/cpython3/Doc/c-api/
Dcall.rst12 ----------------------
15 The signature of the slot is::
19 A call is made using a tuple for the positional arguments
20 and a dict for the keyword arguments, similarly to
22 *args* must be non-NULL (use an empty tuple if there are no arguments)
23 but *kwargs* may be *NULL* if there are no keyword arguments.
25 This convention is not only used by *tp_call*:
27 also pass arguments this way.
30 :ref:`call API <capi-call>`.
36 -----------------------
[all …]
/external/pigweed/pw_build/
Dpigweed.cmake7 # https://www.apache.org/licenses/LICENSE-2.0
10 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
18 # The PW_ROOT environment variable should be set in bootstrap. If it is not set,
22 message("The PW_ROOT environment variable is not set; "
32 # Wrapper around cmake_parse_arguments that fails with an error if any arguments
35 # All parsed arguments are prefixed with "arg_". This helper can only be used
38 # Required Arguments:
40 # NUM_POSITIONAL_ARGS - PARSE_ARGV <N> arguments for
45 # OPTION_ARGS - <option> arguments for cmake_parse_arguments
46 # ONE_VALUE_ARGS - <one_value_keywords> arguments for cmake_parse_arguments
[all …]
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DTestThread.java8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
36 * test with reference to the same "lock-like object", and then their interactions with that object
39 * <p>A "lock-like object" is really any object that may be used for concurrency control. If the
40 * {@link #callAndAssertBlocks} method is ever called in a test, the lock-like object must have a
42 * the {@link #callAndAssertWaits} method is ever called in a test, the lock-like object must have a
45 * except that the method parameter must accept whatever condition-like object is passed into {@code
48 * @param <L> the type of the lock-like object to be used
69 // Thread.stop() is okay because all threads started by a test are dying at the end of the test,
70 // so there is no object state put at risk by stopping the threads abruptly. In some cases a test
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DTestThread.java8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
36 * test with reference to the same "lock-like object", and then their interactions with that object
39 * <p>A "lock-like object" is really any object that may be used for concurrency control. If the
40 * {@link #callAndAssertBlocks} method is ever called in a test, the lock-like object must have a
42 * the {@link #callAndAssertWaits} method is ever called in a test, the lock-like object must have a
45 * except that the method parameter must accept whatever condition-like object is passed into {@code
48 * @param <L> the type of the lock-like object to be used
69 // Thread.stop() is okay because all threads started by a test are dying at the end of the test,
70 // so there is no object state put at risk by stopping the threads abruptly. In some cases a test
[all …]
/external/mbedtls/tests/scripts/
Dset_psa_test_dependencies.py7 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
14 # This list is manually filtered from mbedtls_config.h.
83 """Whether dep is a classic dependency that PSA test cases should not use."""
89 """Whether dep is a PSA dependency which is determined systematically."""
124 def systematic_dependencies(file_name, function_name, arguments): argument
129 # is not supported but in the case where the test is to check an
132 # cases # where PSA_ERROR_NOT_SUPPORTED is returned instead of
135 arguments[-1].startswith('PSA_ERROR_') and \
136 arguments[-1] != ('PSA_ERROR_NOT_PERMITTED'):
137 arguments[-2] = ''
[all …]
/external/tensorflow/tensorflow/lite/nnapi/sl/public/
DNeuralNetworksSupportLibraryImpl.h7 http://www.apache.org/licenses/LICENSE-2.0
10 distributed under the License is distributed on an "AS IS" BASIS,
22 * This file is part of Android's set of stable system headers
25 * Third-party source AND binary code relies on the definitions
28 * - DO NOT MODIFY ENUMS (EXCEPT IF YOU ADD NEW 32-BIT VALUES)
29 * - DO NOT MODIFY CONSTANTS OR FUNCTIONAL MACROS
30 * - DO NOT CHANGE THE SIGNATURE OF FUNCTIONS IN ANY WAY
31 * - DO NOT CHANGE THE LAYOUT OR SIZE OF STRUCTURES
54 * the time the CPU would take for the same workload. A lower number is
61 * for doing the same workload. A lower number is better.
[all …]
/external/jazzer-api/src/main/java/com/code_intelligence/jazzer/runtime/
DTraceCmpHooks.java7 // http://www.apache.org/licenses/LICENSE-2.0
10 // distributed under the License is distributed on an "AS IS" BASIS,
39 integerCompare(MethodHandle method, Object alwaysNull, Object[] arguments, int hookId) { in integerCompare() argument
40 TraceDataFlowNativeCallbacks.traceCmpInt((int) arguments[0], (int) arguments[1], hookId); in integerCompare()
50 integerCompareTo(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in integerCompareTo() argument
51 TraceDataFlowNativeCallbacks.traceCmpInt((int) thisObject, (int) arguments[0], hookId); in integerCompareTo()
59 longCompare(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in longCompare() argument
60 TraceDataFlowNativeCallbacks.traceCmpLong((long) arguments[0], (long) arguments[1], hookId); in longCompare()
66 longCompareTo(MethodHandle method, Long thisObject, Object[] arguments, int hookId) { in longCompareTo() argument
67 TraceDataFlowNativeCallbacks.traceCmpLong(thisObject, (long) arguments[0], hookId); in longCompareTo()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dumsg.h5 * Copyright (c) 1997-2011, International Business Machines Corporation and
11 * encoding: UTF-8
42 * with optional arguments (variables/placeholders).
43 * The arguments can occur in any order, which is necessary for translation
46 * <p>The opaque UMessageFormat type is a thin C wrapper around
47 * a C++ MessageFormat. It is constructed from a <em>pattern</em> string
48 * with arguments in {curly braces} which will be replaced by formatted values.
50 * <p>Currently, the C API supports only numbered arguments.
90 * arguments will be dynamically set at runtime.
165 * This function may perform re-ordering of the arguments depending on the
[all …]

12345678910>>...51