/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...] |
/external/marisa-trie/tools/ |
cmdopt.h | 34 const cmdopt_option *longopts; member in struct:cmdopt_t_ 49 const char *optstring, const cmdopt_option *longopts);
|
cmdopt.c | 125 if (h->longopts == NULL) { 129 for (i = 0; h->longopts[i].name != NULL; i++) { 130 len = cmdopt_match_len(h->longopts[i].name, h->nextchar); 183 option = h->longopts + h->longindex; 243 const char *optstring, const cmdopt_option *longopts) { 250 h->longopts = longopts; 274 h->longopts[h->longindex].name); 289 h->longopts[h->longindex].name, h->optarg);
|
/external/marisa-trie/v0_1_5/tools/ |
cmdopt.h | 34 const cmdopt_option *longopts; member in struct:cmdopt_t_ 49 const char *optstring, const cmdopt_option *longopts);
|
cmdopt.c | 125 if (h->longopts == NULL) { 129 for (i = 0; h->longopts[i].name != NULL; i++) { 130 len = cmdopt_match_len(h->longopts[i].name, h->nextchar); 183 option = h->longopts + h->longindex; 243 const char *optstring, const cmdopt_option *longopts) { 250 h->longopts = longopts; 274 h->longopts[h->longindex].name); 289 h->longopts[h->longindex].name, h->optarg);
|
/system/extras/kexec_tools/ |
kexecload.c | 79 const struct option longopts[] = { local 88 c = getopt_long(argc, argv, "s:th", longopts, NULL);
|
/frameworks/base/tools/obbtool/ |
Main.cpp | 36 static const struct option longopts[] = { variable in typeref:struct:option 194 while ((opt = getopt_long(argc, argv, ADD_OPTS, longopts, &option_index)) != -1) { 197 if (longopts[option_index].flag) 199 fprintf(stderr, "'%s' requires an argument\n", longopts[option_index].name);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/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')])
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/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/e2fsprogs/include/nonunix/ |
getopt.h | 113 const struct option *longopts, int *longind); 116 const struct option *longopts, int *longind); 121 const struct option *longopts, int *longind,
|
/external/grub/lib/ |
getopt.h | 111 const struct option *longopts, int *longind); 114 const struct option *longopts, int *longind); 119 const struct option *longopts, int *longind,
|
getopt.c | 508 LONGOPTS is a vector of `struct option' terminated by an 519 _getopt_internal (argc, argv, optstring, longopts, longind, long_only) 523 const struct option *longopts; 623 + (longopts != NULL && argv[optind][1] == '-')); 641 if (longopts != NULL 658 for (p = longopts, option_index = 0; p->name; p++, option_index++) 839 table of longopts. */ 846 for (p = longopts, option_index = 0; p->name; p++, option_index++)
|
/ndk/sources/host-tools/make-3.81/ |
getopt.h | 111 const struct option *longopts, int *longind); 114 const struct option *longopts, int *longind); 119 const struct option *longopts, int *longind,
|
getopt.c | 495 LONGOPTS is a vector of `struct option' terminated by an 507 const struct option *longopts, int *longind, int long_only) 605 + (longopts != NULL && argv[optind][1] == '-')); 623 if (longopts != NULL 640 for (p = longopts, option_index = 0; p->name; p++, option_index++) 820 table of longopts. */ 827 for (p = longopts, option_index = 0; p->name; p++, option_index++)
|
/external/grub/util/ |
mbchk.c | 29 static struct option longopts[] = variable in typeref:struct:option 191 c = getopt_long (argc, argv, optstring, longopts, 0);
|
/external/iptables/iptables/ |
iptables-apply | 59 LONGOPTS="timeout:,version,help"; 61 OPTS=$(getopt -s bash -o "$SHORTOPTS" -l "$LONGOPTS" -n "$PROGNAME" -- "$@") || exit $?
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
getopt.c | 337 LONGOPTS is a vector of `struct option' terminated by an 352 const struct option *longopts, int *longind, 461 + (longopts != NULL && argv[d->optind][1] == '-')); 479 if (longopts != NULL 497 for (p = longopts, option_index = 0; p->name; p++, option_index++) 860 table of longopts. */ 868 for (p = longopts, option_index = 0; p->name; p++, option_index++) 1088 const struct option *longopts, int *longind, 1096 result = _getopt_internal_r (argc, argv, optstring, longopts, longind,
|
/external/grub/grub/ |
main.c | 70 static struct option longopts[] = variable in typeref:struct:option 151 c = getopt_long (argc, argv, OPTSTRING, longopts, 0);
|
/external/bison/lib/ |
getopt.c | 339 LONGOPTS is a vector of 'struct option' terminated by an 351 const struct option *longopts, int *longind, 462 + (longopts != NULL && argv[d->optind][1] == '-')); 480 if (longopts != NULL 504 for (p = longopts, option_index = 0; p->name; p++, option_index++) 846 if (longopts == NULL) 899 table of longopts. */ 907 for (p = longopts, option_index = 0; p->name; p++, option_index++) [all...] |
/ndk/sources/host-tools/sed-4.2.1/sed/ |
sed.c | 182 static struct option longopts[] = { local 241 while ((opt = getopt_long(argc, argv, SHORTOPTS, longopts, NULL)) != EOF)
|
/system/extras/librank/ |
librank.c | 239 const struct option longopts[] = { local 255 c = getopt_long(argc, argv, "acChkm:pP:uvrsR", longopts, NULL);
|
/external/liblzf/ |
lzf.c | 68 struct option longopts[] = { variable in typeref:struct:option 474 while ((optc = getopt_long (argc, argv, "cdfhvb:", longopts, 0)) != -1)
|
/external/iproute2/misc/ |
ifstat.c | 570 static const struct option longopts[] = { variable in typeref:struct:option 593 longopts, NULL)) != EOF) {
|
/system/core/fastboot/ |
fastboot.c | 893 const struct option longopts[] = { local 906 c = getopt_long(argc, argv, "wub:k:n:r:s:S:lp:c:i:m:h", longopts, NULL);
|