b 146 daemons/based/based_io.c static int cib_archive_sort(const struct dirent ** a, const struct dirent **b) b 156 daemons/based/based_io.c char *b_path = crm_strdup_printf("%s/%s", cib_root, b[0]->d_name); b 176 daemons/based/based_io.c b[0]->d_name, (unsigned long)b_age, rc); b 2346 daemons/fenced/fenced_commands.c sort_device_priority(gconstpointer a, gconstpointer b) b 2349 daemons/fenced/fenced_commands.c const stonith_device_t *dev_b = b; b 141 daemons/fenced/fenced_history.c const remote_fencing_op_t **b = (const remote_fencing_op_t **) b_voidp; b 143 daemons/fenced/fenced_history.c gboolean b_pending = ((*b)->state != st_failed) && ((*b)->state != st_done); b 151 daemons/fenced/fenced_history.c } else if ((*b)->completed == (*a)->completed) { b 153 daemons/fenced/fenced_history.c } else if ((*b)->completed > (*a)->completed) { b 89 daemons/fenced/fenced_remote.c sort_strings(gconstpointer a, gconstpointer b) b 91 daemons/fenced/fenced_remote.c return strcmp(a, b); b 1697 daemons/fenced/fenced_remote.c sort_peers(gconstpointer a, gconstpointer b) b 1700 daemons/fenced/fenced_remote.c const st_query_result_t *peer_b = b; b 27 devel/coccinelle/test/ref-passed-variables-inited.input.c int a = 1, b, c = 3; b 30 devel/coccinelle/test/ref-passed-variables-inited.input.c foo(&b); b 31 devel/coccinelle/test/ref-passed-variables-inited.input.c baz(b); b 51 include/crm/common/util_compat.h gboolean crm_str_eq(const char *a, const char *b, gboolean use_case); b 54 include/crm/common/util_compat.h gboolean safe_str_neq(const char *a, const char *b); b 57 include/crm/common/util_compat.h #define safe_str_eq(a, b) crm_str_eq(a, b, FALSE) b 88 include/crm/common/util_compat.h gboolean crm_strcase_equal(gconstpointer a, gconstpointer b); b 358 include/crm/pengine/internal.h extern gint sort_rsc_priority(gconstpointer a, gconstpointer b); b 359 include/crm/pengine/internal.h extern gint sort_rsc_index(gconstpointer a, gconstpointer b); b 432 include/crm/pengine/internal.h extern gint sort_op_by_callid(gconstpointer a, gconstpointer b); b 462 include/crm/pengine/internal.h gint sort_node_uname(gconstpointer a, gconstpointer b); b 39 lib/cib/cib_client.c gint ciblib_GCompareFunc(gconstpointer a, gconstpointer b); b 561 lib/cib/cib_client.c ciblib_GCompareFunc(gconstpointer a, gconstpointer b) b 565 lib/cib/cib_client.c const cib_notify_client_t *b_client = b; b 564 lib/cluster/cpg.c *const b = *((const struct cpg_address **) second); b 565 lib/cluster/cpg.c if (a->nodeid < b->nodeid) { b 567 lib/cluster/cpg.c } else if (a->nodeid > b->nodeid) { b 1387 lib/common/iso8601.c crm_time_compare(crm_time_t *a, crm_time_t *b) b 1391 lib/common/iso8601.c crm_time_t *t2 = crm_get_utc_time(b); b 319 lib/common/md5.c #define FF(b, c, d) (d ^ (b & (c ^ d))) b 320 lib/common/md5.c #define FG(b, c, d) FF (d, b, c) b 321 lib/common/md5.c #define FH(b, c, d) (b ^ c ^ d) b 322 lib/common/md5.c #define FI(b, c, d) (c ^ (b | ~d)) b 363 lib/common/md5.c #define OP(a, b, c, d, s, T) \ b 366 lib/common/md5.c a += FF (b, c, d) + (*cwp++ = SWAP (*words)) + T; \ b 369 lib/common/md5.c a += b; \ b 409 lib/common/md5.c #define OP(f, a, b, c, d, k, s, T) \ b 412 lib/common/md5.c a += f (b, c, d) + correct_words[k] + T; \ b 414 lib/common/md5.c a += b; \ b 118 lib/common/nvpair.c pcmk__compare_nvpair(gconstpointer a, gconstpointer b) b 122 lib/common/nvpair.c const pcmk_nvpair_t *pair_b = b; b 127 lib/common/nvpair.c CRM_ASSERT(b != NULL); b 1113 lib/common/patchset.c sort_change_obj_by_position(gconstpointer a, gconstpointer b) b 1116 lib/common/patchset.c const xml_change_obj_t *change_obj_b = b; b 152 lib/common/schemas.c schema_sort(const struct dirent **a, const struct dirent **b) b 158 lib/common/schemas.c || !version_from_filename(b[0]->d_name, &b_version)) { b 619 lib/common/strings.c pcmk__strcase_equal(gconstpointer a, gconstpointer b) b 621 lib/common/strings.c return pcmk__str_eq((const char *)a, (const char *)b, pcmk__str_casei); b 1193 lib/common/strings.c safe_str_neq(const char *a, const char *b) b 1195 lib/common/strings.c if (a == b) { b 1198 lib/common/strings.c } else if (a == NULL || b == NULL) { b 1201 lib/common/strings.c } else if (strcasecmp(a, b) == 0) { b 1208 lib/common/strings.c crm_str_eq(const char *a, const char *b, gboolean use_case) b 1211 lib/common/strings.c return g_strcmp0(a, b) == 0; b 1214 lib/common/strings.c } else if (a == b) { b 1217 lib/common/strings.c } else if (a == NULL || b == NULL) { b 1221 lib/common/strings.c } else if (strcasecmp(a, b) == 0) { b 1243 lib/common/strings.c crm_strcase_equal(gconstpointer a, gconstpointer b) b 1245 lib/common/strings.c return pcmk__strcase_equal(a, b); b 13 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c #define LISTS_EQ(a, b) { \ b 14 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c g_assert_cmpint(g_strv_length((gchar **) (a)), ==, g_strv_length((gchar **) (b))); \ b 16 lib/common/tests/cmdline/pcmk__cmdline_preproc_test.c g_assert_cmpstr((a)[i], ==, (b)[i]); \ b 1172 lib/fencing/st_client.c stonithlib_GCompareFunc(gconstpointer a, gconstpointer b) b 1176 lib/fencing/st_client.c const stonith_notify_client_t *b_client = b; b 319 lib/gnu/md5.c #define FF(b, c, d) (d ^ (b & (c ^ d))) b 320 lib/gnu/md5.c #define FG(b, c, d) FF (d, b, c) b 321 lib/gnu/md5.c #define FH(b, c, d) (b ^ c ^ d) b 322 lib/gnu/md5.c #define FI(b, c, d) (c ^ (b | ~d)) b 363 lib/gnu/md5.c #define OP(a, b, c, d, s, T) \ b 366 lib/gnu/md5.c a += FF (b, c, d) + (*cwp++ = SWAP (*words)) + T; \ b 369 lib/gnu/md5.c a += b; \ b 409 lib/gnu/md5.c #define OP(f, a, b, c, d, k, s, T) \ b 412 lib/gnu/md5.c a += f (b, c, d) + correct_words[k] + T; \ b 414 lib/gnu/md5.c a += b; \ b 1133 lib/pacemaker/pcmk_sched_allocate.c sort_rsc_process_order(gconstpointer a, gconstpointer b, gpointer data) b 1143 lib/pacemaker/pcmk_sched_allocate.c const pe_resource_t *resource2 = b; b 33 lib/pacemaker/pcmk_sched_bundle.c gint sort_clone_instance(gconstpointer a, gconstpointer b, gpointer data_set); b 18 lib/pacemaker/pcmk_sched_clone.c gint sort_clone_instance(gconstpointer a, gconstpointer b, gpointer data_set); b 22 lib/pacemaker/pcmk_sched_clone.c sort_rsc_id(gconstpointer a, gconstpointer b) b 25 lib/pacemaker/pcmk_sched_clone.c const pe_resource_t *resource2 = (const pe_resource_t *)b; b 251 lib/pacemaker/pcmk_sched_clone.c sort_clone_instance(gconstpointer a, gconstpointer b, gpointer data_set) b 265 lib/pacemaker/pcmk_sched_clone.c const pe_resource_t *resource2 = (const pe_resource_t *)b; b 1209 lib/pacemaker/pcmk_sched_constraints.c sort_cons_priority_lh(gconstpointer a, gconstpointer b) b 1212 lib/pacemaker/pcmk_sched_constraints.c const pcmk__colocation_t *rsc_constraint2 = (const pcmk__colocation_t *) b; b 1217 lib/pacemaker/pcmk_sched_constraints.c if (b == NULL) { b 1257 lib/pacemaker/pcmk_sched_constraints.c sort_cons_priority_rh(gconstpointer a, gconstpointer b) b 1260 lib/pacemaker/pcmk_sched_constraints.c const pcmk__colocation_t *rsc_constraint2 = (const pcmk__colocation_t *) b; b 1265 lib/pacemaker/pcmk_sched_constraints.c if (b == NULL) { b 1499 lib/pacemaker/pcmk_sched_graph.c sort_action_id(gconstpointer a, gconstpointer b) b 1502 lib/pacemaker/pcmk_sched_graph.c const pe_action_wrapper_t *action_wrapper1 = (const pe_action_wrapper_t *)b; b 1507 lib/pacemaker/pcmk_sched_graph.c if (b == NULL) { b 22 lib/pacemaker/pcmk_sched_notif.c sort_notify_entries(gconstpointer a, gconstpointer b) b 26 lib/pacemaker/pcmk_sched_notif.c const notify_entry_t *entry_b = b; b 18 lib/pacemaker/pcmk_sched_promotable.c extern gint sort_clone_instance(gconstpointer a, gconstpointer b, gpointer data_set); b 246 lib/pacemaker/pcmk_sched_promotable.c sort_promotable_instance(gconstpointer a, gconstpointer b, gpointer data_set) b 253 lib/pacemaker/pcmk_sched_promotable.c const pe_resource_t *resource2 = (const pe_resource_t *)b; b 261 lib/pacemaker/pcmk_sched_promotable.c rc = sort_rsc_index(a, b); b 276 lib/pacemaker/pcmk_sched_promotable.c return sort_clone_instance(a, b, data_set); b 153 lib/pacemaker/pcmk_sched_utils.c sort_node_weight(gconstpointer a, gconstpointer b, gpointer data) b 156 lib/pacemaker/pcmk_sched_utils.c const pe_node_t *node2 = (const pe_node_t *)b; b 167 lib/pacemaker/pcmk_sched_utils.c if (b == NULL) { b 24 lib/pengine/pe_output.c compare_attribute(gconstpointer a, gconstpointer b) b 28 lib/pengine/pe_output.c rc = strcmp((const char *)a, (const char *)b); b 327 lib/pengine/rules.c sort_pairs(gconstpointer a, gconstpointer b) b 330 lib/pengine/rules.c const sorted_set_t *pair_b = b; b 332 lib/pengine/rules.c if (a == NULL && b == NULL) { b 336 lib/pengine/rules.c } else if (b == NULL) { b 218 lib/pengine/utils.c sort_node_uname(gconstpointer a, gconstpointer b) b 221 lib/pengine/utils.c ((const pe_node_t *) b)->details->uname); b 335 lib/pengine/utils.c sort_rsc_index(gconstpointer a, gconstpointer b) b 338 lib/pengine/utils.c const pe_resource_t *resource2 = (const pe_resource_t *)b; b 340 lib/pengine/utils.c if (a == NULL && b == NULL) { b 346 lib/pengine/utils.c if (b == NULL) { b 362 lib/pengine/utils.c sort_rsc_priority(gconstpointer a, gconstpointer b) b 365 lib/pengine/utils.c const pe_resource_t *resource2 = (const pe_resource_t *)b; b 367 lib/pengine/utils.c if (a == NULL && b == NULL) { b 373 lib/pengine/utils.c if (b == NULL) { b 1638 lib/pengine/utils.c sort_op_by_callid(gconstpointer a, gconstpointer b) b 1647 lib/pengine/utils.c const xmlNode *xml_b = b; b 381 lib/services/systemd.c sort_str(gconstpointer a, gconstpointer b) b 383 lib/services/systemd.c if (!a && !b) { b 387 lib/services/systemd.c } else if (!b) { b 390 lib/services/systemd.c return strcasecmp(a, b); b 158 libltdl/libltdl/lt_system.h # define LT__CONC(a, b) a##b b 159 libltdl/libltdl/lt_system.h # define LT_CONC(a, b) LT__CONC(a, b) b 162 libltdl/libltdl/lt_system.h # define LT__CONC3(a, b, c) a##b##c b 163 libltdl/libltdl/lt_system.h # define LT_CONC3(a, b, c) LT__CONC3(a, b, c) b 135 tools/crm_node.c sort_node(gconstpointer a, gconstpointer b) b 138 tools/crm_node.c const pcmk_controld_api_node_t *node_b = b; b 308 tools/crm_resource.c compare_id(gconstpointer a, gconstpointer b) b 310 tools/crm_resource.c return strcmp((const char *)a, (const char *)b);