/glibc-2.36/resolv/ |
D | tst-resolv-res_init-skeleton.c | 70 TEST_VERIFY (_res.options & RES_INIT); in check_chroot_working() 82 print_option_flag (FILE *fp, int *options, int flag, const char *name) in print_option_flag() argument 84 if (*options & flag) in print_option_flag() 87 *options &= ~flag; in print_option_flag() 104 TEST_VERIFY (resp->options & RES_INIT); in print_resp() 107 int options in print_resp() local 108 = resp->options & ~(RES_INIT | RES_RECURSE | RES_DEFNAMES | RES_DNSRCH); in print_resp() 109 if (options != 0 in print_resp() 121 print_option_flag (fp, &options, RES_USEVC, "use-vc"); in print_resp() 122 print_option_flag (fp, &options, RES_ROTATE, "rotate"); in print_resp() [all …]
|
D | res_init.c | 172 || (preinit->options != 0 in has_preinit_values() 173 && (preinit->options & ~RES_INIT) != RES_DEFAULT); in has_preinit_values() 190 parser->template.options = preinit->options | RES_INIT; in resolv_conf_parser_init() 196 parser->template.options = RES_DEFAULT | RES_INIT; in resolv_conf_parser_init() 250 static void res_setoptions (struct resolv_conf_parser *, const char *options); 645 res_setoptions (struct resolv_conf_parser *parser, const char *options) in res_setoptions() argument 647 const char *cp = options; in res_setoptions() 687 } options[] = { in res_setoptions() local 700 #define noptions (sizeof (options) / sizeof (options[0])) in res_setoptions() 702 if (strncmp (cp, options[i].str, options[i].len) == 0) in res_setoptions() [all …]
|
D | resolv_context.c | 62 return ctx->resp->options == ctx->conf->options in replicated_configuration_matches() 74 if (resp->options & RES_INIT) in maybe_init() 76 if (resp->options & RES_NORELOAD) in maybe_init() 117 resp->options = RES_DEFAULT; in maybe_init()
|
D | res_send.c | 202 if (nscount <= 1 || !(statp->options & RES_ROTATE)) in nameserver_offset() 247 if (!(ctx->resp->options & RES_TRUSTAD)) in mask_ad_bit() 283 v_circuit = ((statp->options & RES_USEVC) in __res_context_send() 410 if ((v_circuit && (statp->options & RES_USEVC) == 0) || in __res_context_send() 411 (statp->options & RES_STAYOPEN) == 0) { in __res_context_send() 950 bool single_request_reopen = (statp->options & RES_SNGLKUPREOP) != 0; in send_dg() 951 bool single_request = (((statp->options & RES_SNGLKUP) != 0) in send_dg() 1009 statp->options |= RES_SNGLKUP; in send_dg() 1016 statp->options |= RES_SNGLKUPREOP; in send_dg() 1252 if (!(statp->options & RES_IGNTC) && anhp->tc) { in send_dg()
|
D | res_query.c | 135 if ((statp->options & (RES_USE_EDNS0|RES_USE_DNSSEC)) != 0) in __res_context_query() 159 && (statp->options & (RES_USE_EDNS0|RES_USE_DNSSEC)) != 0) in __res_context_query() 175 && (statp->options & (RES_USE_EDNS0|RES_USE_DNSSEC)) != 0) in __res_context_query() 418 if ((!dots && (statp->options & RES_DEFNAMES) != 0) || in __res_context_search() 419 (dots && !trailing_dot && (statp->options & RES_DNSRCH) != 0)) { in __res_context_search() 503 if ((statp->options & RES_DNSRCH) == 0) in __res_context_search() 512 if ((dots || !searched || (statp->options & RES_NOTLDQUERY) == 0) in __res_context_search()
|
D | res_mkquery.c | 121 if (ctx->resp->options & RES_TRUSTAD) in __res_context_mkquery() 123 hp->rd = (ctx->resp->options & RES_RECURSE) != 0; in __res_context_mkquery() 291 if (ctx->resp->options & RES_USE_DNSSEC) in __res_nopt()
|
D | res_libc.c | 70 if (!(_res.options & RES_INIT)) in res_init() 71 _res.options = RES_DEFAULT; in res_init()
|
/glibc-2.36/misc/ |
D | tst-syslog.c | 99 send_vsyslog (int options) in send_vsyslog() argument 114 send_syslog (int options) in send_syslog() argument 129 check_syslog_message (const struct msg_t *msg, int msgnum, int options, in check_syslog_message() argument 151 send_openlog (int options) in send_openlog() argument 154 openlog (OPENLOG_IDENT, options, LOG_LOCAL0); in send_openlog() 184 int options, pid_t pid) in check_openlog_message() argument 195 options & LOG_PID ? "[" : "", in check_openlog_message() 196 options & LOG_PID ? pid : 0, in check_openlog_message() 197 options & LOG_PID ? "]" : ""); in check_openlog_message() 201 if (options & LOG_PID) in check_openlog_message() [all …]
|
/glibc-2.36/posix/ |
D | getopt1.c | 28 getopt_long (int argc, char *__getopt_argv_const *argv, const char *options, in getopt_long() argument 31 return _getopt_internal (argc, (char **) argv, options, long_options, in getopt_long() 36 _getopt_long_r (int argc, char **argv, const char *options, in _getopt_long_r() argument 40 return _getopt_internal_r (argc, argv, options, long_options, opt_index, in _getopt_long_r() 51 const char *options, in getopt_long_only() argument 54 return _getopt_internal (argc, (char **) argv, options, long_options, in getopt_long_only() 59 _getopt_long_only_r (int argc, char **argv, const char *options, in _getopt_long_only_r() argument 63 return _getopt_internal_r (argc, argv, options, long_options, opt_index, in _getopt_long_only_r()
|
D | wait3.c | 27 __wait3 (int *stat_loc, int options, struct rusage *usage) in __wait3() argument 29 return __wait4 (WAIT_ANY, stat_loc, options, usage); in __wait3()
|
D | waitpid.c | 36 __waitpid (pid_t pid, int *stat_loc, int options) in __waitpid() argument 38 return __wait4 (pid, stat_loc, options, NULL); in __waitpid()
|
D | tstgetopt.c | 9 static const struct option options[] = in main() local 28 while ((c = getopt_long (argc, argv, "abc:", options, NULL)) >= 0) in main()
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | wait4.c | 26 __wait4_time64 (pid_t pid, int *stat_loc, int options, struct __rusage64 *usage) in __wait4_time64() argument 30 return SYSCALL_CANCEL (wait4, pid, stat_loc, options, usage); in __wait4_time64() 35 ret = SYSCALL_CANCEL (wait4, pid, stat_loc, options, in __wait4_time64() 56 options |= WEXITED; in __wait4_time64() 61 if (SYSCALL_CANCEL (waitid, idtype, pid, &infop, options, usage) < 0) in __wait4_time64() 66 if (SYSCALL_CANCEL (waitid, idtype, pid, &infop, options, &usage32) < 0) in __wait4_time64() 115 __wait4 (pid_t pid, int *stat_loc, int options, struct rusage *usage) in libc_hidden_def() 120 ret = __wait4_time64 (pid, stat_loc, options, in libc_hidden_def()
|
D | wait3.c | 24 __wait3_time64 (int *stat_loc, int options, struct __rusage64 *usage) in __wait3_time64() argument 26 return __wait4_time64 (WAIT_ANY, stat_loc, options, usage); in __wait3_time64() 32 __wait3 (int *stat_loc, int options, struct rusage *usage) in libc_hidden_def() 35 pid_t ret = __wait3_time64 (stat_loc, options, in libc_hidden_def()
|
D | waitid.c | 25 __waitid (idtype_t idtype, id_t id, siginfo_t *infop, int options) in __waitid() argument 29 return SYSCALL_CANCEL (waitid, idtype, id, infop, options, NULL); in __waitid()
|
/glibc-2.36/manual/ |
D | getopt.texi | 2 @section Parsing program options using @code{getopt} 5 chore involved in parsing typical unix command line options. 9 * Example of Getopt:: An example of parsing options with @code{getopt}. 11 options; here is one way to do. 53 option argument, for those options that accept arguments. 56 @deftypefun int getopt (int @var{argc}, char *const *@var{argv}, const char *@var{options}) 82 The @var{options} argument is a string that specifies the option 88 @code{getopt} has three ways to deal with options that follow 89 non-options @var{argv} elements. The special argument @samp{--} forces 95 so that eventually all the non-options are at the end. This allows [all …]
|
D | argp.texi | 13 output in response to the @samp{--help} and @samp{--version} options, as 15 that programmers will neglect to implement these additional options or 39 @c Optionally alloca()tes standard help options, initializes the parser, 166 This structure specifies how to parse a given set of options and 171 @item const struct argp_option *options 173 options this argp parser understands; it may be zero if there are no 174 options at all. @xref{Argp Option Vectors}. 192 after the options in a long help message, with the two sections 194 convention, the documentation before the options is just a short string 196 options describe behavior in more detail. [all …]
|
/glibc-2.36/support/ |
D | support_test_main.c | 50 usage (const struct option *options) in usage() argument 63 for (i = 0; options[i].name; ++i) in usage() 67 indent = printf (" --%s", options[i].name); in usage() 68 if (options[i].has_arg == required_argument) in usage() 71 switch (options[i].val) in usage() 278 const struct option *options; in support_test_main() local 279 if (config->options != NULL) in support_test_main() 280 options = config->options; in support_test_main() 282 options = default_options; in support_test_main() 307 while ((opt = getopt_long (argc, argv, config->optstring, options, NULL)) in support_test_main() [all …]
|
D | test-driver.c | 154 struct option options[] = in main() local 159 test_config.options = &options; in main()
|
/glibc-2.36/sysdeps/mach/hurd/ |
D | waitid.c | 29 __waitid (idtype_t idtype, id_t id, siginfo_t *infop, int options) in __waitid() argument 72 err = __USEPORT_CANCEL (PROC, __proc_waitid (port, pid, options, in __waitid() 77 err = __USEPORT_CANCEL (PROC, __proc_wait (port, pid, options, in __waitid()
|
D | wait4_nocancel.c | 26 __wait4_nocancel (pid_t pid, int *stat_loc, int options, struct rusage *usage) in __wait4_nocancel() argument 34 err = __USEPORT (PROC, __proc_wait (port, pid, options, in __wait4_nocancel()
|
D | wait4.c | 26 __wait4 (pid_t pid, int *stat_loc, int options, struct rusage *usage) in __wait4() argument 36 err = __USEPORT_CANCEL (PROC, __proc_wait (port, pid, options, in __wait4()
|
/glibc-2.36/sysdeps/unix/sysv/linux/alpha/ |
D | osf_wait4.c | 30 __wait4_tv32 (pid_t pid, int *status, int options, struct __rusage32 *usage32) in __wait4_tv32() argument 33 pid_t child = __wait4 (pid, status, options, &usage); in __wait4_tv32()
|
/glibc-2.36/argp/ |
D | tst-ldbl-argp.c | 26 options[] = variable 57 options, parser
|
/glibc-2.36/manual/examples/ |
D | argp-ex3.c | 86 static struct argp_option options[] = { variable 145 static struct argp argp = { options, parse_opt, args_doc, doc };
|