Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 168) sorted by relevance

1234567

/glibc-2.36/resolv/
Dtst-resolv-res_init-skeleton.c70 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 …]
Dres_init.c172 || (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 …]
Dresolv_context.c62 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()
Dres_send.c202 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()
Dres_query.c135 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()
Dres_mkquery.c121 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()
Dres_libc.c70 if (!(_res.options & RES_INIT)) in res_init()
71 _res.options = RES_DEFAULT; in res_init()
/glibc-2.36/misc/
Dtst-syslog.c99 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/
Dgetopt1.c28 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()
Dwait3.c27 __wait3 (int *stat_loc, int options, struct rusage *usage) in __wait3() argument
29 return __wait4 (WAIT_ANY, stat_loc, options, usage); in __wait3()
Dwaitpid.c36 __waitpid (pid_t pid, int *stat_loc, int options) in __waitpid() argument
38 return __wait4 (pid, stat_loc, options, NULL); in __waitpid()
Dtstgetopt.c9 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/
Dwait4.c26 __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()
Dwait3.c24 __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()
Dwaitid.c25 __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/
Dgetopt.texi2 @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 …]
Dargp.texi13 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/
Dsupport_test_main.c50 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 …]
Dtest-driver.c154 struct option options[] = in main() local
159 test_config.options = &options; in main()
/glibc-2.36/sysdeps/mach/hurd/
Dwaitid.c29 __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()
Dwait4_nocancel.c26 __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()
Dwait4.c26 __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/
Dosf_wait4.c30 __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/
Dtst-ldbl-argp.c26 options[] = variable
57 options, parser
/glibc-2.36/manual/examples/
Dargp-ex3.c86 static struct argp_option options[] = { variable
145 static struct argp argp = { options, parse_opt, args_doc, doc };

1234567