argc 332 daemons/attrd/pacemaker-attrd.c main(int argc, char **argv) argc 340 daemons/attrd/pacemaker-attrd.c crm_log_preinit(NULL, argc, argv); argc 347 daemons/attrd/pacemaker-attrd.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); argc 353 daemons/attrd/pacemaker-attrd.c crm_bump_log_level(argc, argv); argc 364 daemons/attrd/pacemaker-attrd.c if (optind > argc) { argc 372 daemons/attrd/pacemaker-attrd.c crm_log_init(T_ATTRD, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); argc 88 daemons/based/pacemaker-based.c main(int argc, char **argv) argc 97 daemons/based/pacemaker-based.c crm_log_preinit(NULL, argc, argv); argc 108 daemons/based/pacemaker-based.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); argc 114 daemons/based/pacemaker-based.c crm_bump_log_level(argc, argv); argc 161 daemons/based/pacemaker-based.c if (argc - optind == 1 && pcmk__str_eq("metadata", argv[optind], pcmk__str_casei)) { argc 166 daemons/based/pacemaker-based.c if (optind > argc) { argc 174 daemons/based/pacemaker-based.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); argc 51 daemons/controld/pacemaker-controld.c main(int argc, char **argv) argc 59 daemons/controld/pacemaker-controld.c crm_log_preinit(NULL, argc, argv); argc 65 daemons/controld/pacemaker-controld.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); argc 71 daemons/controld/pacemaker-controld.c crm_bump_log_level(argc, argv); argc 82 daemons/controld/pacemaker-controld.c if (argc - optind == 1 && pcmk__str_eq("metadata", argv[optind], pcmk__str_casei)) { argc 85 daemons/controld/pacemaker-controld.c } else if (argc - optind == 1 && pcmk__str_eq("version", argv[optind], pcmk__str_casei)) { argc 90 daemons/controld/pacemaker-controld.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); argc 92 daemons/controld/pacemaker-controld.c if (optind > argc) { argc 520 daemons/execd/cts-exec-helper.c main(int argc, char **argv) argc 536 daemons/execd/cts-exec-helper.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); argc 546 daemons/execd/cts-exec-helper.c crm_bump_log_level(argc, argv); argc 631 daemons/execd/cts-exec-helper.c if (optind > argc) { argc 641 daemons/execd/cts-exec-helper.c argc, argv, FALSE); argc 420 daemons/execd/pacemaker-execd.c main(int argc, char **argv, char **envp) argc 429 daemons/execd/pacemaker-execd.c remoted_spawn_pidone(argc, argv, envp); argc 432 daemons/execd/pacemaker-execd.c crm_log_preinit(EXECD_NAME, argc, argv); argc 436 daemons/execd/pacemaker-execd.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); argc 471 daemons/execd/pacemaker-execd.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); argc 474 daemons/execd/pacemaker-execd.c crm_bump_log_level(argc, argv); argc 96 daemons/execd/pacemaker-execd.h void remoted_spawn_pidone(int argc, char **argv, char **envp); argc 195 daemons/execd/remoted_pidone.c remoted_spawn_pidone(int argc, char **argv, char **envp) argc 259 daemons/execd/remoted_pidone.c for (i = 0; i < argc; i++) { argc 606 daemons/fenced/cts-fence-helper.c main(int argc, char **argv) argc 620 daemons/fenced/cts-fence-helper.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); argc 648 daemons/fenced/cts-fence-helper.c crm_log_init(NULL, LOG_INFO, TRUE, (verbose? TRUE : FALSE), argc, argv, argc 651 daemons/fenced/cts-fence-helper.c if (optind > argc) { argc 1325 daemons/fenced/pacemaker-fenced.c main(int argc, char **argv) argc 1336 daemons/fenced/pacemaker-fenced.c crm_log_preinit(NULL, argc, argv); argc 1342 daemons/fenced/pacemaker-fenced.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); argc 1349 daemons/fenced/pacemaker-fenced.c crm_bump_log_level(argc, argv); argc 1381 daemons/fenced/pacemaker-fenced.c if (argc - optind == 1 && pcmk__str_eq("metadata", argv[optind], pcmk__str_casei)) { argc 1518 daemons/fenced/pacemaker-fenced.c if (optind != argc) { argc 1526 daemons/fenced/pacemaker-fenced.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); argc 1172 daemons/pacemakerd/pacemakerd.c main(int argc, char **argv) argc 1184 daemons/pacemakerd/pacemakerd.c crm_log_preinit(NULL, argc, argv); argc 1192 daemons/pacemakerd/pacemakerd.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); argc 1198 daemons/pacemakerd/pacemakerd.c crm_bump_log_level(argc, argv); argc 1227 daemons/pacemakerd/pacemakerd.c if (optind < argc) { argc 1229 daemons/pacemakerd/pacemakerd.c while (optind < argc) argc 1242 daemons/pacemakerd/pacemakerd.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); argc 312 daemons/schedulerd/pacemaker-schedulerd.c main(int argc, char **argv) argc 319 daemons/schedulerd/pacemaker-schedulerd.c crm_log_preinit(NULL, argc, argv); argc 327 daemons/schedulerd/pacemaker-schedulerd.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); argc 333 daemons/schedulerd/pacemaker-schedulerd.c crm_bump_log_level(argc, argv); argc 344 daemons/schedulerd/pacemaker-schedulerd.c if (argc - optind == 1 && pcmk__str_eq("metadata", argv[optind], pcmk__str_casei)) { argc 349 daemons/schedulerd/pacemaker-schedulerd.c if (optind > argc) { argc 357 daemons/schedulerd/pacemaker-schedulerd.c crm_log_init(NULL, LOG_INFO, TRUE, FALSE, argc, argv, FALSE); argc 108 include/crm/common/logging.h void crm_log_preinit(const char *entity, int argc, char **argv); argc 110 include/crm/common/logging.h gboolean to_stderr, int argc, char **argv, gboolean quiet); argc 112 include/crm/common/logging.h void crm_log_args(int argc, char **argv); argc 120 include/crm/common/logging.h void crm_bump_log_level(int argc, char **argv); argc 63 include/crm/common/options_internal.h int pcmk__next_cli_option(int argc, char **argv, int *index, argc 711 lib/common/logging.c crm_identity(const char *entity, int argc, char **argv) argc 720 lib/common/logging.c } else if (argc > 0 && argv != NULL) { argc 740 lib/common/logging.c crm_log_preinit(const char *entity, int argc, char **argv) argc 767 lib/common/logging.c crm_identity(entity, argc, argv); argc 797 lib/common/logging.c int argc, char **argv, gboolean quiet) argc 804 lib/common/logging.c crm_log_preinit(entity, argc, argv); argc 933 lib/common/logging.c crm_log_args(argc, argv); argc 976 lib/common/logging.c crm_bump_log_level(int argc, char **argv) argc 1002 lib/common/logging.c crm_log_args(int argc, char **argv) argc 1007 lib/common/logging.c if ((argc == 0) || (argv == NULL) || logged) { argc 147 lib/common/options.c pcmk__next_cli_option(int argc, char **argv, int *index, const char **longname) argc 158 lib/common/options.c int flag = getopt_long(argc, argv, crm_short_options, long_opts, index); argc 185 lib/common/options.c return getopt(argc, argv, crm_short_options); argc 50 lib/common/tests/agents/pcmk_stonith_param_test.c main(int argc, char **argv) argc 52 lib/common/tests/agents/pcmk_stonith_param_test.c g_test_init(&argc, &argv, NULL); argc 90 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c main(int argc, char **argv) argc 92 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c g_test_init(&argc, &argv, NULL); argc 37 lib/common/tests/flags/pcmk__clear_flags_as_test.c main(int argc, char **argv) argc 39 lib/common/tests/flags/pcmk__clear_flags_as_test.c g_test_init(&argc, &argv, NULL); argc 23 lib/common/tests/flags/pcmk__set_flags_as_test.c main(int argc, char **argv) argc 25 lib/common/tests/flags/pcmk__set_flags_as_test.c g_test_init(&argc, &argv, NULL); argc 32 lib/common/tests/flags/pcmk_all_flags_set_test.c main(int argc, char **argv) argc 34 lib/common/tests/flags/pcmk_all_flags_set_test.c g_test_init(&argc, &argv, NULL); argc 26 lib/common/tests/flags/pcmk_any_flags_set_test.c main(int argc, char **argv) argc 28 lib/common/tests/flags/pcmk_any_flags_set_test.c g_test_init(&argc, &argv, NULL); argc 210 lib/common/tests/operations/parse_op_key_test.c int main(int argc, char **argv) argc 212 lib/common/tests/operations/parse_op_key_test.c g_test_init(&argc, &argv, NULL); argc 90 lib/common/tests/strings/pcmk__add_word_test.c main(int argc, char **argv) argc 92 lib/common/tests/strings/pcmk__add_word_test.c g_test_init(&argc, &argv, NULL); argc 20 lib/common/tests/strings/pcmk__btoa_test.c main(int argc, char **argv) argc 22 lib/common/tests/strings/pcmk__btoa_test.c g_test_init(&argc, &argv, NULL); argc 44 lib/common/tests/strings/pcmk__char_in_any_str_test.c int main(int argc, char **argv) argc 46 lib/common/tests/strings/pcmk__char_in_any_str_test.c g_test_init(&argc, &argv, NULL); argc 95 lib/common/tests/strings/pcmk__parse_ll_range_test.c int main(int argc, char **argv) argc 97 lib/common/tests/strings/pcmk__parse_ll_range_test.c g_test_init(&argc, &argv, NULL); argc 153 lib/common/tests/strings/pcmk__scan_double_test.c int main(int argc, char **argv) argc 155 lib/common/tests/strings/pcmk__scan_double_test.c g_test_init(&argc, &argv, NULL); argc 46 lib/common/tests/strings/pcmk__str_any_of_test.c int main(int argc, char **argv) argc 48 lib/common/tests/strings/pcmk__str_any_of_test.c g_test_init(&argc, &argv, NULL); argc 77 lib/common/tests/strings/pcmk__strcmp_test.c int main(int argc, char **argv) { argc 78 lib/common/tests/strings/pcmk__strcmp_test.c g_test_init(&argc, &argv, NULL); argc 54 lib/common/tests/utils/pcmk_str_is_infinity_test.c int main(int argc, char **argv) argc 56 lib/common/tests/utils/pcmk_str_is_infinity_test.c g_test_init(&argc, &argv, NULL); argc 51 lib/common/tests/utils/pcmk_str_is_minus_infinity_test.c int main(int argc, char **argv) argc 53 lib/common/tests/utils/pcmk_str_is_minus_infinity_test.c g_test_init(&argc, &argv, NULL); argc 42 lib/common/tests/xpath/pcmk__xpath_node_id_test.c main(int argc, char **argv) argc 44 lib/common/tests/xpath/pcmk__xpath_node_id_test.c g_test_init(&argc, &argv, NULL); argc 111 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c int main(int argc, char **argv) { argc 112 lib/pengine/tests/rules/pe_cron_range_satisfied_test.c g_test_init(&argc, &argv, NULL); argc 237 maint/mocked/based.c bool usage, int argc, const char *argv[]) argc 243 maint/mocked/based.c if (argc <= 1) { argc 248 maint/mocked/based.c for (size_t i = 1; i < argc; i++) { argc 283 maint/mocked/based.c ret = ctxt->modules[c - 1]->hooks.argparse(ctxt, usage, argc - i, &argv[i]); argc 301 maint/mocked/based.c int main(int argc, char *argv[]) argc 305 maint/mocked/based.c if (mock_based_options(ctxt, false, argc, (const char **) argv) > 0) { argc 313 maint/mocked/based.c crm_log_preinit(NULL, argc, argv); argc 314 maint/mocked/based.c crm_log_init(NULL, LOG_DEBUG, false, true, argc, argv, false); argc 28 scratch.c main(int argc, char **argv) argc 34 scratch.c crm_log_init(NULL, LOG_TRACE, FALSE, TRUE, argc, argv, FALSE); argc 36 scratch.c flag = getopt(argc, argv, OPTARGS); argc 166 tools/attrd_updater.c main(int argc, char **argv) argc 188 tools/attrd_updater.c if (argc < 2) { argc 193 tools/attrd_updater.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); argc 199 tools/attrd_updater.c crm_bump_log_level(argc, argv); argc 232 tools/attrd_updater.c crm_log_args(argc, argv); /* Too much? */ argc 242 tools/attrd_updater.c crm_log_args(argc, argv); /* Too much? */ argc 250 tools/attrd_updater.c if (optind > argc) { argc 395 tools/cibadmin.c main(int argc, char **argv) argc 415 tools/cibadmin.c if (argc < 2) { argc 420 tools/cibadmin.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); argc 485 tools/cibadmin.c crm_log_args(argc, argv); argc 504 tools/cibadmin.c crm_log_args(argc, argv); argc 509 tools/cibadmin.c crm_log_args(argc, argv); argc 513 tools/cibadmin.c crm_log_args(argc, argv); argc 542 tools/cibadmin.c crm_log_args(argc, argv); argc 546 tools/cibadmin.c if (optind < argc) { argc 561 tools/cibadmin.c crm_bump_log_level(argc, argv); argc 565 tools/cibadmin.c if (optind < argc) { argc 567 tools/cibadmin.c while (optind < argc) argc 573 tools/cibadmin.c if (optind > argc || cib_action == NULL) { argc 303 tools/crm_attribute.c main(int argc, char **argv) argc 302 tools/crm_diff.c main(int argc, char **argv) argc 70 tools/crm_error.c main(int argc, char **argv) argc 1437 tools/crm_mon.c main(int argc, char **argv) argc 1477 tools/crm_mon.c crm_bump_log_level(argc, argv); argc 532 tools/crm_node.c main(int argc, char **argv) argc 1512 tools/crm_resource.c main(int argc, char **argv) argc 1554 tools/crm_resource.c crm_log_args(argc, argv); argc 228 tools/crm_rule.c main(int argc, char **argv) argc 245 tools/crm_shadow.c main(int argc, char **argv) argc 269 tools/crm_shadow.c if (argc < 2) { argc 274 tools/crm_shadow.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); argc 320 tools/crm_shadow.c crm_bump_log_level(argc, argv); argc 341 tools/crm_shadow.c if (optind < argc) { argc 343 tools/crm_shadow.c while (optind < argc) argc 349 tools/crm_shadow.c if (optind > argc) { argc 853 tools/crm_simulate.c main(int argc, char **argv) argc 711 tools/crm_ticket.c main(int argc, char **argv) argc 729 tools/crm_ticket.c crm_log_init(NULL, LOG_CRIT, FALSE, FALSE, argc, argv, FALSE); argc 735 tools/crm_ticket.c if (argc < 2) { argc 740 tools/crm_ticket.c flag = pcmk__next_cli_option(argc, argv, &option_index, NULL); argc 746 tools/crm_ticket.c crm_bump_log_level(argc, argv); argc 833 tools/crm_ticket.c if (optind < argc && argv[optind] != NULL) { argc 835 tools/crm_ticket.c while (optind < argc && argv[optind] != NULL) { argc 841 tools/crm_ticket.c if (optind > argc) { argc 104 tools/crm_verify.c main(int argc, char **argv) argc 179 tools/crmadmin.c main(int argc, char **argv) argc 528 tools/ipmiservicelogd.c main(int argc, char *argv[]) argc 546 tools/ipmiservicelogd.c if (argc > 1) { argc 558 tools/ipmiservicelogd.c rv = ipmi_parse_args2(&curr_arg, argc, argv, &args); argc 110 tools/iso8601.c main(int argc, char **argv) argc 129 tools/iso8601.c if (argc < 2) { argc 134 tools/iso8601.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); argc 140 tools/iso8601.c crm_bump_log_level(argc, argv); argc 96 tools/notifyServicelogEvent.c main(int argc, char *argv[]) argc 110 tools/notifyServicelogEvent.c if (argc < 2) { argc 115 tools/notifyServicelogEvent.c flag = pcmk__next_cli_option(argc, argv, &index, NULL); argc 130 tools/notifyServicelogEvent.c if (argc - optind != 1) { argc 335 tools/stonith_admin.c main(int argc, char **argv) argc 431 tools/stonith_admin.c crm_log_args(argc, argv); argc 438 tools/stonith_admin.c crm_log_args(argc, argv); argc 445 tools/stonith_admin.c crm_log_args(argc, argv); argc 451 tools/stonith_admin.c crm_log_args(argc, argv);