set1 573 lib/pacemaker/pcmk_sched_colocation.c colocate_rsc_sets(const char *id, const xmlNode *set1, const xmlNode *set2, set1 582 lib/pacemaker/pcmk_sched_colocation.c const char *role_1 = crm_element_value(set1, PCMK_XA_ROLE); set1 592 lib/pacemaker/pcmk_sched_colocation.c id, pcmk__xe_id(set1), pcmk__xe_id(set2)); set1 596 lib/pacemaker/pcmk_sched_colocation.c rc = pcmk__xe_get_bool_attr(set1, PCMK_XA_SEQUENTIAL, &sequential); set1 599 lib/pacemaker/pcmk_sched_colocation.c xml_rsc = pcmk__xe_first_child(set1, PCMK_XE_RESOURCE_REF, NULL, NULL); set1 608 lib/pacemaker/pcmk_sched_colocation.c pcmk__xe_id(set1), pcmk__xe_id(set2), set1 630 lib/pacemaker/pcmk_sched_colocation.c pcmk__xe_id(set1), pcmk__xe_id(set2), xml_rsc_id); set1 653 lib/pacemaker/pcmk_sched_colocation.c pcmk__xe_id(set1), xml_rsc_id, set1 662 lib/pacemaker/pcmk_sched_colocation.c for (xml_rsc = pcmk__xe_first_child(set1, PCMK_XE_RESOURCE_REF, NULL, set1 673 lib/pacemaker/pcmk_sched_colocation.c pcmk__xe_id(set1), xml_rsc_id, set1 684 lib/pacemaker/pcmk_sched_colocation.c for (xml_rsc = pcmk__xe_first_child(set1, PCMK_XE_RESOURCE_REF, NULL, set1 697 lib/pacemaker/pcmk_sched_colocation.c pcmk__xe_id(set1), xml_rsc_id, set1 716 lib/pacemaker/pcmk_sched_colocation.c pcmk__xe_id(set1), pcmk__xe_id(xml_rsc), set1 720 lib/pacemaker/pcmk_sched_ordering.c order_rsc_sets(const char *id, const xmlNode *set1, const xmlNode *set2, set1 731 lib/pacemaker/pcmk_sched_ordering.c const char *action_1 = crm_element_value(set1, PCMK_XA_ACTION); set1 738 lib/pacemaker/pcmk_sched_ordering.c (void) pcmk__xe_get_bool_attr(set1, PCMK_XA_REQUIRE_ALL, &require_all); set1 770 lib/pacemaker/pcmk_sched_ordering.c pcmk__xe_id(set1)); set1 776 lib/pacemaker/pcmk_sched_ordering.c for (xml_rsc = pcmk__xe_first_child(set1, PCMK_XE_RESOURCE_REF, NULL, set1 811 lib/pacemaker/pcmk_sched_ordering.c if (pcmk__xe_attr_is_true(set1, PCMK_XA_SEQUENTIAL)) { set1 814 lib/pacemaker/pcmk_sched_ordering.c xml_rsc = pcmk__xe_first_child(set1, PCMK_XE_RESOURCE_REF, NULL, set1 824 lib/pacemaker/pcmk_sched_ordering.c for (xml_rsc = pcmk__xe_first_child(set1, PCMK_XE_RESOURCE_REF, set1 871 lib/pacemaker/pcmk_sched_ordering.c for (xml_rsc = pcmk__xe_first_child(set1, PCMK_XE_RESOURCE_REF, NULL, set1 881 lib/pacemaker/pcmk_sched_ordering.c for (xml_rsc = pcmk__xe_first_child(set1, PCMK_XE_RESOURCE_REF, NULL, set1 1328 maint/gnulib/lib/regex_internal.c re_node_set_compare (const re_node_set *set1, const re_node_set *set2) set1 1331 maint/gnulib/lib/regex_internal.c if (set1 == NULL || set2 == NULL || set1->nelem != set2->nelem) set1 1333 maint/gnulib/lib/regex_internal.c for (i = set1->nelem ; --i >= 0 ; ) set1 1334 maint/gnulib/lib/regex_internal.c if (set1->elems[i] != set2->elems[i]) set1 41 maint/gnulib/tests/test-array_oset.c check_equals (gl_oset_t set1, gl_list_t set2) set1 43 maint/gnulib/tests/test-array_oset.c size_t n = gl_oset_size (set1); set1 51 maint/gnulib/tests/test-array_oset.c iter1 = gl_oset_iterator (set1); set1 66 maint/gnulib/tests/test-array_oset.c check_all (gl_oset_t set1, gl_list_t set2) set1 68 maint/gnulib/tests/test-array_oset.c check_equals (set1, set2); set1 95 maint/gnulib/tests/test-array_oset.c gl_oset_t set1; set1 108 maint/gnulib/tests/test-array_oset.c set1 = gl_oset_nx_create_empty (GL_ARRAY_OSET, (gl_setelement_compar_fn) strcmp, NULL); set1 109 maint/gnulib/tests/test-array_oset.c ASSERT (set1 != NULL); set1 114 maint/gnulib/tests/test-array_oset.c check_all (set1, set2); set1 120 maint/gnulib/tests/test-array_oset.c ASSERT (gl_oset_nx_add (set1, obj) set1 124 maint/gnulib/tests/test-array_oset.c check_all (set1, set2); set1 135 maint/gnulib/tests/test-array_oset.c ASSERT (gl_oset_search (set1, obj) set1 142 maint/gnulib/tests/test-array_oset.c ASSERT (gl_oset_nx_add (set1, obj) set1 151 maint/gnulib/tests/test-array_oset.c ASSERT (gl_oset_remove (set1, obj) set1 158 maint/gnulib/tests/test-array_oset.c gl_oset_iterator_t iter = gl_oset_iterator_atleast (set1, is_at_least, obj); set1 182 maint/gnulib/tests/test-array_oset.c check_all (set1, set2); set1 185 maint/gnulib/tests/test-array_oset.c gl_oset_free (set1); set1 48 maint/gnulib/tests/test-array_set.c check_equals (gl_set_t set1, gl_oset_t set2) set1 50 maint/gnulib/tests/test-array_set.c size_t n = gl_set_size (set1); set1 60 maint/gnulib/tests/test-array_set.c iter1 = gl_set_iterator (set1); set1 86 maint/gnulib/tests/test-array_set.c check_all (gl_set_t set1, gl_oset_t set2) set1 88 maint/gnulib/tests/test-array_set.c check_equals (set1, set2); set1 94 maint/gnulib/tests/test-array_set.c gl_set_t set1; set1 107 maint/gnulib/tests/test-array_set.c set1 = gl_set_nx_create_empty (GL_ARRAY_SET, NULL, NULL, NULL); set1 108 maint/gnulib/tests/test-array_set.c ASSERT (set1 != NULL); set1 113 maint/gnulib/tests/test-array_set.c check_all (set1, set2); set1 119 maint/gnulib/tests/test-array_set.c ASSERT (gl_set_nx_add (set1, obj) == gl_oset_add (set2, obj)); set1 120 maint/gnulib/tests/test-array_set.c check_all (set1, set2); set1 131 maint/gnulib/tests/test-array_set.c ASSERT (gl_set_search (set1, obj) == gl_oset_search (set2, obj)); set1 137 maint/gnulib/tests/test-array_set.c ASSERT (gl_set_nx_add (set1, obj) == gl_oset_add (set2, obj)); set1 143 maint/gnulib/tests/test-array_set.c ASSERT (gl_set_remove (set1, obj) == gl_oset_remove (set2, obj)); set1 147 maint/gnulib/tests/test-array_set.c check_all (set1, set2); set1 150 maint/gnulib/tests/test-array_set.c gl_set_free (set1); set1 42 maint/gnulib/tests/test-avltree_oset.c check_equals (gl_oset_t set1, gl_oset_t set2) set1 44 maint/gnulib/tests/test-avltree_oset.c size_t n = gl_oset_size (set1); set1 50 maint/gnulib/tests/test-avltree_oset.c iter1 = gl_oset_iterator (set1); set1 65 maint/gnulib/tests/test-avltree_oset.c check_all (gl_oset_t set1, gl_oset_t set2) set1 68 maint/gnulib/tests/test-avltree_oset.c check_equals (set1, set2); set1 80 maint/gnulib/tests/test-avltree_oset.c gl_oset_t set1, set2; set1 92 maint/gnulib/tests/test-avltree_oset.c set1 = gl_oset_nx_create_empty (GL_ARRAY_OSET, (gl_setelement_compar_fn) strcmp, NULL); set1 93 maint/gnulib/tests/test-avltree_oset.c ASSERT (set1 != NULL); set1 99 maint/gnulib/tests/test-avltree_oset.c check_all (set1, set2); set1 105 maint/gnulib/tests/test-avltree_oset.c ASSERT (gl_oset_nx_add (set1, obj) == gl_oset_nx_add (set2, obj)); set1 106 maint/gnulib/tests/test-avltree_oset.c check_all (set1, set2); set1 117 maint/gnulib/tests/test-avltree_oset.c ASSERT (gl_oset_search (set1, obj) == gl_oset_search (set2, obj)); set1 123 maint/gnulib/tests/test-avltree_oset.c ASSERT (gl_oset_nx_add (set1, obj) == gl_oset_nx_add (set2, obj)); set1 129 maint/gnulib/tests/test-avltree_oset.c ASSERT (gl_oset_remove (set1, obj) == gl_oset_remove (set2, obj)); set1 135 maint/gnulib/tests/test-avltree_oset.c gl_oset_iterator_t iter1 = gl_oset_iterator_atleast (set1, is_at_least, obj); set1 159 maint/gnulib/tests/test-avltree_oset.c check_all (set1, set2); set1 162 maint/gnulib/tests/test-avltree_oset.c gl_oset_free (set1); set1 47 maint/gnulib/tests/test-hash_set.c check_equals (gl_set_t set1, gl_set_t set2) set1 49 maint/gnulib/tests/test-hash_set.c size_t n = gl_set_size (set1); set1 59 maint/gnulib/tests/test-hash_set.c iter1 = gl_set_iterator (set1); set1 85 maint/gnulib/tests/test-hash_set.c check_all (gl_set_t set1, gl_set_t set2) set1 87 maint/gnulib/tests/test-hash_set.c check_equals (set1, set2); set1 109 maint/gnulib/tests/test-hash_set.c gl_set_t set1, set2; set1 121 maint/gnulib/tests/test-hash_set.c set1 = gl_set_nx_create_empty (GL_ARRAY_SET, string_equals, string_hashcode, NULL); set1 122 maint/gnulib/tests/test-hash_set.c ASSERT (set1 != NULL); set1 128 maint/gnulib/tests/test-hash_set.c check_all (set1, set2); set1 134 maint/gnulib/tests/test-hash_set.c ASSERT (gl_set_nx_add (set1, obj) == gl_set_nx_add (set2, obj)); set1 135 maint/gnulib/tests/test-hash_set.c check_all (set1, set2); set1 146 maint/gnulib/tests/test-hash_set.c ASSERT (gl_set_search (set1, obj) == gl_set_search (set2, obj)); set1 152 maint/gnulib/tests/test-hash_set.c ASSERT (gl_set_nx_add (set1, obj) == gl_set_nx_add (set2, obj)); set1 158 maint/gnulib/tests/test-hash_set.c ASSERT (gl_set_remove (set1, obj) == gl_set_remove (set2, obj)); set1 162 maint/gnulib/tests/test-hash_set.c check_all (set1, set2); set1 165 maint/gnulib/tests/test-hash_set.c gl_set_free (set1); set1 47 maint/gnulib/tests/test-linkedhash_set.c check_equals (gl_set_t set1, gl_set_t set2) set1 49 maint/gnulib/tests/test-linkedhash_set.c size_t n = gl_set_size (set1); set1 59 maint/gnulib/tests/test-linkedhash_set.c iter1 = gl_set_iterator (set1); set1 85 maint/gnulib/tests/test-linkedhash_set.c check_all (gl_set_t set1, gl_set_t set2) set1 87 maint/gnulib/tests/test-linkedhash_set.c check_equals (set1, set2); set1 109 maint/gnulib/tests/test-linkedhash_set.c gl_set_t set1, set2; set1 121 maint/gnulib/tests/test-linkedhash_set.c set1 = gl_set_nx_create_empty (GL_ARRAY_SET, string_equals, string_hashcode, NULL); set1 122 maint/gnulib/tests/test-linkedhash_set.c ASSERT (set1 != NULL); set1 128 maint/gnulib/tests/test-linkedhash_set.c check_all (set1, set2); set1 134 maint/gnulib/tests/test-linkedhash_set.c ASSERT (gl_set_nx_add (set1, obj) == gl_set_nx_add (set2, obj)); set1 135 maint/gnulib/tests/test-linkedhash_set.c check_all (set1, set2); set1 146 maint/gnulib/tests/test-linkedhash_set.c ASSERT (gl_set_search (set1, obj) == gl_set_search (set2, obj)); set1 152 maint/gnulib/tests/test-linkedhash_set.c ASSERT (gl_set_nx_add (set1, obj) == gl_set_nx_add (set2, obj)); set1 158 maint/gnulib/tests/test-linkedhash_set.c ASSERT (gl_set_remove (set1, obj) == gl_set_remove (set2, obj)); set1 162 maint/gnulib/tests/test-linkedhash_set.c check_all (set1, set2); set1 165 maint/gnulib/tests/test-linkedhash_set.c gl_set_free (set1); set1 50 maint/gnulib/tests/test-oset-c++.cc gl_OSet<const char *> set1; set1 52 maint/gnulib/tests/test-oset-c++.cc set1 = gl_OSet<const char *> (GL_ARRAY_OSET, reverse_strcmp, NULL); set1 53 maint/gnulib/tests/test-oset-c++.cc set1.add (A); set1 54 maint/gnulib/tests/test-oset-c++.cc set1.add ("C"); set1 55 maint/gnulib/tests/test-oset-c++.cc set1.add ("D"); set1 56 maint/gnulib/tests/test-oset-c++.cc set1.add ("C"); set1 57 maint/gnulib/tests/test-oset-c++.cc ASSERT (set1.size () == 3); set1 60 maint/gnulib/tests/test-oset-c++.cc gl_OSet<const char *>::iterator iter1 = set1.begin (); set1 72 maint/gnulib/tests/test-oset-c++.cc ASSERT (set1.update (A, action, &data) == 1); set1 75 maint/gnulib/tests/test-oset-c++.cc gl_OSet<const char *>::iterator iter2 = set1.begin (); set1 87 maint/gnulib/tests/test-oset-c++.cc gl_OSet<const char *>::iterator iter3 = set1.begin_atleast (is_at_most, "R"); set1 96 maint/gnulib/tests/test-oset-c++.cc set1.free (); set1 32 maint/gnulib/tests/test-oset-update.h gl_oset_t set1 = set1 34 maint/gnulib/tests/test-oset-update.h ASSERT (set1 != NULL); set1 37 maint/gnulib/tests/test-oset-update.h ASSERT (gl_oset_nx_add (set1, C) == 1); set1 38 maint/gnulib/tests/test-oset-update.h ASSERT (gl_oset_nx_add (set1, A) == 1); set1 39 maint/gnulib/tests/test-oset-update.h ASSERT (gl_oset_nx_add (set1, B) == 1); set1 40 maint/gnulib/tests/test-oset-update.h ASSERT (gl_oset_nx_add (set1, D) == 1); set1 44 maint/gnulib/tests/test-oset-update.h gl_oset_iterator_t iter = gl_oset_iterator (set1); set1 61 maint/gnulib/tests/test-oset-update.h ASSERT (gl_oset_update (set1, B, action, &data) == 1); set1 65 maint/gnulib/tests/test-oset-update.h gl_oset_iterator_t iter = gl_oset_iterator (set1); set1 83 maint/gnulib/tests/test-oset-update.h ASSERT (gl_oset_update (set1, D, action, &data) == 0); set1 87 maint/gnulib/tests/test-oset-update.h gl_oset_iterator_t iter = gl_oset_iterator (set1); set1 105 maint/gnulib/tests/test-oset-update.h ASSERT (gl_oset_update (set1, A, action, &data) == -1); set1 109 maint/gnulib/tests/test-oset-update.h gl_oset_iterator_t iter = gl_oset_iterator (set1); set1 124 maint/gnulib/tests/test-oset-update.h ASSERT (gl_oset_update (set1, A, action, &data) == 0); set1 128 maint/gnulib/tests/test-oset-update.h gl_oset_iterator_t iter = gl_oset_iterator (set1); set1 140 maint/gnulib/tests/test-oset-update.h gl_oset_free (set1); set1 42 maint/gnulib/tests/test-rbtree_oset.c check_equals (gl_oset_t set1, gl_oset_t set2) set1 44 maint/gnulib/tests/test-rbtree_oset.c size_t n = gl_oset_size (set1); set1 50 maint/gnulib/tests/test-rbtree_oset.c iter1 = gl_oset_iterator (set1); set1 65 maint/gnulib/tests/test-rbtree_oset.c check_all (gl_oset_t set1, gl_oset_t set2) set1 68 maint/gnulib/tests/test-rbtree_oset.c check_equals (set1, set2); set1 80 maint/gnulib/tests/test-rbtree_oset.c gl_oset_t set1, set2; set1 92 maint/gnulib/tests/test-rbtree_oset.c set1 = gl_oset_nx_create_empty (GL_ARRAY_OSET, (gl_setelement_compar_fn) strcmp, NULL); set1 93 maint/gnulib/tests/test-rbtree_oset.c ASSERT (set1 != NULL); set1 99 maint/gnulib/tests/test-rbtree_oset.c check_all (set1, set2); set1 105 maint/gnulib/tests/test-rbtree_oset.c ASSERT (gl_oset_nx_add (set1, obj) == gl_oset_nx_add (set2, obj)); set1 106 maint/gnulib/tests/test-rbtree_oset.c check_all (set1, set2); set1 117 maint/gnulib/tests/test-rbtree_oset.c ASSERT (gl_oset_search (set1, obj) == gl_oset_search (set2, obj)); set1 123 maint/gnulib/tests/test-rbtree_oset.c ASSERT (gl_oset_nx_add (set1, obj) == gl_oset_nx_add (set2, obj)); set1 129 maint/gnulib/tests/test-rbtree_oset.c ASSERT (gl_oset_remove (set1, obj) == gl_oset_remove (set2, obj)); set1 135 maint/gnulib/tests/test-rbtree_oset.c gl_oset_iterator_t iter1 = gl_oset_iterator_atleast (set1, is_at_least, obj); set1 159 maint/gnulib/tests/test-rbtree_oset.c check_all (set1, set2); set1 162 maint/gnulib/tests/test-rbtree_oset.c gl_oset_free (set1); set1 34 maint/gnulib/tests/test-set-c++.cc gl_Set<const char *> set1; set1 36 maint/gnulib/tests/test-set-c++.cc set1 = gl_Set<const char *> (GL_ARRAY_SET, NULL, NULL, NULL); set1 37 maint/gnulib/tests/test-set-c++.cc set1.add (A); set1 38 maint/gnulib/tests/test-set-c++.cc set1.add (C); set1 39 maint/gnulib/tests/test-set-c++.cc set1.add (D); set1 40 maint/gnulib/tests/test-set-c++.cc set1.add (C); set1 41 maint/gnulib/tests/test-set-c++.cc ASSERT (set1.size () == 3); set1 43 maint/gnulib/tests/test-set-c++.cc gl_Set<const char *>::iterator iter1 = set1.begin (); set1 53 maint/gnulib/tests/test-set-c++.cc set1.free ();