option 438 daemons/execd/pacemaker-execd.c const char *option = NULL; option 500 daemons/execd/pacemaker-execd.c option = pcmk__env_option(PCMK__ENV_LOGFACILITY); option 501 daemons/execd/pacemaker-execd.c if (!pcmk__str_eq(option, PCMK_VALUE_NONE, option 503 daemons/execd/pacemaker-execd.c && !pcmk__str_eq(option, "/dev/null", pcmk__str_none)) { option 505 daemons/execd/pacemaker-execd.c pcmk__set_env_option("LOGFACILITY", option, true); option 508 daemons/execd/pacemaker-execd.c option = pcmk__env_option(PCMK__ENV_LOGFILE); option 509 daemons/execd/pacemaker-execd.c if (!pcmk__str_eq(option, PCMK_VALUE_NONE, option 511 daemons/execd/pacemaker-execd.c pcmk__set_env_option("LOGFILE", option, true); option 514 daemons/execd/pacemaker-execd.c pcmk__set_env_option("DEBUGLOG", option, true); option 40 include/crm/common/health_internal.h int pcmk__health_score(const char *option, const pcmk_scheduler_t *scheduler); option 30 include/crm/common/options_internal.h const char *pcmk__env_option(const char *option); option 31 include/crm/common/options_internal.h void pcmk__set_env_option(const char *option, const char *value, bool compat); option 32 include/crm/common/options_internal.h bool pcmk__env_option_enabled(const char *daemon, const char *option); option 82 lib/common/health.c pcmk__health_score(const char *option, const pcmk_scheduler_t *scheduler) option 88 lib/common/health.c CRM_CHECK((option != NULL) && (scheduler != NULL), return 0); option 90 lib/common/health.c value = pcmk__cluster_option(scheduler->config_hash, option); option 94 lib/common/health.c option, value, pcmk_rc_str(rc)); option 1094 lib/common/options.c pcmk__env_option(const char *option) option 1100 lib/common/options.c CRM_CHECK(!pcmk__str_empty(option), return NULL); option 1103 lib/common/options.c int rv = snprintf(env_name, NAME_MAX, "%s%s", prefixes[i], option); option 1106 lib/common/options.c crm_err("Failed to write %s%s to buffer: %s", prefixes[i], option, option 1112 lib/common/options.c crm_trace("\"%s%s\" is too long", prefixes[i], option); option 1123 lib/common/options.c crm_trace("Nothing found for %s", option); option 1144 lib/common/options.c pcmk__set_env_option(const char *option, const char *value, bool compat) option 1150 lib/common/options.c CRM_CHECK(!pcmk__str_empty(option) && (strchr(option, '=') == NULL), option 1154 lib/common/options.c int rv = snprintf(env_name, NAME_MAX, "%s%s", prefixes[i], option); option 1157 lib/common/options.c crm_err("Failed to write %s%s to buffer: %s", prefixes[i], option, option 1163 lib/common/options.c crm_trace("\"%s%s\" is too long", prefixes[i], option); option 1201 lib/common/options.c pcmk__env_option_enabled(const char *daemon, const char *option) option 1203 lib/common/options.c const char *value = pcmk__env_option(option); option 1352 lib/common/options.c cluster_option_value(GHashTable *table, const pcmk__cluster_option_t *option) option 1356 lib/common/options.c pcmk__assert((option != NULL) && (option->name != NULL)); option 1359 lib/common/options.c value = g_hash_table_lookup(table, option->name); option 1361 lib/common/options.c if ((value == NULL) && (option->alt_name != NULL)) { option 1362 lib/common/options.c value = g_hash_table_lookup(table, option->alt_name); option 1367 lib/common/options.c option->alt_name, option->name); option 1370 lib/common/options.c pcmk__insert_dup(table, option->name, value); option 1374 lib/common/options.c if ((value != NULL) && (option->is_valid != NULL) option 1375 lib/common/options.c && !option->is_valid(value)) { option 1378 lib/common/options.c "because '%s' is invalid", option->name, value); option 1388 lib/common/options.c value = option->default_value; option 1392 lib/common/options.c option->name); option 1396 lib/common/options.c CRM_CHECK((option->is_valid == NULL) || option->is_valid(value), option 1398 lib/common/options.c option->name); option 1402 lib/common/options.c value, option->name); option 1404 lib/common/options.c pcmk__insert_dup(table, option->name, value); option 1421 lib/common/options.c for (const pcmk__cluster_option_t *option = cluster_options; option 1422 lib/common/options.c option->name != NULL; option++) { option 1424 lib/common/options.c if (pcmk__str_eq(name, option->name, pcmk__str_casei)) { option 1425 lib/common/options.c return cluster_option_value(options, option); option 1567 lib/common/options.c for (const pcmk__cluster_option_t *option = cluster_options; option 1568 lib/common/options.c option->name != NULL; option++) { option 1570 lib/common/options.c cluster_option_value(options, option); option 25 lib/common/options_display.c const pcmk__cluster_option_t *option) option 30 lib/common/options_display.c pcmk__assert(option->type != NULL); option 32 lib/common/options_display.c if (pcmk_is_set(option->flags, pcmk__opt_generated)) { option 36 lib/common/options_display.c if ((option->values != NULL) && (strcmp(option->type, "select") == 0)) { option 38 lib/common/options_display.c bool found_default = (option->default_value == NULL); option 39 lib/common/options_display.c char *str = pcmk__str_copy(option->values); option 51 lib/common/options_display.c if (!found_default && (strcmp(value, option->default_value) == 0)) { option 58 lib/common/options_display.c } else if (option->default_value != NULL) { option 60 lib/common/options_display.c option->type, _(" (default: \""), option->default_value, option 64 lib/common/options_display.c pcmk__g_strcat(buf, option->type, _(" (no default)"), NULL); option 80 lib/common/options_display.c const pcmk__cluster_option_t *option) option 82 lib/common/options_display.c const char *desc_short = option->description_short; option 83 lib/common/options_display.c const char *desc_long = option->description_long; option 92 lib/common/options_display.c out->list_item(out, option->name, "%s", _(desc_short)); option 99 lib/common/options_display.c add_possible_values_default(out, option); option 155 lib/common/options_display.c for (const pcmk__cluster_option_t *option = option_list; option 156 lib/common/options_display.c option->name != NULL; option++) { option 159 lib/common/options_display.c if (pcmk_all_flags_set(option->flags, filter)) { option 160 lib/common/options_display.c if (pcmk_is_set(option->flags, pcmk__opt_deprecated)) { option 162 lib/common/options_display.c deprecated = g_slist_prepend(deprecated, (gpointer) option); option 165 lib/common/options_display.c } else if (pcmk_is_set(option->flags, pcmk__opt_advanced)) { option 167 lib/common/options_display.c advanced = g_slist_prepend(advanced, (gpointer) option); option 172 lib/common/options_display.c add_option_metadata_default(out, option); option 183 lib/common/options_display.c const pcmk__cluster_option_t *option = iter->data; option 186 lib/common/options_display.c add_option_metadata_default(out, option); option 200 lib/common/options_display.c const pcmk__cluster_option_t *option = iter->data; option 203 lib/common/options_display.c add_option_metadata_default(out, option); option 262 lib/common/options_display.c const pcmk__cluster_option_t *option) option 264 lib/common/options_display.c if ((option->values != NULL) && (strcmp(option->type, "select") == 0)) { option 266 lib/common/options_display.c char *str = pcmk__str_copy(option->values); option 316 lib/common/options_display.c const pcmk__cluster_option_t *option) option 318 lib/common/options_display.c const char *type = option->type; option 319 lib/common/options_display.c const char *desc_long = option->description_long; option 320 lib/common/options_display.c const char *desc_short = option->description_short; option 321 lib/common/options_display.c const bool advanced = pcmk_is_set(option->flags, pcmk__opt_advanced); option 322 lib/common/options_display.c const bool deprecated = pcmk_is_set(option->flags, pcmk__opt_deprecated); option 323 lib/common/options_display.c const bool generated = pcmk_is_set(option->flags, pcmk__opt_generated); option 351 lib/common/options_display.c if (option->values != NULL) { option 353 lib/common/options_display.c desc_long, option->values); option 360 lib/common/options_display.c if (desc_long != option->description_long) { option 367 lib/common/options_display.c desc_short = pcmk__s(option->description_short, ""); option 392 lib/common/options_display.c PCMK_XA_NAME, option->name, option 406 lib/common/options_display.c PCMK_XA_DEFAULT, option->default_value, option 409 lib/common/options_display.c add_possible_values_xml(out, option); option 464 lib/common/options_display.c for (const pcmk__cluster_option_t *option = option_list; option 465 lib/common/options_display.c option->name != NULL; option++) { option 467 lib/common/options_display.c if (pcmk_all_flags_set(option->flags, filter)) { option 468 lib/common/options_display.c add_option_metadata_xml(out, option); option 77 lib/pengine/group.c set_group_flag(pcmk_resource_t *group, const char *option, uint32_t flag, option 83 lib/pengine/group.c value_s = g_hash_table_lookup(group->meta, option); option 95 lib/pengine/group.c "(use a resource set instead)", option); option 51 lib/pengine/unpack.c #define set_config_flag(scheduler, option, flag) do { \ option 53 lib/pengine/unpack.c const char *scf_value = pcmk__cluster_option(config_hash, (option)); \ option 61 maint/gnulib/lib/argp-parse.c #define USER_BITS ((sizeof ((struct option *)0)->val * CHAR_BIT) - GROUP_BITS) option 177 maint/gnulib/lib/argp-parse.c find_long_option (struct option *long_options, const char *name) option 179 maint/gnulib/lib/argp-parse.c struct option *l = long_options; option 251 maint/gnulib/lib/argp-parse.c struct option *long_opts; option 281 maint/gnulib/lib/argp-parse.c struct option *long_end; option 483 maint/gnulib/lib/argp-parse.c llen = (szs.long_len + 1) * sizeof (struct option); option 492 maint/gnulib/lib/argp-parse.c csum = alignto (gsum + clen, alignof (struct option)); option 503 maint/gnulib/lib/argp-parse.c parser->long_opts = (struct option *) (storage + csum); option 765 maint/gnulib/lib/argp-parse.c struct option *long_opt = parser->long_opts; option 46 maint/gnulib/lib/backupfile.c # define pathconf(file, option) (errno = -1) option 47 maint/gnulib/lib/backupfile.c # define fpathconf(fd, option) (errno = -1) option 146 maint/gnulib/lib/csharpcomp.c char *option = (char *) xmalloca (5 + strlen (output_file) + 1); option 147 maint/gnulib/lib/csharpcomp.c memcpy (option, "-out:", 5); option 148 maint/gnulib/lib/csharpcomp.c strcpy (option + 5, output_file); option 149 maint/gnulib/lib/csharpcomp.c *argp++ = option; option 153 maint/gnulib/lib/csharpcomp.c char *option = (char *) xmalloca (5 + strlen (libdirs[i]) + 1); option 154 maint/gnulib/lib/csharpcomp.c memcpy (option, "-lib:", 5); option 155 maint/gnulib/lib/csharpcomp.c strcpy (option + 5, libdirs[i]); option 156 maint/gnulib/lib/csharpcomp.c *argp++ = option; option 160 maint/gnulib/lib/csharpcomp.c char *option = (char *) xmalloca (11 + strlen (libraries[i]) + 4 + 1); option 161 maint/gnulib/lib/csharpcomp.c memcpy (option, "-reference:", 11); option 162 maint/gnulib/lib/csharpcomp.c memcpy (option + 11, libraries[i], strlen (libraries[i])); option 163 maint/gnulib/lib/csharpcomp.c strcpy (option + 11 + strlen (libraries[i]), ".dll"); option 164 maint/gnulib/lib/csharpcomp.c *argp++ = option; option 175 maint/gnulib/lib/csharpcomp.c char *option = (char *) xmalloca (10 + strlen (source_file) + 1); option 177 maint/gnulib/lib/csharpcomp.c memcpy (option, "-resource:", 10); option 178 maint/gnulib/lib/csharpcomp.c strcpy (option + 10, source_file); option 179 maint/gnulib/lib/csharpcomp.c *argp++ = option; option 329 maint/gnulib/lib/csharpcomp.c char *option = (char *) xmalloca (5 + strlen (output_file) + 1); option 330 maint/gnulib/lib/csharpcomp.c memcpy (option, "-out:", 5); option 331 maint/gnulib/lib/csharpcomp.c strcpy (option + 5, output_file); option 332 maint/gnulib/lib/csharpcomp.c *argp++ = option; option 336 maint/gnulib/lib/csharpcomp.c char *option = (char *) xmalloca (5 + strlen (libdirs[i]) + 1); option 337 maint/gnulib/lib/csharpcomp.c memcpy (option, "-lib:", 5); option 338 maint/gnulib/lib/csharpcomp.c strcpy (option + 5, libdirs[i]); option 339 maint/gnulib/lib/csharpcomp.c *argp++ = option; option 343 maint/gnulib/lib/csharpcomp.c char *option = (char *) xmalloca (11 + strlen (libraries[i]) + 4 + 1); option 344 maint/gnulib/lib/csharpcomp.c memcpy (option, "-reference:", 11); option 345 maint/gnulib/lib/csharpcomp.c memcpy (option + 11, libraries[i], strlen (libraries[i])); option 346 maint/gnulib/lib/csharpcomp.c strcpy (option + 11 + strlen (libraries[i]), ".dll"); option 347 maint/gnulib/lib/csharpcomp.c *argp++ = option; option 360 maint/gnulib/lib/csharpcomp.c char *option = (char *) xmalloca (10 + strlen (source_file) + 1); option 362 maint/gnulib/lib/csharpcomp.c memcpy (option, "-resource:", 10); option 363 maint/gnulib/lib/csharpcomp.c strcpy (option + 10, source_file); option 364 maint/gnulib/lib/csharpcomp.c *argp++ = option; option 68 maint/gnulib/lib/getopt-ext.h const struct option *__longopts, int *__longind) option 72 maint/gnulib/lib/getopt-ext.h const struct option *__longopts, int *__longind) option 45 maint/gnulib/lib/getopt-pfx-ext.h # define option __GETOPT_ID (option) option 195 maint/gnulib/lib/getopt.c const struct option *longopts, int *longind, option 201 maint/gnulib/lib/getopt.c const struct option *p; option 202 maint/gnulib/lib/getopt.c const struct option *pfound = NULL; option 472 maint/gnulib/lib/getopt.c const struct option *longopts, int *longind, option 704 maint/gnulib/lib/getopt.c const struct option *longopts, int *longind, int long_only, option 29 maint/gnulib/lib/getopt1.c const struct option *long_options, int *opt_index) option 37 maint/gnulib/lib/getopt1.c const struct option *long_options, int *opt_index, option 52 maint/gnulib/lib/getopt1.c const struct option *long_options, int *opt_index) option 60 maint/gnulib/lib/getopt1.c const struct option *long_options, int *opt_index, option 83 maint/gnulib/lib/getopt1.c static const struct option long_options[] = option 27 maint/gnulib/lib/getopt_int.h const struct option *__longopts, int *__longind, option 103 maint/gnulib/lib/getopt_int.h const struct option *__longopts, int *__longind, option 109 maint/gnulib/lib/getopt_int.h const struct option *__longopts, int *__longind, option 114 maint/gnulib/lib/getopt_int.h const struct option *__longopts, option 961 maint/gnulib/lib/git-merge-changelog.c static const struct option long_options[] = option 34 maint/gnulib/lib/long-options.c static struct option const long_options[] = option 91 maint/gnulib/lib/savedir.c streamsavedir (DIR *dirp, enum savedir_option option) option 99 maint/gnulib/lib/savedir.c comparison_function cmp = comparison_function_table[option]; option 177 maint/gnulib/lib/savedir.c savedir (char const *dir, enum savedir_option option) option 184 maint/gnulib/lib/savedir.c char *name_space = streamsavedir (dirp, option); option 452 maint/gnulib/lib/textstyle.in.h handle_color_option (_GL_ATTRIBUTE_MAYBE_UNUSED const char *option) option 458 maint/gnulib/lib/textstyle.in.h handle_style_option (_GL_ATTRIBUTE_MAYBE_UNUSED const char *option) option 48 maint/gnulib/lib/xstrtol-error.c int opt_idx, char c, struct option const *long_options, option 54 maint/gnulib/lib/xstrtol-error.c char const *option; option 81 maint/gnulib/lib/xstrtol-error.c option = option_buffer; option 84 maint/gnulib/lib/xstrtol-error.c option = long_options[opt_idx].name; option 86 maint/gnulib/lib/xstrtol-error.c error (exit_status, 0, gettext (msgid), hyphens, option, arg); option 93 maint/gnulib/lib/xstrtol-error.c int opt_idx, char c, struct option const *long_options, option 42 maint/gnulib/lib/xstrtol-error.h int, char, struct option const *, option 37 maint/gnulib/tests/test-getopt-gnu.c char const *, struct option const *, option 40 maint/gnulib/tests/test-getopt-gnu.c char const *, struct option const *, option 23 maint/gnulib/tests/test-getopt_long.h static const struct option long_options_required[] = option 36 maint/gnulib/tests/test-getopt_long.h static const struct option long_options_optional[] = option 47 maint/gnulib/tests/test-getopt_long.h const char *options, const struct option *long_options, option 106 maint/gnulib/tests/test-getopt_long.h const struct option *longopts, int *longind) option 1934 maint/gnulib/tests/test-getopt_long.h const struct option *longopts, int *longind) option 1086 tools/crm_mon.c #define print_option_help(out, option, condition) \ option 1087 tools/crm_mon.c curses_formatted_printf(out, "%c %c: \t%s\n", ((condition)? '*': ' '), option, get_option_desc(option));