Home
last modified time | relevance | path

Searched refs:getopt (Results 1 – 25 of 681) sorted by relevance

12345678910>>...28

/external/python/cpython3/Lib/test/
Dtest_getopt.py7 import getopt
22 self.assertRaises(getopt.GetoptError, *args, **kwargs)
25 self.assertTrue(getopt.short_has_arg('a', 'a:'))
26 self.assertFalse(getopt.short_has_arg('a', 'a'))
27 self.assertError(getopt.short_has_arg, 'a', 'b')
30 has_arg, option = getopt.long_has_args('abc', ['abc='])
34 has_arg, option = getopt.long_has_args('abc', ['abc'])
38 has_arg, option = getopt.long_has_args('abc', ['abcd'])
42 self.assertError(getopt.long_has_args, 'abc', ['def'])
43 self.assertError(getopt.long_has_args, 'abc', [])
[all …]
/external/python/cpython2/Lib/test/
Dtest_getopt.py7 import getopt
22 self.assertRaises(getopt.GetoptError, *args, **kwargs)
25 self.assertTrue(getopt.short_has_arg('a', 'a:'))
26 self.assertFalse(getopt.short_has_arg('a', 'a'))
27 self.assertError(getopt.short_has_arg, 'a', 'b')
30 has_arg, option = getopt.long_has_args('abc', ['abc='])
34 has_arg, option = getopt.long_has_args('abc', ['abc'])
38 has_arg, option = getopt.long_has_args('abc', ['abcd'])
42 self.assertError(getopt.long_has_args, 'abc', ['def'])
43 self.assertError(getopt.long_has_args, 'abc', [])
[all …]
/external/python/cpython3/Doc/library/
Dgetopt.rst1 :mod:`getopt` --- C-style parser for command line options
4 .. module:: getopt
8 **Source code:** :source:`Lib/getopt.py`
12 The :mod:`getopt` module is a parser for command line options whose API is
13 designed to be familiar to users of the C :c:func:`getopt` function. Users who
14 are unfamiliar with the C :c:func:`getopt` function or who would like to write
21 It supports the same conventions as the Unix :c:func:`getopt` function (including
30 .. function:: getopt(args, shortopts, longopts=[])
36 colon (``':'``; i.e., the same format that Unix :c:func:`getopt` uses).
40 Unlike GNU :c:func:`getopt`, after a non-option argument, all further
[all …]
/external/python/cpython2/Doc/library/
Dgetopt.rst1 :mod:`getopt` --- C-style parser for command line options
4 .. module:: getopt
8 **Source code:** :source:`Lib/getopt.py`
14 The :mod:`getopt` module is a parser for command line options whose API is
15 designed to be familiar to users of the C :c:func:`getopt` function. Users who
16 are unfamiliar with the C :c:func:`getopt` function or who would like to write
21 It supports the same conventions as the Unix :c:func:`getopt` function (including
30 .. function:: getopt(args, options[, long_options])
36 colon (``':'``; i.e., the same format that Unix :c:func:`getopt` uses).
40 Unlike GNU :c:func:`getopt`, after a non-option argument, all further
[all …]
/external/fonttools/Lib/fontTools/
Dttx.py99 import getopt
146 raise getopt.GetoptError("The -d option value must be an existing directory")
178 raise getopt.GetoptError(
203 raise getopt.GetoptError(
215 raise getopt.GetoptError("-q and -v options are mutually exclusive")
223 raise getopt.GetoptError("-m and --flavor options are mutually exclusive")
225 raise getopt.GetoptError("-t and -x options are mutually exclusive")
227 raise getopt.GetoptError("Must specify exactly one TTX source file when using -m")
229 raise getopt.GetoptError("--with-zopfli option requires --flavor 'woff'")
333 rawOptions, files = getopt.getopt(args, "ld:o:fvqht:x:sgim:z:baey:",
[all …]
/external/python/cpython2/Demo/pdist/
Dcmdfw.py41 import getopt, sys
44 opts, args = getopt.getopt(args, self.GlobalFlags)
45 except getopt.error, msg:
64 opts, args = getopt.getopt(args[1:], flags)
65 except getopt.error, msg:
Drrcs.py7 import getopt
16 opts, rest = getopt.getopt(sys.argv[1:], 'h:p:d:qvL')
22 raise getopt.error, "unknown command"
24 copts, files = getopt.getopt(rest, coptset)
25 except getopt.error, msg:
/external/shflags/test_results/1.0.2/
DSolaris-11.txt35 test:WARN Standard version of getopt found. Some tests will be skipped.
48 flags:FATAL the available getopt does not support spaces in options
72 test:WARN Standard version of getopt found. Enhanced tests will be skipped.
102 test:WARN Standard version of getopt found. Some tests will be skipped.
115 flags:FATAL the available getopt does not support spaces in options
139 test:WARN Standard version of getopt found. Enhanced tests will be skipped.
170 test:WARN Standard version of getopt found. Some tests will be skipped.
183 flags:FATAL the available getopt does not support spaces in options
207 test:WARN Standard version of getopt found. Enhanced tests will be skipped.
238 test:WARN Standard version of getopt found. Some tests will be skipped.
[all …]
DMac_OS_X-10.5.5.txt35 test:WARN Standard version of getopt found. Enhanced tests will be skipped.
48 flags:FATAL the available getopt does not support spaces in options
72 test:WARN Standard version of getopt found. Enhanced tests will be skipped.
102 test:WARN Standard version of getopt found. Enhanced tests will be skipped.
115 flags:FATAL the available getopt does not support spaces in options
139 test:WARN Standard version of getopt found. Enhanced tests will be skipped.
174 test:WARN Standard version of getopt found. Enhanced tests will be skipped.
187 flags:FATAL the available getopt does not support spaces in options
211 test:WARN Standard version of getopt found. Enhanced tests will be skipped.
246 test:WARN Standard version of getopt found. Enhanced tests will be skipped.
[all …]
DLinux-Ubuntu-6.06.txt35 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
67 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
97 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
129 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
164 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
196 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
226 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
258 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
288 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
320 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
/external/python/cpython3/Tools/scripts/
Dfindlinksto.py10 import getopt
14 opts, args = getopt.getopt(sys.argv[1:], '')
16 raise getopt.GetoptError('not enough arguments', None)
17 except getopt.GetoptError as msg:
Duntabify.py7 import getopt
13 opts, args = getopt.getopt(sys.argv[1:], "t:")
15 raise getopt.error("At least one file argument required")
16 except getopt.error as msg:
/external/python/cpython2/Tools/scripts/
Duntabify.py7 import getopt
12 opts, args = getopt.getopt(sys.argv[1:], "t:")
14 raise getopt.error, "At least one file argument required"
15 except getopt.error, msg:
Dfindlinksto.py10 import getopt
14 opts, args = getopt.getopt(sys.argv[1:], '')
16 raise getopt.GetoptError('not enough arguments', None)
17 except getopt.GetoptError, msg:
/external/libusb/
DMakefile.am5 examples/getopt/getopt.c examples/getopt/getopt1.c examples/getopt/getopt.h \
/external/shflags/test_results/1.2.0/
DLinux-Ubuntu-12.04.1-LTS.txt36 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
78 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
109 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
151 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
182 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
224 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
255 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
297 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
328 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
370 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
[all …]
DLinux-Ubuntu-10.04.4-LTS.txt36 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
78 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
109 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
151 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
182 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
224 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
255 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
297 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
328 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
370 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
[all …]
DLinux-Ubuntu-8.04.4-LTS.txt36 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
78 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
109 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
151 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
182 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
224 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
255 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
297 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
328 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
370 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
[all …]
DLinux-Ubuntu-14.04.3-LTS.txt36 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
78 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
109 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
151 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
182 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
224 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
255 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
297 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
328 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
370 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
[all …]
/external/shflags/test_results/1.0.3/
DLinux-Ubuntu-8.04.txt36 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
71 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
102 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
137 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
168 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
203 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
234 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
269 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
300 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
335 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
[all …]
DLinux-Ubuntu-6.06.txt36 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
71 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
102 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
137 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
173 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
208 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
239 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
274 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
305 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
340 test:WARN Enhanced version of getopt found. Standard tests will be skipped.
/external/vboot_reference/scripts/image_signing/lib/shflags/
Dshflags37 # -- as in getopt(), terminates flag-processing
53 # NOTE: Not all systems include a getopt version that supports long flags. On
67 # __flags_opts: options parsed by getopt
114 # getopt version
119 getopt >/dev/null 2>&1
121 0) __FLAGS_GETOPT_VERS=${__FLAGS_GETOPT_VERS_STD} ;; # bsd getopt
123 # TODO(kward): look into '-T' option to test the internal getopt() version
124 if [ "`getopt --version`" = '-- ' ]; then
131 _flags_fatal 'unable to determine getopt version'
136 # getopt optstring lengths
[all …]
/external/python/cpython2/Tools/versioncheck/
Dcheckversions.py6 import getopt
39 options, arguments = getopt.getopt(sys.argv[1:], 'v:')
40 except getopt.error:
/external/scapy/scapy/tools/
Dcheck_asdis.py4 import getopt
21 opts=getopt.getopt(argv, "hi:o:azdv")
41 raise getopt.GetoptError("Missing pcap file (-i)")
43 except getopt.GetoptError as e:
/external/python/cpython2/Mac/scripts/
Dcachersrc.py10 import getopt
27 opts, args = getopt.getopt(sys.argv[1:], 'vf')
30 except (getopt.GetoptError, NoArgsError):

12345678910>>...28