/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
getopt.py | 51 def getopt(args, shortopts, longopts = []):
60 specified, longopts is a list of strings with the names of the
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 = []):
111 if isinstance(longopts, str): [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
getopt.py | 51 def getopt(args, shortopts, longopts = []):
60 specified, longopts is a list of strings with the names of the
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 = []):
111 if isinstance(longopts, str): [all...] |
/external/python/cpython2/Lib/ |
getopt.py | 51 def getopt(args, shortopts, longopts = []): 60 specified, longopts is a list of strings with the names of the 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 = []): 111 if isinstance(longopts, str) [all...] |
/external/python/cpython3/Lib/ |
getopt.py | 56 def getopt(args, shortopts, longopts = []): 65 specified, longopts is a list of strings with the names of the 84 if type(longopts) == type(""): 85 longopts = [longopts] 87 longopts = list(longopts) 93 opts, args = do_longs(opts, args[0][2:], longopts, args[1:]) 99 def gnu_getopt(args, shortopts, longopts = []): 116 if isinstance(longopts, str) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
getopt.py | 51 def getopt(args, shortopts, longopts = []): 60 specified, longopts is a list of strings with the names of the 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 = []): 111 if isinstance(longopts, str) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
getopt.py | 51 def getopt(args, shortopts, longopts = []): 60 specified, longopts is a list of strings with the names of the 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 = []): 111 if isinstance(longopts, str) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
getopt.py | 51 def getopt(args, shortopts, longopts = []): 60 specified, longopts is a list of strings with the names of the 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 = []): 111 if isinstance(longopts, str) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
getopt.py | 51 def getopt(args, shortopts, longopts = []): 60 specified, longopts is a list of strings with the names of the 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 = []): 111 if isinstance(longopts, str) [all...] |
/frameworks/base/libs/hwui/tests/macrobench/ |
main.cpp | 165 namespace LongOpts { 183 {"list", no_argument, nullptr, LongOpts::List}, 184 {"wait-for-gpu", no_argument, nullptr, LongOpts::WaitForGpu}, 185 {"report-frametime", optional_argument, nullptr, LongOpts::ReportFrametime}, 186 {"cpuset", required_argument, nullptr, LongOpts::CpuSet}, 187 {"benchmark_format", required_argument, nullptr, LongOpts::BenchmarkFormat}, 188 {"onscreen", no_argument, nullptr, LongOpts::Onscreen}, 189 {"offscreen", no_argument, nullptr, LongOpts::Offscreen}, 190 {"renderer", required_argument, nullptr, LongOpts::Renderer}, 214 case LongOpts::List [all...] |
/device/linaro/bootloader/arm-trusted-firmware/tools/fiptool/ |
win_posix.c | 157 const struct option *const longopts, 164 while (longopts[loptn].name != 0) { 165 if (optmatch(optname, longopts[loptn].name) == 0) { 167 result = longopts[loptn].val; 170 switch (longopts[loptn].has_arg) { 188 if (longopts[loptn].flag != 0) { 189 *longopts[loptn].flag = result; 215 const struct option *longopts, 230 longopts, 253 const struct option *longopts, [all...] |
/external/syslinux/gpxe/src/hci/commands/ |
sanboot_cmd.c | 30 static struct option longopts[] = { local 39 while ( ( c = getopt_long ( argc, argv, "h", longopts, NULL ) ) >= 0 ){
|
image_cmd.c | 108 static struct option longopts[] = { local 122 longopts, NULL ) ) >= 0 ) { 263 static struct option longopts[] = { local 273 while ( ( c = getopt_long ( argc, argv, "h", longopts, NULL ) ) >= 0 ){ 326 static struct option longopts[] = { local 336 while ( ( c = getopt_long ( argc, argv, "h", longopts, NULL ) ) >= 0 ){ 389 static struct option longopts[] = { local 399 while ( ( c = getopt_long ( argc, argv, "h", longopts, NULL ) ) >= 0 ){ 463 static struct option longopts[] = { local 471 while ( ( c = getopt_long ( argc, argv, "h", longopts, NULL ) ) >= 0 ) 516 static struct option longopts[] = { local [all...] |
dhcp_cmd.c | 62 static struct option longopts[] = { local 72 while ( ( c = getopt_long ( argc, argv, "h", longopts, NULL ) ) >= 0 ){ 128 static struct option longopts[] = { local 141 while ( ( c = getopt_long ( argc, argv, "h", longopts, NULL ) ) >= 0 ){
|
route_cmd.c | 53 static struct option longopts[] = { local 61 while ( ( c = getopt_long ( argc, argv, "h", longopts, NULL ) ) >= 0 ){
|
gdbstub_cmd.c | 53 static struct option longopts[] = { local 62 while ( ( c = getopt_long ( argc, argv, "h", longopts, NULL ) ) >= 0 ){
|
/external/syslinux/com32/lib/ |
getopt_long.c | 39 const struct option *longopts, int *longindex) 80 for (lo = longopts; lo->name; lo++) { 88 *longindex = lo-longopts;
|
/external/syslinux/libinstaller/getopt/ |
getopt_long.c | 39 const struct option *longopts, int *longindex) 80 for (lo = longopts; lo->name; lo++) { 88 *longindex = lo-longopts;
|
/external/fio/oslib/ |
getopt_long.c | 43 const struct option *longopts, int *longindex) 86 for (lo = longopts; lo->name; lo++) { 100 for (lo = longopts; lo->name; lo++) { 120 *longindex = lo-longopts;
|
/toolchain/binutils/binutils-2.27/ld/emultempl/ |
ticoff.em | 51 struct option **longopts, int nrl ATTRIBUTE_UNUSED, 60 *longopts = (struct option *) 61 xrealloc (*longopts, nl * sizeof (struct option) + sizeof (xtra_long)); 62 memcpy (*longopts + nl, &xtra_long, sizeof (xtra_long));
|
vms.em | 134 struct option **longopts, 144 *longopts 145 = xrealloc (*longopts, nl * sizeof (struct option) + sizeof (xtra_long)); 146 memcpy (*longopts + nl, &xtra_long, sizeof (xtra_long));
|
/external/toybox/lib/ |
args.c | 113 struct longopts { struct 114 struct longopts *next; 126 struct longopts *longopts; member in struct:getoptflagstate 188 struct longopts *lo; 192 for (lo = gof->longopts; lo->opt != opt; lo = lo->next); 270 // longopts only come at the start of the string.) 273 struct longopts *lo; 279 // init a new struct longopts 280 lo = xmalloc(sizeof(struct longopts)); [all...] |
/system/extras/kexec_tools/ |
kexecload.c | 79 const struct option longopts[] = { local 87 c = getopt_long(argc, argv, "s:th", longopts, NULL);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
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')])
|
/external/python/cpython2/Lib/test/ |
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')])
|
/external/python/cpython3/Doc/library/ |
getopt.rst | 30 .. function:: getopt(args, shortopts, longopts=[]) 44 *longopts*, if specified, must be a list of strings with the names of the 51 accepted options. For example, if *longopts* is ``['foo', 'frob']``, the 66 .. function:: gnu_getopt(args, shortopts, longopts=[])
|