Home
last modified time | relevance | path

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

12345678910>>...49

/aosp_15_r20/external/autotest/site_utils/
H A 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 …]
H A 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 …]
H A 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 …]
/aosp_15_r20/external/autotest/site_utils/deployment/
H A 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 …]
H A 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 …]
H A 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 …]
/aosp_15_r20/external/apache-commons-math/src/main/java/org/apache/commons/math/
H A 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 …]
/aosp_15_r20/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 …]
/aosp_15_r20/external/skia/src/sksl/ir/
H A 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 …]
/aosp_15_r20/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/time/
H A 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 …]
/aosp_15_r20/external/python/cpython3/Doc/library/
Dargparse.rst1 :mod:`argparse` --- Parser for command-line options, arguments and sub-commands
5 :synopsis: Command-line option and argument parsing library.
14 --------------
19 introduction to Python command-line parsing, have a look at the
20 :ref:`argparse tutorial <argparse-tutorial>`.
22 The :mod:`argparse` module makes it easy to write user-friendly command-line
23 interfaces. The program defines what arguments it requires, and :mod:`argparse`
26 will also issue errors when users give the program invalid arguments.
30 ------------------
32 The :mod:`argparse` module's support for command-line interfaces is built
[all …]
/aosp_15_r20/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
H A 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 …]
/aosp_15_r20/external/tensorflow/tensorflow/lite/nnapi/sl/public/
H A 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 …]
/aosp_15_r20/prebuilts/runtime/mainline/i18n/sdk/sdk_library/public/legacy.i18n.module.platform.api_stub_sources/android/icu/text/
H A DMessageFormat.java6 * Copyright (c) 2004-2016, International Business Machines
35 * with optional arguments (variables/placeholders).
36 * The arguments can occur in any order, which is necessary for translation
39 * <p>A MessageFormat is constructed from a <em>pattern</em> string
40 * with arguments in {curly braces} which will be replaced by formatted values.
46 * itself doesn't implement locale-specific behavior. Any locale-specific
47 * behavior is defined by the pattern that you provide and the
48 * subformats used for inserted arguments.
50 * <p>Arguments can be named (using identifiers) or numbered (using small ASCII-digit integers).
52 * if the pattern has named arguments (see {@link #usesNamedArguments()}).
[all …]
/aosp_15_r20/prebuilts/runtime/mainline/i18n/sdk/sdk_library/module-lib/i18n.module.public.api_stub_sources/android/icu/text/
H A DMessageFormat.java6 * Copyright (c) 2004-2016, International Business Machines
34 * with optional arguments (variables/placeholders).
35 * The arguments can occur in any order, which is necessary for translation
38 * <p>A MessageFormat is constructed from a <em>pattern</em> string
39 * with arguments in {curly braces} which will be replaced by formatted values.
45 * itself doesn't implement locale-specific behavior. Any locale-specific
46 * behavior is defined by the pattern that you provide and the
47 * subformats used for inserted arguments.
49 * <p>Arguments can be named (using identifiers) or numbered (using small ASCII-digit integers).
51 * if the pattern has named arguments (see {@link #usesNamedArguments()}).
[all …]
/aosp_15_r20/prebuilts/runtime/mainline/i18n/sdk/sdk_library/public/i18n.module.public.api_stub_sources/android/icu/text/
H A DMessageFormat.java6 * Copyright (c) 2004-2016, International Business Machines
34 * with optional arguments (variables/placeholders).
35 * The arguments can occur in any order, which is necessary for translation
38 * <p>A MessageFormat is constructed from a <em>pattern</em> string
39 * with arguments in {curly braces} which will be replaced by formatted values.
45 * itself doesn't implement locale-specific behavior. Any locale-specific
46 * behavior is defined by the pattern that you provide and the
47 * subformats used for inserted arguments.
49 * <p>Arguments can be named (using identifiers) or numbered (using small ASCII-digit integers).
51 * if the pattern has named arguments (see {@link #usesNamedArguments()}).
[all …]
/aosp_15_r20/prebuilts/runtime/mainline/i18n/sdk/sdk_library/public/stable.i18n.module.platform.api_stub_sources/android/icu/text/
H A DMessageFormat.java6 * Copyright (c) 2004-2016, International Business Machines
35 * with optional arguments (variables/placeholders).
36 * The arguments can occur in any order, which is necessary for translation
39 * <p>A MessageFormat is constructed from a <em>pattern</em> string
40 * with arguments in {curly braces} which will be replaced by formatted values.
46 * itself doesn't implement locale-specific behavior. Any locale-specific
47 * behavior is defined by the pattern that you provide and the
48 * subformats used for inserted arguments.
50 * <p>Arguments can be named (using identifiers) or numbered (using small ASCII-digit integers).
52 * if the pattern has named arguments (see {@link #usesNamedArguments()}).
[all …]
/aosp_15_r20/prebuilts/runtime/mainline/i18n/sdk/sdk_library/public/i18n.module.intra.core.api_stub_sources/android/icu/text/
H A DMessageFormat.java6 * Copyright (c) 2004-2016, International Business Machines
35 * with optional arguments (variables/placeholders).
36 * The arguments can occur in any order, which is necessary for translation
39 * <p>A MessageFormat is constructed from a <em>pattern</em> string
40 * with arguments in {curly braces} which will be replaced by formatted values.
46 * itself doesn't implement locale-specific behavior. Any locale-specific
47 * behavior is defined by the pattern that you provide and the
48 * subformats used for inserted arguments.
50 * <p>Arguments can be named (using identifiers) or numbered (using small ASCII-digit integers).
52 * if the pattern has named arguments (see {@link #usesNamedArguments()}).
[all …]
/aosp_15_r20/prebuilts/runtime/mainline/i18n/sdk/sdk_library/system/i18n.module.public.api_stub_sources/android/icu/text/
H A DMessageFormat.java6 * Copyright (c) 2004-2016, International Business Machines
34 * with optional arguments (variables/placeholders).
35 * The arguments can occur in any order, which is necessary for translation
38 * <p>A MessageFormat is constructed from a <em>pattern</em> string
39 * with arguments in {curly braces} which will be replaced by formatted values.
45 * itself doesn't implement locale-specific behavior. Any locale-specific
46 * behavior is defined by the pattern that you provide and the
47 * subformats used for inserted arguments.
49 * <p>Arguments can be named (using identifiers) or numbered (using small ASCII-digit integers).
51 * if the pattern has named arguments (see {@link #usesNamedArguments()}).
[all …]
/aosp_15_r20/external/jazzer-api/src/test/java/com/code_intelligence/jazzer/mutation/mutator/lang/
H A 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 …]
/aosp_15_r20/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 …]
/aosp_15_r20/external/clang/test/SemaCXX/
H A Dwarn-thread-safety-parsing.cpp1 // RUN: %clang_cc1 -fsyntax-only -verify -Wthread-safety %s
72 //---------------------------------------//
74 //--------------------------------------//
92 //-----------------------------------------//
94 //-----------------------------------------//
106 // expected-error {{'no_thread_safety_analysis' attribute takes no arguments}}
112 // expected-warning {{'no_thread_safety_analysis' attribute only applies to functions}} in noanal_testfn()
117 // expected-warning {{'no_thread_safety_analysis' attribute only applies to functions}}
122 // expected-warning {{'no_thread_safety_analysis' attribute only applies to functions}}
127 // expected-warning {{'no_thread_safety_analysis' attribute only applies to functions}}
[all …]
/aosp_15_r20/external/python/cpython3/Doc/tutorial/
Dcontrolflow.rst1 .. _tut-morecontrol:
11 .. _tut-if:
16 Perhaps the most well-known statement type is the :keyword:`if` statement. For
33 There can be zero or more :keyword:`elif` parts, and the :keyword:`else` part is
34 optional. The keyword ':keyword:`!elif`' is short for 'else if', and is useful
36 :keyword:`!elif` ... sequence is a substitute for the ``switch`` or
41 details see :ref:`tut-match`.
43 .. _tut-for:
59 confuse non-C programmers.
73 be tricky to get right. Instead, it is usually more straight-forward to loop
[all …]
/aosp_15_r20/external/pigweed/pw_build/
H A 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 …]
/aosp_15_r20/external/ComputeLibrary/src/core/CL/
H A 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 …]

12345678910>>...49