Searched refs:optstring (Results 1 - 25 of 26) sorted by relevance

12

/external/syslinux/gpxe/src/include/
H A Dgetopt.h57 extern int getopt_long ( int argc, char * const argv[], const char *optstring,
65 * @v optstring Option specification string
71 const char *optstring ) {
75 return getopt_long ( argc, argv, optstring, no_options, NULL );
/external/python/cpython2/Include/
H A Dpygetopt.h13 PyAPI_FUNC(int) _PyOS_GetOpt(int argc, char **argv, char *optstring);
/external/syslinux/com32/lib/
H A Dgetopt.c19 int getopt(int argc, char *const *argv, const char *optstring) argument
29 "optstring" or "argv" argument have changed since last time
32 if (optstring != pvt.last_optstring || argv != pvt.last_argv ||
35 pvt.last_optstring = optstring;
61 if (opt != ':' && (osptr = strchr(optstring, opt))) {
77 return (optstring[0] == ':')
H A Dgetopt_long.c8 * - First optstring character "-" not supported.
38 int getopt_long(int argc, char *const *argv, const char *optstring, argument
49 "optstring" or "argv" argument have changed since last time
52 if (optstring != pvt.last_optstring || argv != pvt.last_argv ||
55 pvt.last_optstring = optstring;
116 if (opt != ':' && (osptr = strchr(optstring, opt))) {
132 return (optstring[0] == ':')
/external/python/cpython3/Include/
H A Dpygetopt.h15 PyAPI_FUNC(int) _PyOS_GetOpt(int argc, wchar_t **argv, wchar_t *optstring);
/external/syslinux/libinstaller/getopt/
H A Dgetopt_long.c8 * - First optstring character "-" not supported.
38 int getopt_long(int argc, char *const *argv, const char *optstring, argument
49 "optstring" or "argv" argument have changed since last time
52 if (optstring != pvt.last_optstring || argv != pvt.last_argv ||
55 pvt.last_optstring = optstring;
116 if (opt != ':' && (osptr = strchr(optstring, opt))) {
132 return (optstring[0] == ':')
/external/python/cpython2/Lib/
H A Dgetopt.py187 def do_shorts(opts, optstring, shortopts, args):
188 while optstring != '':
189 opt, optstring = optstring[0], optstring[1:]
191 if optstring == '':
195 optstring, args = args[0], args[1:]
196 optarg, optstring = optstring, ''
/external/python/cpython3/Lib/
H A Dgetopt.py192 def do_shorts(opts, optstring, shortopts, args):
193 while optstring != '':
194 opt, optstring = optstring[0], optstring[1:]
196 if optstring == '':
200 optstring, args = args[0], args[1:]
201 optarg, optstring = optstring, ''
/external/libusb/examples/getopt/
H A Dgetopt.c392 _getopt_initialize (argc, argv, optstring)
395 const char *optstring;
409 if (optstring[0] == '-')
412 ++optstring;
414 else if (optstring[0] == '+')
417 ++optstring;
454 return optstring;
515 _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
518 const char *optstring;
524 if (optstring[
[all...]
/external/fio/oslib/
H A Dgetopt_long.c8 * - First optstring character "-" not supported.
42 int getopt_long_only(int argc, char *const *argv, const char *optstring, argument
55 "optstring" or "argv" argument have changed since last time
58 if (optstring != pvt.last_optstring || argv != pvt.last_argv ||
61 pvt.last_optstring = optstring;
148 if (opt != ':' && (osptr = strchr(optstring, opt))) {
173 return (optstring[0] == ':')
/external/syslinux/gpxe/src/core/
H A Dgetopt.c215 * @v optstring Option specification string
224 int getopt_long ( int argc, char * const argv[], const char *optstring, argument
259 while ( ( shortopt = *(optstring++) ) ) {
261 while ( *optstring == ':' ) {
263 optstring++;
/external/python/cpython2/Python/
H A Dgetopt.c50 int _PyOS_GetOpt(int argc, char **argv, char *optstring) argument
105 if ((ptr = strchr(optstring, option)) == NULL) {
/external/python/cpython3/Python/
H A Dgetopt.c54 int _PyOS_GetOpt(int argc, wchar_t **argv, wchar_t *optstring) argument
102 if ((ptr = wcschr(optstring, option)) == NULL) {
/external/e2fsprogs/misc/
H A Duuidgen.c20 extern int getopt(int argc, char * const argv[], const char *optstring);
H A Dblkid.c29 extern int getopt(int argc, char * const argv[], const char *optstring);
H A Duuidd.c32 extern int getopt(int argc, char * const argv[], const char *optstring);
/external/autotest/client/tests/monotonic_time/src/
H A Dtime_test.c35 const char optstring[] = "c:d:ht:v"; variable
333 while ((c = getopt_long(argc, argv, optstring, options, NULL)) != EOF) {
/external/fio/t/
H A Dgenzipf.c107 const char *optstring = "t:g:i:o:b:p:ch"; local
110 while ((c = getopt(argc, argv, optstring)) != -1) {
/external/minijail/
H A Dminijail0_cli.c479 const char *optstring = local
493 while ((opt = getopt_long(argc, argv, optstring, long_options, NULL)) !=
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dcommon.c371 int getopt(int argc, char *const argv[], const char *optstring) argument
395 cp = os_strchr(optstring, optopt);
H A Dcommon.h371 int getopt(int argc, char *const argv[], const char *optstring);
/external/wpa_supplicant_8/src/utils/
H A Dcommon.c371 int getopt(int argc, char *const argv[], const char *optstring) argument
395 cp = os_strchr(optstring, optopt);
H A Dcommon.h371 int getopt(int argc, char *const argv[], const char *optstring);
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dcommon.c371 int getopt(int argc, char *const argv[], const char *optstring) argument
395 cp = os_strchr(optstring, optopt);
H A Dcommon.h371 int getopt(int argc, char *const argv[], const char *optstring);

Completed in 3989 milliseconds

12