Home
last modified time | relevance | path

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

1234

/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/python/cpython2/Doc/library/
Dargparse.rst56 positional arguments:
252 positional arguments:
267 positional arguments:
332 objects, collects all the positional and optional actions from them, and adds
435 positional arguments:
642 argument, like ``-f`` or ``--foo``, or a positional argument, like a list of
650 while a positional argument could be created like::
656 be positional::
832 it generally doesn't make much sense to have more than one positional argument
897 All optional arguments and some positional arguments may be omitted at the
[all …]
Dfunctools.rst80 called with the positional arguments *args* and keyword arguments *keywords*. If
177 The leftmost positional arguments that will be prepended to the positional
Dminiaeframe.rst55 Your callback is called with the OSA Direct Object as first positional
Ddis.rst806 Calls a function. The low byte of *argc* indicates the number of positional
809 value is on top of the key. Below the keyword parameters, the positional
852 keyword and positional arguments.
859 by explicit keyword and positional arguments.
866 by the variable-arguments tuple, followed by explicit keyword and positional
Dstring.rst127 an arbitrary set of positional and keyword arguments.
170 positional argument in *args*; if it is a string, then it represents a
173 The *args* parameter is set to the list of positional arguments to
193 the format string (integers for positional arguments, and strings for
248 keyword. If it's a number, it refers to a positional argument, and if it's a keyword,
260 The positional argument specifiers can be omitted, so ``'{} {}'`` is
265 "First, thou shalt count to {0}" # References first positional argument
266 "Bring me a {}" # Implicitly references the first positional argument
269 "Weight in tons {0.weight}" # 'weight' attribute of first positional arg
Dhotshot.rst78 Profile a single call of a callable. Additional positional and keyword arguments
Doptparse.rst163 positional argument
180 ``bar`` are positional arguments.
199 positional arguments are for.
218 .. _optparse-what-positional-arguments-for:
220 What are positional arguments for?
299 * ``args``, the list of positional arguments leftover after parsing options
527 take any positional arguments.
872 * pass it any combination of positional and keyword arguments that are
1057 Additional positional and keyword arguments to pass to ``callback`` after the
1347 the leftover positional arguments after all options have been processed
[all …]
Dtest.rst301 WarningCategory)`` as positional arguments. If one or more *filters* are
364 positional arguments. When the optional keyword argument *quiet* is
/external/python/cpython2/Lib/
Dinspect.py894 def getcallargs(func, *positional, **named): argument
931 positional = (func.im_self,) + positional
932 num_pos = len(positional)
936 for arg, value in zip(args, positional):
940 assign(varargs, positional[-(num_pos-num_args):])
/external/fmtlib/
DREADME.rst26 <http://fmtlib.net/latest/api.html#format-api>`_ with positional arguments
36 including the POSIX extension for positional arguments.
206 There is a POSIX extension that adds positional arguments required for
227 IOStreams as "chevron hell". IOStreams doesn't support positional arguments
237 strings and positional arguments. The main its drawback is performance.
245 This is an interesting library which is fast, safe and has positional
262 and is type safe. It doesn't support user-defined types or positional
270 fast. Unfortunately it doesn't support positional arguments and wrapping
/external/python/cpython2/Doc/howto/
Dargparse.rst55 What we did is specify what is known as a positional argument. It's named so
132 positional arguments:
158 positional argument, but we don't know what it does, other than by guessing or
174 positional arguments:
226 So far we, have been playing with positional arguments. Let us
376 * We've brought back a positional argument, hence the complaint.
442 positional arguments:
491 positional arguments:
626 positional arguments:
750 positional arguments:
/external/llvm/docs/
DCommandLine.rst65 options often found in real programs. For example, `positional`_ arguments,
149 with helper functions like `cl::desc(...)`_, so there are no positional
156 argument, the CommandLine library allows for `positional`_ arguments to be
157 specified for the program. These positional arguments are filled with command
165 This declaration indicates that the first positional argument should be treated
519 positional arguments together if there may be more than one specified. In the
716 file, but will not have an ordering defined if the positional arguments are
718 all of your positional arguments in one .cpp file.
720 Specifying positional options with hyphens
723 Sometimes you may want to specify a value to your positional argument that
[all …]
/external/python/cpython2/Doc/
Dglossary.rst53 * :dfn:`positional argument`: an argument that is not a keyword argument.
56 For example, ``3`` and ``5`` are both positional arguments in the
595 * :dfn:`positional-or-keyword`: specifies an argument that can be passed
602 * :dfn:`positional-only`: specifies an argument that can be supplied only
603 by position. Python has no syntax for defining positional-only
604 parameters. However, some built-in functions have positional-only
607 * :dfn:`var-positional`: specifies that an arbitrary sequence of
608 positional arguments can be provided (in addition to any positional
628 positional argument
/external/python/cpython2/Doc/c-api/
Dclass.rst57 used as the positional and keyword parameters to the object's constructor.
/external/python/cpython2/Doc/tutorial/
Dcontrolflow.rst420 parrot(1000) # 1 positional argument
424 parrot('a million', 'bereft of life', 'jump') # 3 positional arguments
425 parrot('a thousand', state='pushing up the daisies') # 1 positional, 1 keyword
434 In a function call, keyword arguments must follow positional arguments.
454 receives a tuple containing the positional arguments beyond the formal parameter
516 but need to be unpacked for a function call requiring separate positional
/external/python/cpython2/Doc/reference/
Dexpressions.rst697 A trailing comma may be present after the positional and keyword arguments but
710 If keyword arguments are present, they are first converted to positional
712 formal parameters. If there are N positional arguments, they are placed in the
730 An implementation may provide built-in functions whose positional parameters
736 If there are more positional arguments than there are formal parameter slots, a
739 containing the excess positional arguments (or an empty tuple if there were no
740 excess positional arguments).
754 were additional positional arguments; if there are positional arguments
756 is equivalent to a call with M+N positional arguments *x1*, ..., *xN*, *y1*,
787 used as positional argument slots or as keyword argument names. Formal
/external/lz4/tests/
DREADME.md49 positional arguments:
/external/libxml2/
Dtrio.c1203 BOOLEAN_T positional; /* Does the specifier have a positional? */ variable
1262 positional = (NO_POSITION != currentParam);
1263 if (!positional)
1330 if (positional)
1340 if (! positional)
1374 if (positional)
1384 if (! positional)
1423 if (positional)
1433 if (! positional)
1591 if (positional)
[all …]
/external/v8/tools/mb/docs/
Duser_guide.md33 The first positional argument must be a GN-style "source-absolute" path
36 The second positional argument is a (normal) path to a JSON file containing
60 The third positional argument is a (normal) path to where mb will write
/external/llvm/docs/CommandGuide/
Dllvm-profdata.rst47 Profiles passed in via ``-weighted-input``, ``-input-files``, or via positional
/external/fmtlib/doc/
Dindex.rst62 The Format API also supports positional arguments useful for localization:
Dapi.rst163 the POSIX extension for positional arguments. Unlike their standard
/external/clang/docs/
DLibTooling.rst171 the build path as first argument and some source files as further positional
DObjectiveCLiterals.rst209 // Partition command line arguments into positional and option arguments.
217 [args addObject:@(arg)]; // positional argument

1234