copy 285 cib/common.c xmlNode *copy = create_xml_node(NULL, "copy"); copy 287 cib/common.c CRM_ASSERT(copy != NULL); copy 293 cib/common.c crm_xml_add(copy, field, value); copy 300 cib/common.c add_message_xml(copy, field, value_struct); copy 304 cib/common.c return copy; copy 210 crmd/messages.c ha_msg_input_t *copy = NULL; copy 220 crmd/messages.c copy = new_ha_msg_input(data); copy 222 crmd/messages.c CRM_CHECK(copy->msg != NULL, crm_err("copy failed")); copy 224 crmd/messages.c return copy; copy 68 lib/common/digest.c xmlNode *copy = NULL; copy 72 lib/common/digest.c copy = sorted_xml(input, NULL, TRUE); copy 74 lib/common/digest.c input = copy; copy 78 lib/common/digest.c CRM_CHECK(buffer != NULL && strlen(buffer) > 0, free_xml(copy); copy 86 lib/common/digest.c free_xml(copy); copy 2715 lib/common/xml.c xmlNode *copy = xmlDocCopyNode(src, doc, 1); copy 2717 lib/common/xml.c xmlDocSetRootElement(doc, copy); copy 2718 lib/common/xml.c xmlSetTreeDoc(copy, doc); copy 2719 lib/common/xml.c return copy; copy 3202 lib/common/xml.c char *copy = strdup(text); copy 3220 lib/common/xml.c switch (copy[index]) { copy 3224 lib/common/xml.c copy = crm_xml_escape_shuffle(copy, index, &length, "<"); copy 3228 lib/common/xml.c copy = crm_xml_escape_shuffle(copy, index, &length, ">"); copy 3232 lib/common/xml.c copy = crm_xml_escape_shuffle(copy, index, &length, """); copy 3236 lib/common/xml.c copy = crm_xml_escape_shuffle(copy, index, &length, "'"); copy 3240 lib/common/xml.c copy = crm_xml_escape_shuffle(copy, index, &length, "&"); copy 3245 lib/common/xml.c copy = crm_xml_escape_shuffle(copy, index, &length, " "); copy 3250 lib/common/xml.c copy = crm_xml_escape_shuffle(copy, index, &length, "\\n"); copy 3254 lib/common/xml.c copy = crm_xml_escape_shuffle(copy, index, &length, "\\r"); copy 3264 lib/common/xml.c if(copy[index] < ' ' || copy[index] > '~') { copy 3265 lib/common/xml.c char *replace = crm_strdup_printf("\\%.3o", copy[index]); copy 3268 lib/common/xml.c copy = crm_xml_escape_shuffle(copy, index, &length, replace); copy 3276 lib/common/xml.c crm_trace("Dumped '%s'", copy); copy 3278 lib/common/xml.c return copy; copy 192 lib/lrmd/lrmd_client.c lrmd_event_data_t *copy = NULL; copy 194 lib/lrmd/lrmd_client.c copy = calloc(1, sizeof(lrmd_event_data_t)); copy 199 lib/lrmd/lrmd_client.c memcpy(copy, event, sizeof(lrmd_event_data_t)); copy 201 lib/lrmd/lrmd_client.c copy->rsc_id = event->rsc_id ? strdup(event->rsc_id) : NULL; copy 202 lib/lrmd/lrmd_client.c copy->op_type = event->op_type ? strdup(event->op_type) : NULL; copy 203 lib/lrmd/lrmd_client.c copy->user_data = event->user_data ? strdup(event->user_data) : NULL; copy 204 lib/lrmd/lrmd_client.c copy->output = event->output ? strdup(event->output) : NULL; copy 205 lib/lrmd/lrmd_client.c copy->exit_reason = event->exit_reason ? strdup(event->exit_reason) : NULL; copy 206 lib/lrmd/lrmd_client.c copy->remote_nodename = event->remote_nodename ? strdup(event->remote_nodename) : NULL; copy 207 lib/lrmd/lrmd_client.c copy->params = crm_str_table_dup(event->params); copy 209 lib/lrmd/lrmd_client.c return copy; copy 1460 lib/lrmd/lrmd_client.c lrmd_rsc_info_t *copy = NULL; copy 1462 lib/lrmd/lrmd_client.c copy = calloc(1, sizeof(lrmd_rsc_info_t)); copy 1464 lib/lrmd/lrmd_client.c copy->id = strdup(rsc_info->id); copy 1465 lib/lrmd/lrmd_client.c copy->type = strdup(rsc_info->type); copy 1466 lib/lrmd/lrmd_client.c copy->class = strdup(rsc_info->class); copy 1468 lib/lrmd/lrmd_client.c copy->provider = strdup(rsc_info->provider); copy 1471 lib/lrmd/lrmd_client.c return copy; copy 618 lib/pengine/container.c node_t *copy = node_copy(tuple->node); copy 619 lib/pengine/container.c copy->weight = -INFINITY; copy 620 lib/pengine/container.c g_hash_table_insert(tuple->child->parent->allowed_nodes, (gpointer) tuple->node->details->id, copy); copy 97 pengine/utils.c node_t *copy = node_copy(foo_node); copy 99 pengine/utils.c copy->weight = node_weight; copy 100 pengine/utils.c new_con->node_list_rh = g_list_prepend(NULL, copy); copy 149 replace/scandir.c struct dirent *copy; copy 191 replace/scandir.c if (copy = (struct dirent *)malloc(sizeof(struct dirent) + extra), copy == NULL) { copy 196 replace/scandir.c copy->d_ino = entry->d_ino; copy 197 replace/scandir.c copy->d_reclen = entry->d_reclen; copy 198 replace/scandir.c strcpy(copy->d_name, entry->d_name); copy 209 replace/scandir.c free(copy); copy 213 replace/scandir.c array[counter++] = copy;