copy 240 daemons/based/based_common.c xmlNode *copy = create_xml_node(NULL, "copy"); copy 242 daemons/based/based_common.c CRM_ASSERT(copy != NULL); copy 248 daemons/based/based_common.c crm_xml_add(copy, field, value); copy 255 daemons/based/based_common.c add_message_xml(copy, field, value_struct); copy 259 daemons/based/based_common.c return copy; copy 193 daemons/controld/controld_messages.c ha_msg_input_t *copy = calloc(1, sizeof(ha_msg_input_t)); copy 195 daemons/controld/controld_messages.c CRM_ASSERT(copy != NULL); copy 196 daemons/controld/controld_messages.c copy->msg = (orig && orig->msg)? copy_xml(orig->msg) : NULL; copy 197 daemons/controld/controld_messages.c copy->xml = get_message_xml(copy->msg, F_CRM_DATA); copy 198 daemons/controld/controld_messages.c return copy; copy 61 lib/common/digest.c xmlNode *copy = NULL; copy 65 lib/common/digest.c copy = sorted_xml(input, NULL, TRUE); copy 67 lib/common/digest.c input = copy; copy 71 lib/common/digest.c CRM_CHECK(buffer != NULL && strlen(buffer) > 0, free_xml(copy); copy 79 lib/common/digest.c free_xml(copy); copy 832 lib/common/xml.c xmlNode *copy = xmlDocCopyNode(src, doc, 1); copy 834 lib/common/xml.c xmlDocSetRootElement(doc, copy); copy 835 lib/common/xml.c xmlSetTreeDoc(copy, doc); copy 836 lib/common/xml.c return copy; copy 1340 lib/common/xml.c char *copy = strdup(text); copy 1358 lib/common/xml.c switch (copy[index]) { copy 1362 lib/common/xml.c copy = replace_text(copy, index, &length, "<"); copy 1366 lib/common/xml.c copy = replace_text(copy, index, &length, ">"); copy 1370 lib/common/xml.c copy = replace_text(copy, index, &length, """); copy 1374 lib/common/xml.c copy = replace_text(copy, index, &length, "'"); copy 1378 lib/common/xml.c copy = replace_text(copy, index, &length, "&"); copy 1383 lib/common/xml.c copy = replace_text(copy, index, &length, " "); copy 1388 lib/common/xml.c copy = replace_text(copy, index, &length, "\\n"); copy 1392 lib/common/xml.c copy = replace_text(copy, index, &length, "\\r"); copy 1402 lib/common/xml.c if(copy[index] < ' ' || copy[index] > '~') { copy 1403 lib/common/xml.c char *replace = crm_strdup_printf("\\%.3o", copy[index]); copy 1406 lib/common/xml.c copy = replace_text(copy, index, &length, replace); copy 1414 lib/common/xml.c crm_trace("Dumped '%s'", copy); copy 1416 lib/common/xml.c return copy; copy 214 lib/lrmd/lrmd_client.c lrmd_event_data_t *copy = NULL; copy 216 lib/lrmd/lrmd_client.c copy = calloc(1, sizeof(lrmd_event_data_t)); copy 221 lib/lrmd/lrmd_client.c memcpy(copy, event, sizeof(lrmd_event_data_t)); copy 223 lib/lrmd/lrmd_client.c copy->rsc_id = event->rsc_id ? strdup(event->rsc_id) : NULL; copy 224 lib/lrmd/lrmd_client.c copy->op_type = event->op_type ? strdup(event->op_type) : NULL; copy 225 lib/lrmd/lrmd_client.c copy->user_data = event->user_data ? strdup(event->user_data) : NULL; copy 226 lib/lrmd/lrmd_client.c copy->output = event->output ? strdup(event->output) : NULL; copy 227 lib/lrmd/lrmd_client.c copy->exit_reason = event->exit_reason ? strdup(event->exit_reason) : NULL; copy 228 lib/lrmd/lrmd_client.c copy->remote_nodename = event->remote_nodename ? strdup(event->remote_nodename) : NULL; copy 229 lib/lrmd/lrmd_client.c copy->params = pcmk__str_table_dup(event->params); copy 231 lib/lrmd/lrmd_client.c return copy; copy 51 lib/pacemaker/pcmk_sched_utils.c pe_node_t *copy = pe__copy_node(foo_node); copy 53 lib/pacemaker/pcmk_sched_utils.c copy->weight = node_weight; copy 54 lib/pacemaker/pcmk_sched_utils.c new_con->node_list_rh = g_list_prepend(NULL, copy); copy 796 lib/pengine/bundle.c pe_node_t *copy = pe__copy_node(replica->node); copy 797 lib/pengine/bundle.c copy->weight = -INFINITY; copy 799 lib/pengine/bundle.c (gpointer) replica->node->details->id, copy); copy 149 replace/scandir.c struct dirent *copy; copy 195 replace/scandir.c if ((copy = (struct dirent *)malloc(sizeof(struct dirent) + extra)) == NULL) { copy 200 replace/scandir.c copy->d_ino = entry->d_ino; copy 201 replace/scandir.c copy->d_reclen = entry->d_reclen; copy 202 replace/scandir.c strcpy(copy->d_name, entry->d_name); copy 213 replace/scandir.c free(copy); copy 217 replace/scandir.c array[counter++] = copy;