copy              403 daemons/based/based_messages.c     xmlNode *copy = pcmk__xe_create(NULL, PCMK__XE_COPY);
copy              410 daemons/based/based_messages.c             crm_xml_add(copy, field, value);
copy              414 daemons/based/based_messages.c     return copy;
copy              193 daemons/controld/controld_messages.c     ha_msg_input_t *copy = pcmk__assert_alloc(1, sizeof(ha_msg_input_t));
copy              195 daemons/controld/controld_messages.c     copy->msg = (orig != NULL)? pcmk__xml_copy(NULL, orig->msg) : NULL;
copy              197 daemons/controld/controld_messages.c     wrapper = pcmk__xe_first_child(copy->msg, PCMK__XE_CRM_XML, NULL, NULL);
copy              198 daemons/controld/controld_messages.c     copy->xml = pcmk__xe_first_child(wrapper, NULL, NULL, NULL);
copy              199 daemons/controld/controld_messages.c     return copy;
copy               60 lib/common/digest.c     xmlNode *copy = NULL;
copy               64 lib/common/digest.c         copy = sorted_xml(input, NULL, TRUE);
copy               66 lib/common/digest.c         input = copy;
copy               70 lib/common/digest.c     CRM_CHECK(buffer->len > 0, free_xml(copy);
copy               78 lib/common/digest.c     free_xml(copy);
copy               26 lib/common/tests/strings/pcmk__str_table_dup_test.c     GHashTable *copy = NULL;
copy               28 lib/common/tests/strings/pcmk__str_table_dup_test.c     copy = pcmk__str_table_dup(tbl);
copy               29 lib/common/tests/strings/pcmk__str_table_dup_test.c     assert_int_equal(g_hash_table_size(copy), 0);
copy               32 lib/common/tests/strings/pcmk__str_table_dup_test.c     g_hash_table_destroy(copy);
copy               39 lib/common/tests/strings/pcmk__str_table_dup_test.c     GHashTable *copy = NULL;
copy               45 lib/common/tests/strings/pcmk__str_table_dup_test.c     copy = pcmk__str_table_dup(tbl);
copy               46 lib/common/tests/strings/pcmk__str_table_dup_test.c     assert_int_equal(g_hash_table_size(copy), 3);
copy               53 lib/common/tests/strings/pcmk__str_table_dup_test.c     g_hash_table_destroy(copy);
copy              885 lib/common/xml.c     xmlNode *copy = NULL;
copy              900 lib/common/xml.c         copy = xmlDocCopyNode(src, doc, 1);
copy              901 lib/common/xml.c         pcmk__mem_assert(copy);
copy              903 lib/common/xml.c         xmlDocSetRootElement(doc, copy);
copy              906 lib/common/xml.c         copy = xmlDocCopyNode(src, parent->doc, 1);
copy              907 lib/common/xml.c         pcmk__mem_assert(copy);
copy              909 lib/common/xml.c         xmlAddChild(parent, copy);
copy              912 lib/common/xml.c     pcmk__xml_mark_created(copy);
copy              913 lib/common/xml.c     return copy;
copy             1112 lib/common/xml.c     GString *copy = NULL;
copy             1117 lib/common/xml.c     copy = g_string_sized_new(strlen(text));
copy             1124 lib/common/xml.c             g_string_append_len(copy, text, bytes);
copy             1133 lib/common/xml.c                         g_string_append(copy, PCMK__XML_ENTITY_LT);
copy             1136 lib/common/xml.c                         g_string_append(copy, PCMK__XML_ENTITY_GT);
copy             1139 lib/common/xml.c                         g_string_append(copy, PCMK__XML_ENTITY_AMP);
copy             1143 lib/common/xml.c                         g_string_append_c(copy, *text);
copy             1147 lib/common/xml.c                             g_string_append_printf(copy, "&#x%.2X;", *text);
copy             1149 lib/common/xml.c                             g_string_append_c(copy, *text);
copy             1158 lib/common/xml.c                         g_string_append(copy, PCMK__XML_ENTITY_LT);
copy             1161 lib/common/xml.c                         g_string_append(copy, PCMK__XML_ENTITY_GT);
copy             1164 lib/common/xml.c                         g_string_append(copy, PCMK__XML_ENTITY_AMP);
copy             1167 lib/common/xml.c                         g_string_append(copy, PCMK__XML_ENTITY_QUOT);
copy             1171 lib/common/xml.c                             g_string_append_printf(copy, "&#x%.2X;", *text);
copy             1173 lib/common/xml.c                             g_string_append_c(copy, *text);
copy             1182 lib/common/xml.c                         g_string_append(copy, "\\\"");
copy             1185 lib/common/xml.c                         g_string_append(copy, "\\n");
copy             1188 lib/common/xml.c                         g_string_append(copy, "\\r");
copy             1191 lib/common/xml.c                         g_string_append(copy, "\\t");
copy             1194 lib/common/xml.c                         g_string_append_c(copy, *text);
copy             1206 lib/common/xml.c     return g_string_free(copy, FALSE);
copy             2405 lib/common/xml.c     char *copy = NULL;
copy             2412 lib/common/xml.c     copy = pcmk__str_copy(text);
copy             2414 lib/common/xml.c         if(copy[index] & 0x80 && copy[index+1] & 0x80){
copy             2418 lib/common/xml.c         switch (copy[index]) {
copy             2423 lib/common/xml.c                 copy = replace_text(copy, &index, &length, "<");
copy             2426 lib/common/xml.c                 copy = replace_text(copy, &index, &length, ">");
copy             2429 lib/common/xml.c                 copy = replace_text(copy, &index, &length, """);
copy             2432 lib/common/xml.c                 copy = replace_text(copy, &index, &length, "'");
copy             2435 lib/common/xml.c                 copy = replace_text(copy, &index, &length, "&");
copy             2439 lib/common/xml.c                 copy = replace_text(copy, &index, &length, "    ");
copy             2442 lib/common/xml.c                 copy = replace_text(copy, &index, &length, "\\n");
copy             2445 lib/common/xml.c                 copy = replace_text(copy, &index, &length, "\\r");
copy             2449 lib/common/xml.c                 if(copy[index] < ' ' || copy[index] > '~') {
copy             2450 lib/common/xml.c                     char *replace = crm_strdup_printf("\\%.3o", copy[index]);
copy             2452 lib/common/xml.c                     copy = replace_text(copy, &index, &length, replace);
copy             2457 lib/common/xml.c     return copy;
copy             2464 lib/common/xml.c     xmlNode *copy = NULL;
copy             2468 lib/common/xml.c     copy = xmlDocCopyNode(src, doc, 1);
copy             2469 lib/common/xml.c     pcmk__mem_assert(copy);
copy             2471 lib/common/xml.c     xmlDocSetRootElement(doc, copy);
copy             2472 lib/common/xml.c     return copy;
copy              211 lib/lrmd/lrmd_client.c     lrmd_event_data_t *copy = NULL;
copy              213 lib/lrmd/lrmd_client.c     copy = pcmk__assert_alloc(1, sizeof(lrmd_event_data_t));
copy              215 lib/lrmd/lrmd_client.c     copy->type = event->type;
copy              218 lib/lrmd/lrmd_client.c     copy->rsc_id = pcmk__str_copy(event->rsc_id);
copy              219 lib/lrmd/lrmd_client.c     copy->op_type = pcmk__str_copy(event->op_type);
copy              220 lib/lrmd/lrmd_client.c     copy->user_data = pcmk__str_copy(event->user_data);
copy              221 lib/lrmd/lrmd_client.c     copy->output = pcmk__str_copy(event->output);
copy              222 lib/lrmd/lrmd_client.c     copy->remote_nodename = pcmk__str_copy(event->remote_nodename);
copy              223 lib/lrmd/lrmd_client.c     copy->exit_reason = pcmk__str_copy(event->exit_reason);
copy              225 lib/lrmd/lrmd_client.c     copy->call_id = event->call_id;
copy              226 lib/lrmd/lrmd_client.c     copy->timeout = event->timeout;
copy              227 lib/lrmd/lrmd_client.c     copy->interval_ms = event->interval_ms;
copy              228 lib/lrmd/lrmd_client.c     copy->start_delay = event->start_delay;
copy              229 lib/lrmd/lrmd_client.c     copy->rsc_deleted = event->rsc_deleted;
copy              230 lib/lrmd/lrmd_client.c     copy->rc = event->rc;
copy              231 lib/lrmd/lrmd_client.c     copy->op_status = event->op_status;
copy              232 lib/lrmd/lrmd_client.c     copy->t_run = event->t_run;
copy              233 lib/lrmd/lrmd_client.c     copy->t_rcchange = event->t_rcchange;
copy              234 lib/lrmd/lrmd_client.c     copy->exec_time = event->exec_time;
copy              235 lib/lrmd/lrmd_client.c     copy->queue_time = event->queue_time;
copy              236 lib/lrmd/lrmd_client.c     copy->connection_rc = event->connection_rc;
copy              237 lib/lrmd/lrmd_client.c     copy->params = pcmk__str_table_dup(event->params);
copy              239 lib/lrmd/lrmd_client.c     return copy;
copy             1056 lib/pacemaker/libpacemaker_private.h void pcmk__copy_node_tables(const pcmk_resource_t *rsc, GHashTable **copy);
copy              631 lib/pacemaker/pcmk_sched_location.c         pcmk_node_t *copy = pe__copy_node(node);
copy              633 lib/pacemaker/pcmk_sched_location.c         copy->weight = node_score;
copy              634 lib/pacemaker/pcmk_sched_location.c         new_con->nodes = g_list_prepend(NULL, copy);
copy              114 lib/pacemaker/pcmk_sched_nodes.c pcmk__copy_node_tables(const pcmk_resource_t *rsc, GHashTable **copy)
copy              116 lib/pacemaker/pcmk_sched_nodes.c     CRM_ASSERT((rsc != NULL) && (copy != NULL));
copy              118 lib/pacemaker/pcmk_sched_nodes.c     if (*copy == NULL) {
copy              119 lib/pacemaker/pcmk_sched_nodes.c         *copy = pcmk__strkey_table(NULL, destroy_node_tables);
copy              122 lib/pacemaker/pcmk_sched_nodes.c     g_hash_table_insert(*copy, rsc->id,
copy              126 lib/pacemaker/pcmk_sched_nodes.c         pcmk__copy_node_tables((const pcmk_resource_t *) iter->data, copy);
copy              778 lib/pengine/bundle.c             pcmk_node_t *copy = pe__copy_node(replica->node);
copy              779 lib/pengine/bundle.c             copy->weight = -PCMK_SCORE_INFINITY;
copy              781 lib/pengine/bundle.c                                 (gpointer) replica->node->details->id, copy);
copy              130 maint/gnulib/lib/bitset/base.h   void (*copy) (bitset, bitset);
copy              216 maint/gnulib/lib/bitset/base.h #define BITSET_COPY_(DST, SRC) (SRC)->b.vtable->copy (DST, SRC)
copy             2119 maint/gnulib/lib/dfa.c       copy (m, dst);
copy             2159 maint/gnulib/lib/dfa.c       copy (dst, tmp);
copy             2236 maint/gnulib/lib/dfa.c   copy (s, &d->states[i].elems);
copy             3290 maint/gnulib/lib/dfa.c     copy (&d->states[s1].mbps, &d->mb_follows);
copy               99 maint/gnulib/lib/duplocale.c               locale_t copy = newlocale (category_mask, name, base_copy);
copy              100 maint/gnulib/lib/duplocale.c               if (copy == NULL)
copy              109 maint/gnulib/lib/duplocale.c               base_copy = copy;
copy               32 maint/gnulib/lib/malloc/scratch_buffer_dupfree.c       void *copy = malloc (size);
copy               33 maint/gnulib/lib/malloc/scratch_buffer_dupfree.c       return copy != NULL ? memcpy (copy, data, size) : NULL;
copy               37 maint/gnulib/lib/malloc/scratch_buffer_dupfree.c       void *copy = realloc (data, size);
copy               38 maint/gnulib/lib/malloc/scratch_buffer_dupfree.c       return copy != NULL ? copy : data;
copy              275 maint/gnulib/lib/string-buffer.c       char *copy = (char *) malloc (buffer->length);
copy              276 maint/gnulib/lib/string-buffer.c       if (copy == NULL)
copy              278 maint/gnulib/lib/string-buffer.c       memcpy (copy, buffer->data, buffer->length);
copy              279 maint/gnulib/lib/string-buffer.c       return copy;
copy               22 maint/gnulib/lib/wcsdup-impl.h   wchar_t *copy = (wchar_t *) malloc (n * sizeof (wchar_t));
copy               23 maint/gnulib/lib/wcsdup-impl.h   if (copy != NULL)
copy               24 maint/gnulib/lib/wcsdup-impl.h     return wmemcpy (copy, s, n);
copy               68 maint/gnulib/tests/unistr/test-stpncpy.h             UNIT *copy;
copy               71 maint/gnulib/tests/unistr/test-stpncpy.h             copy = (UNIT *) page_boundary - n_to_copy;
copy               73 maint/gnulib/tests/unistr/test-stpncpy.h               copy[i] = input[i];
copy               75 maint/gnulib/tests/unistr/test-stpncpy.h             check_single (copy, length, n);
copy               79 maint/gnulib/tests/unistr/test-strncat.h             UNIT *copy;
copy               82 maint/gnulib/tests/unistr/test-strncat.h             copy = (UNIT *) page_boundary - n_to_copy;
copy               84 maint/gnulib/tests/unistr/test-strncat.h               copy[i] = input[i];
copy               86 maint/gnulib/tests/unistr/test-strncat.h             check_single (copy, length, n);
copy               68 maint/gnulib/tests/unistr/test-strncpy.h             UNIT *copy;
copy               71 maint/gnulib/tests/unistr/test-strncpy.h             copy = (UNIT *) page_boundary - n_to_copy;
copy               73 maint/gnulib/tests/unistr/test-strncpy.h               copy[i] = input[i];
copy               75 maint/gnulib/tests/unistr/test-strncpy.h             check_single (copy, length, n);
copy               49 maint/gnulib/tests/unistr/test-strnlen.h             UNIT *copy;
copy               52 maint/gnulib/tests/unistr/test-strnlen.h             copy = (UNIT *) page_boundary - n_to_copy;
copy               54 maint/gnulib/tests/unistr/test-strnlen.h               copy[i] = input[i];
copy               56 maint/gnulib/tests/unistr/test-strnlen.h             check_single (copy, length, n);