Searched defs:getopt (Results 1 - 25 of 113) sorted by relevance

12345

/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/
H A Dgetopt.h1 /* Declarations for getopt.
53 /* For communication from `getopt' to the caller.
54 When `getopt' finds an option that takes an argument,
63 and for communication between successive calls to `getopt'.
65 On entry to `getopt', zero means this is the first call; initialize.
67 When `getopt' returns -1, this is the index of the first of the
75 /* Callers store zero here to inhibit the error message `getopt' prints
103 one). For long options that have a zero `flag' field, `getopt'
121 #endif /* need getopt */
138 optional. This behavior is specific to the GNU `getopt'
167 # define getopt macro
[all...]
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/
H A Dgetopt.h1 /* Declarations for getopt.
53 /* For communication from `getopt' to the caller.
54 When `getopt' finds an option that takes an argument,
63 and for communication between successive calls to `getopt'.
65 On entry to `getopt', zero means this is the first call; initialize.
67 When `getopt' returns -1, this is the index of the first of the
75 /* Callers store zero here to inhibit the error message `getopt' prints
103 one). For long options that have a zero `flag' field, `getopt'
121 #endif /* need getopt */
138 optional. This behavior is specific to the GNU `getopt'
167 # define getopt macro
[all...]
/prebuilts/gdb/darwin-x86/lib/python2.7/
H A Dcompileall.py155 import getopt namespace
157 opts, args = getopt.getopt(sys.argv[1:], 'lfqd:x:i:')
158 except getopt.error, msg:
H A Dgetopt.py4 sys.argv. It supports the same conventions as the Unix getopt()
10 getopt() -- Parse command line options
11 gnu_getopt() -- Like getopt(), but allow option and non-option arguments
34 __all__ = ["GetoptError","error","getopt","gnu_getopt"]
51 def getopt(args, shortopts, longopts = []): function
52 """getopt(args, options[, long_options]) -> opts, args
59 colon (i.e., the same format that Unix getopt() uses). If
95 """getopt(args, options[, long_options]) -> opts, args
97 This function works like getopt(), except that GNU style scanning
99 arguments may be intermixed. The getopt() functio
[all...]
H A Dquopri.py194 import getopt namespace
196 opts, args = getopt.getopt(sys.argv[1:], 'td')
197 except getopt.error, msg:
H A Dmimetypes.py552 import getopt namespace
572 opts, args = getopt.getopt(sys.argv[1:], 'hle',
574 except getopt.error, msg:
H A Dtabnanny.py25 import getopt namespace
45 opts, args = getopt.getopt(sys.argv[1:], "qv")
46 except getopt.error, msg:
H A Dtimeit.py252 import getopt namespace
254 opts, args = getopt.getopt(args, "n:s:r:tcvh",
257 except getopt.error, err:
/prebuilts/gdb/linux-x86/lib/python2.7/
H A Dcompileall.py155 import getopt namespace
157 opts, args = getopt.getopt(sys.argv[1:], 'lfqd:x:i:')
158 except getopt.error, msg:
H A Dgetopt.py4 sys.argv. It supports the same conventions as the Unix getopt()
10 getopt() -- Parse command line options
11 gnu_getopt() -- Like getopt(), but allow option and non-option arguments
34 __all__ = ["GetoptError","error","getopt","gnu_getopt"]
51 def getopt(args, shortopts, longopts = []): function
52 """getopt(args, options[, long_options]) -> opts, args
59 colon (i.e., the same format that Unix getopt() uses). If
95 """getopt(args, options[, long_options]) -> opts, args
97 This function works like getopt(), except that GNU style scanning
99 arguments may be intermixed. The getopt() functio
[all...]
H A Dquopri.py194 import getopt namespace
196 opts, args = getopt.getopt(sys.argv[1:], 'td')
197 except getopt.error, msg:
H A Dmimetypes.py552 import getopt namespace
572 opts, args = getopt.getopt(sys.argv[1:], 'hle',
574 except getopt.error, msg:
H A Dtabnanny.py25 import getopt namespace
45 opts, args = getopt.getopt(sys.argv[1:], "qv")
46 except getopt.error, msg:
H A Dtimeit.py252 import getopt namespace
254 opts, args = getopt.getopt(args, "n:s:r:tcvh",
257 except getopt.error, err:
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
H A Dcompileall.py155 import getopt namespace
157 opts, args = getopt.getopt(sys.argv[1:], 'lfqd:x:i:')
158 except getopt.error, msg:
H A Dgetopt.py4 sys.argv. It supports the same conventions as the Unix getopt()
10 getopt() -- Parse command line options
11 gnu_getopt() -- Like getopt(), but allow option and non-option arguments
34 __all__ = ["GetoptError","error","getopt","gnu_getopt"]
51 def getopt(args, shortopts, longopts = []): function
52 """getopt(args, options[, long_options]) -> opts, args
59 colon (i.e., the same format that Unix getopt() uses). If
95 """getopt(args, options[, long_options]) -> opts, args
97 This function works like getopt(), except that GNU style scanning
99 arguments may be intermixed. The getopt() functio
[all...]
H A Dquopri.py194 import getopt namespace
196 opts, args = getopt.getopt(sys.argv[1:], 'td')
197 except getopt.error, msg:
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
H A Dcompileall.py155 import getopt namespace
157 opts, args = getopt.getopt(sys.argv[1:], 'lfqd:x:i:')
158 except getopt.error, msg:
H A Dgetopt.py4 sys.argv. It supports the same conventions as the Unix getopt()
10 getopt() -- Parse command line options
11 gnu_getopt() -- Like getopt(), but allow option and non-option arguments
34 __all__ = ["GetoptError","error","getopt","gnu_getopt"]
51 def getopt(args, shortopts, longopts = []): function
52 """getopt(args, options[, long_options]) -> opts, args
59 colon (i.e., the same format that Unix getopt() uses). If
95 """getopt(args, options[, long_options]) -> opts, args
97 This function works like getopt(), except that GNU style scanning
99 arguments may be intermixed. The getopt() functio
[all...]
H A Dquopri.py194 import getopt namespace
196 opts, args = getopt.getopt(sys.argv[1:], 'td')
197 except getopt.error, msg:
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/
H A D__init__.py1 import os, sys, unittest, getopt, time namespace
156 opts, args = getopt.getopt(sys.argv[1:], "rqvu:x:")
157 except getopt.error:
/prebuilts/gdb/darwin-x86/lib/python2.7/test/
H A Dtest_getopt.py7 import getopt namespace
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
[all...]
/prebuilts/gdb/darwin-x86/lib/python2.7/unittest/
H A Dmain.py116 import getopt namespace
119 options, args = getopt.getopt(argv[1:], 'hHvqfcb', long_opts)
150 except getopt.error, msg:
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/
H A D__init__.py1 import os, sys, unittest, getopt, time namespace
156 opts, args = getopt.getopt(sys.argv[1:], "rqvu:x:")
157 except getopt.error:
/prebuilts/gdb/linux-x86/lib/python2.7/test/
H A Dtest_getopt.py7 import getopt namespace
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
[all...]

Completed in 8626 milliseconds

12345