Home
last modified time | relevance | path

Searched refs:positional (Results 1 – 25 of 380) sorted by relevance

12345678910>>...16

/external/rust/crates/argh/tests/ui/conflicting-tails/
Dpositional-and-greedy.stderr1 error: Only the last positional argument may be `Option`, `Vec`, or defaulted.
2 --> tests/ui/conflicting-tails/positional-and-greedy.rs:4:5
4 4 | #[argh(positional)]
7 error: Later positional argument declared here.
8 --> tests/ui/conflicting-tails/positional-and-greedy.rs:8:5
10 8 | #[argh(positional, greedy)]
Dpositional-and-greedy.rs4 #[argh(positional)]
6 positional: Vec<String>, field
8 #[argh(positional, greedy)]
/external/rust/crates/clap/examples/
Descaped-positional.md7 $ escaped-positional --help
10 Usage: escaped-positional[EXE] [OPTIONS] [-- <SLOP>...]
25 $ escaped-positional
32 Notice that we can't pass positional arguments before `--`:
34 $ escaped-positional foo bar
38 Usage: escaped-positional[EXE] [OPTIONS] [-- <SLOP>...]
46 $ escaped-positional -f -p=bob -- sloppy slop slop
55 $ escaped-positional -- -f -p=bob sloppy slop slop
Descaped-positional-derive.md7 $ escaped-positional-derive --help
10 Usage: escaped-positional-derive[EXE] [OPTIONS] [-- <SLOP>...]
25 $ escaped-positional-derive
32 Notice that we can't pass positional arguments before `--`:
34 $ escaped-positional-derive foo bar
38 Usage: escaped-positional-derive[EXE] [OPTIONS] [-- <SLOP>...]
46 $ escaped-positional-derive -f -p=bob -- sloppy slop slop
55 $ escaped-positional-derive -- -f -p=bob sloppy slop slop
/external/rust/crates/clap/3.2.23/examples/
Descaped-positional-derive.md7 $ escaped-positional-derive --help
12 escaped-positional-derive[EXE] [OPTIONS] [-- <SLOP>...]
27 $ escaped-positional-derive
34 Notice that we can't pass positional arguments before `--`:
36 $ escaped-positional-derive foo bar
41 escaped-positional-derive[EXE] [OPTIONS] [-- <SLOP>...]
49 $ escaped-positional-derive -f -p=bob -- sloppy slop slop
58 $ escaped-positional-derive -- -f -p=bob sloppy slop slop
Descaped-positional.md7 $ escaped-positional --help
12 escaped-positional[EXE] [OPTIONS] [-- <SLOP>...]
27 $ escaped-positional
34 Notice that we can't pass positional arguments before `--`:
36 $ escaped-positional foo bar
41 escaped-positional[EXE] [OPTIONS] [-- <SLOP>...]
49 $ escaped-positional -f -p=bob -- sloppy slop slop
58 $ escaped-positional -- -f -p=bob sloppy slop slop
/external/rust/crates/argh/tests/
Dlib.rs424 mod positional { module
430 #[argh(positional)]
433 #[argh(positional)]
464 #[argh(positional)]
473 #[argh(positional, greedy)]
548 #[argh(positional)]
551 #[argh(positional)]
566 #[argh(positional)]
569 #[argh(positional, default = "5")]
584 #[argh(positional)]
[all …]
/external/python/oauth2client/tests/
Dtest_util.py18 @util.positional(1)
28 @util.positional(0)
38 @util.positional
51 @util.positional(1)
62 @util.positional(1)
/external/python/apitools/apitools/base/protorpclite/
Dutil_test.py39 @util.positional(0)
50 @util.positional(1)
61 @util.positional(2)
75 @util.positional(2)
86 @util.positional
103 util.positional, fn)
106 @util.positional(0)
Dutil.py55 def positional(max_positional_args): function
155 return positional(len(args) - len(defaults))(max_positional_args)
158 @positional(1)
/external/python/python-api-core/google/api_core/
Dpath_template.py82 positional = match.group("positional")
92 elif positional is not None:
144 positional = match.group("positional")
154 elif positional == "*":
156 elif positional == "**":
/external/crosvm/src/crosvm/
Dcmdline.rs173 #[argh(positional, arg_name = "SIZE")]
176 #[argh(positional, arg_name = "VM_SOCKET")]
185 #[argh(positional, arg_name = "VM_SOCKET")]
194 #[argh(positional, arg_name = "BATTERY_TYPE")]
197 #[argh(positional)]
201 #[argh(positional)]
205 #[argh(positional, arg_name = "VM_SOCKET")]
215 #[argh(positional, arg_name = "PATH")]
218 #[argh(positional, arg_name = "LABEL:PARTITION")]
228 #[argh(positional, arg_name = "PATH")]
[all …]
/external/python/google-api-python-client/tests/
Dtest__helpers.py29 @_helpers.positional(1)
39 @_helpers.positional(0)
49 @_helpers.positional
62 @_helpers.positional(1)
73 @_helpers.positional(1)
/external/python/oauth2client/oauth2client/contrib/
Dmultistore_file.py94 @util.positional(4)
117 @util.positional(2)
140 @util.positional(2)
164 @util.positional(1)
185 @util.positional(1)
209 @util.positional(2)
/external/autotest/utils/frozen_chromite/third_party/oauth2client/
Dmultistore_file.py76 @util.positional(4)
99 @util.positional(2)
122 @util.positional(2)
146 @util.positional(1)
167 @util.positional(1)
191 @util.positional(2)
/external/autotest/utils/frozen_chromite/third_party/googleapiclient/
Derrors.py42 @util.positional(3)
118 @util.positional(2)
133 @util.positional(1)
Dchannel.py117 @util.positional(5)
158 @util.positional(5)
264 @util.positional(2)
Dhttp.py329 @util.positional(1)
402 @util.positional(3)
527 @util.positional(2)
578 @util.positional(2)
620 @util.positional(3)
643 @util.positional(1)
735 @util.positional(4)
784 @util.positional(1)
841 @util.positional(2)
853 @util.positional(1)
[all …]
/external/tensorflow/tensorflow/compiler/aot/
Dcodegen_test_h.golden108 // There is a set of methods for each positional argument, with the following
112 // Sets the buffer of type T for positional argument N. May be called in
114 // called in AllocMode::RESULTS_PROFILES_AND_TEMPS_ONLY for each positional
118 // Returns the buffer of type T for positional argument N.
121 // Returns a reference to the value of type T for positional argument N,
199 // for each positional result, with the following general form:
202 // Returns the buffer of type T for positional result N.
205 // Returns a reference to the value of type T for positional result N,
383 // Array of names of each positional argument, terminated by nullptr.
389 // Array of names of each positional variable, terminated by nullptr.
[all …]
/external/python/google-api-python-client/googleapiclient/
Derrors.py38 @util.positional(3)
157 @util.positional(2)
175 @util.positional(1)
Dchannel.py125 @util.positional(5)
166 @util.positional(5)
282 @util.positional(2)
/external/bazel-skylib/lib/
Dpartial.bzl32 *args: Additional positional arguments to be appended to the ones given to
51 A partial 'function' can be defined with positional args and kwargs:
71 The positional args passed to the function are the args passed into make
72 followed by any additional positional args given to call. The below example
73 illustrates a function with two positional arguments where one is supplied by
127 Note that keyword args may not overlap with positional args, regardless of
/external/llvm/test/MC/AsmParser/
Dmacros-argument-parsing-diagnostics.s11 # CHECK: error: too many positional arguments
16 # CHECK: error: cannot mix positional and keyword arguments
/external/tensorflow/tensorflow/python/keras/utils/
Dtf_inspect.py272 positional = func_and_positional[1:]
277 positional = (this,) + positional
279 call_args.update(dict(zip(remaining_positionals, positional)))
/external/tensorflow/tensorflow/python/util/
Dtf_inspect.py286 positional = func_and_positional[1:]
291 positional = (this,) + positional
293 call_args.update(dict(zip(remaining_positionals, positional)))

12345678910>>...16