/external/ltp/testcases/kernel/io/disktest/ |
H A D | Getopt.h | 55 * have getopt 62 int getopt(int argc, char** argv, char* pszValidOpts);
|
/external/python/cpython2/Lib/test/ |
H A D | test_getopt.py | 7 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 D | test_getopt.py | 7 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 D | common.h | 27 #include <getopt.h> 33 #include "..\windows\getopt.h"
|
/external/libpcap/missing/ |
H A D | getopt.h | 2 * 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 D | findlinksto.py | 10 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 D | untabify.py | 7 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 D | findlinksto.py | 10 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 D | untabify.py | 7 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 D | getopt.h | 3 #include <getopt.h>
|
/external/libvpx/libvpx/test/android/ |
H A D | scrape_gtest_log.py | 16 import getopt namespace 30 getopt.getopt(sys.argv[1:], \ 32 except getopt.GetOptError:
|
/external/python/cpython2/Demo/scripts/ |
H A D | script.py | 10 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 D | cachersrc.py | 10 import getopt namespace 27 opts, args = getopt.getopt(sys.argv[1:], 'vf') 30 except (getopt.GetoptError, NoArgsError):
|
/external/python/cpython2/Tools/versioncheck/ |
H A D | checkversions.py | 6 import getopt namespace 39 options, arguments = getopt.getopt(sys.argv[1:], 'v:') 40 except getopt.error:
|
/external/libpcap/lbl/ |
H A D | os-ultrix4.h | 26 int getopt(int, char * const *, const char *);
|
/external/tcpdump/lbl/ |
H A D | os-ultrix4.h | 27 int getopt(int, char * const *, const char *);
|
/external/python/cpython2/Demo/pdist/ |
H A D | cmdfw.py | 41 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 D | getopt.h | 1 /* 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 D | uuidgen.c | 18 #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 D | getopt.h | 1 /* 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 D | compile.py | 2 import getopt namespace 13 opts, args = getopt.getopt(sys.argv[1:], 'vqdcp')
|
/external/ltp/pan/ |
H A D | ltp-scanner.c | 123 #include <getopt.h> 142 while ((c = getopt(argc, argv, "D:ehi")) != -1) {
|
/external/python/cpython2/Misc/ |
H A D | python-config.in | 5 import getopt 17 opts, args = getopt.getopt(sys.argv[1:], '', valid_opts) 18 except getopt.error:
|
/external/freetype/src/tools/docmaker/ |
H A D | docbeauty.py | 15 import sys, os, time, string, getopt namespace 58 opts, args = getopt.getopt( sys.argv[1:], \ 61 except getopt.GetoptError:
|
H A D | docmaker.py | 34 import sys, os, time, string, glob, getopt namespace 57 opts, args = getopt.getopt( sys.argv[1:], 60 except getopt.GetoptError:
|