formatters 16 lib/common/output.c static GHashTable *formatters = NULL; formatters 21 lib/common/output.c return formatters; formatters 46 lib/common/output.c CRM_ASSERT(formatters != NULL && out != NULL); formatters 52 lib/common/output.c create = g_hash_table_lookup(formatters, "text"); formatters 54 lib/common/output.c create = g_hash_table_lookup(formatters, fmt_name); formatters 97 lib/common/output.c if (formatters == NULL) { formatters 98 lib/common/output.c formatters = pcmk__strkey_table(free, NULL); formatters 105 lib/common/output.c g_hash_table_insert(formatters, strdup(name), create); formatters 124 lib/common/output.c if (formatters != NULL) { formatters 125 lib/common/output.c g_hash_table_destroy(formatters); formatters 126 lib/common/output.c formatters = NULL; formatters 34 lib/common/tests/output/pcmk__register_format_test.c GHashTable *formatters = NULL; formatters 42 lib/common/tests/output/pcmk__register_format_test.c formatters = pcmk__output_formatters(); formatters 43 lib/common/tests/output/pcmk__register_format_test.c assert_int_equal(g_hash_table_size(formatters), 1); formatters 45 lib/common/tests/output/pcmk__register_format_test.c value = g_hash_table_lookup(formatters, "fake"); formatters 52 lib/common/tests/output/pcmk__register_format_test.c formatters = pcmk__output_formatters(); formatters 53 lib/common/tests/output/pcmk__register_format_test.c assert_int_equal(g_hash_table_size(formatters), 1); formatters 55 lib/common/tests/output/pcmk__register_format_test.c value = g_hash_table_lookup(formatters, "fake"); formatters 46 lib/common/tests/output/pcmk__register_formats_test.c GHashTable *formatters = NULL; formatters 56 lib/common/tests/output/pcmk__register_formats_test.c formatters = pcmk__output_formatters(); formatters 57 lib/common/tests/output/pcmk__register_formats_test.c assert_int_equal(g_hash_table_size(formatters), 2); formatters 58 lib/common/tests/output/pcmk__register_formats_test.c assert_ptr_equal(g_hash_table_lookup(formatters, "fmt1"), null_create_fn); formatters 59 lib/common/tests/output/pcmk__register_formats_test.c assert_ptr_equal(g_hash_table_lookup(formatters, "fmt2"), null_create_fn_2); formatters 66 lib/common/tests/output/pcmk__register_formats_test.c GHashTable *formatters = NULL; formatters 76 lib/common/tests/output/pcmk__register_formats_test.c formatters = pcmk__output_formatters(); formatters 77 lib/common/tests/output/pcmk__register_formats_test.c assert_int_equal(g_hash_table_size(formatters), 1); formatters 78 lib/common/tests/output/pcmk__register_formats_test.c assert_ptr_equal(g_hash_table_lookup(formatters, "fmt1"), null_create_fn_2); formatters 85 lib/common/tests/output/pcmk__register_formats_test.c GHashTable *formatters = NULL; formatters 95 lib/common/tests/output/pcmk__register_formats_test.c formatters = pcmk__output_formatters(); formatters 96 lib/common/tests/output/pcmk__register_formats_test.c assert_int_equal(g_hash_table_size(formatters), 2); formatters 97 lib/common/tests/output/pcmk__register_formats_test.c assert_ptr_equal(g_hash_table_lookup(formatters, "fmt1"), null_create_fn); formatters 98 lib/common/tests/output/pcmk__register_formats_test.c assert_ptr_equal(g_hash_table_lookup(formatters, "fmt2"), null_create_fn);