Home
last modified time | relevance | path

Searched refs:choices (Results 1 – 25 of 30) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dtokenize.py44 def group(*choices): return '(' + '|'.join(choices) + ')' argument
45 def any(*choices): return group(*choices) + '*' argument
46 def maybe(*choices): return group(*choices) + '?' argument
Doptparse.py432 if value in option.choices:
435 choices = ", ".join(map(repr, option.choices))
438 % (opt, value, choices))
638 if self.choices is not None:
667 if self.choices is None:
670 elif type(self.choices) not in (types.TupleType, types.ListType):
673 % str(type(self.choices)).split("'")[1], self)
674 elif self.choices is not None:
Dargparse.py558 elif action.choices is not None:
559 choice_strs = [str(choice) for choice in action.choices]
770 choices=None, argument
780 self.choices = choices
812 choices=None, argument
829 choices=choices,
904 choices=None, argument
921 choices=choices,
1048 choices=self._name_parser_map,
2252 if action.choices is not None and value not in action.choices:
[all …]
Dcalendar.py656 choices=("text", "html"),
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dtokenize.py45 def group(*choices): return '(' + '|'.join(choices) + ')' argument
46 def any(*choices): return group(*choices) + '*' argument
47 def maybe(*choices): return group(*choices) + '?' argument
Doptparse.py433 if value in option.choices:
436 choices = ", ".join(map(repr, option.choices))
439 % (opt, value, choices))
639 if self.choices is not None:
668 if self.choices is None:
671 elif type(self.choices) not in (types.TupleType, types.ListType):
674 % str(type(self.choices)).split("'")[1], self)
675 elif self.choices is not None:
Dargparse.py560 elif action.choices is not None:
561 choice_strs = [str(choice) for choice in action.choices]
772 choices=None, argument
782 self.choices = choices
814 choices=None, argument
831 choices=choices,
906 choices=None, argument
923 choices=choices,
1050 choices=self._name_parser_map,
2279 if action.choices is not None and value not in action.choices:
[all …]
Dcalendar.py661 choices=("text", "html"),
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/
Dtokenize.py48 def group(*choices): return '(' + '|'.join(choices) + ')' argument
49 def any(*choices): return group(*choices) + '*' argument
50 def maybe(*choices): return group(*choices) + '?' argument
/device/linaro/bootloader/edk2/BaseTools/Scripts/
DBinToPcd.py72 parser.add_argument("-t", "--type", dest = 'PcdType', default = None, choices = ['VPD','HII'],
86 …parser.add_argument("--debug", dest = 'Debug', type = int, metavar = '[0-9]', choices = range(0,10…
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/
Dregister.py140 choices = '1 2 3 4'.split()
141 while choice not in choices:
153 elif choice not in choices:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dspark.py594 choices = []
598 choices.append(rule)
600 return rule2cause[self.ambiguity(choices)]
619 choices = []
622 choices.append(rule)
623 rule = choices[0]
624 if len(choices) > 1:
625 rule = self.ambiguity(choices)
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMngr/
DBootManagerVfr.Vfr40 // This is where we will dynamically add choices for the Boot Manager
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootManagerUiLib/
DBootManagerVfr.Vfr47 // This is where we will dynamically add choices for the Boot Manager
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Rsa2048Sha256Sign/
DRsa2048Sha256GenerateKeys.py53 …parser.add_argument("--debug", dest='Debug', type=int, metavar='[0-9]', choices=range(0,10), defau…
DRsa2048Sha256Sign.py73 …parser.add_argument("--debug", dest='Debug', type=int, metavar='[0-9]', choices=range(0,10), defau…
/device/linaro/bootloader/edk2/BaseTools/Source/Python/TargetTool/
DTargetTool.py206 …parser.add_option("-a", "--arch", action="append", type="choice", choices=['IA32','X64','IPF','EBC…
212 …parser.add_option("-t", "--target", action="append", type="choice", choices=['DEBUG','RELEASE','0'…
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/
DFrontPageVfr.Vfr113 // Languages from the currently available choices
/device/linaro/hikey/installer/hikey960/
Dmkdtimg145 type=int, choices=[2**i for i in range(11,15)],
/device/generic/opengl-transport/host/libs/virglrenderer/
Dgen_entries.py301 parser.add_argument("--mode", help="Output mode", choices=mode_list)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_argparse.py632 Sig('-f', choices='abc'),
633 Sig('-g', type=int, choices=range(5))]
1125 argument_signatures = [Sig('spam', choices=set('abcdefg'))]
1136 argument_signatures = [Sig('spam', type=int, choices=range(20))]
1754 parser1.add_argument('x', choices='abc', help='x help')
1761 parser2.add_argument('-y', choices='123', help='y help')
3461 Sig('--foo', choices='abc',
3463 Sig('--bar', default='baz', choices=[1, 2], metavar='BBB',
4049 dict(choices='ab')]:
4136 default=84, type=int, choices=[1, 2],
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/
Dpcctslib50.dsp18 !MESSAGE Possible choices for configuration are:
Dpcctslib60.dsp18 !MESSAGE Possible choices for configuration are:
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/sorcerer/lib/
Dmsvc.dsp18 !MESSAGE Possible choices for configuration are:
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Pkcs7Sign/
DPkcs7Sign.py90 …parser.add_argument("--debug", dest='Debug', type=int, metavar='[0-9]', choices=range(0,10), defau…

12