strdup 596 lib/cib/cib_attrs.c *uuid = strdup(parsed_uuid); strdup 706 lib/cib/cib_attrs.c *uname = strdup(child_name); strdup 677 lib/cib/cib_file.c private->filename = strdup(cib_location); strdup 424 lib/cib/cib_remote.c connection->token = strdup(tmp_ticket); strdup 521 lib/cluster/cpg.c data = strdup(msg->data); strdup 102 lib/cluster/election.c e->uname = strdup(uname); strdup 143 lib/cluster/membership.c node_name_copy = strdup(node_name); strdup 168 lib/cluster/membership.c node->uuid = strdup(node_name); strdup 1169 lib/cluster/membership.c node->expected = strdup(expected); strdup 1228 lib/cluster/membership.c node->state = strdup(state); strdup 159 lib/common/agents.c *type = strdup(spec); 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 860 lib/common/ipc_client.c client->server_name = strdup(name); strdup 171 lib/common/ipc_schedulerd.c *ref = strdup(crm_element_value(cmd, PCMK_XA_REFERENCE)); strdup 791 lib/common/logging.c char *mutable = strdup(argv[0]); strdup 811 lib/common/mainloop.c char *c_name = strdup(client->name); strdup 968 lib/common/mainloop.c client->name = strdup(name); strdup 58 lib/common/messages.c true_from = strdup(sys_from); strdup 248 lib/common/nvpair.c *value = strdup(sep+1); strdup 135 lib/common/output.c name_copy = strdup(name); strdup 988 lib/common/results.c result->exit_reason = (exit_reason == NULL)? NULL : strdup(exit_reason); strdup 314 lib/common/schemas.c transform_enter = strdup("upgrade-enter"); strdup 1069 lib/common/schemas.c transform_leave = strdup(schema->transform_enter); strdup 842 lib/common/strings.c char *uncompressed = strdup(data); strdup 1252 lib/common/strings.c char *result = strdup(str); 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 44 lib/common/tests/nvpair/crm_meta_value_test.c g_hash_table_insert(tbl, crm_meta_name(PCMK_META_NOTIFY), strdup("1")); strdup 46 lib/common/tests/nvpair/crm_meta_value_test.c strdup("2")); 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 545 lib/common/utils.c return (uname(&hostinfo) < 0)? NULL : strdup(hostinfo.nodename); strdup 2199 lib/common/xml.c ret = strdup(base); strdup 165 lib/fencing/st_actions.c g_hash_table_insert(arg_list, strdup("nodeid"), nodeid); strdup 274 lib/fencing/st_actions.c action->agent = strdup(agent); strdup 275 lib/fencing/st_actions.c action->action = strdup(action_name); strdup 615 lib/fencing/st_actions.c svc_action->standard = strdup(PCMK_RESOURCE_CLASS_STONITH); strdup 619 lib/fencing/st_actions.c svc_action->agent = strdup(action->agent); strdup 641 lib/fencing/st_client.c *list_info = strdup(list_str); strdup 1994 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); strdup 2039 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); strdup 116 lib/lrmd/lrmd_client.c p->val = strdup(value); strdup 153 lib/lrmd/lrmd_client.c p->key = strdup(key); strdup 154 lib/lrmd/lrmd_client.c p->value = strdup(value); strdup 1037 lib/lrmd/lrmd_client.c native->remote->start_state = strdup(start_state); strdup 1055 lib/lrmd/lrmd_client.c native->token = strdup(tmp_ticket); strdup 1056 lib/lrmd/lrmd_client.c native->peer_version = strdup(version?version:"1.0"); /* Included since 1.1 */ strdup 1939 lib/lrmd/lrmd_client.c op_info->rsc_id = strdup(rsc_id); strdup 2074 lib/lrmd/lrmd_client.c *output = strdup(action->stdout_data); strdup 2368 lib/lrmd/lrmd_client.c pvt->remote_nodename = strdup(nodename); strdup 2369 lib/lrmd/lrmd_client.c pvt->server = strdup(server); strdup 190 lib/lrmd/proxy_common.c proxy->node_name = strdup(node_name); strdup 191 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 751 lib/pacemaker/pcmk_graph_consumer.c new_graph->source = strdup(pcmk__s(reference, "unknown")); strdup 272 lib/pacemaker/pcmk_injections.c found_uuid = strdup(uuid); strdup 223 lib/pacemaker/pcmk_output.c reason = strdup("blocked"); strdup 979 lib/pacemaker/pcmk_output.c action_desc = strdup("probe action"); strdup 1183 lib/pacemaker/pcmk_sched_actions.c op_id = strdup(key); strdup 1196 lib/pacemaker/pcmk_sched_actions.c op_id = strdup(key); strdup 1417 lib/pacemaker/pcmk_sched_actions.c task = strdup("Shutdown"); strdup 203 lib/pacemaker/pcmk_sched_fencing.c strdup(PCMK_ACTION_STONITH), stonith_op, strdup 492 lib/pacemaker/pcmk_sched_fencing.c NULL, strdup(unfence->uuid), unfence, strdup 496 lib/pacemaker/pcmk_sched_fencing.c pcmk__new_ordering(NULL, strdup(unfence->uuid), unfence, strdup 562 lib/pacemaker/pcmk_sched_ordering.c order->task1 = strdup(first_action->uuid); strdup 566 lib/pacemaker/pcmk_sched_ordering.c order->task2 = strdup(then_action->uuid); strdup 664 lib/pacemaker/pcmk_sched_ordering.c pcmk__new_ordering(resource, strdup(key), NULL, then_rsc, strdup 1207 lib/pacemaker/pcmk_sched_ordering.c strdup(PCMK_ACTION_DO_SHUTDOWN), shutdown_op, strdup 325 lib/pacemaker/pcmk_sched_recurring.c mon = custom_action(rsc, strdup(op->key), op->name, node, is_optional, strdup 351 lib/pacemaker/pcmk_sched_recurring.c NULL, strdup(mon->uuid), mon, strdup 357 lib/pacemaker/pcmk_sched_recurring.c NULL, strdup(mon->uuid), mon, strdup 542 lib/pacemaker/pcmk_sched_recurring.c stopped_mon = custom_action(rsc, strdup(op->key), op->name, stop_node, strdup 157 lib/pacemaker/pcmk_sched_utilization.c strdup(key), pcmk__itoa(result)); strdup 331 lib/pacemaker/pcmk_ticket.c g_hash_table_insert(tickets, strdup(ticket->id), ticket); strdup 117 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c attrs = g_list_append(attrs, strdup("XYZ")); strdup 145 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c attrs = g_list_append(attrs, strdup("owner")); strdup 171 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c attrs = g_list_append(attrs, strdup(PCMK__XA_GRANTED)); strdup 197 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c attrs = g_list_append(attrs, strdup(PCMK__XA_GRANTED)); strdup 287 lib/pengine/bundle.c replica->ipaddr = strdup(data->ip_range_start); strdup 998 lib/pengine/bundle.c bundle_data->prefix = strdup(rsc->id); strdup 1101 lib/pengine/bundle.c port->target = strdup(port->source); strdup 1233 lib/pengine/bundle.c port->source = strdup(bundle_data->control_port); strdup 1246 lib/pengine/bundle.c port->target = strdup(port->source); strdup 1173 lib/pengine/clone.c g_hash_table_insert(stopped, strdup(node->details->uname), strdup 514 lib/pengine/complex.c g_hash_table_insert(rsc->parameter_cache, strdup(node_name), strdup 720 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 1221 lib/pengine/native.c g_hash_table_insert(rsc_table, strdup(buffer), rsc_counter); strdup 1241 lib/pengine/native.c g_hash_table_insert(active_table, strdup(node->details->uname), node_table); strdup 1248 lib/pengine/native.c g_hash_table_insert(node_table, strdup(buffer), active_counter); strdup 629 lib/pengine/pe_actions.c g_hash_table_replace(meta, strdup(PCMK_META_START_DELAY), strdup 1182 lib/pengine/pe_actions.c op = custom_action(NULL, strdup(name), name, NULL, TRUE, scheduler); strdup 1378 lib/pengine/pe_actions.c strdup(PCMK_OPT_PRIORITY_FENCING_DELAY), strdup 1387 lib/pengine/pe_actions.c stonith_op->reason = strdup(reason); strdup 376 lib/pengine/pe_digest.c g_hash_table_insert(node->details->digest_cache, strdup(key), data); strdup 227 lib/pengine/pe_output.c return strdup(""); strdup 324 lib/pengine/pe_output.c failcount_s = strdup(""); strdup 77 lib/pengine/rules_alerts.c entry->tstamp_format = strdup(value); strdup 160 lib/pengine/rules_alerts.c entry->select_attribute_name[nattrs - 1] = strdup(attr_name); strdup 254 lib/pengine/rules_alerts.c entry->tstamp_format = strdup(PCMK__ALERT_DEFAULT_TSTAMP_FORMAT); 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 4792 lib/pengine/unpack.c history->rsc->pending_task = strdup("probe"); strdup 4796 lib/pengine/unpack.c history->rsc->pending_task = strdup(history->task); strdup 540 lib/pengine/utils.c ticket->id = strdup(ticket_id); strdup 546 lib/pengine/utils.c g_hash_table_insert(scheduler->tickets, strdup(ticket->id), ticket); strdup 642 lib/pengine/utils.c tag->id = strdup(tag_name); strdup 644 lib/pengine/utils.c g_hash_table_insert(tags, strdup(tag_name), tag); strdup 657 lib/pengine/utils.c tag->refs = g_list_append(tag->refs, strdup(obj_ref)); strdup 824 lib/pengine/utils.c nodes = g_list_prepend(nodes, strdup("*")); strdup 832 lib/pengine/utils.c nodes = g_list_prepend(nodes, strdup(s)); strdup 853 lib/pengine/utils.c resources = g_list_prepend(resources, strdup("*")); strdup 866 lib/pengine/utils.c resources = g_list_prepend(resources, strdup(rsc->id)); strdup 868 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 1063 lib/services/services.c standards = g_list_append(standards, strdup(PCMK_RESOURCE_CLASS_OCF)); strdup 1064 lib/services/services.c standards = g_list_append(standards, strdup(PCMK_RESOURCE_CLASS_LSB)); strdup 1065 lib/services/services.c standards = g_list_append(standards, strdup(PCMK_RESOURCE_CLASS_SERVICE)); strdup 1073 lib/services/services.c strdup(PCMK_RESOURCE_CLASS_SYSTEMD)); strdup 1085 lib/services/services.c strdup(PCMK_RESOURCE_CLASS_UPSTART)); strdup 1097 lib/services/services.c strdup(PCMK_RESOURCE_CLASS_NAGIOS)); strdup 1282 lib/services/services.c action->opaque->exit_reason = (reason == NULL)? NULL : strdup(reason); strdup 1448 lib/services/services_linux.c list = g_list_append(list, strdup(namelist[lpc]->d_name)); strdup 1461 lib/services/services_linux.c char *dirs = strdup(root); strdup 275 lib/services/services_lsb.c op->opaque->args[0] = strdup(op->opaque->exec); strdup 276 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 42 lib/services/systemd.c op->opaque->exec = strdup("systemd-dbus"); strdup 235 lib/services/systemd.c return strdup(name); strdup 240 lib/services/systemd.c return strdup(name); strdup 488 lib/services/systemd.c *path = strdup(unit); strdup 624 lib/services/systemd.c unit_name = strdup(basename); strdup 52 lib/services/upstart.c op->opaque->exec = strdup("upstart-dbus"); strdup 153 lib/services/upstart.c *path = strdup(*path); strdup 190 lib/services/upstart.c char *output = strdup(input); strdup 337 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 1508 tools/crm_mon.c options.pid_file = strdup("/tmp/ClusterMon.pid"); strdup 1613 tools/crm_resource.c strv[0] = strdup("non-option ARGV-elements:\n"); strdup 728 tools/crm_resource_runtime.c return strdup(name); strdup 1190 tools/crm_resource_runtime.c g_hash_table_insert(combined, crm_name, strdup(value)); strdup 1258 tools/crm_resource_runtime.c active = g_list_append(active, strdup(rsc->id)); strdup 1578 tools/crm_resource_runtime.c lookup_id = strdup(rsc->id); strdup 1604 tools/crm_resource_runtime.c rsc_id = strdup(rsc->id); strdup 1607 tools/crm_resource_runtime.c lookup_id = strdup(rsc->id); strdup 1618 tools/crm_resource_runtime.c lookup_id = strdup(parent->id); strdup 394 tools/crm_simulate.c temp_shadow = strdup(local_output); strdup 476 tools/crm_simulate.c options.xml_file = strdup("-"); strdup 111 tools/crm_ticket.c attr_delete = g_list_append(attr_delete, strdup(optarg)); strdup 407 tools/stonith_admin.c name = strdup(crm_system_name);