Searched refs:getopt (Results 1 - 25 of 763) sorted by relevance

1234567891011>>

/external/ltp/testcases/kernel/io/disktest/
H A DGetopt.h55 * have getopt
62 int getopt(int argc, char** argv, char* pszValidOpts);
/external/python/cpython2/Lib/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...]
/external/python/cpython3/Lib/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...]
/external/libmtp/examples/
H A Dcommon.h27 #include <getopt.h>
33 #include "..\windows\getopt.h"
/external/libpcap/missing/
H A Dgetopt.h2 * Header for the getopt() we supply if the platform doesn't supply it.
4 extern char *optarg; /* getopt(3) external variables */
7 extern int getopt(int nargc, char * const *nargv, const char *ostr);
/external/python/cpython2/Tools/scripts/
H A Dfindlinksto.py10 import getopt namespace
14 opts, args = getopt.getopt(sys.argv[1:], '')
16 raise getopt.GetoptError('not enough arguments', None)
17 except getopt.GetoptError, msg:
H A Duntabify.py7 import getopt namespace
12 opts, args = getopt.getopt(sys.argv[1:], "t:")
14 raise getopt.error, "At least one file argument required"
15 except getopt.error, msg:
/external/python/cpython3/Tools/scripts/
H A Dfindlinksto.py10 import getopt namespace
14 opts, args = getopt.getopt(sys.argv[1:], '')
16 raise getopt.GetoptError('not enough arguments', None)
17 except getopt.GetoptError as msg:
H A Duntabify.py7 import getopt namespace
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/fio/oslib/
H A Dgetopt.h3 #include <getopt.h>
/external/libvpx/libvpx/test/android/
H A Dscrape_gtest_log.py16 import getopt namespace
30 getopt.getopt(sys.argv[1:], \
32 except getopt.GetOptError:
/external/python/cpython2/Demo/scripts/
H A Dscript.py10 import os, time, sys, getopt namespace
25 opts, args = getopt.getopt(sys.argv[1:], 'ap')
26 except getopt.error, msg:
/external/python/cpython2/Mac/scripts/
H A Dcachersrc.py10 import getopt namespace
27 opts, args = getopt.getopt(sys.argv[1:], 'vf')
30 except (getopt.GetoptError, NoArgsError):
/external/python/cpython2/Tools/versioncheck/
H A Dcheckversions.py6 import getopt namespace
39 options, arguments = getopt.getopt(sys.argv[1:], 'v:')
40 except getopt.error:
/external/libpcap/lbl/
H A Dos-ultrix4.h26 int getopt(int, char * const *, const char *);
/external/tcpdump/lbl/
H A Dos-ultrix4.h27 int getopt(int, char * const *, const char *);
/external/python/cpython2/Demo/pdist/
H A Dcmdfw.py41 import getopt, sys namespace
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:
72 """Process the options retrieved by getopt.
/external/e2fsprogs/include/nonunix/
H A Dgetopt.h1 /* Declarations for getopt.
31 /* For communication from `getopt' to the caller.
32 When `getopt' finds an option that takes an argument,
41 and for communication between successive calls to `getopt'.
43 On entry to `getopt', zero means this is the first call; initialize.
45 When `getopt' returns -1, this is the index of the first of the
53 /* Callers store zero here to inhibit the error message `getopt' prints
80 one). For long options that have a zero `flag' field, `getopt'
105 /* Many other libraries have conflicting prototypes for getopt, with
107 errors, only prototype getopt fo
[all...]
/external/e2fsprogs/misc/
H A Duuidgen.c18 #include <getopt.h>
20 extern int getopt(int argc, char * const argv[], const char *optstring);
51 while ((c = getopt (argc, argv, "tr")) != EOF)
/external/libusb/examples/getopt/
H A Dgetopt.h1 /* Declarations for getopt.
41 /* For communication from `getopt' to the caller.
42 When `getopt' finds an option that takes an argument,
51 and for communication between successive calls to `getopt'.
53 On entry to `getopt', zero means this is the first call; initialize.
55 When `getopt' returns -1, this is the index of the first of the
63 /* Callers store zero here to inhibit the error message `getopt' prints
91 one). For long options that have a zero `flag' field, `getopt'
113 #endif /* need getopt */
130 optional. This behavior is specific to the GNU `getopt'
[all...]
/external/python/cpython2/Tools/compiler/
H A Dcompile.py2 import getopt namespace
13 opts, args = getopt.getopt(sys.argv[1:], 'vqdcp')
/external/ltp/pan/
H A Dltp-scanner.c123 #include <getopt.h>
142 while ((c = getopt(argc, argv, "D:ehi")) != -1) {
/external/python/cpython2/Misc/
H A Dpython-config.in5 import getopt
17 opts, args = getopt.getopt(sys.argv[1:], '', valid_opts)
18 except getopt.error:
/external/freetype/src/tools/docmaker/
H A Ddocbeauty.py15 import sys, os, time, string, getopt namespace
58 opts, args = getopt.getopt( sys.argv[1:], \
61 except getopt.GetoptError:
H A Ddocmaker.py34 import sys, os, time, string, glob, getopt namespace
57 opts, args = getopt.getopt( sys.argv[1:],
60 except getopt.GetoptError:

Completed in 2288 milliseconds

1234567891011>>