Home
last modified time | relevance | path

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

12345

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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 …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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:
Dcvsfiles.py16 import getopt
22 opts, args = getopt.getopt(sys.argv[1:], "n:")
23 except getopt.error, msg:
Dfixnotice.py45 import getopt
62 opts, args = getopt.getopt(sys.argv[1:], 'hv',
65 except getopt.error, msg:
Dndiff.py85 import getopt
87 opts, args = getopt.getopt(args, "qr:")
88 except getopt.error, detail:
Ddb2pickle.py22 import getopt
52 opts, args = getopt.getopt(args, "hbrdag",
55 except getopt.error:
Dmd5sum.py22 import getopt
72 opts, args = getopt.getopt(args, 'blts:')
73 except getopt.error, msg:
Dfindnocoding.py10 import sys, os, re, getopt
80 opts, args = getopt.getopt(sys.argv[1:], 'cd')
81 except getopt.error, msg:
Dpickle2db.py27 import getopt
57 opts, args = getopt.getopt(args, "hbrdag",
60 except getopt.error:
Dfinddiv.py20 import getopt
25 opts, args = getopt.getopt(sys.argv[1:], "lh")
26 except getopt.error, msg:
Drgrep.py10 import getopt
15 opts, args = getopt.getopt(sys.argv[1:], "i")
Dpathfix.py26 import getopt
39 opts, args = getopt.getopt(sys.argv[1:], 'i:')
40 except getopt.error, msg:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/versioncheck/
Dcheckversions.py6 import getopt
39 options, arguments = getopt.getopt(sys.argv[1:], 'v:')
40 except getopt.error:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
Dscript.py10 import os, time, sys, getopt
25 opts, args = getopt.getopt(sys.argv[1:], 'ap')
26 except getopt.error, msg:
Dpp.py25 import getopt
36 optlist, ARGS = getopt.getopt(sys.argv[1:], 'acde:F:np')
37 except getopt.error, msg:
Dmorse.py70 import getopt
72 opts, args = getopt.getopt(sys.argv[1:], 'o:p:')
73 except getopt.error:
Dmarkov.py36 import sys, random, getopt
39 opts, args = getopt.getopt(args, '0123456789cdwq')
40 except getopt.error:
Dmboxconvert.py12 import getopt
18 opts, args = getopt.getopt(sys.argv[1:], 'f')
19 except getopt.error, msg:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/compiler/
Dcompile.py2 import getopt
13 opts, args = getopt.getopt(sys.argv[1:], 'vqdcp')
/device/linaro/poplar/sepolicy/
Dtee.te17 allow tee tee:tcp_socket { create connect read write getopt setopt };
18 allow tee tee:udp_socket { create connect read write getopt getattr };
25 allow netd tee:tcp_socket { read write getopt setopt };
26 allow netd tee:udp_socket { read write getopt setopt };
/device/linaro/bootloader/edk2/ArmPlatformPkg/Scripts/Ds5/
Dcmd_load_symbols.py16 import re, sys, getopt
35 opts,args = getopt.getopt(sys.argv[1:], "hvar:vm:vr:vf:v", ["help","verbose","all","report=","sysme…
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/webchecker/
Dwebsucker.py10 import getopt
23 opts, args = getopt.getopt(sys.argv[1:], "qv")
24 except getopt.error, msg:

12345