strdup 462 daemons/attrd/attrd_cib.c a_v->nodename = strdup(v->nodename); strdup 599 daemons/attrd/attrd_cib.c v->requested = strdup(v->current); strdup 152 daemons/attrd/attrd_sync.c wl->client_id = strdup(request->ipc_client->id); strdup 502 daemons/attrd/attrd_sync.c char *s = strdup((char *) host); strdup 516 daemons/attrd/attrd_sync.c action->client_id = strdup(request->ipc_client->id); strdup 207 daemons/attrd/attrd_utils.c pattern = strdup(ATTRD_RE_CLEAR_ALL); strdup 291 daemons/attrd/attrd_utils.c char *host_name = strdup(host); strdup 357 daemons/based/based_callbacks.c cib_client->name = strdup(value); strdup 519 daemons/based/based_callbacks.c notify->client_id = strdup(client_id); strdup 424 daemons/based/based_remote.c client->name = strdup(client->id); strdup 426 daemons/based/based_remote.c client->name = strdup(value); strdup 522 daemons/based/based_remote.c client->user = strdup(user); strdup 637 daemons/based/based_remote.c p_conv.appdata_ptr = strdup(passwd); strdup 41 daemons/based/based_transaction.c source = strdup((origin != NULL)? origin : "unknown source"); strdup 71 daemons/controld/controld_execd.c g_hash_table_replace(user_data, strdup((const char *)key), strdup((const char *)value)); strdup 79 daemons/controld/controld_execd.c g_hash_table_replace(user_data, strdup((const char *)key), strdup((const char *)value)); strdup 179 daemons/controld/controld_execd.c entry->id = strdup(op->rsc_id); strdup 183 daemons/controld/controld_execd.c entry->rsc.type = strdup(rsc->type); strdup 184 daemons/controld/controld_execd.c entry->rsc.standard = strdup(rsc->standard); strdup 714 daemons/controld/controld_execd.c char *rsc_id_copy = strdup(rsc_id); strdup 985 daemons/controld/controld_execd.c op->rsc = strdup(rsc->id); strdup 1635 daemons/controld/controld_execd.c g_hash_table_insert(op->params, strdup(XML_ATTR_CRM_VERSION), strdup(CRM_FEATURE_SET)); strdup 1707 daemons/controld/controld_execd.c op->user_data = strdup(transition); strdup 1749 daemons/controld/controld_execd.c op->rsc_id = strdup(rsc_id); strdup 2021 daemons/controld/controld_execd.c pending->op_type = strdup(operation); strdup 2022 daemons/controld/controld_execd.c pending->op_key = strdup(op_id); strdup 2023 daemons/controld/controld_execd.c pending->rsc_id = strdup(rsc->id); strdup 2085 daemons/controld/controld_execd.c ret = strdup(string); strdup 124 daemons/controld/controld_execd_state.c state->node_name = strdup(node_name); strdup 179 daemons/controld/controld_fencing.c g_hash_table_insert(stonith_failures, strdup(target), rec); strdup 239 daemons/controld/controld_fencing.c peer->uuid = strdup(uuid); strdup 265 daemons/controld/controld_fencing.c fsa_register_cib_callback(rc, strdup(target), cib_fencing_updated); strdup 318 daemons/controld/controld_fencing.c stonith_cleanup_list = g_list_append(stonith_cleanup_list, strdup(target)); strdup 137 daemons/controld/controld_join_client.c fsa_register_cib_callback(query_call_id, strdup(join_id), strdup 272 daemons/controld/controld_membership.c fsa_register_cib_callback(delete_call_id, strdup(node_uuid), strdup 283 daemons/controld/controld_membership.c fsa_register_cib_callback(delete_call_id, strdup(node_uuid), strdup 355 daemons/controld/controld_membership.c fsa_register_cib_callback(call_id, strdup(node->uuid), strdup 579 daemons/controld/controld_messages.c curr_client->userdata = strdup(client_name); strdup 738 daemons/controld/controld_messages.c op->user_data = strdup(transition? transition : FAKE_TE_ID); strdup 740 daemons/controld/controld_messages.c g_hash_table_insert(op->params, strdup(XML_ATTR_CRM_VERSION), strdup 741 daemons/controld/controld_messages.c strdup(CRM_FEATURE_SET)); strdup 81 daemons/controld/controld_metadata.c p->rap_name = strdup(param_name); strdup 496 daemons/controld/controld_remote_ra.c g_hash_table_insert(op.params, strdup(tmp->key), strdup(tmp->value)); strdup 1046 daemons/controld/controld_remote_ra.c info->id = strdup(rsc_id); strdup 1047 daemons/controld/controld_remote_ra.c info->type = strdup(REMOTE_LRMD_RA); strdup 1048 daemons/controld/controld_remote_ra.c info->standard = strdup(PCMK_RESOURCE_CLASS_OCF); strdup 1049 daemons/controld/controld_remote_ra.c info->provider = strdup("pacemaker"); strdup 1205 daemons/controld/controld_remote_ra.c cmd->userdata = strdup(userdata); strdup 1289 daemons/controld/controld_remote_ra.c cmd->owner = strdup(lrm_state->node_name); strdup 1290 daemons/controld/controld_remote_ra.c cmd->rsc_id = strdup(rsc_id); strdup 1291 daemons/controld/controld_remote_ra.c cmd->action = strdup(action); strdup 1292 daemons/controld/controld_remote_ra.c cmd->userdata = strdup(userdata); strdup 504 daemons/controld/controld_te_actions.c r->name = strdup(target); strdup 580 daemons/controld/controld_te_actions.c r->name = strdup(target); strdup 265 daemons/controld/controld_te_callbacks.c char *mutable_path = strdup(xpath); strdup 284 daemons/controld/controld_te_callbacks.c node_uuid = strdup(match); strdup 321 daemons/controld/controld_te_callbacks.c char *mutable_key = strdup(xpath); strdup 240 daemons/controld/controld_te_utils.c key = strdup(node->uuid); strdup 520 daemons/controld/controld_throttle.c r->node = strdup(node); strdup 564 daemons/controld/controld_throttle.c r->node = strdup(from); 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 856 daemons/execd/execd_commands.c cmd->action = strdup(PCMK_ACTION_MONITOR); strdup 149 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 160 daemons/fenced/fenced_commands.c char *value = strdup(hash_value); strdup 653 daemons/fenced/fenced_commands.c cmd->device = strdup(device->id); strdup 817 daemons/fenced/fenced_commands.c *targets = g_list_append(*targets, strdup(value)); strdup 891 daemons/fenced/fenced_commands.c g_hash_table_replace(metadata_cache, strdup(agent), buffer); strdup 996 daemons/fenced/fenced_commands.c g_hash_table_insert(params, key, strdup(value)); strdup 1167 daemons/fenced/fenced_commands.c cmd->action = strdup(action); strdup 1169 daemons/fenced/fenced_commands.c cmd->device = strdup(device->id); strdup 1170 daemons/fenced/fenced_commands.c cmd->origin = strdup(origin); strdup 1171 daemons/fenced/fenced_commands.c cmd->client = strdup(crm_system_name); strdup 1172 daemons/fenced/fenced_commands.c cmd->client_name = strdup(crm_system_name); strdup 1300 daemons/fenced/fenced_commands.c g_hash_table_replace(dev->params, strdup(PCMK_STONITH_HOST_CHECK), strdup 1301 daemons/fenced/fenced_commands.c strdup("status")); strdup 1423 daemons/fenced/fenced_commands.c strdup(PCMK_STONITH_HOST_LIST), strdup 1424 daemons/fenced/fenced_commands.c strdup(stonith_our_uname)); strdup 1809 daemons/fenced/fenced_commands.c tp->levels[id] = g_list_append(tp->levels[id], strdup(device)); strdup 2026 daemons/fenced/fenced_commands.c search->capable = g_list_append(search->capable, strdup(device)); strdup 803 daemons/fenced/fenced_remote.c op->automatic_list = g_list_prepend(op->automatic_list, strdup(device)); strdup 836 daemons/fenced/fenced_remote.c op->devices_list = g_list_append(op->devices_list, strdup(lpc->data)); strdup 1113 daemons/fenced/fenced_remote.c op->delegate = strdup("a human"); strdup 1185 daemons/fenced/fenced_remote.c op->originator = strdup(stonith_our_uname); strdup 1190 daemons/fenced/fenced_remote.c op->client_id = strdup(client); strdup 1230 daemons/fenced/fenced_remote.c op->target = strdup(node->uname); strdup 2144 daemons/fenced/fenced_remote.c g_hash_table_insert(peer->devices, strdup(device), props); strdup 2197 daemons/fenced/fenced_remote.c peer->host = strdup(host); strdup 484 daemons/pacemakerd/pcmkd_subdaemons.c opts_vgrind[0] = strdup(VALGRIND_BIN); strdup 486 daemons/pacemakerd/pcmkd_subdaemons.c opts_vgrind[1] = strdup("--tool=callgrind"); strdup 487 daemons/pacemakerd/pcmkd_subdaemons.c opts_vgrind[2] = strdup("--callgrind-out-file=" CRM_STATE_DIR "/callgrind.out.%p"); strdup 488 daemons/pacemakerd/pcmkd_subdaemons.c opts_vgrind[3] = strdup(child->command); strdup 491 daemons/pacemakerd/pcmkd_subdaemons.c opts_vgrind[1] = strdup(child->command); strdup 496 daemons/pacemakerd/pcmkd_subdaemons.c opts_default[0] = strdup(child->command); strdup 255 lib/cib/cib_attrs.c local_set_name = strdup(CIB_OPTIONS_FIRST); strdup 588 lib/cib/cib_attrs.c *uuid = strdup(parsed_uuid); strdup 694 lib/cib/cib_attrs.c *uname = strdup(child_name); strdup 675 lib/cib/cib_file.c private->filename = strdup(cib_location); strdup 225 lib/cib/cib_ops.c new_value = strdup("1"); strdup 416 lib/cib/cib_remote.c connection->token = strdup(tmp_ticket); strdup 287 lib/cluster/cluster.c node->uuid = strdup(uuid); strdup 525 lib/cluster/cpg.c data = strdup(msg->data); strdup 972 lib/cluster/cpg.c target = strdup(node->uname); strdup 981 lib/cluster/cpg.c target = strdup("all"); strdup 1003 lib/cluster/cpg.c char *uncompressed = strdup(data); strdup 103 lib/cluster/election.c e->uname = strdup(uname); strdup 496 lib/cluster/election.c voter_copy = strdup(vote->from); strdup 497 lib/cluster/election.c vote_copy = strdup(vote->op); strdup 130 lib/cluster/membership.c node->uuid = strdup(node_name); strdup 1034 lib/cluster/membership.c node->expected = strdup(expected); strdup 1093 lib/cluster/membership.c node->state = strdup(state); strdup 1274 lib/cluster/membership.c node->uname = strdup(uname); strdup 1277 lib/cluster/membership.c node->uuid = strdup(id); strdup 800 lib/common/acl.c effective_user = strdup("#unprivileged"); strdup 304 lib/common/actions.c *uuid = strdup(local_uuid); 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 641 lib/common/io.c path = strdup(filename); strdup 859 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 1841 lib/common/iso8601.c return (date_len == 0)?NULL:strdup(date_s); strdup 1867 lib/common/iso8601.c result = strdup(buf); strdup 788 lib/common/logging.c crm_system_name = strdup(entity); strdup 791 lib/common/logging.c char *mutable = strdup(argv[0]); strdup 797 lib/common/logging.c crm_system_name = strdup(modified); strdup 801 lib/common/logging.c crm_system_name = strdup("Unknown"); strdup 812 lib/common/mainloop.c char *c_name = strdup(client->name); strdup 969 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 851 lib/common/nvpair.c g_hash_table_insert(nvpair_hash, strdup(p_name), strdup(p_value)); strdup 863 lib/common/nvpair.c g_hash_table_insert(nvpair_hash, strdup(key), strdup(value)); strdup 296 lib/common/options.c new_value = strdup(value); strdup 297 lib/common/options.c g_hash_table_insert(options, strdup(name), new_value); strdup 331 lib/common/options.c new_value = strdup(value); strdup 332 lib/common/options.c g_hash_table_insert(options, strdup(name), new_value); strdup 475 lib/common/options.c char *str = strdup(opt_values); strdup 140 lib/common/output.c g_hash_table_insert(formatters, strdup(name), create); strdup 192 lib/common/output.c g_hash_table_replace(out->messages, strdup(message_id), fn); strdup 988 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 939 lib/common/schemas.c transform_leave = strdup(schema->transform_enter); strdup 1138 lib/common/schemas.c char *const orig_value = strdup(value == NULL ? "(none)" : value); strdup 150 lib/common/scores.c char *result = strdup(pcmk_readable_score(score)); strdup 657 lib/common/strings.c g_hash_table_insert((GHashTable*)user_data, strdup(key), strdup(value)); strdup 748 lib/common/strings.c char *uncompressed = strdup(data); strdup 1200 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 62 lib/common/tests/strings/pcmk__guint_from_hash_test.c g_hash_table_insert(tbl, strdup("baddata"), strdup("asdf")); 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 754 lib/common/xml.c deleted_obj->path = strdup((const char *) xpath->str); strdup 1354 lib/common/xml.c copy = strdup(text); strdup 2601 lib/common/xml.c ret = strdup(base); strdup 367 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 637 lib/fencing/st_client.c *list_info = strdup(list_str); strdup 1757 lib/fencing/st_client.c g_hash_table_insert(params_table, strdup(params->key), strdup 1758 lib/fencing/st_client.c strdup(params->value)); strdup 1989 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); strdup 2034 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); strdup 212 lib/fencing/st_lha.c meta_longdesc = strdup(no_parameter_info); strdup 219 lib/fencing/st_lha.c meta_shortdesc = strdup(no_parameter_info); strdup 226 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 1012 lib/lrmd/lrmd_client.c native->remote->start_state = strdup(start_state); strdup 1030 lib/lrmd/lrmd_client.c native->token = strdup(tmp_ticket); strdup 1031 lib/lrmd/lrmd_client.c native->peer_version = strdup(version?version:"1.0"); /* Included since 1.1 */ strdup 1884 lib/lrmd/lrmd_client.c op_info->rsc_id = strdup(rsc_id); strdup 1988 lib/lrmd/lrmd_client.c g_hash_table_insert(params_table, strdup(param->key), strdup(param->value)); strdup 2018 lib/lrmd/lrmd_client.c *output = strdup(action->stdout_data); strdup 2312 lib/lrmd/lrmd_client.c pvt->remote_nodename = strdup(nodename); strdup 2313 lib/lrmd/lrmd_client.c pvt->server = strdup(server); strdup 180 lib/lrmd/proxy_common.c proxy->node_name = strdup(node_name); strdup 181 lib/lrmd/proxy_common.c proxy->session_id = strdup(session_id); strdup 195 lib/pacemaker/pcmk_fence.c async_fence_data.name = strdup(name); strdup 686 lib/pacemaker/pcmk_graph_consumer.c new_graph->source = strdup((reference == NULL)? "unknown" : reference); strdup 866 lib/pacemaker/pcmk_graph_consumer.c g_hash_table_insert(op->params, strdup(name), strdup(value)); strdup 461 lib/pacemaker/pcmk_graph_producer.c g_hash_table_insert(action->meta, strdup(XML_LRM_ATTR_TARGET), strdup 462 lib/pacemaker/pcmk_graph_producer.c strdup(action->node->details->uname)); strdup 463 lib/pacemaker/pcmk_graph_producer.c g_hash_table_insert(action->meta, strdup(XML_LRM_ATTR_TARGET_UUID), strdup 464 lib/pacemaker/pcmk_graph_producer.c strdup(action->node->details->id)); strdup 249 lib/pacemaker/pcmk_injections.c found_uuid = strdup(uuid); strdup 221 lib/pacemaker/pcmk_output.c reason = strdup("blocked"); strdup 977 lib/pacemaker/pcmk_output.c action_desc = strdup("probe action"); strdup 157 lib/pacemaker/pcmk_sched_actions.c uuid = strdup(first_uuid); strdup 1181 lib/pacemaker/pcmk_sched_actions.c op_id = strdup(key); strdup 1192 lib/pacemaker/pcmk_sched_actions.c op_id = strdup(key); strdup 1412 lib/pacemaker/pcmk_sched_actions.c task = strdup("Shutdown"); strdup 809 lib/pacemaker/pcmk_sched_bundle.c strdup(XML_RSC_ATTR_REMOTE_RA_ADDR), strdup 810 lib/pacemaker/pcmk_sched_bundle.c strdup(calculated_addr)); strdup 203 lib/pacemaker/pcmk_sched_fencing.c strdup(PCMK_ACTION_STONITH), stonith_op, strdup 491 lib/pacemaker/pcmk_sched_fencing.c NULL, strdup(unfence->uuid), unfence, strdup 495 lib/pacemaker/pcmk_sched_fencing.c pcmk__new_ordering(NULL, strdup(unfence->uuid), unfence, strdup 557 lib/pacemaker/pcmk_sched_location.c new_con->id = strdup(id); strdup 244 lib/pacemaker/pcmk_sched_migration.c res = strdup(action->task); strdup 557 lib/pacemaker/pcmk_sched_ordering.c order->lh_action_task = strdup(first_action->uuid); strdup 561 lib/pacemaker/pcmk_sched_ordering.c order->rh_action_task = strdup(then_action->uuid); strdup 655 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(resource, strdup(key), NULL, then_rsc, strdup 1177 lib/pacemaker/pcmk_sched_ordering.c strdup(PCMK_ACTION_DO_SHUTDOWN), shutdown_op, strdup 312 lib/pacemaker/pcmk_sched_recurring.c mon = custom_action(rsc, strdup(op->key), op->name, node, is_optional, strdup 338 lib/pacemaker/pcmk_sched_recurring.c NULL, strdup(mon->uuid), mon, strdup 344 lib/pacemaker/pcmk_sched_recurring.c NULL, strdup(mon->uuid), mon, strdup 528 lib/pacemaker/pcmk_sched_recurring.c stopped_mon = custom_action(rsc, strdup(op->key), op->name, stop_node, strdup 665 lib/pacemaker/pcmk_sched_remote.c g_hash_table_insert(params, strdup(XML_RSC_ATTR_REMOTE_RA_ADDR), strdup 666 lib/pacemaker/pcmk_sched_remote.c strdup(remote_addr)); strdup 156 lib/pacemaker/pcmk_sched_utilization.c strdup(key), pcmk__itoa(result)); strdup 289 lib/pengine/bundle.c replica->ipaddr = strdup(data->ip_range_start); strdup 805 lib/pengine/bundle.c strdup(CRM_ATTR_KIND), strdup("container")); strdup 868 lib/pengine/bundle.c mount->source = strdup(source); strdup 869 lib/pengine/bundle.c mount->target = strdup(target); strdup 997 lib/pengine/bundle.c bundle_data->prefix = strdup(rsc->id); strdup 1074 lib/pengine/bundle.c port->target = strdup(port->source); strdup 1202 lib/pengine/bundle.c port->source = strdup(bundle_data->control_port); strdup 1214 lib/pengine/bundle.c port->target = strdup(port->source); strdup 1241 lib/pengine/bundle.c g_hash_table_replace(rsc->meta, strdup(XML_RSC_ATTR_TARGET), strdup 1242 lib/pengine/bundle.c strdup(bundle_data->attribute_target)); strdup 1244 lib/pengine/bundle.c strdup(XML_RSC_ATTR_TARGET), strdup 1245 lib/pengine/bundle.c strdup(bundle_data->attribute_target)); strdup 966 lib/pengine/clone.c g_hash_table_insert(stopped, strdup(child_rsc->id), strdup("Stopped")); strdup 1129 lib/pengine/clone.c g_hash_table_insert(stopped, strdup(node->details->uname), strdup 1132 lib/pengine/clone.c g_hash_table_insert(stopped, strdup(node->details->uname), strdup 1133 lib/pengine/clone.c strdup(state)); strdup 521 lib/pengine/common.c g_hash_table_insert(hash, strdup(name), strdup(value)); strdup 420 lib/pengine/complex.c g_hash_table_insert(rsc->meta, strdup(XML_RSC_ATTR_PROMOTABLE), strdup 421 lib/pengine/complex.c strdup(XML_BOOLEAN_TRUE)); strdup 476 lib/pengine/complex.c g_hash_table_insert(rsc->parameter_cache, strdup(node_name), strdup 689 lib/pengine/complex.c (*rsc)->id = strdup(id); strdup 188 lib/pengine/failcounts.c return pcmk_is_set(rsc->flags, pcmk_rsc_unique)? strdup(name) : clone_strip(name); strdup 1203 lib/pengine/native.c g_hash_table_insert(rsc_table, strdup(buffer), rsc_counter); strdup 1223 lib/pengine/native.c g_hash_table_insert(active_table, strdup(node->details->uname), node_table); strdup 1230 lib/pengine/native.c g_hash_table_insert(node_table, strdup(buffer), active_counter); strdup 174 lib/pengine/pe_actions.c action->task = strdup(task); CRM_ASSERT(action->task != NULL); strdup 516 lib/pengine/pe_actions.c key = strdup(XML_OP_ATTR_ON_FAIL); strdup 517 lib/pengine/pe_actions.c new_value = strdup(promote_on_fail); strdup 526 lib/pengine/pe_actions.c key = strdup(XML_OP_ATTR_ON_FAIL); strdup 527 lib/pengine/pe_actions.c new_value = strdup("ignore"); strdup 621 lib/pengine/pe_actions.c g_hash_table_replace(meta, strdup(XML_OP_ATTR_START_DELAY), strdup 743 lib/pengine/pe_actions.c name = strdup(XML_ATTR_TIMEOUT); strdup 744 lib/pengine/pe_actions.c value = strdup(timeout_spec); strdup 762 lib/pengine/pe_actions.c name = strdup((const char *) attr->name); strdup 763 lib/pengine/pe_actions.c value = strdup(pcmk__xml_attr_value(attr)); strdup 774 lib/pengine/pe_actions.c name = strdup(XML_LRM_ATTR_INTERVAL); strdup 806 lib/pengine/pe_actions.c name = strdup(XML_ATTR_TIMEOUT); strdup 807 lib/pengine/pe_actions.c value = strdup(timeout_spec); strdup 814 lib/pengine/pe_actions.c name = strdup(XML_ATTR_TIMEOUT); strdup 832 lib/pengine/pe_actions.c name = strdup(XML_OP_ATTR_START_DELAY); strdup 1165 lib/pengine/pe_actions.c op = custom_action(NULL, strdup(name), name, NULL, TRUE, scheduler); strdup 1328 lib/pengine/pe_actions.c key = strdup(XML_OP_ATTR_DIGESTS_ALL); strdup 1329 lib/pengine/pe_actions.c value = strdup((const char *) digests_all->str); strdup 1334 lib/pengine/pe_actions.c key = strdup(XML_OP_ATTR_DIGESTS_SECURE); strdup 1335 lib/pengine/pe_actions.c value = strdup((const char *) digests_secure->str); strdup 1366 lib/pengine/pe_actions.c strdup(XML_CONFIG_ATTR_PRIORITY_FENCING_DELAY), strdup 1375 lib/pengine/pe_actions.c stonith_op->reason = strdup(reason); strdup 1867 lib/pengine/pe_actions.c name = strdup(XML_ATTR_TE_TARGET_RC); strdup 371 lib/pengine/pe_digest.c g_hash_table_insert(node->details->digest_cache, strdup(key), data); strdup 256 lib/pengine/pe_notif.c g_hash_table_insert(notify->meta, strdup((const char *) key), strdup 257 lib/pengine/pe_notif.c strdup((const char *) value)); strdup 217 lib/pengine/pe_output.c return strdup(""); strdup 313 lib/pengine/pe_output.c failcount_s = strdup(""); strdup 1322 lib/pengine/pe_output.c rsc_id = strdup("unknown resource"); strdup 1323 lib/pengine/pe_output.c task = strdup("unknown action"); strdup 402 lib/pengine/rules.c g_hash_table_insert(hash, strdup(name), strdup(value)); strdup 407 lib/pengine/rules.c g_hash_table_replace(hash, strdup(name), strdup(value)); strdup 73 lib/pengine/rules_alerts.c entry->tstamp_format = strdup(value); strdup 110 lib/pengine/rules_alerts.c g_hash_table_insert(entry->envvars, strdup(name), strdup(value)); strdup 154 lib/pengine/rules_alerts.c entry->select_attribute_name[nattrs - 1] = strdup(attr_name); strdup 243 lib/pengine/rules_alerts.c entry->tstamp_format = strdup(PCMK__ALERT_DEFAULT_TSTAMP_FORMAT); strdup 256 lib/pengine/rules_alerts.c recipient_entry->recipient = strdup(crm_element_value(recipient, strdup 45 lib/pengine/tags.c retval = g_list_append(retval, strdup(rsc_printable_id(rsc))); strdup 78 lib/pengine/tags.c retval = g_list_append(retval, strdup(node->details->uname)); strdup 497 lib/pengine/unpack.c g_hash_table_insert(new_node->details->attrs, strdup(CRM_ATTR_KIND), strdup 498 lib/pengine/unpack.c strdup("remote")); strdup 500 lib/pengine/unpack.c g_hash_table_insert(new_node->details->attrs, strdup(CRM_ATTR_KIND), strdup 501 lib/pengine/unpack.c strdup("cluster")); strdup 786 lib/pengine/unpack.c g_hash_table_replace(remote_node->details->attrs, strdup(CRM_ATTR_KIND), strdup 787 lib/pengine/unpack.c strdup("container")); strdup 840 lib/pengine/unpack.c g_hash_table_insert(scheduler->template_rsc_sets, strdup(id), strdup 965 lib/pengine/unpack.c g_hash_table_replace(ticket->state, strdup(prop_name), strdup(prop_value)); strdup 3455 lib/pengine/unpack.c result = strdup(p); strdup 3462 lib/pengine/unpack.c result = strdup("unknown time"); strdup 4675 lib/pengine/unpack.c history->rsc->pending_task = strdup("probe"); strdup 4679 lib/pengine/unpack.c history->rsc->pending_task = strdup(history->task); strdup 4902 lib/pengine/unpack.c strdup(CRM_ATTR_UNAME), strdup(node->details->uname)); strdup 4904 lib/pengine/unpack.c g_hash_table_insert(node->details->attrs, strdup(CRM_ATTR_ID), strdup 4905 lib/pengine/unpack.c strdup(node->details->id)); strdup 4910 lib/pengine/unpack.c strdup(CRM_ATTR_IS_DC), strdup(XML_BOOLEAN_TRUE)); strdup 4913 lib/pengine/unpack.c strdup(CRM_ATTR_IS_DC), strdup(XML_BOOLEAN_FALSE)); strdup 4918 lib/pengine/unpack.c g_hash_table_insert(node->details->attrs, strdup(CRM_ATTR_CLUSTER_NAME), strdup 4919 lib/pengine/unpack.c strdup(cluster_name)); strdup 4935 lib/pengine/unpack.c strdup(CRM_ATTR_SITE_NAME), strdup 4936 lib/pengine/unpack.c strdup(site_name)); strdup 4941 lib/pengine/unpack.c strdup(CRM_ATTR_SITE_NAME), strdup 4942 lib/pengine/unpack.c strdup(cluster_name)); strdup 533 lib/pengine/utils.c ticket->id = strdup(ticket_id); strdup 539 lib/pengine/utils.c g_hash_table_insert(scheduler->tickets, strdup(ticket->id), ticket); strdup 631 lib/pengine/utils.c tag->id = strdup(tag_name); strdup 633 lib/pengine/utils.c g_hash_table_insert(tags, strdup(tag_name), tag); strdup 646 lib/pengine/utils.c tag->refs = g_list_append(tag->refs, strdup(obj_ref)); strdup 810 lib/pengine/utils.c nodes = g_list_prepend(nodes, strdup("*")); strdup 818 lib/pengine/utils.c nodes = g_list_prepend(nodes, strdup(s)); strdup 839 lib/pengine/utils.c resources = g_list_prepend(resources, strdup("*")); strdup 852 lib/pengine/utils.c resources = g_list_prepend(resources, strdup(rsc->id)); strdup 854 lib/pengine/utils.c resources = g_list_prepend(resources, strdup(rsc_printable_id(rsc))); strdup 648 lib/services/dbus.c output = strdup(value.str? value.str : ""); strdup 737 lib/services/dbus.c query_data->target = strdup(target); strdup 738 lib/services/dbus.c query_data->object = strdup(obj); strdup 741 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 487 lib/services/systemd.c *path = strdup(unit); strdup 623 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 363 tools/crm_mon.c options.neg_location_prefix = strdup(*s+5); strdup 1493 tools/crm_mon.c options.pid_file = strdup("/tmp/ClusterMon.pid"); strdup 1545 tools/crm_resource.c strv[0] = strdup("non-option ARGV-elements:\n"); strdup 631 tools/crm_resource_runtime.c return strdup(name); strdup 1078 tools/crm_resource_runtime.c g_hash_table_insert(combined, strdup(key), strdup(value)); strdup 1089 tools/crm_resource_runtime.c g_hash_table_insert(combined, crm_name, strdup(value)); strdup 1157 tools/crm_resource_runtime.c active = g_list_append(active, strdup(rsc->id)); strdup 1479 tools/crm_resource_runtime.c lookup_id = strdup(rsc->id); strdup 1505 tools/crm_resource_runtime.c rsc_id = strdup(rsc->id); strdup 1508 tools/crm_resource_runtime.c lookup_id = strdup(rsc->id); strdup 1519 tools/crm_resource_runtime.c lookup_id = strdup(parent->id); strdup 1949 tools/crm_resource_runtime.c g_hash_table_insert(params, strdup("CRM_meta_timeout"), strdup 1952 tools/crm_resource_runtime.c g_hash_table_insert(params, strdup(XML_ATTR_CRM_VERSION), strdup 1953 tools/crm_resource_runtime.c strdup(CRM_FEATURE_SET)); strdup 1992 tools/crm_resource_runtime.c g_hash_table_replace(params, strdup(name), strdup(value)); strdup 386 tools/crm_simulate.c temp_shadow = strdup(local_output); strdup 471 tools/crm_simulate.c options.xml_file = strdup("-"); strdup 74 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup(options.attr_name), strdup(options.attr_value)); strdup 104 tools/crm_ticket.c attr_delete = g_list_append(attr_delete, strdup(optarg)); strdup 119 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup("granted"), strdup("true")); strdup 122 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup("granted"), strdup("false")); strdup 125 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup("standby"), strdup("true")); strdup 128 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup("standby"), strdup("false")); strdup 143 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup(options.attr_name), strdup(options.attr_value)); strdup 400 tools/stonith_admin.c name = strdup(crm_system_name);