Home
last modified time | relevance | path

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

12345678

/third_party/boost/libs/program_options/test/
Dpositional_options_test.cpp68 command_line_parser(args).options(desc).positional(p).run(); in test_parsing()
80 BOOST_CHECK_THROW(command_line_parser(args).options(desc).positional(p) in test_parsing()
Dexception_txt_test.cpp557 store(command_line_parser(4, argv).options(desc).positional(positional_args).run(), vm); in too_many_positional_options()
631 .positional(popts) in test_empty_value_inner()
/third_party/python/Doc/c-api/
Dcall.rst19 A call is made using a tuple for the positional arguments
74 - *args* is a C array consisting of the positional arguments followed by the
77 - *nargsf* is the number of positional arguments plus possibly the
79 To get the actual number of positional arguments from *nargsf*,
167 Call *callable*'s :c:type:`vectorcallfunc` with positional and keyword
253 Call a callable Python object *callable* with exactly 1 positional argument
353 Call a method of the Python object *obj* with a single positional argument
381 Call *callable* with positional arguments passed exactly as in the vectorcall_ protocol,
383 The *args* array contains only the positional arguments.
389 but not a tuple for the positional arguments.
[all …]
/third_party/python/Doc/tutorial/
Dcontrolflow.rst324 You can use positional parameters with some builtin classes that provide an
628 parrot(1000) # 1 positional argument
632 parrot('a million', 'bereft of life', 'jump') # 3 positional arguments
633 parrot('a thousand', state='pushing up the daisies') # 1 positional, 1 keyword
642 In a function call, keyword arguments must follow positional arguments.
662 receives a :ref:`tuple <tut-tuples>` containing the positional
721 positional-only, positional-or-keyword, and keyword-only. Keyword parameters
736 as *positional-only*. If *positional-only*, the parameters' order matters, and
739 separate the positional-only parameters from the rest of the parameters.
740 If there is no ``/`` in the function definition, there are no positional-only
[all …]
/third_party/glib/glib/
Dgvariant-parser.c2087 Positional *positional = (Positional *) ast; in positional_get_pattern() local
2089 return g_strdup (g_variant_get_type_string (positional->value)); in positional_get_pattern()
2097 Positional *positional = (Positional *) ast; in positional_get_value() local
2100 g_assert (positional->value != NULL); in positional_get_value()
2102 if G_UNLIKELY (!g_variant_is_of_type (positional->value, type)) in positional_get_value()
2110 g_assert (positional->value != NULL); in positional_get_value()
2111 value = positional->value; in positional_get_value()
2112 positional->value = NULL; in positional_get_value()
2120 Positional *positional = (Positional *) ast; in positional_free() local
2125 g_slice_free (Positional, positional); in positional_free()
[all …]
/third_party/boost/libs/program_options/doc/
Dtodo.txt6 Document handling of positional options which depends on precedding options.
8 a positional option. (Email from Tony).
89 > multiple sources, hidden options, positional options, INI handling etc.
99 > [By the way, "positional options" _desperately_ needs an entry in the
125 In one specific case -- positional command line options, we don't have
226 > * allowing unknown options -- these are considered positional parameters
227 > * rearranging the argument list such that all positional parameters
Dpost_review_plan.txt54 3. (done) Support for positional options.
57 be able to specify that, for example, third positional option is to be
/third_party/python/Doc/library/
Dsched.rst46 ... s.enter(5, 2, print_time, argument=('positional',))
53 From print_time 930343695.274 positional
74 *argument* is a sequence holding the positional arguments for *action*.
Dargparse.rst57 positional arguments:
270 positional arguments:
285 positional arguments:
350 objects, collects all the positional and optional actions from them, and adds
455 positional arguments:
474 positional arguments:
723 argument, like ``-f`` or ``--foo``, or a positional argument, like a list of
731 while a positional argument could be created like::
737 be positional::
942 it generally doesn't make much sense to have more than one positional argument
[all …]
Dinspect.rst88 | | | values for positional or |
180 | | co_posonlyargcount| number of positional only |
603 to it are positional-only. For more info, see
604 :ref:`the FAQ entry on positional-only parameters <faq-positional-only-arguments>`.
630 positional-only first, then positional-or-keyword, and that parameters with
664 Create a mapping from positional and keyword arguments to parameters.
760 | *POSITIONAL_ONLY* | Value must be supplied as a positional |
766 | | positional argument (this is the standard |
770 | *VAR_POSITIONAL* | A tuple of positional arguments that aren't |
812 positional or keyword
[all …]
Ddis.rst1116 Calls a callable object with positional arguments.
1117 *argc* indicates the number of positional arguments.
1118 The top of the stack contains positional arguments, with the right-most
1125 This opcode is used only for calls with positional arguments.
1130 Calls a callable object with positional (if any) and keyword arguments.
1131 *argc* indicates the total number of positional and keyword arguments.
1136 Below that are positional arguments, with the right-most parameter on
1149 Calls a callable object with variable set of positional and keyword
1154 positional arguments respectively.
1176 Calls a method. *argc* is the number of positional arguments.
[all …]
Dstring.rst94 an arbitrary set of positional and keyword arguments.
98 A format string argument is now :ref:`positional-only
99 <positional-only_parameter>`.
141 positional argument in *args*; if it is a string, then it represents a
144 The *args* parameter is set to the list of positional arguments to
164 the format string (integers for positional arguments, and strings for
228 keyword. If it's a number, it refers to a positional argument, and if it's a keyword,
240 The positional argument specifiers can be omitted for :meth:`str.format`,
244 The positional argument specifiers can be omitted for :class:`Formatter`.
248 "First, thou shalt count to {0}" # References first positional argument
[all …]
/third_party/python/Doc/howto/
Dargparse.rst53 What we did is specify what is known as a positional argument. It's named so
130 positional arguments:
156 positional argument, but we don't know what it does, other than by guessing or
172 positional arguments:
224 So far we have been playing with positional arguments. Let us
374 * We've brought back a positional argument, hence the complaint.
440 positional arguments:
490 positional arguments:
626 positional arguments:
750 positional arguments:
/third_party/boost/libs/program_options/example/
Doptions_description.cpp50 options(desc).positional(p).run(), vm); in main()
Dmultiple_sources.cpp76 options(cmdline_options).positional(p).run(), vm); in main()
/third_party/node/deps/npm/node_modules/yargs/lib/
Dcommand.js324 function populatePositional (positional, argv, positionalMap, parseOptions) { argument
325 const cmd = positional.cmd[0]
326 if (positional.variadic) {
/third_party/boost/boost/program_options/detail/
Dparsers.hpp43 basic_command_line_parser<charT>::positional( in positional() function in boost::program_options::basic_command_line_parser
/third_party/boost/libs/compute/perf/
Dperf_accumulate.cpp106 .options(options).positional(positional_options).run(), in main()
Dperf_sort.cpp101 .options(options).positional(positional_options).run(), in main()
/third_party/boost/boost/program_options/
Dparsers.hpp130 basic_command_line_parser& positional(
/third_party/mesa3d/docs/relnotes/
D7.0.rst43 - Fixed a positional light source bug (bug 11009)
/third_party/node/deps/npm/node_modules/yargs-parser/
DREADME.md84 * `_`: an array representing the positional arguments.
101 * `_`: an array representing the positional arguments.
330 Should parsing stop at the first positional argument? This is similar to how e.g. `ssh` parses its …
/third_party/libinput/doc/user/
Dgestures.rst134 positional information for that finger.
140 finger does not have positional information, it's location cannot be
/third_party/e2fsprogs/doc/RelNotes/
Dv1.45.3.txt38 improperly used positional markers which broke a few translated e2fsck
/third_party/boost/libs/regex/example/grep/
Dgrep.cpp135 …mand_line_parser(argc, argv).options(cmdline_options)/*.options(hidden)*/.positional(p).run(), vm); in main()

12345678