Home
last modified time | relevance | path

Searched refs:optstring (Results 1 – 25 of 31) sorted by relevance

12

/external/tinyalsa_new/utils/
Doptparse.h92 int optparse(struct optparse *options, const char *optstring);
181 optparse_argtype(const char *optstring, char c) in optparse_argtype() argument
186 for (; *optstring && c != *optstring; optstring++); in optparse_argtype()
187 if (!*optstring) in optparse_argtype()
189 if (optstring[1] == ':') in optparse_argtype()
190 count += optstring[2] == ':' ? 2 : 1; in optparse_argtype()
196 optparse(struct optparse *options, const char *optstring) in optparse() argument
212 int r = optparse(options, optstring); in optparse()
222 type = optparse_argtype(optstring, option[0]); in optparse()
284 optparse_from_long(const struct optparse_long *longopts, char *optstring) in optparse_from_long() argument
[all …]
/external/libusb/msvc/getopt/
Dgetopt.c389 _getopt_initialize (argc, argv, optstring) in _getopt_initialize() argument
392 const char *optstring;
406 if (optstring[0] == '-')
409 ++optstring;
411 else if (optstring[0] == '+')
414 ++optstring;
451 return optstring;
511 _getopt_internal (argc, argv, optstring, longopts, longind, long_only) in _getopt_internal() argument
514 const char *optstring;
520 if (optstring[0] == ':')
[all …]
/external/flac/src/share/getopt/
Dgetopt.c400 share___getopt_initialize (argc, argv, optstring) in share___getopt_initialize() argument
403 const char *optstring;
417 if (optstring[0] == '-')
420 ++optstring;
422 else if (optstring[0] == '+')
425 ++optstring;
464 return optstring;
524 share___getopt_internal (argc, argv, optstring, longopts, longind, long_only) in share___getopt_internal() argument
527 const char *optstring;
538 optstring = share___getopt_initialize (argc, argv, optstring);
[all …]
/external/python/cpython2/Lib/
Dgetopt.py187 def do_shorts(opts, optstring, shortopts, args): argument
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/
Dgetopt.py192 def do_shorts(opts, optstring, shortopts, args): argument
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/llvm-project/lldb/include/lldb/Host/common/
DGetOptInc.h38 int getopt(int argc, char *const argv[], const char *optstring);
54 int getopt_long(int argc, char *const *argv, const char *optstring,
59 int getopt_long_only(int argc, char *const *argv, const char *optstring,
/external/marisa-trie/tools/
Dcmdopt.cc71 for (ptr = h->optstring; *ptr != '\0'; ptr++) { in cmdopt_search()
243 const char *optstring, const cmdopt_option *longopts) { in cmdopt_init() argument
251 h->optstring = (optstring != NULL) ? optstring : empty_optstring; in cmdopt_init()
Dcmdopt.h35 const char *optstring; member
49 const char *optstring, const cmdopt_option *longopts);
/external/libsrtp2/test/
Dgetopt_s.c75 int getopt_s(int argc, char *const argv[], const char *optstring) in getopt_s() argument
90 switch (getopt_check_character(string[1], optstring)) { in getopt_s()
/external/python/cpython2/Python/
Dgetopt.c50 int _PyOS_GetOpt(int argc, char **argv, char *optstring) in _PyOS_GetOpt() argument
105 if ((ptr = strchr(optstring, option)) == NULL) { in _PyOS_GetOpt()
/external/minijail/
Dparse_seccomp_policy.cc50 const char* optstring = "d:h"; in main() local
60 while ((opt = getopt_long(argc, argv, optstring, long_options, NULL)) != -1) { in main()
Dminijail0_cli.c665 const char *optstring = in parse_args() local
683 while ((opt = getopt_long(argc, argv, optstring, long_options, NULL)) != in parse_args()
/external/llvm-project/lldb/source/Host/common/
DOptionParser.cpp32 llvm::StringRef optstring, const Option *longopts, in Parse() argument
45 std::string opt_cstr = std::string(optstring); in Parse()
/external/libsrtp2/include/
Dgetopt_s.h57 int getopt_s(int argc, char *const argv[], const char *optstring);
/external/igt-gpu-tools/tools/
Dintel_gvtg_test.c251 const char *optstring = "hq:a:b:"; in main() local
281 while ((opt = getopt_long(argc, argv, optstring, long_options, NULL)) in main()
/external/python/cpython2/Include/
Dpygetopt.h13 PyAPI_FUNC(int) _PyOS_GetOpt(int argc, char **argv, char *optstring);
/external/llvm-project/lldb/include/lldb/Host/
DOptionParser.h44 llvm::StringRef optstring, const Option *longopts,
/external/iptables/iptables/
Dxtables-save.c128 const char *optstring, const struct option *longopts) in xtables_save_main() argument
149 while ((c = getopt_long(argc, argv, optstring, longopts, NULL)) != -1) { in xtables_save_main()
/external/e2fsprogs/misc/
Duuidgen.c20 extern int getopt(int argc, char * const argv[], const char *optstring);
Dblkid.c29 extern int getopt(int argc, char * const argv[], const char *optstring);
/external/autotest/client/tests/monotonic_time/src/
Dtime_test.c35 const char optstring[] = "c:d:ht:v"; variable
333 while ((c = getopt_long(argc, argv, optstring, options, NULL)) != EOF) { in main()
/external/v4l2_codec2/tests/c2_e2e_test/jni/
Dvideo_encoder_e2e_test.cpp350 const char* const optstring = "t:rn:"; in GetOption() local
360 while ((opt = getopt_long(argc, argv, optstring, opts, nullptr)) != -1) { in GetOption()
Dvideo_decoder_e2e_test.cpp377 const char* const optstring = "t:o:"; in GetOption() local
389 while ((opt = getopt_long(argc, argv, optstring, opts, nullptr)) != -1) { in GetOption()
/external/llvm-project/clang/test/Analysis/
Dstd-c-library-functions-POSIX.c211 int getopt(int argc, char *const argv[], const char *optstring);
/external/wpa_supplicant_8/src/utils/
Dcommon.c382 int getopt(int argc, char *const argv[], const char *optstring) in getopt() argument
406 cp = os_strchr(optstring, optopt); in getopt()

12