strdup 186 daemons/attrd/attrd_cib.c a_v->nodename = strdup(v->nodename); strdup 300 daemons/attrd/attrd_cib.c v->requested = strdup(v->current); strdup 328 daemons/attrd/attrd_cib.c strdup(a->id), strdup 231 daemons/attrd/attrd_utils.c pattern = strdup(ATTRD_RE_CLEAR_ALL); strdup 241 daemons/based/based_callbacks.c cib_client->name = strdup(value); strdup 473 daemons/based/based_callbacks.c notify->client_id = strdup(client_id); strdup 423 daemons/based/based_remote.c client->name = strdup(client->id); strdup 425 daemons/based/based_remote.c client->name = strdup(value); strdup 432 daemons/based/based_remote.c client->userdata = strdup(value); strdup 436 daemons/based/based_remote.c client->userdata = strdup(client->id); strdup 532 daemons/based/based_remote.c client->user = strdup(user); strdup 646 daemons/based/based_remote.c p_conv.appdata_ptr = strdup(passwd); strdup 337 daemons/based/pacemaker-based.c cib_our_uname = strdup("localhost"); strdup 784 daemons/controld/controld_control.c fsa_cluster_name = strdup(value); strdup 79 daemons/controld/controld_execd.c g_hash_table_replace(user_data, strdup((const char *)key), strdup((const char *)value)); strdup 87 daemons/controld/controld_execd.c g_hash_table_replace(user_data, strdup((const char *)key), strdup((const char *)value)); strdup 187 daemons/controld/controld_execd.c entry->id = strdup(op->rsc_id); strdup 191 daemons/controld/controld_execd.c entry->rsc.type = strdup(rsc->type); strdup 192 daemons/controld/controld_execd.c entry->rsc.standard = strdup(rsc->standard); strdup 955 daemons/controld/controld_execd.c char *rsc_id_copy = strdup(rsc_id); strdup 1334 daemons/controld/controld_execd.c op->rsc = strdup(rsc->id); strdup 1959 daemons/controld/controld_execd.c g_hash_table_insert(op->params, strdup(XML_ATTR_CRM_VERSION), strdup(CRM_FEATURE_SET)); strdup 2031 daemons/controld/controld_execd.c op->user_data = strdup(transition); strdup 2072 daemons/controld/controld_execd.c op->rsc_id = strdup(rsc_id); strdup 2355 daemons/controld/controld_execd.c pending->op_type = strdup(operation); strdup 2356 daemons/controld/controld_execd.c pending->op_key = strdup(op_id); strdup 2357 daemons/controld/controld_execd.c pending->rsc_id = strdup(rsc->id); strdup 2576 daemons/controld/controld_execd.c ret = strdup(string); strdup 123 daemons/controld/controld_execd_state.c state->node_name = strdup(node_name); strdup 149 daemons/controld/controld_fencing.c g_hash_table_insert(stonith_failures, strdup(target), rec); strdup 206 daemons/controld/controld_fencing.c peer->uuid = strdup(uuid); strdup 230 daemons/controld/controld_fencing.c fsa_register_cib_callback(rc, FALSE, strdup(target), cib_fencing_updated); strdup 281 daemons/controld/controld_fencing.c stonith_cleanup_list = g_list_append(stonith_cleanup_list, strdup(target)); strdup 146 daemons/controld/controld_join_client.c fsa_register_cib_callback(query_call_id, FALSE, strdup(join_id), join_query_callback); strdup 367 daemons/controld/controld_join_dc.c max_generation_from = strdup(join_from); strdup 452 daemons/controld/controld_join_dc.c sync_from = strdup(max_generation_from); strdup 461 daemons/controld/controld_join_dc.c sync_from = strdup(fsa_our_uname); strdup 262 daemons/controld/controld_membership.c fsa_register_cib_callback(delete_call_id, FALSE, strdup(node_uuid), strdup 271 daemons/controld/controld_membership.c fsa_register_cib_callback(delete_call_id, FALSE, strdup(node_uuid), strdup 342 daemons/controld/controld_membership.c fsa_register_cib_callback(call_id, FALSE, strdup(node->uuid), strdup 550 daemons/controld/controld_messages.c curr_client->userdata = strdup(client_name); strdup 700 daemons/controld/controld_messages.c op->user_data = strdup(transition? transition : FAKE_TE_ID); strdup 702 daemons/controld/controld_messages.c g_hash_table_insert(op->params, strdup(XML_ATTR_CRM_VERSION), strdup 703 daemons/controld/controld_messages.c strdup(CRM_FEATURE_SET)); strdup 81 daemons/controld/controld_metadata.c p->rap_name = strdup(param_name); strdup 394 daemons/controld/controld_remote_ra.c g_hash_table_insert(op.params, strdup(tmp->key), strdup(tmp->value)); strdup 930 daemons/controld/controld_remote_ra.c info->id = strdup(rsc_id); strdup 931 daemons/controld/controld_remote_ra.c info->type = strdup(REMOTE_LRMD_RA); strdup 932 daemons/controld/controld_remote_ra.c info->standard = strdup(PCMK_RESOURCE_CLASS_OCF); strdup 933 daemons/controld/controld_remote_ra.c info->provider = strdup("pacemaker"); strdup 1084 daemons/controld/controld_remote_ra.c cmd->userdata = strdup(userdata); strdup 1168 daemons/controld/controld_remote_ra.c cmd->owner = strdup(lrm_state->node_name); strdup 1169 daemons/controld/controld_remote_ra.c cmd->rsc_id = strdup(rsc_id); strdup 1170 daemons/controld/controld_remote_ra.c cmd->action = strdup(action); strdup 1171 daemons/controld/controld_remote_ra.c cmd->userdata = strdup(userdata); strdup 495 daemons/controld/controld_te_actions.c r->name = strdup(target); strdup 571 daemons/controld/controld_te_actions.c r->name = strdup(target); strdup 267 daemons/controld/controld_te_callbacks.c char *mutable_path = strdup(xpath); strdup 286 daemons/controld/controld_te_callbacks.c node_uuid = strdup(match); strdup 323 daemons/controld/controld_te_callbacks.c char *mutable_key = strdup(xpath); strdup 151 daemons/controld/controld_te_events.c failed_start_offset = strdup(CRM_INFINITY_S); strdup 158 daemons/controld/controld_te_events.c failed_stop_offset = strdup(CRM_INFINITY_S); strdup 501 daemons/controld/controld_throttle.c r->node = strdup(node); strdup 545 daemons/controld/controld_throttle.c r->node = strdup(from); strdup 197 daemons/controld/controld_transition.c failed_stop_offset = strdup(value); strdup 203 daemons/controld/controld_transition.c failed_start_offset = strdup(value); strdup 140 daemons/execd/execd_alerts.c cb_data->client_id = strdup(client->id); strdup 308 daemons/execd/execd_commands.c cmd->client_id = strdup(client->id); strdup 855 daemons/execd/execd_commands.c cmd->action = strdup("monitor"); strdup 129 daemons/execd/pacemaker-execd.c client->name = strdup(value); strdup 89 daemons/execd/remoted_proxy.c client->userdata = strdup(ipc_proxy->id); strdup 120 daemons/execd/remoted_tls.c client->name = strdup(value); strdup 162 daemons/fenced/fenced_commands.c char *value = strdup(hash_value); strdup 655 daemons/fenced/fenced_commands.c cmd->device = strdup(device->id); strdup 819 daemons/fenced/fenced_commands.c *targets = g_list_append(*targets, strdup(value)); strdup 893 daemons/fenced/fenced_commands.c g_hash_table_replace(metadata_cache, strdup(agent), buffer); strdup 998 daemons/fenced/fenced_commands.c g_hash_table_insert(params, key, strdup(value)); strdup 1169 daemons/fenced/fenced_commands.c cmd->action = strdup(action); strdup 1171 daemons/fenced/fenced_commands.c cmd->device = strdup(device->id); strdup 1172 daemons/fenced/fenced_commands.c cmd->origin = strdup(origin); strdup 1173 daemons/fenced/fenced_commands.c cmd->client = strdup(crm_system_name); strdup 1174 daemons/fenced/fenced_commands.c cmd->client_name = strdup(crm_system_name); strdup 1302 daemons/fenced/fenced_commands.c g_hash_table_replace(dev->params, strdup(PCMK_STONITH_HOST_CHECK), strdup 1303 daemons/fenced/fenced_commands.c strdup("status")); strdup 1425 daemons/fenced/fenced_commands.c strdup(PCMK_STONITH_HOST_LIST), strdup 1426 daemons/fenced/fenced_commands.c strdup(stonith_our_uname)); strdup 1812 daemons/fenced/fenced_commands.c tp->levels[id] = g_list_append(tp->levels[id], strdup(device)); strdup 2028 daemons/fenced/fenced_commands.c search->capable = g_list_append(search->capable, strdup(device)); strdup 796 daemons/fenced/fenced_remote.c op->automatic_list = g_list_prepend(op->automatic_list, strdup(device)); strdup 829 daemons/fenced/fenced_remote.c op->devices_list = g_list_append(op->devices_list, strdup(lpc->data)); strdup 1105 daemons/fenced/fenced_remote.c op->delegate = strdup("a human"); strdup 1177 daemons/fenced/fenced_remote.c op->originator = strdup(stonith_our_uname); strdup 1182 daemons/fenced/fenced_remote.c op->client_id = strdup(client); strdup 1222 daemons/fenced/fenced_remote.c op->target = strdup(node->uname); strdup 2081 daemons/fenced/fenced_remote.c g_hash_table_insert(peer->devices, strdup(device), props); strdup 2134 daemons/fenced/fenced_remote.c peer->host = strdup(host); strdup 858 daemons/fenced/pacemaker-fenced.c reason = strdup("(meta) attribute deleted from resource"); strdup 861 daemons/fenced/pacemaker-fenced.c mutable = strdup(xpath); strdup 1697 daemons/fenced/pacemaker-fenced.c stonith_our_uname = strdup(cluster->uname); strdup 1704 daemons/fenced/pacemaker-fenced.c stonith_our_uname = strdup("localhost"); strdup 480 daemons/pacemakerd/pcmkd_subdaemons.c opts_vgrind[0] = strdup(VALGRIND_BIN); strdup 482 daemons/pacemakerd/pcmkd_subdaemons.c opts_vgrind[1] = strdup("--tool=callgrind"); strdup 483 daemons/pacemakerd/pcmkd_subdaemons.c opts_vgrind[2] = strdup("--callgrind-out-file=" CRM_STATE_DIR "/callgrind.out.%p"); strdup 484 daemons/pacemakerd/pcmkd_subdaemons.c opts_vgrind[3] = strdup(child->command); strdup 487 daemons/pacemakerd/pcmkd_subdaemons.c opts_vgrind[1] = strdup(child->command); strdup 492 daemons/pacemakerd/pcmkd_subdaemons.c opts_default[0] = strdup(child->command); strdup 256 lib/cib/cib_attrs.c local_set_name = strdup(CIB_OPTIONS_FIRST); strdup 589 lib/cib/cib_attrs.c *uuid = strdup(parsed_uuid); strdup 697 lib/cib/cib_attrs.c *uname = strdup(child_name); strdup 523 lib/cib/cib_file.c private->filename = strdup(cib_location); strdup 156 lib/cib/cib_ops.c new_value = strdup("1"); strdup 286 lib/cib/cib_remote.c connection->token = strdup(tmp_ticket); strdup 259 lib/cluster/cluster.c node->uuid = strdup(uuid); strdup 525 lib/cluster/cpg.c data = strdup(msg->data); strdup 970 lib/cluster/cpg.c target = strdup(node->uname); strdup 979 lib/cluster/cpg.c target = strdup("all"); strdup 1001 lib/cluster/cpg.c char *uncompressed = strdup(data); strdup 103 lib/cluster/election.c e->uname = strdup(uname); strdup 494 lib/cluster/election.c voter_copy = strdup(vote->from); strdup 495 lib/cluster/election.c vote_copy = strdup(vote->op); strdup 130 lib/cluster/membership.c node->uuid = strdup(node_name); strdup 975 lib/cluster/membership.c node->expected = strdup(expected); strdup 1027 lib/cluster/membership.c node->state = strdup(state); strdup 1208 lib/cluster/membership.c node->uname = strdup(uname); strdup 1211 lib/cluster/membership.c node->uuid = strdup(id); strdup 80 lib/common/acl.c acl->xpath = strdup(xpath); strdup 104 lib/common/acl.c acl->xpath = strdup((const char *) buf->str); strdup 774 lib/common/acl.c return strdup(pwent->pw_name); strdup 806 lib/common/acl.c effective_user = strdup("#unprivileged"); strdup 158 lib/common/agents.c *type = strdup(spec); strdup 100 lib/common/alerts.c entry->id = strdup(id); strdup 101 lib/common/alerts.c entry->path = strdup(path); strdup 155 lib/common/alerts.c g_hash_table_insert(table, strdup(*key), strdup(value)); strdup 168 lib/common/alerts.c g_hash_table_insert(table, strdup(*key), pcmk__itoa(value)); strdup 79 lib/common/cib_secrets.c return strdup(buf); strdup 178 lib/common/cib_secrets.c g_hash_table_replace(params, strdup(key), secret_value); strdup 37 lib/common/cmdline.c args->summary = strdup(summary); strdup 49 lib/common/io.c char *path = strdup(path_c); strdup 635 lib/common/io.c path = strdup(filename); strdup 810 lib/common/ipc_client.c client->server_name = strdup(name); strdup 167 lib/common/ipc_schedulerd.c *ref = strdup(crm_element_value(cmd, F_CRM_REFERENCE)); strdup 176 lib/common/ipc_server.c client->user = strdup("#unprivileged"); strdup 595 lib/common/iso8601.c result_copy = strdup(result); strdup 1714 lib/common/iso8601.c return (date_len == 0)?NULL:strdup(date_s); strdup 743 lib/common/logging.c crm_system_name = strdup(entity); strdup 746 lib/common/logging.c char *mutable = strdup(argv[0]); strdup 752 lib/common/logging.c crm_system_name = strdup(modified); strdup 756 lib/common/logging.c crm_system_name = strdup("Unknown"); strdup 822 lib/common/mainloop.c char *c_name = strdup(client->name); strdup 966 lib/common/mainloop.c client->name = strdup(name); strdup 58 lib/common/messages.c true_from = strdup(sys_from); strdup 249 lib/common/nvpair.c *value = strdup(sep+1); strdup 921 lib/common/nvpair.c g_hash_table_insert(nvpair_hash, strdup(p_name), strdup(p_value)); strdup 933 lib/common/nvpair.c g_hash_table_insert(nvpair_hash, strdup(key), strdup(value)); strdup 350 lib/common/operations.c *uuid = strdup(local_uuid); strdup 110 lib/common/options.c crm_short_options = strdup(short_options); strdup 515 lib/common/options.c new_value = strdup(value); strdup 516 lib/common/options.c g_hash_table_insert(options, strdup(name), new_value); strdup 550 lib/common/options.c new_value = strdup(value); strdup 551 lib/common/options.c g_hash_table_insert(options, strdup(name), new_value); strdup 693 lib/common/options.c char *str = strdup(opt_values); strdup 105 lib/common/output.c g_hash_table_insert(formatters, strdup(name), create); strdup 157 lib/common/output.c g_hash_table_replace(out->messages, strdup(message_id), fn); strdup 907 lib/common/results.c result->exit_reason = (exit_reason == NULL)? NULL : strdup(exit_reason); strdup 206 lib/common/schemas.c known_schemas[last].name = strdup(name); strdup 210 lib/common/schemas.c known_schemas[last].transform = strdup(transform); strdup 213 lib/common/schemas.c known_schemas[last].transform_enter = strdup(transform_enter); strdup 299 lib/common/schemas.c transform_enter = strdup("upgrade-enter"); strdup 1005 lib/common/schemas.c transform_leave = strdup(schema->transform_enter); strdup 1201 lib/common/schemas.c char *const orig_value = strdup(value == NULL ? "(none)" : value); strdup 183 lib/common/scores.c char *result = strdup(pcmk_readable_score(score)); strdup 660 lib/common/strings.c g_hash_table_insert((GHashTable*)user_data, strdup(key), strdup(value)); strdup 751 lib/common/strings.c char *uncompressed = strdup(data); strdup 1197 lib/common/strings.c *str = strdup(value); strdup 25 lib/common/tests/lists/pcmk__list_of_1_test.c lst = g_list_append(lst, strdup("abc")); strdup 35 lib/common/tests/lists/pcmk__list_of_1_test.c lst = g_list_append(lst, strdup("abc")); strdup 36 lib/common/tests/lists/pcmk__list_of_1_test.c lst = g_list_append(lst, strdup("xyz")); strdup 25 lib/common/tests/lists/pcmk__list_of_multiple_test.c lst = g_list_append(lst, strdup("abc")); strdup 35 lib/common/tests/lists/pcmk__list_of_multiple_test.c lst = g_list_append(lst, strdup("abc")); strdup 36 lib/common/tests/lists/pcmk__list_of_multiple_test.c lst = g_list_append(lst, strdup("xyz")); strdup 24 lib/common/tests/lists/pcmk__subtract_lists_test.c from = g_list_append(from, strdup("abc")); strdup 25 lib/common/tests/lists/pcmk__subtract_lists_test.c from = g_list_append(from, strdup("def")); strdup 26 lib/common/tests/lists/pcmk__subtract_lists_test.c from = g_list_append(from, strdup("ghi")); strdup 28 lib/common/tests/lists/pcmk__subtract_lists_test.c items = g_list_append(items, strdup("123")); strdup 29 lib/common/tests/lists/pcmk__subtract_lists_test.c items = g_list_append(items, strdup("456")); strdup 50 lib/common/tests/lists/pcmk__subtract_lists_test.c from = g_list_append(from, strdup("abc")); strdup 51 lib/common/tests/lists/pcmk__subtract_lists_test.c from = g_list_append(from, strdup("def")); strdup 52 lib/common/tests/lists/pcmk__subtract_lists_test.c from = g_list_append(from, strdup("ghi")); strdup 54 lib/common/tests/lists/pcmk__subtract_lists_test.c items = g_list_append(items, strdup("abc")); strdup 74 lib/common/tests/lists/pcmk__subtract_lists_test.c from = g_list_append(from, strdup("abc")); strdup 75 lib/common/tests/lists/pcmk__subtract_lists_test.c from = g_list_append(from, strdup("def")); strdup 76 lib/common/tests/lists/pcmk__subtract_lists_test.c from = g_list_append(from, strdup("ghi")); strdup 78 lib/common/tests/lists/pcmk__subtract_lists_test.c items = g_list_append(items, strdup("def")); strdup 98 lib/common/tests/lists/pcmk__subtract_lists_test.c from = g_list_append(from, strdup("abc")); strdup 99 lib/common/tests/lists/pcmk__subtract_lists_test.c from = g_list_append(from, strdup("def")); strdup 100 lib/common/tests/lists/pcmk__subtract_lists_test.c from = g_list_append(from, strdup("ghi")); strdup 102 lib/common/tests/lists/pcmk__subtract_lists_test.c items = g_list_append(items, strdup("ghi")); strdup 122 lib/common/tests/lists/pcmk__subtract_lists_test.c from = g_list_append(from, strdup("abc")); strdup 123 lib/common/tests/lists/pcmk__subtract_lists_test.c from = g_list_append(from, strdup("def")); strdup 124 lib/common/tests/lists/pcmk__subtract_lists_test.c from = g_list_append(from, strdup("ghi")); strdup 126 lib/common/tests/lists/pcmk__subtract_lists_test.c items = g_list_append(items, strdup("abc")); strdup 127 lib/common/tests/lists/pcmk__subtract_lists_test.c items = g_list_append(items, strdup("def")); strdup 128 lib/common/tests/lists/pcmk__subtract_lists_test.c items = g_list_append(items, strdup("ghi")); strdup 46 lib/common/tests/strings/pcmk__guint_from_hash_test.c g_hash_table_insert(tbl, strdup("abc"), strdup("123")); strdup 60 lib/common/tests/strings/pcmk__guint_from_hash_test.c g_hash_table_insert(tbl, strdup("negative"), strdup("-3")); strdup 61 lib/common/tests/strings/pcmk__guint_from_hash_test.c g_hash_table_insert(tbl, strdup("toobig"), strdup("20000000000000000")); strdup 41 lib/common/tests/strings/pcmk__str_table_dup_test.c g_hash_table_insert(tbl, strdup("abc"), strdup("123")); strdup 42 lib/common/tests/strings/pcmk__str_table_dup_test.c g_hash_table_insert(tbl, strdup("def"), strdup("456")); strdup 43 lib/common/tests/strings/pcmk__str_table_dup_test.c g_hash_table_insert(tbl, strdup("ghi"), strdup("789")); strdup 29 lib/common/tests/strings/pcmk__str_update_test.c str = strdup("hello"); strdup 39 lib/common/tests/strings/pcmk__str_update_test.c str = strdup("hello"); strdup 50 lib/common/tests/strings/pcmk__str_update_test.c str = strdup("hello"); strdup 60 lib/common/tests/strings/pcmk__str_update_test.c str = strdup("hello"); strdup 24 lib/common/tests/strings/pcmk__strikey_table_test.c assert_true(g_hash_table_insert(tbl, strdup("key-abc"), strdup("val-abc"))); strdup 28 lib/common/tests/strings/pcmk__strikey_table_test.c assert_false(g_hash_table_insert(tbl, strdup("key-abc"), strdup("val-def"))); strdup 32 lib/common/tests/strings/pcmk__strikey_table_test.c assert_false(g_hash_table_insert(tbl, strdup("key-ABC"), strdup("val-ABC"))); strdup 24 lib/common/tests/strings/pcmk__strkey_table_test.c assert_true(g_hash_table_insert(tbl, strdup("key-abc"), strdup("val-abc"))); strdup 28 lib/common/tests/strings/pcmk__strkey_table_test.c assert_false(g_hash_table_insert(tbl, strdup("key-abc"), strdup("val-def"))); strdup 32 lib/common/tests/strings/pcmk__strkey_table_test.c assert_true(g_hash_table_insert(tbl, strdup("key-ABC"), strdup("val-abc"))); strdup 19 lib/common/tests/strings/pcmk__trim_test.c char *s = strdup(""); strdup 30 lib/common/tests/strings/pcmk__trim_test.c char *s = strdup("\nabcd"); strdup 39 lib/common/tests/strings/pcmk__trim_test.c char *s = strdup("ab\ncd"); strdup 48 lib/common/tests/strings/pcmk__trim_test.c char *s = strdup("abcd\n\n"); strdup 53 lib/common/tests/strings/pcmk__trim_test.c s = strdup("abcd\n "); strdup 61 lib/common/tests/strings/pcmk__trim_test.c char *s = strdup(" ab\t\ncd \t"); strdup 44 lib/common/tests/utils/crm_meta_value_test.c g_hash_table_insert(tbl, crm_meta_name(XML_RSC_ATTR_NOTIFY), strdup("1")); strdup 45 lib/common/tests/utils/crm_meta_value_test.c g_hash_table_insert(tbl, crm_meta_name(XML_RSC_ATTR_STICKINESS), strdup("2")); strdup 539 lib/common/utils.c return (uname(&hostinfo) < 0)? NULL : strdup(hostinfo.nodename); strdup 856 lib/common/xml.c deleted_obj->path = strdup((const char *) xpath->str); strdup 1431 lib/common/xml.c copy = strdup(text); strdup 1567 lib/common/xml.c p_copy = strdup("*****"); strdup 1652 lib/common/xml.c prefix_m = strdup(prefix); strdup 1672 lib/common/xml.c prefix_del = strdup(prefix); strdup 1675 lib/common/xml.c prefix_moved = strdup(prefix); strdup 1776 lib/common/xml.c prefix_m = strdup(prefix); strdup 1783 lib/common/xml.c prefix_m = strdup(prefix); strdup 2099 lib/common/xml.c buffer = strdup((const char *) g_buffer->str); strdup 2114 lib/common/xml.c buffer = strdup((const char *) g_buffer->str); strdup 2129 lib/common/xml.c buffer = strdup((const char *) g_buffer->str); strdup 3050 lib/common/xml.c ret = strdup(base); strdup 370 lib/common/xpath.c path = strdup((const char *) g_path->str); strdup 104 lib/fencing/st_actions.c strdup(key), strdup(value? value : "")); strdup 146 lib/fencing/st_actions.c g_hash_table_insert(arg_list, strdup(STONITH_ATTR_ACTION_OP), strdup 147 lib/fencing/st_actions.c strdup(action)); strdup 158 lib/fencing/st_actions.c g_hash_table_insert(arg_list, strdup("nodename"), strdup(target)); strdup 167 lib/fencing/st_actions.c g_hash_table_insert(arg_list, strdup("nodeid"), nodeid); strdup 198 lib/fencing/st_actions.c g_hash_table_insert(arg_list, strdup(param), strdup(alias)); strdup 278 lib/fencing/st_actions.c action->agent = strdup(agent); strdup 279 lib/fencing/st_actions.c action->action = strdup(action_name); strdup 619 lib/fencing/st_actions.c svc_action->standard = strdup(PCMK_RESOURCE_CLASS_STONITH); strdup 623 lib/fencing/st_actions.c svc_action->agent = strdup(action->agent); strdup 636 lib/fencing/st_client.c *list_info = strdup(list_str); strdup 1745 lib/fencing/st_client.c g_hash_table_insert(params_table, strdup(params->key), strdup 1746 lib/fencing/st_client.c strdup(params->value)); strdup 1977 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); strdup 2022 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); strdup 211 lib/fencing/st_lha.c meta_longdesc = strdup(no_parameter_info); strdup 218 lib/fencing/st_lha.c meta_shortdesc = strdup(no_parameter_info); strdup 225 lib/fencing/st_lha.c meta_param = strdup(no_parameter_info); strdup 114 lib/lrmd/lrmd_client.c p->val = strdup(value); strdup 151 lib/lrmd/lrmd_client.c p->key = strdup(key); strdup 152 lib/lrmd/lrmd_client.c p->value = strdup(value); strdup 1001 lib/lrmd/lrmd_client.c native->token = strdup(tmp_ticket); strdup 1002 lib/lrmd/lrmd_client.c native->peer_version = strdup(version?version:"1.0"); /* Included since 1.1 */ strdup 1851 lib/lrmd/lrmd_client.c op_info->rsc_id = strdup(rsc_id); strdup 1955 lib/lrmd/lrmd_client.c g_hash_table_insert(params_table, strdup(param->key), strdup(param->value)); strdup 1985 lib/lrmd/lrmd_client.c *output = strdup(action->stdout_data); strdup 2279 lib/lrmd/lrmd_client.c pvt->remote_nodename = strdup(nodename); strdup 2280 lib/lrmd/lrmd_client.c pvt->server = strdup(server); strdup 179 lib/lrmd/proxy_common.c proxy->node_name = strdup(node_name); strdup 180 lib/lrmd/proxy_common.c proxy->session_id = strdup(session_id); strdup 190 lib/pacemaker/pcmk_fence.c async_fence_data.name = strdup(name); strdup 678 lib/pacemaker/pcmk_graph_consumer.c new_graph->source = strdup((reference == NULL)? "unknown" : reference); strdup 845 lib/pacemaker/pcmk_graph_consumer.c g_hash_table_insert(op->params, strdup(name), strdup(value)); strdup 450 lib/pacemaker/pcmk_graph_producer.c g_hash_table_insert(action->meta, strdup(XML_LRM_ATTR_TARGET), strdup 451 lib/pacemaker/pcmk_graph_producer.c strdup(action->node->details->uname)); strdup 452 lib/pacemaker/pcmk_graph_producer.c g_hash_table_insert(action->meta, strdup(XML_LRM_ATTR_TARGET_UUID), strdup 453 lib/pacemaker/pcmk_graph_producer.c strdup(action->node->details->id)); strdup 250 lib/pacemaker/pcmk_injections.c found_uuid = strdup(uuid); strdup 215 lib/pacemaker/pcmk_output.c reason = strdup("blocked"); strdup 891 lib/pacemaker/pcmk_output.c action_desc = strdup("probe action"); strdup 160 lib/pacemaker/pcmk_sched_actions.c uuid = strdup(first_uuid); strdup 1177 lib/pacemaker/pcmk_sched_actions.c op_id = strdup(key); strdup 1188 lib/pacemaker/pcmk_sched_actions.c op_id = strdup(key); strdup 1407 lib/pacemaker/pcmk_sched_actions.c task = strdup("Shutdown"); strdup 973 lib/pacemaker/pcmk_sched_bundle.c strdup(XML_RSC_ATTR_REMOTE_RA_ADDR), strdup 974 lib/pacemaker/pcmk_sched_bundle.c strdup(calculated_addr)); strdup 844 lib/pacemaker/pcmk_sched_clone.c task_mutable = strdup(key + lpc); strdup 205 lib/pacemaker/pcmk_sched_fencing.c strdup(CRM_OP_FENCE), stonith_op, strdup 490 lib/pacemaker/pcmk_sched_fencing.c NULL, strdup(unfence->uuid), unfence, strdup 494 lib/pacemaker/pcmk_sched_fencing.c pcmk__new_ordering(NULL, strdup(unfence->uuid), unfence, strdup 559 lib/pacemaker/pcmk_sched_location.c new_con->id = strdup(id); strdup 238 lib/pacemaker/pcmk_sched_migration.c res = strdup(action->task); strdup 554 lib/pacemaker/pcmk_sched_ordering.c order->lh_action_task = strdup(first_action->uuid); strdup 558 lib/pacemaker/pcmk_sched_ordering.c order->rh_action_task = strdup(then_action->uuid); strdup 653 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(resource, strdup(key), NULL, then_rsc, strdup 1172 lib/pacemaker/pcmk_sched_ordering.c strdup(CRM_OP_SHUTDOWN), shutdown_op, strdup 303 lib/pacemaker/pcmk_sched_recurring.c mon = custom_action(rsc, strdup(op->key), op->name, node, is_optional, TRUE, strdup 329 lib/pacemaker/pcmk_sched_recurring.c NULL, strdup(mon->uuid), mon, strdup 334 lib/pacemaker/pcmk_sched_recurring.c NULL, strdup(mon->uuid), mon, strdup 514 lib/pacemaker/pcmk_sched_recurring.c stopped_mon = custom_action(rsc, strdup(op->key), op->name, stop_node, strdup 659 lib/pacemaker/pcmk_sched_remote.c g_hash_table_insert(params, strdup(XML_RSC_ATTR_REMOTE_RA_ADDR), strdup 660 lib/pacemaker/pcmk_sched_remote.c strdup(remote_addr)); strdup 158 lib/pacemaker/pcmk_sched_utilization.c strdup(key), pcmk__itoa(result)); strdup 64 lib/pengine/bundle.c replica->ipaddr = strdup(data->ip_range_start); strdup 576 lib/pengine/bundle.c strdup(CRM_ATTR_KIND), strdup("container")); strdup 638 lib/pengine/bundle.c mount->source = strdup(source); strdup 639 lib/pengine/bundle.c mount->target = strdup(target); strdup 767 lib/pengine/bundle.c bundle_data->prefix = strdup(rsc->id); strdup 844 lib/pengine/bundle.c port->target = strdup(port->source); strdup 975 lib/pengine/bundle.c port->source = strdup(bundle_data->control_port); strdup 987 lib/pengine/bundle.c port->target = strdup(port->source); strdup 1014 lib/pengine/bundle.c g_hash_table_replace(rsc->meta, strdup(XML_RSC_ATTR_TARGET), strdup 1015 lib/pengine/bundle.c strdup(bundle_data->attribute_target)); strdup 1017 lib/pengine/bundle.c strdup(XML_RSC_ATTR_TARGET), strdup 1018 lib/pengine/bundle.c strdup(bundle_data->attribute_target)); strdup 885 lib/pengine/clone.c g_hash_table_insert(stopped, strdup(child_rsc->id), strdup("Stopped")); strdup 1047 lib/pengine/clone.c g_hash_table_insert(stopped, strdup(node->details->uname), strdup 1050 lib/pengine/clone.c g_hash_table_insert(stopped, strdup(node->details->uname), strdup 1051 lib/pengine/clone.c strdup(state)); strdup 517 lib/pengine/common.c g_hash_table_insert(hash, strdup(name), strdup(value)); strdup 403 lib/pengine/complex.c g_hash_table_insert(rsc->meta, strdup(XML_RSC_ATTR_PROMOTABLE), strdup 404 lib/pengine/complex.c strdup(XML_BOOLEAN_TRUE)); strdup 459 lib/pengine/complex.c g_hash_table_insert(rsc->parameter_cache, strdup(node_name), strdup 644 lib/pengine/complex.c (*rsc)->id = strdup(id); strdup 181 lib/pengine/failcounts.c return pcmk_is_set(rsc->flags, pe_rsc_unique)? strdup(name) : clone_strip(name); strdup 1154 lib/pengine/native.c g_hash_table_insert(rsc_table, strdup(buffer), rsc_counter); strdup 1174 lib/pengine/native.c g_hash_table_insert(active_table, strdup(node->details->uname), node_table); strdup 1181 lib/pengine/native.c g_hash_table_insert(node_table, strdup(buffer), active_counter); strdup 176 lib/pengine/pe_actions.c action->task = strdup(task); CRM_ASSERT(action->task != NULL); strdup 573 lib/pengine/pe_actions.c g_hash_table_replace(meta, strdup(XML_OP_ATTR_START_DELAY), strdup 679 lib/pengine/pe_actions.c g_hash_table_replace(action->meta, strdup(XML_ATTR_TIMEOUT), strdup 680 lib/pengine/pe_actions.c strdup(value)); strdup 699 lib/pengine/pe_actions.c g_hash_table_replace(action->meta, strdup(prop_name), strdup(prop_value)); strdup 707 lib/pengine/pe_actions.c g_hash_table_replace(action->meta, strdup(XML_LRM_ATTR_INTERVAL), strdup 739 lib/pengine/pe_actions.c g_hash_table_replace(action->meta, strdup(XML_ATTR_TIMEOUT), strdup 740 lib/pengine/pe_actions.c strdup(value)); strdup 747 lib/pengine/pe_actions.c g_hash_table_replace(action->meta, strdup(XML_ATTR_TIMEOUT), strdup 774 lib/pengine/pe_actions.c g_hash_table_insert(action->meta, strdup(XML_OP_ATTR_ON_FAIL), strdup("block")); strdup 916 lib/pengine/pe_actions.c g_hash_table_replace(action->meta, strdup(XML_OP_ATTR_START_DELAY), strdup 982 lib/pengine/pe_actions.c op = custom_action(NULL, strdup(name), name, NULL, TRUE, TRUE, data_set); strdup 1140 lib/pengine/pe_actions.c key = strdup(XML_OP_ATTR_DIGESTS_ALL); strdup 1141 lib/pengine/pe_actions.c value = strdup((const char *) digests_all->str); strdup 1146 lib/pengine/pe_actions.c key = strdup(XML_OP_ATTR_DIGESTS_SECURE); strdup 1147 lib/pengine/pe_actions.c value = strdup((const char *) digests_secure->str); strdup 1177 lib/pengine/pe_actions.c strdup(XML_CONFIG_ATTR_PRIORITY_FENCING_DELAY), strdup 1186 lib/pengine/pe_actions.c stonith_op->reason = strdup(reason); strdup 1679 lib/pengine/pe_actions.c name = strdup(XML_ATTR_TE_TARGET_RC); strdup 362 lib/pengine/pe_digest.c g_hash_table_insert(node->details->digest_cache, strdup(key), data); strdup 251 lib/pengine/pe_notif.c g_hash_table_insert(notify->meta, strdup((const char *) key), strdup 252 lib/pengine/pe_notif.c strdup((const char *) value)); strdup 198 lib/pengine/pe_output.c return strdup(""); strdup 292 lib/pengine/pe_output.c failcount_s = strdup(""); strdup 1193 lib/pengine/pe_output.c rsc_id = strdup("unknown resource"); strdup 1194 lib/pengine/pe_output.c task = strdup("unknown action"); strdup 394 lib/pengine/rules.c g_hash_table_insert(hash, strdup(name), strdup(value)); strdup 399 lib/pengine/rules.c g_hash_table_replace(hash, strdup(name), strdup(value)); strdup 55 lib/pengine/rules_alerts.c entry->tstamp_format = strdup(value); strdup 90 lib/pengine/rules_alerts.c g_hash_table_insert(entry->envvars, strdup(name), strdup(value)); strdup 139 lib/pengine/rules_alerts.c entry->select_attribute_name[nattrs - 1] = strdup(attr_name); strdup 208 lib/pengine/rules_alerts.c entry->tstamp_format = strdup(PCMK__ALERT_DEFAULT_TSTAMP_FORMAT); strdup 221 lib/pengine/rules_alerts.c recipient_entry->recipient = strdup(crm_element_value(recipient, strdup 44 lib/pengine/tags.c retval = g_list_append(retval, strdup(rsc_printable_id(rsc))); strdup 77 lib/pengine/tags.c retval = g_list_append(retval, strdup(node->details->uname)); strdup 439 lib/pengine/unpack.c g_hash_table_insert(new_node->details->attrs, strdup(CRM_ATTR_KIND), strdup 440 lib/pengine/unpack.c strdup("remote")); strdup 442 lib/pengine/unpack.c g_hash_table_insert(new_node->details->attrs, strdup(CRM_ATTR_KIND), strdup 443 lib/pengine/unpack.c strdup("cluster")); strdup 732 lib/pengine/unpack.c g_hash_table_replace(remote_node->details->attrs, strdup(CRM_ATTR_KIND), strdup 733 lib/pengine/unpack.c strdup("container")); strdup 786 lib/pengine/unpack.c g_hash_table_insert(data_set->template_rsc_sets, strdup(id), NULL); strdup 909 lib/pengine/unpack.c g_hash_table_replace(ticket->state, strdup(prop_name), strdup(prop_value)); strdup 3248 lib/pengine/unpack.c action = custom_action(rsc, strdup(key), task, NULL, TRUE, FALSE, data_set); strdup 3802 lib/pengine/unpack.c pe_action_t *action = custom_action(rsc, strdup(key), task, NULL, TRUE, FALSE, data_set); strdup 4069 lib/pengine/unpack.c rsc->pending_task = strdup(task); strdup 4078 lib/pengine/unpack.c rsc->pending_task = strdup("probe"); strdup 4205 lib/pengine/unpack.c strdup(CRM_ATTR_UNAME), strdup(node->details->uname)); strdup 4207 lib/pengine/unpack.c g_hash_table_insert(node->details->attrs, strdup(CRM_ATTR_ID), strdup 4208 lib/pengine/unpack.c strdup(node->details->id)); strdup 4213 lib/pengine/unpack.c strdup(CRM_ATTR_IS_DC), strdup(XML_BOOLEAN_TRUE)); strdup 4216 lib/pengine/unpack.c strdup(CRM_ATTR_IS_DC), strdup(XML_BOOLEAN_FALSE)); strdup 4221 lib/pengine/unpack.c g_hash_table_insert(node->details->attrs, strdup(CRM_ATTR_CLUSTER_NAME), strdup 4222 lib/pengine/unpack.c strdup(cluster_name)); strdup 4233 lib/pengine/unpack.c strdup(CRM_ATTR_SITE_NAME), strdup 4234 lib/pengine/unpack.c strdup(site_name)); strdup 4239 lib/pengine/unpack.c strdup(CRM_ATTR_SITE_NAME), strdup 4240 lib/pengine/unpack.c strdup(cluster_name)); strdup 556 lib/pengine/utils.c ticket->id = strdup(ticket_id); strdup 562 lib/pengine/utils.c g_hash_table_insert(data_set->tickets, strdup(ticket->id), ticket); strdup 653 lib/pengine/utils.c tag->id = strdup(tag_name); strdup 655 lib/pengine/utils.c g_hash_table_insert(tags, strdup(tag_name), tag); strdup 668 lib/pengine/utils.c tag->refs = g_list_append(tag->refs, strdup(obj_ref)); strdup 802 lib/pengine/utils.c nodes = g_list_prepend(nodes, strdup("*")); strdup 810 lib/pengine/utils.c nodes = g_list_prepend(nodes, strdup(s)); strdup 830 lib/pengine/utils.c resources = g_list_prepend(resources, strdup("*")); strdup 842 lib/pengine/utils.c resources = g_list_prepend(resources, strdup(rsc->id)); strdup 844 lib/pengine/utils.c resources = g_list_prepend(resources, strdup(rsc_printable_id(rsc))); strdup 646 lib/services/dbus.c output = strdup(value.str? value.str : ""); strdup 735 lib/services/dbus.c query_data->target = strdup(target); strdup 736 lib/services/dbus.c query_data->object = strdup(obj); strdup 739 lib/services/dbus.c query_data->name = strdup(name); strdup 138 lib/services/services.c expanded_class = strdup(found_class); strdup 142 lib/services/services.c expanded_class = strdup(PCMK_RESOURCE_CLASS_LSB); strdup 145 lib/services/services.c expanded_class = strdup(standard); strdup 220 lib/services/services.c op->rsc = strdup(name); strdup 225 lib/services/services.c op->agent = strdup(agent); strdup 239 lib/services/services.c op->action = strdup(action); strdup 245 lib/services/services.c op->provider = strdup(provider); strdup 362 lib/services/services.c op->opaque->exec = strdup(exec); strdup 363 lib/services/services.c op->opaque->args[0] = strdup(exec); strdup 385 lib/services/services.c op->opaque->args[cur_arg] = strdup(args[cur_arg - 1]); strdup 418 lib/services/services.c action->id = strdup(id); strdup 419 lib/services/services.c action->standard = strdup(PCMK_RESOURCE_CLASS_ALERT); strdup 1065 lib/services/services.c standards = g_list_append(standards, strdup(PCMK_RESOURCE_CLASS_OCF)); strdup 1066 lib/services/services.c standards = g_list_append(standards, strdup(PCMK_RESOURCE_CLASS_LSB)); strdup 1067 lib/services/services.c standards = g_list_append(standards, strdup(PCMK_RESOURCE_CLASS_SERVICE)); strdup 1075 lib/services/services.c strdup(PCMK_RESOURCE_CLASS_SYSTEMD)); strdup 1087 lib/services/services.c strdup(PCMK_RESOURCE_CLASS_UPSTART)); strdup 1099 lib/services/services.c strdup(PCMK_RESOURCE_CLASS_NAGIOS)); strdup 1284 lib/services/services.c action->opaque->exit_reason = (reason == NULL)? NULL : strdup(reason); strdup 1406 lib/services/services_linux.c list = g_list_append(list, strdup(namelist[lpc]->d_name)); strdup 1419 lib/services/services_linux.c char *dirs = strdup(root); strdup 272 lib/services/services_lsb.c op->opaque->args[0] = strdup(op->opaque->exec); strdup 273 lib/services/services_lsb.c op->opaque->args[1] = strdup(op->action); strdup 47 lib/services/services_nagios.c op->opaque->args[0] = strdup(op->opaque->exec); strdup 56 lib/services/services_nagios.c op->opaque->args[1] = strdup("--version"); strdup 82 lib/services/services_nagios.c op->opaque->args[index++] = strdup(value); strdup 146 lib/services/services_nagios.c result = g_list_append(result, strdup(plugin)); strdup 34 lib/services/services_ocf.c char *dirs = strdup(root); strdup 89 lib/services/services_ocf.c char *dirs = strdup(OCF_RA_PATH); strdup 125 lib/services/services_ocf.c char *dirs = strdup(OCF_RA_PATH); strdup 148 lib/services/services_ocf.c op->opaque->args[0] = strdup(op->opaque->exec); strdup 149 lib/services/services_ocf.c op->opaque->args[1] = strdup(op->action); strdup 41 lib/services/systemd.c op->opaque->exec = strdup("systemd-dbus"); strdup 234 lib/services/systemd.c return strdup(name); strdup 239 lib/services/systemd.c return strdup(name); strdup 483 lib/services/systemd.c *path = strdup(unit); strdup 619 lib/services/systemd.c unit_name = strdup(basename); strdup 51 lib/services/upstart.c op->opaque->exec = strdup("upstart-dbus"); strdup 152 lib/services/upstart.c *path = strdup(*path); strdup 189 lib/services/upstart.c char *output = strdup(input); strdup 336 lib/services/upstart.c instance = strdup(value.str); strdup 111 maint/gnulib/lib/c-strtod.c saved_locale = strdup (saved_locale); strdup 75 maint/gnulib/lib/canon-host.c retval = strdup (res->ai_canonname ? res->ai_canonname : host); strdup 342 maint/gnulib/lib/clean-temp-simple.c char *absolute_file_name_copy = strdup (absolute_file_name); strdup 96 maint/gnulib/lib/fchdir.c return strdup (dir); strdup 162 maint/gnulib/lib/fchdir.c || (dirs[newfd].name = strdup (dirs[oldfd].name)) == NULL) strdup 223 maint/gnulib/lib/findprog-in.c char *path_copy = strdup (path); strdup 70 maint/gnulib/lib/findprog.c path = strdup (path); strdup 102 maint/gnulib/lib/gen-uni-tables.c uni->name = strdup (field1); strdup 103 maint/gnulib/lib/gen-uni-tables.c uni->category = (field2[0] == '\0' ? "" : strdup (field2)); strdup 104 maint/gnulib/lib/gen-uni-tables.c uni->combining = (field3[0] == '\0' ? "" : strdup (field3)); strdup 105 maint/gnulib/lib/gen-uni-tables.c uni->bidi = (field4[0] == '\0' ? "" : strdup (field4)); strdup 106 maint/gnulib/lib/gen-uni-tables.c uni->decomposition = (field5[0] == '\0' ? "" : strdup (field5)); strdup 107 maint/gnulib/lib/gen-uni-tables.c uni->decdigit = (field6[0] == '\0' ? "" : strdup (field6)); strdup 108 maint/gnulib/lib/gen-uni-tables.c uni->digit = (field7[0] == '\0' ? "" : strdup (field7)); strdup 109 maint/gnulib/lib/gen-uni-tables.c uni->numeric = (field8[0] == '\0' ? "" : strdup (field8)); strdup 111 maint/gnulib/lib/gen-uni-tables.c uni->oldname = (field10[0] == '\0' ? "" : strdup (field10)); strdup 112 maint/gnulib/lib/gen-uni-tables.c uni->comment = (field11[0] == '\0' ? "" : strdup (field11)); strdup 4673 maint/gnulib/lib/gen-uni-tables.c scripts[numscripts] = strdup (scriptname); strdup 4738 maint/gnulib/lib/gen-uni-tables.c char *lcp = strdup (scripts[s]); strdup 4981 maint/gnulib/lib/gen-uni-tables.c blocks[numblocks].name = strdup (blockname); strdup 6228 maint/gnulib/lib/gen-uni-tables.c unicode_width[i] = strdup (field1); strdup 6233 maint/gnulib/lib/gen-uni-tables.c unicode_width[i] = strdup (field1); strdup 102 maint/gnulib/lib/get_progname_of.c return strdup (slash != NULL ? slash + 1 : linkbuf); strdup 130 maint/gnulib/lib/get_progname_of.c return strdup (slash != NULL ? slash + 1 : buf); strdup 155 maint/gnulib/lib/get_progname_of.c return strdup (slash != NULL ? slash + 1 : linkbuf); strdup 192 maint/gnulib/lib/get_progname_of.c return strdup (start); strdup 219 maint/gnulib/lib/get_progname_of.c return strdup (slash != NULL ? slash + 1 : linkbuf); strdup 253 maint/gnulib/lib/get_progname_of.c return strdup (&buf[PSINFO_FNAME_OFFSET]); strdup 270 maint/gnulib/lib/get_progname_of.c return strdup (info.p_comm); strdup 283 maint/gnulib/lib/get_progname_of.c return strdup (info.pbsi_comm); strdup 295 maint/gnulib/lib/get_progname_of.c return strdup (info.pbi_comm); strdup 307 maint/gnulib/lib/get_progname_of.c return strdup (procs.pi_comm); strdup 340 maint/gnulib/lib/get_progname_of.c p = strdup (p); strdup 376 maint/gnulib/lib/get_progname_of.c p = strdup (p); strdup 383 maint/gnulib/lib/get_progname_of.c return strdup (p); strdup 356 maint/gnulib/lib/getaddrinfo.c tmp->ai_canonname = strdup (cn); strdup 85 maint/gnulib/lib/getcwd-lgpl.c result = strdup (ptr); strdup 220 maint/gnulib/lib/getcwd.c return strdup (dir); strdup 235 maint/gnulib/lib/getpass.c return strdup (getpassbuf); strdup 109 maint/gnulib/lib/getprogname.c ? strdup (procs.pi_comm) strdup 148 maint/gnulib/lib/getprogname.c p = strdup (p); strdup 184 maint/gnulib/lib/getprogname.c p = strdup (p); strdup 215 maint/gnulib/lib/getprogname.c char *s = strdup (last_component (buf.ps_pathptr)); strdup 677 maint/gnulib/lib/glob.c home_dir = strdup (p->pw_dir); strdup 950 maint/gnulib/lib/glob.c pglob->gl_pathv[newcount] = strdup (dirname); strdup 1077 maint/gnulib/lib/glob.c pglob->gl_pathv[newcount] = strdup (pattern); strdup 1411 maint/gnulib/lib/glob.c names->name[cur] = strdup (d.name); strdup 110 maint/gnulib/lib/link.c dir = strdup (file2); strdup 217 maint/gnulib/lib/link.c char *dir = strdup (file2); strdup 3407 maint/gnulib/lib/localename.c cached_localename = strdup (namebuf); strdup 59 maint/gnulib/lib/mkdir.c tmp_dir = strdup (dir); strdup 413 maint/gnulib/lib/parse-duration.c char * pz = strdup (in_pz); strdup 64 maint/gnulib/lib/progreloc.c # define xstrdup strdup strdup 355 maint/gnulib/lib/relocatable.c shared_library_fullname = strdup (location); strdup 387 maint/gnulib/lib/relocatable.c shared_library_fullname = strdup (location); strdup 385 maint/gnulib/lib/rename.c src_temp = strdup (src); strdup 403 maint/gnulib/lib/rename.c dst_temp = strdup (dst); strdup 191 maint/gnulib/lib/renameatu.c src_temp = strdup (src); strdup 209 maint/gnulib/lib/renameatu.c dst_temp = strdup (dst); strdup 108 maint/gnulib/lib/rpmatch.c safe_pattern = strdup (pattern); strdup 1438 maint/gnulib/lib/setlocale.c saved_locale = strdup (saved_locale); strdup 1640 maint/gnulib/lib/setlocale.c saved_locale = strdup (saved_locale); strdup 42 maint/gnulib/lib/spawn_faction_addchdir.c char *path_copy = strdup (path); strdup 55 maint/gnulib/lib/spawn_faction_addopen.c char *path_copy = strdup (path); strdup 34 maint/gnulib/lib/strdup.c # define __strdup strdup strdup 53 maint/gnulib/lib/strdup.c weak_alias (__strdup, strdup) strdup 397 maint/gnulib/lib/striconv.c char *result = strdup (src); strdup 1123 maint/gnulib/lib/striconveh.c char *result = strdup (src); strdup 322 maint/gnulib/lib/striconveha.c char *result = strdup (src); strdup 459 maint/gnulib/lib/string.in.h _GL_FUNCDECL_RPL (strdup, char *, strdup 463 maint/gnulib/lib/string.in.h _GL_CXXALIAS_RPL (strdup, char *, (char const *__s)); strdup 469 maint/gnulib/lib/string.in.h _GL_CXXALIAS_MDA (strdup, char *, (char const *__s)); strdup 471 maint/gnulib/lib/string.in.h # if defined __cplusplus && defined GNULIB_NAMESPACE && defined strdup strdup 475 maint/gnulib/lib/string.in.h # if (!@HAVE_DECL_STRDUP@ || __GNUC__ >= 11) && !defined strdup strdup 476 maint/gnulib/lib/string.in.h _GL_FUNCDECL_SYS (strdup, char *, strdup 481 maint/gnulib/lib/string.in.h _GL_CXXALIAS_SYS (strdup, char *, (char const *__s)); strdup 483 maint/gnulib/lib/string.in.h _GL_CXXALIASWARN (strdup); strdup 485 maint/gnulib/lib/string.in.h # if __GNUC__ >= 11 && !defined strdup strdup 487 maint/gnulib/lib/string.in.h _GL_FUNCDECL_SYS (strdup, char *, strdup 495 maint/gnulib/lib/string.in.h _GL_WARN_ON_USE (strdup, "strdup is unportable - " strdup 507 maint/gnulib/lib/string.in.h _GL_CXXALIAS_MDA (strdup, char *, (char const *__s)); strdup 509 maint/gnulib/lib/string.in.h # if defined __cplusplus && defined GNULIB_NAMESPACE && defined strdup strdup 512 maint/gnulib/lib/string.in.h _GL_CXXALIAS_SYS (strdup, char *, (char const *__s)); strdup 514 maint/gnulib/lib/string.in.h _GL_CXXALIASWARN (strdup); strdup 380 maint/gnulib/lib/strtod.c char *dup = strdup (s); strdup 411 maint/gnulib/lib/strtod.c char *dup = strdup (s); strdup 45 maint/gnulib/lib/trim.c d = strdup (s); strdup 36 maint/gnulib/lib/unistr/u8-strdup.c return (uint8_t *) strdup ((const char *) s); strdup 300 maint/gnulib/lib/userspec.c tmp = strdup (argv[i]); strdup 144 maint/gnulib/tests/test-dirname.c char *stripped = strdup (t->name); strdup 116 maint/gnulib/tests/test-hash.c char *str1 = strdup ("a"); strdup 165 maint/gnulib/tests/test-hash.c char *str = strdup ("a"); strdup 211 maint/gnulib/tests/test-hash.c char *p_dup = strdup (p); strdup 454 maint/gnulib/tests/test-localename.c saved_names[j][i] = strdup (unsaved_names[j][i]); strdup 211 maint/gnulib/tests/test-nl_langinfo-mt.c expected1 = strdup (nl_langinfo (CODESET)); strdup 212 maint/gnulib/tests/test-nl_langinfo-mt.c expected2 = strdup (nl_langinfo (PM_STR)); strdup 213 maint/gnulib/tests/test-nl_langinfo-mt.c expected3 = strdup (nl_langinfo (DAY_2)); strdup 214 maint/gnulib/tests/test-nl_langinfo-mt.c expected4 = strdup (nl_langinfo (ALTMON_2)); strdup 215 maint/gnulib/tests/test-nl_langinfo-mt.c expected5 = strdup (nl_langinfo (CRNCYSTR)); strdup 216 maint/gnulib/tests/test-nl_langinfo-mt.c expected6 = strdup (nl_langinfo (RADIXCHAR)); strdup 59 maint/gnulib/tests/test-perror2.c str1 = strdup (msg1); strdup 64 maint/gnulib/tests/test-perror2.c str2 = strdup (msg2); strdup 69 maint/gnulib/tests/test-perror2.c str3 = strdup (msg3); strdup 74 maint/gnulib/tests/test-perror2.c str4 = strdup (msg4); strdup 41 maint/gnulib/tests/test-setlocale1.c name1 = strdup (setlocale (LC_ALL, NULL)); strdup 53 maint/gnulib/tests/test-setlocale1.c name2 = strdup (setlocale (LC_ALL, NULL)); strdup 121 maint/gnulib/tests/test-setlocale_null-mt-all.c expected = strdup (setlocale (LC_ALL, NULL)); strdup 121 maint/gnulib/tests/test-setlocale_null-mt-one.c expected = strdup (setlocale (LC_NUMERIC, NULL)); strdup 148 maint/gnulib/tests/test-strerror_r.c str1 = strdup (msg1); strdup 153 maint/gnulib/tests/test-strerror_r.c str2 = strdup (msg2); strdup 158 maint/gnulib/tests/test-strerror_r.c str3 = strdup (msg3); strdup 163 maint/gnulib/tests/test-strerror_r.c str4 = strdup (msg4); strdup 76 maint/gnulib/tests/test-string-c++.cc SIGNATURE_CHECK (GNULIB_NAMESPACE::strdup, char *, (char const *)); strdup 265 tools/crm_mon.c options.neg_location_prefix = strdup(*s+5); strdup 1367 tools/crm_mon.c options.pid_file = strdup("/tmp/ClusterMon.pid"); strdup 1638 tools/crm_resource.c strv[0] = strdup("non-option ARGV-elements:\n"); strdup 564 tools/crm_resource_runtime.c return pcmk_is_set(rsc->flags, pe_rsc_unique)? strdup(name) : clone_strip(name); strdup 1007 tools/crm_resource_runtime.c g_hash_table_insert(combined, strdup(key), strdup(value)); strdup 1018 tools/crm_resource_runtime.c g_hash_table_insert(combined, crm_name, strdup(value)); strdup 1086 tools/crm_resource_runtime.c active = g_list_append(active, strdup(rsc->id)); strdup 1364 tools/crm_resource_runtime.c lookup_id = strdup(rsc->id); strdup 1383 tools/crm_resource_runtime.c rsc_id = strdup(rsc->id); strdup 1386 tools/crm_resource_runtime.c lookup_id = strdup(rsc->id); strdup 1397 tools/crm_resource_runtime.c lookup_id = strdup(parent->id); strdup 1817 tools/crm_resource_runtime.c g_hash_table_insert(params, strdup("CRM_meta_timeout"), strdup 1820 tools/crm_resource_runtime.c g_hash_table_insert(params, strdup(XML_ATTR_CRM_VERSION), strdup 1821 tools/crm_resource_runtime.c strdup(CRM_FEATURE_SET)); strdup 1860 tools/crm_resource_runtime.c g_hash_table_replace(params, strdup(name), strdup(value)); strdup 293 tools/crm_shadow.c shadow = strdup(env); strdup 385 tools/crm_simulate.c temp_shadow = strdup(local_output); strdup 470 tools/crm_simulate.c options.xml_file = strdup("-"); strdup 73 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup(options.attr_name), strdup(options.attr_value)); strdup 103 tools/crm_ticket.c attr_delete = g_list_append(attr_delete, strdup(optarg)); strdup 118 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup("granted"), strdup("true")); strdup 121 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup("granted"), strdup("false")); strdup 124 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup("standby"), strdup("true")); strdup 127 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup("standby"), strdup("false")); strdup 142 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup(options.attr_name), strdup(options.attr_value)); strdup 396 tools/stonith_admin.c name = strdup(crm_system_name);