Home
last modified time | relevance | path

Searched refs:argparse (Results 1 – 12 of 12) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/Python/Rsa2048Sha256Sign/
DRsa2048Sha256GenerateKeys.py28 import argparse
45 …parser = argparse.ArgumentParser(prog=__prog__, version=__version__, usage=__usage__, description=…
47 …group.add_argument("-o", "--output", dest='OutputFile', type=argparse.FileType('wb'), metavar='fil…
48 …group.add_argument("-i", "--input", dest='InputFile', type=argparse.FileType('rb'), metavar='filen…
49 …parser.add_argument("--public-key-hash", dest='PublicKeyHashFile', type=argparse.FileType('wb'), h…
50 …parser.add_argument("--public-key-hash-c", dest='PublicKeyHashCFile', type=argparse.FileType('wb')…
DRsa2048Sha256Sign.py23 import argparse
64 …parser = argparse.ArgumentParser(prog=__prog__, version=__version__, usage=__usage__, description=…
69 …parser.add_argument("--private-key", dest='PrivateKeyFile', type=argparse.FileType('rb'), help="sp…
73 …parser.add_argument(metavar="input_file", dest='InputFile', type=argparse.FileType('rb'), help="sp…
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_argparse.py12 import argparse
126 class ErrorRaisingArgumentParser(argparse.ArgumentParser):
1291 Sig('foo', nargs='?', default=argparse.SUPPRESS),
1292 Sig('bar', nargs='*', default=argparse.SUPPRESS),
1293 Sig('--baz', action='store_true', default=argparse.SUPPRESS),
1309 parser_signature = Sig(argument_default=argparse.SUPPRESS)
1418 type = argparse.FileType('r')
1422 type = argparse.FileType('wb', 1)
1457 Sig('-x', type=argparse.FileType()),
1458 Sig('spam', type=argparse.FileType('r')),
[all …]
/device/linaro/hikey/uefi-tools/
Dparse-platforms.py3 import sys, os, argparse, ConfigParser
53 parser = argparse.ArgumentParser(description='Parses platform configuration for Linaro UEFI build s…
/device/linaro/bootloader/edk2/BaseTools/Scripts/
DConvertUni.py21 import argparse
121 parser = argparse.ArgumentParser(description=__copyright__)
DPatchCheck.py22 import argparse
594 parser = argparse.ArgumentParser(description=__copyright__)
DUpdateBuildVersions.py27 from argparse import ArgumentParser, SUPPRESS
/device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/
Dreadme.txt42 sudo apt-get install parted dosfstools uboot-mkimage python-argparse python-dbus python-debian pyth…
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dunicodeobject.c1405 static char *argparse = "O!n;decoding error handler must return (unicode, int) tuple"; in unicode_decode_call_errorhandler() local
1441 PyErr_SetString(PyExc_TypeError, &argparse[4]); in unicode_decode_call_errorhandler()
1444 if (!PyArg_ParseTuple(restuple, argparse, &PyUnicode_Type, &repunicode, &newpos)) in unicode_decode_call_errorhandler()
3522 static char *argparse = "O!n;encoding error handler must return (unicode, int) tuple"; in unicode_encode_call_errorhandler() local
3543 PyErr_SetString(PyExc_TypeError, &argparse[4]); in unicode_encode_call_errorhandler()
3547 if (!PyArg_ParseTuple(restuple, argparse, &PyUnicode_Type, in unicode_encode_call_errorhandler()
4793 static char *argparse = "O!n;translating error handler must return (unicode, int) tuple"; in unicode_translate_call_errorhandler() local
4815 PyErr_SetString(PyExc_TypeError, &argparse[4]); in unicode_translate_call_errorhandler()
4819 if (!PyArg_ParseTuple(restuple, argparse, &PyUnicode_Type, in unicode_translate_call_errorhandler()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dunicodeobject.c1463 static char *argparse = "O!n;decoding error handler must return (unicode, int) tuple"; in unicode_decode_call_errorhandler() local
1499 PyErr_SetString(PyExc_TypeError, &argparse[4]); in unicode_decode_call_errorhandler()
1502 if (!PyArg_ParseTuple(restuple, argparse, &PyUnicode_Type, &repunicode, &newpos)) in unicode_decode_call_errorhandler()
3566 static char *argparse = "O!n;encoding error handler must return (unicode, int) tuple"; in unicode_encode_call_errorhandler() local
3587 PyErr_SetString(PyExc_TypeError, &argparse[4]); in unicode_encode_call_errorhandler()
3591 if (!PyArg_ParseTuple(restuple, argparse, &PyUnicode_Type, in unicode_encode_call_errorhandler()
4886 static char *argparse = "O!n;translating error handler must return (unicode, int) tuple"; in unicode_translate_call_errorhandler() local
4908 PyErr_SetString(PyExc_TypeError, &argparse[4]); in unicode_translate_call_errorhandler()
4912 if (!PyArg_ParseTuple(restuple, argparse, &PyUnicode_Type, in unicode_translate_call_errorhandler()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/
DPythonReadMe.txt219 argparse.py io.py sre_compile.py
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/
DPy2710ReadMe.txt241 argparse.py io.py sre_compile.py