Searched refs:longopts (Results 1 – 5 of 5) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | getopt.py | 51 def getopt(args, shortopts, longopts = []): argument 79 if type(longopts) == type(""): 80 longopts = [longopts] 82 longopts = list(longopts) 88 opts, args = do_longs(opts, args[0][2:], longopts, args[1:]) 94 def gnu_getopt(args, shortopts, longopts = []): argument 111 if isinstance(longopts, str): 112 longopts = [longopts] 114 longopts = list(longopts) 131 opts, args = do_longs(opts, args[0][2:], longopts, args[1:]) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | getopt.py | 51 def getopt(args, shortopts, longopts = []): argument 79 if type(longopts) == type(""): 80 longopts = [longopts] 82 longopts = list(longopts) 88 opts, args = do_longs(opts, args[0][2:], longopts, args[1:]) 94 def gnu_getopt(args, shortopts, longopts = []): argument 111 if isinstance(longopts, str): 112 longopts = [longopts] 114 longopts = list(longopts) 131 opts, args = do_longs(opts, args[0][2:], longopts, args[1:]) [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/tools/fiptool/ |
D | win_posix.c | 157 const struct option *const longopts, in getopt_1long() argument 164 while (longopts[loptn].name != 0) { in getopt_1long() 165 if (optmatch(optname, longopts[loptn].name) == 0) { in getopt_1long() 167 result = longopts[loptn].val; in getopt_1long() 170 switch (longopts[loptn].has_arg) { in getopt_1long() 188 if (longopts[loptn].flag != 0) { in getopt_1long() 189 *longopts[loptn].flag = result; in getopt_1long() 215 const struct option *longopts, in getopt_long() argument 230 longopts, in getopt_long() 253 const struct option *longopts, in getopt_long_only() argument [all …]
|
D | win_posix.h | 172 const struct option *longopts, 184 const struct option *longopts,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_getopt.py | 177 longopts, shortopts = getopt.getopt(['--help='], '', ['help=']) 178 self.assertEqual(longopts, [('--help', '')]) 179 longopts, shortopts = getopt.getopt(['--help=x'], '', ['help=']) 180 self.assertEqual(longopts, [('--help', 'x')])
|