name 30 daemons/attrd/attrd_attributes.c const char *name = crm_element_value(xml, PCMK__XA_ATTR_NAME); name 47 daemons/attrd/attrd_attributes.c pcmk__s(name, "(unidentified)"), set_type); name 55 daemons/attrd/attrd_attributes.c pcmk__str_update(&a->id, name); name 227 daemons/attrd/attrd_cib.c char *name = user_data; name 228 daemons/attrd/attrd_cib.c attribute_t *a = g_hash_table_lookup(attributes, name); name 231 daemons/attrd/attrd_cib.c crm_info("Attribute %s no longer exists", name); name 293 daemons/attrd/attrd_cib.c name, pcmk__readable_interval(a->timeout_ms)); name 26 daemons/attrd/attrd_messages.c return pcmk__str_eq((const char *) attr->name, PCMK__XA_ATTR_SYNC_POINT, pcmk__str_none); name 317 daemons/attrd/attrd_utils.c const char *p_name = (const char *) a->name; name 351 daemons/based/based_callbacks.c if (cib_client->name == NULL) { name 355 daemons/based/based_callbacks.c cib_client->name = pcmk__itoa(cib_client->pid); name 357 daemons/based/based_callbacks.c cib_client->name = strdup(value); name 376 daemons/based/based_callbacks.c crm_xml_add(op_request, F_CIB_CLIENTNAME, cib_client->name); name 195 daemons/based/based_io.c const char *name = NULL; name 274 daemons/based/based_io.c name = XML_ATTR_GENERATION_ADMIN; name 275 daemons/based/based_io.c value = crm_element_value(root, name); name 277 daemons/based/based_io.c crm_warn("No value for %s was specified in the configuration.", name); name 283 daemons/based/based_io.c crm_xml_add_int(root, name, 0); name 286 daemons/based/based_io.c name = XML_ATTR_GENERATION; name 287 daemons/based/based_io.c value = crm_element_value(root, name); name 289 daemons/based/based_io.c crm_xml_add_int(root, name, 0); name 292 daemons/based/based_io.c name = XML_ATTR_NUMUPDATES; name 293 daemons/based/based_io.c value = crm_element_value(root, name); name 295 daemons/based/based_io.c crm_xml_add_int(root, name, 0); name 157 daemons/based/based_messages.c (const char *) the_cib->name); name 206 daemons/based/based_notify.c type = (const char *) update->name; name 209 daemons/based/based_notify.c type = (const char *) diff->name; name 421 daemons/based/based_remote.c if (client->name == NULL) { name 424 daemons/based/based_remote.c client->name = strdup(client->id); name 426 daemons/based/based_remote.c client->name = strdup(value); name 437 daemons/based/based_remote.c crm_xml_add(command, F_CIB_CLIENTNAME, client->name); name 518 daemons/based/based_remote.c client->name = crm_element_value_copy(command, "name"); name 63 daemons/controld/controld_attrd.c update_attrd(const char *host, const char *name, const char *value, name 77 daemons/controld/controld_attrd.c rc = pcmk__attrd_api_update(attrd_api, host, name, value, name 83 daemons/controld/controld_attrd.c CRM_XS " rc=%d", name, value, node_type(is_remote_node), name 201 daemons/controld/controld_election.c #define dc_takeover_update_attr(name, value) do { \ name 205 daemons/controld/controld_election.c name, value, NULL, NULL); \ name 1136 daemons/controld/controld_messages.c const char *name = NULL; name 1139 daemons/controld/controld_messages.c name = crm_element_value(stored_msg, XML_ATTR_UNAME); name 1144 daemons/controld/controld_messages.c crm_err("Could not instruct peers to remove references to node %s/%u", name, id); name 1146 daemons/controld/controld_messages.c crm_notice("Instructing peers to remove references to node %s/%u", name, id); name 1151 daemons/controld/controld_messages.c reap_crm_member(id, name); name 1157 daemons/controld/controld_messages.c st_fail_count_reset(name); name 322 daemons/controld/controld_te_actions.c action->xml->name, action->id, task_uuid, target); name 463 daemons/controld/controld_te_actions.c char *name; name 472 daemons/controld/controld_te_actions.c free(peer->name); name 504 daemons/controld/controld_te_actions.c r->name = strdup(target); name 505 daemons/controld/controld_te_actions.c g_hash_table_insert(te_targets, r->name, r); name 580 daemons/controld/controld_te_actions.c r->name = strdup(target); name 581 daemons/controld/controld_te_actions.c g_hash_table_insert(te_targets, r->name, r); name 409 daemons/controld/controld_te_callbacks.c const char *name = NULL; name 455 daemons/controld/controld_te_callbacks.c name = (const char *)match->name; name 460 daemons/controld/controld_te_callbacks.c (name? " matched by " : ""), (name? name : "")); name 468 daemons/controld/controld_te_callbacks.c || pcmk__str_eq(name, XML_CIB_TAG_TICKETS, pcmk__str_none)) { name 474 daemons/controld/controld_te_callbacks.c || pcmk__str_eq(name, XML_TAG_TRANSIENT_NODEATTRS, name 482 daemons/controld/controld_te_callbacks.c } else if (name == NULL) { name 486 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_TAG_CIB) == 0) { name 489 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_CIB_TAG_STATUS) == 0) { name 492 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_CIB_TAG_STATE) == 0) { name 495 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_CIB_TAG_LRM) == 0) { name 498 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_LRM_TAG_RESOURCES) == 0) { name 504 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_LRM_TAG_RESOURCE) == 0) { name 510 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_LRM_TAG_RSC_OP) == 0) { name 518 daemons/controld/controld_te_callbacks.c op, xpath, name); name 244 daemons/controld/controld_te_events.c fail_pair->name = fail_name; name 258 daemons/controld/controld_te_events.c last_pair->name = last_name; name 419 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, reason->name, name 473 daemons/controld/controld_te_utils.c } else if (pcmk__str_any_of((const char *) reason->name, name 480 daemons/controld/controld_te_utils.c reason->name, op, pcmk__s(uname, ID(reason)), name 490 daemons/controld/controld_te_utils.c reason->name, pcmk__s(id, ""), pcmk__s(op, "change"), name 45 daemons/controld/controld_utils.h void update_attrd(const char *host, const char *name, const char *value, const char *user_name, gboolean is_remote_node); name 556 daemons/execd/execd_commands.c if (client->name == NULL) { name 143 daemons/execd/pacemaker-execd.c if (!client->name) { name 147 daemons/execd/pacemaker-execd.c client->name = pcmk__itoa(pcmk__client_pid(c)); name 149 daemons/execd/pacemaker-execd.c client->name = strdup(value); name 159 daemons/execd/pacemaker-execd.c crm_xml_add(request, F_LRMD_CLIENTNAME, client->name); name 108 daemons/execd/remoted_pidone.c char *name = NULL; name 114 daemons/execd/remoted_pidone.c if (find_env_var_name(line, &name, &end) && (*++end == '=')) { name 175 daemons/execd/remoted_pidone.c setenv(name, value, 0); name 261 daemons/execd/remoted_pidone.c const char *name = "pcmk-init"; name 276 daemons/execd/remoted_pidone.c i = strlen(name); name 279 daemons/execd/remoted_pidone.c snprintf(argv[0], maxlen, "%s", name); name 90 daemons/execd/remoted_proxy.c client->name = crm_strdup_printf("proxy-%s-%d-%.8s", ipc_channel, client->pid, client->id); name 116 daemons/execd/remoted_tls.c if (!client->name) { name 120 daemons/execd/remoted_tls.c client->name = strdup(value); name 130 daemons/execd/remoted_tls.c crm_xml_add(request, F_LRMD_CLIENTNAME, client->name); name 43 daemons/fenced/fenced_cib.c node_has_attr(const char *node, const char *name, const char *value) name 48 daemons/fenced/fenced_cib.c CRM_CHECK((local_cib != NULL) && (node != NULL) && (name != NULL) name 61 daemons/fenced/fenced_cib.c "[@" XML_NVPAIR_ATTR_NAME "='", name, "' " name 767 daemons/fenced/fenced_commands.c char *name = NULL; name 787 daemons/fenced/fenced_commands.c free(name); name 788 daemons/fenced/fenced_commands.c name = calloc(1, 1 + lpc - last); name 789 daemons/fenced/fenced_commands.c memcpy(name, hostmap + last, lpc - last); name 800 daemons/fenced/fenced_commands.c if (name) { name 814 daemons/fenced/fenced_commands.c crm_debug("Adding alias '%s'='%s'", name, value); name 815 daemons/fenced/fenced_commands.c g_hash_table_replace(aliases, name, value); name 820 daemons/fenced/fenced_commands.c name = NULL; name 840 daemons/fenced/fenced_commands.c free(name); name 1008 daemons/fenced/fenced_commands.c xml2device_params(const char *name, const xmlNode *dev) name 1020 daemons/fenced/fenced_commands.c name, STONITH_ATTR_ACTION_OP); name 2974 daemons/fenced/fenced_commands.c const char *name = NULL; name 2988 daemons/fenced/fenced_commands.c name = names[lpc]; name 2989 daemons/fenced/fenced_commands.c value = crm_element_value(request, name); name 2990 daemons/fenced/fenced_commands.c crm_xml_add(reply, name, value); name 3506 daemons/fenced/fenced_commands.c const char *name = NULL; name 3509 daemons/fenced/fenced_commands.c name = crm_element_value(request->xml, XML_ATTR_UNAME); name 3510 daemons/fenced/fenced_commands.c reap_crm_member(node_id, name); name 116 daemons/fenced/fenced_scheduler.c const char *name = NULL; name 186 daemons/fenced/fenced_scheduler.c while (g_hash_table_iter_next(&hash_iter, (gpointer *) &name, name 188 daemons/fenced/fenced_scheduler.c if ((name == NULL) || (value == NULL)) { name 191 daemons/fenced/fenced_scheduler.c params = stonith_key_value_add(params, name, value); name 123 daemons/fenced/pacemaker-fenced.c if (c->name == NULL) { name 129 daemons/fenced/pacemaker-fenced.c c->name = crm_strdup_printf("%s.%u", value, c->pid); name 258 daemons/fenced/pacemaker-fenced.c get_stonith_flag(const char *name) name 260 daemons/fenced/pacemaker-fenced.c if (pcmk__str_eq(name, T_STONITH_NOTIFY_FENCE, pcmk__str_casei)) { name 263 daemons/fenced/pacemaker-fenced.c } else if (pcmk__str_eq(name, STONITH_OP_DEVICE_ADD, pcmk__str_casei)) { name 266 daemons/fenced/pacemaker-fenced.c } else if (pcmk__str_eq(name, STONITH_OP_DEVICE_DEL, pcmk__str_casei)) { name 269 daemons/fenced/pacemaker-fenced.c } else if (pcmk__str_eq(name, T_STONITH_NOTIFY_HISTORY, pcmk__str_casei)) { name 272 daemons/fenced/pacemaker-fenced.c } else if (pcmk__str_eq(name, T_STONITH_NOTIFY_HISTORY_SYNCED, pcmk__str_casei)) { name 227 daemons/fenced/pacemaker-fenced.h uint64_t get_stonith_flag(const char *name); name 289 daemons/fenced/pacemaker-fenced.h gboolean node_has_attr(const char *node, const char *name, const char *value); name 30 daemons/pacemakerd/pcmkd_subdaemons.c const char *name; name 138 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, name 152 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, name 165 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, name 197 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, name 204 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, name 210 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, name 239 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Child %s not terminating in a timely manner, forcing", child->name); name 249 daemons/pacemakerd/pcmkd_subdaemons.c const char *name = mainloop_child_name(p); name 254 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, signo, strsignal(signo), name 261 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, exitcode, crm_exit_str(exitcode)); name 266 daemons/pacemakerd/pcmkd_subdaemons.c name, pid); name 273 daemons/pacemakerd/pcmkd_subdaemons.c crm_emerg("%s[%d] instructed the machine to reset", name, pid); name 282 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, exitcode, crm_exit_str(exitcode)); name 299 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Child respawn count exceeded by %s", child->name); name 311 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Rebooting system because of %s", child->name); name 317 daemons/pacemakerd/pcmkd_subdaemons.c child->name, child->endpoint); name 321 daemons/pacemakerd/pcmkd_subdaemons.c child->name); name 326 daemons/pacemakerd/pcmkd_subdaemons.c child->name); name 358 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long) SHUTDOWN_ESCALATION_PERIOD, name 373 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long long) child->pid); name 379 daemons/pacemakerd/pcmkd_subdaemons.c crm_debug("%s confirmed stopped", child->name); name 434 daemons/pacemakerd/pcmkd_subdaemons.c crm_info("Nothing to do for child \"%s\"", child->name); name 442 daemons/pacemakerd/pcmkd_subdaemons.c } else if (env_callgrind != NULL && strstr(env_callgrind, child->name)) { name 449 daemons/pacemakerd/pcmkd_subdaemons.c } else if (env_valgrind != NULL && strstr(env_valgrind, child->name)) { name 455 daemons/pacemakerd/pcmkd_subdaemons.c " The location of the valgrind binary is unknown", child->name); name 461 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Invalid user (%s) for %s: not found", child->uid, child->name); name 464 daemons/pacemakerd/pcmkd_subdaemons.c crm_info("Using uid=%u and group=%u for process %s", uid, gid, child->name); name 472 daemons/pacemakerd/pcmkd_subdaemons.c mainloop_child_add(child->pid, 0, child->name, child, pcmk_child_exit); name 475 daemons/pacemakerd/pcmkd_subdaemons.c (long long) child->pid, child->name, name 568 daemons/pacemakerd/pcmkd_subdaemons.c child->name); name 616 daemons/pacemakerd/pcmkd_subdaemons.c int ret = pcmk__pid_active(child->pid, child->name); name 621 daemons/pacemakerd/pcmkd_subdaemons.c child->name) == pcmk_rc_ok))) { name 737 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].name, WAIT_TRIES - 1); name 745 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].name, name 758 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].name, name 784 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].name, pcmk_rc_str(rc), rc); name 850 daemons/pacemakerd/pcmkd_subdaemons.c crm_notice("Respawning cluster-based subdaemon: %s", pcmk_children[i].name); name 870 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long long) PCMK__SPECIAL_PID_AS_0(child->pid)); name 875 daemons/pacemakerd/pcmkd_subdaemons.c crm_trace("Client %s not running", child->name); name 882 daemons/pacemakerd/pcmkd_subdaemons.c child->name, signal, (long long) child->pid); name 886 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long long) child->pid, signal, strerror(errno)); name 46 daemons/schedulerd/schedulerd_messages.c const char *name; name 121 daemons/schedulerd/schedulerd_messages.c if (pcmk__read_series_sequence(PE_STATE_DIR, series[series_id].name, name 127 daemons/schedulerd/schedulerd_messages.c series[series_id].name, series_wrap, seq, value); name 146 daemons/schedulerd/schedulerd_messages.c series[series_id].name, seq, true); name 167 daemons/schedulerd/schedulerd_messages.c pcmk__write_series_sequence(PE_STATE_DIR, series[series_id].name, name 43 include/crm/cib.h char *get_shadow_file(const char *name); name 44 include/crm/cib.h cib_t *cib_shadow_new(const char *name); name 126 include/crm/cib/cib_types.h int (*signon) (cib_t *cib, const char *name, enum cib_conn_type type); name 129 include/crm/cib/cib_types.h int (*signon_raw) (cib_t *cib, const char *name, enum cib_conn_type type, name 124 include/crm/cib/internal.h const char *name; name 191 include/crm/cib/internal.h cib__client_triggers_refresh(const char *name) name 193 include/crm/cib/internal.h return !crm_is_daemon_name(name) name 194 include/crm/cib/internal.h && !pcmk__str_any_of(name, name 60 include/crm/cib/util.h const char *cib_pref(GHashTable * options, const char *name); name 157 include/crm/cluster.h guint reap_crm_member(uint32_t id, const char *name); name 69 include/crm/cluster/election_internal.h election_t *election_init(const char *name, const char *uname, guint period_ms, GSourceFunc cb); name 29 include/crm/common/acl_internal.h bool pcmk__check_acl(xmlNode *xml, const char *name, name 75 include/crm/common/alerts_internal.h void pcmk__add_alert_key(GHashTable *table, enum pcmk__alert_keys_e name, name 77 include/crm/common/alerts_internal.h void pcmk__add_alert_key_int(GHashTable *table, enum pcmk__alert_keys_e name, name 44 include/crm/common/attrd_internal.h const char *pcmk__node_attr_target(const char *name); name 101 include/crm/common/cmdline_internal.h void pcmk__add_arg_group(GOptionContext *context, const char *name, name 78 include/crm/common/internal.h int pcmk__scan_nvpair(const char *input, char **name, char **value); name 79 include/crm/common/internal.h char *pcmk__format_nvpair(const char *name, const char *value, name 91 include/crm/common/internal.h pcmk__xe_set_bool_attr(xmlNodePtr node, const char *name, bool value); name 104 include/crm/common/internal.h pcmk__xe_attr_is_true(const xmlNode *node, const char *name); name 122 include/crm/common/internal.h pcmk__xe_get_bool_attr(const xmlNode *node, const char *name, bool *value); name 127 include/crm/common/internal.h pid_t pcmk__procfs_pid_of(const char *name); name 161 include/crm/common/internal.h int pcmk__lock_pidfile(const char *filename, const char *name); name 236 include/crm/common/internal.h void pcmk__daemonize(const char *name, const char *pidfile); name 31 include/crm/common/io_internal.h void pcmk__sync_directory(const char *name); name 167 include/crm/common/ipc.h crm_ipc_t *crm_ipc_new(const char *name, size_t max_size); name 29 include/crm/common/ipc_attrd_internal.h const char *name; name 87 include/crm/common/ipc_attrd_internal.h int pcmk__attrd_api_delete(pcmk_ipc_api_t *api, const char *node, const char *name, name 122 include/crm/common/ipc_attrd_internal.h int pcmk__attrd_api_query(pcmk_ipc_api_t *api, const char *node, const char *name, name 163 include/crm/common/ipc_attrd_internal.h int pcmk__attrd_api_update(pcmk_ipc_api_t *api, const char *node, const char *name, name 96 include/crm/common/ipc_internal.h int pcmk__ipc_is_authentic_process_active(const char *name, uid_t refuid, name 176 include/crm/common/ipc_internal.h char *name; name 134 include/crm/common/logging.h # define CRM_TRACE_INIT_DATA(name) name 137 include/crm/common/logging.h # define CRM_TRACE_INIT_DATA(name) QB_LOG_INIT_DATA(name) name 174 include/crm/common/logging_internal.h void pcmk__cli_init_logging(const char *name, unsigned int verbosity); name 66 include/crm/common/mainloop.h mainloop_timer_t *mainloop_timer_add(const char *name, guint period_ms, bool repeat, GSourceFunc cb, void *userdata); name 94 include/crm/common/mainloop.h qb_ipcs_service_t *mainloop_add_ipc_server(const char *name, enum qb_ipc_type type, name 116 include/crm/common/mainloop.h qb_ipcs_service_t *mainloop_add_ipc_server_with_prio(const char *name, name 123 include/crm/common/mainloop.h mainloop_io_t *mainloop_add_ipc_client(const char *name, int priority, size_t max_size, name 148 include/crm/common/mainloop.h mainloop_io_t *mainloop_add_fd(const char *name, int priority, int fd, void *userdata, name 75 include/crm/common/messages_internal.h const char *pcmk__message_name(const char *name); name 30 include/crm/common/nvpair.h char *name; name 34 include/crm/common/nvpair.h GSList *pcmk_prepend_nvpair(GSList *nvpairs, const char *name, const char *value); name 41 include/crm/common/nvpair.h const char *name, const char *value); name 48 include/crm/common/nvpair.h const char *crm_xml_add(xmlNode *node, const char *name, const char *value); name 49 include/crm/common/nvpair.h const char *crm_xml_add_int(xmlNode *node, const char *name, int value); name 50 include/crm/common/nvpair.h const char *crm_xml_add_ll(xmlNode *node, const char *name, long long value); name 51 include/crm/common/nvpair.h const char *crm_xml_add_ms(xmlNode *node, const char *name, guint ms); name 56 include/crm/common/nvpair.h const char *crm_element_value(const xmlNode *data, const char *name); name 57 include/crm/common/nvpair.h int crm_element_value_int(const xmlNode *data, const char *name, int *dest); name 58 include/crm/common/nvpair.h int crm_element_value_ll(const xmlNode *data, const char *name, long long *dest); name 59 include/crm/common/nvpair.h int crm_element_value_ms(const xmlNode *data, const char *name, guint *dest); name 60 include/crm/common/nvpair.h int crm_element_value_epoch(const xmlNode *xml, const char *name, time_t *dest); name 63 include/crm/common/nvpair.h char *crm_element_value_copy(const xmlNode *data, const char *name); name 38 include/crm/common/options_internal.h const char *name; name 53 include/crm/common/options_internal.h int len, const char *name); name 55 include/crm/common/options_internal.h gchar *pcmk__format_option_metadata(const char *name, const char *desc_short, name 127 include/crm/common/output_internal.h const char *name; name 422 include/crm/common/output_internal.h void (*output_xml) (pcmk__output_t *out, const char *name, const char *buf); name 456 include/crm/common/output_internal.h void (*list_item) (pcmk__output_t *out, const char *name, const char *format, ...) name 602 include/crm/common/output_internal.h pcmk__register_format(GOptionGroup *group, const char *name, name 783 include/crm/common/output_internal.h pcmk__output_xml_create_parent(pcmk__output_t *out, const char *name, ...) name 807 include/crm/common/output_internal.h pcmk__output_create_xml_node(pcmk__output_t *out, const char *name, ...) name 820 include/crm/common/output_internal.h pcmk__output_create_xml_text_node(pcmk__output_t *out, const char *name, const char *content); name 906 include/crm/common/output_internal.h pcmk__html_add_header(const char *name, ...) name 303 include/crm/common/resources.h const char *name, pcmk_scheduler_t *scheduler); name 357 include/crm/common/results.h const char **name, const char **desc); name 109 include/crm/common/util.h bool crm_is_daemon_name(const char *name); name 111 include/crm/common/util.h int crm_user_lookup(const char *name, uid_t * uid, gid_t * gid); name 70 include/crm/common/util_compat.h int pcmk_scan_nvpair(const char *input, char **name, char **value); name 73 include/crm/common/util_compat.h char *pcmk_format_nvpair(const char *name, const char *value, name 77 include/crm/common/util_compat.h const char *crm_xml_replace(xmlNode *node, const char *name, const char *value); name 80 include/crm/common/util_compat.h char *pcmk_format_named_time(const char *name, time_t epoch_time); name 75 include/crm/common/xml.h void expand_plus_plus(xmlNode * target, const char *name, const char *value); name 85 include/crm/common/xml.h xmlNode *create_xml_node(xmlNode * parent, const char *name); name 95 include/crm/common/xml.h xmlNode *pcmk_create_xml_text_node(xmlNode * parent, const char *name, const char *content); name 157 include/crm/common/xml.h void xml_remove_prop(xmlNode * obj, const char *name); name 176 include/crm/common/xml.h } else if (strcmp((const char *) xml->name, "master") == 0) { name 179 include/crm/common/xml.h return (const char *) xml->name; name 232 include/crm/common/xml.h int get_schema_version(const char *name); name 248 include/crm/common/xml.h xmlNode *first_named_child(const xmlNode *parent, const char *name); name 37 include/crm/common/xml_compat.h int add_node_nocopy(xmlNode * parent, const char *name, xmlNode * child); name 62 include/crm/common/xml_compat.h crm_xml_add_boolean(xmlNode *node, const char *name, gboolean value) name 64 include/crm/common/xml_compat.h return crm_xml_add(node, name, (value? "true" : "false")); name 71 include/crm/common/xml_compat.h return (xml == NULL)? NULL : (const char *) xml->name; name 253 include/crm/common/xml_internal.h pcmk__xe_is(const xmlNode *xml, const char *name) name 255 include/crm/common/xml_internal.h return (xml != NULL) && (xml->name != NULL) && (name != NULL) name 256 include/crm/common/xml_internal.h && (strcmp((const char *) xml->name, name) == 0); name 202 include/crm/compatibility.h get_resource_type(const char *name) name 204 include/crm/compatibility.h if (safe_str_eq(name, XML_CIB_TAG_RESOURCE)) { name 207 include/crm/compatibility.h } else if (safe_str_eq(name, XML_CIB_TAG_GROUP)) { name 210 include/crm/compatibility.h } else if (safe_str_eq(name, XML_CIB_TAG_INCARNATION) name 211 include/crm/compatibility.h || safe_str_eq(name, PCMK_XE_PROMOTABLE_LEGACY)) { name 214 include/crm/compatibility.h } else if (safe_str_eq(name, XML_CIB_TAG_CONTAINER)) { name 110 include/crm/msg_xml_compat.h #define TYPE(x) (((x) == NULL)? NULL : (const char *) ((x)->name)) name 31 include/crm/pengine/common.h const char *pe_pref(GHashTable * options, const char *name); name 204 include/crm/pengine/internal.h void add_hash_param(GHashTable * hash, const char *name, const char *value); name 207 include/crm/pengine/internal.h const char *name, pcmk_scheduler_t *scheduler); name 246 include/crm/pengine/internal.h gchar *pcmk__native_output_string(const pcmk_resource_t *rsc, const char *name, name 332 include/crm/pengine/internal.h pcmk_action_t *get_pseudo_op(const char *name, pcmk_scheduler_t *scheduler); name 406 include/crm/pengine/internal.h const char *name); name 509 include/crm/pengine/internal.h void common_print(pcmk_resource_t *rsc, const char *pre_text, const char *name, name 512 include/crm/pengine/internal.h const char *name, const pcmk_node_t *node, name 515 include/crm/pengine/internal.h const char *name, const pcmk_node_t *node, name 552 include/crm/pengine/internal.h const char *name, name 556 include/crm/pengine/internal.h const char *pe_node_attribute_raw(const pcmk_node_t *node, const char *name); name 614 include/crm/pengine/internal.h xmlNode *pe__failed_probe_for_rsc(const pcmk_resource_t *rsc, const char *name); name 257 include/crm/services.h svc_action_t *resources_action_create(const char *name, const char *standard, name 272 include/crm/services.h gboolean services_action_kick(const char *name, const char *action, name 365 include/crm/services.h gboolean services_action_cancel(const char *name, const char *action, name 53 include/crm/services_compat.h svc_action_t *services_action_create(const char *name, const char *action, name 37 include/crm/services_internal.h svc_action_t *services__create_resource_action(const char *name, name 169 include/crm/stonith-ng.h int (*connect) (stonith_t *st, const char *name, int *stonith_fd); name 190 include/crm/stonith-ng.h int (*remove_device)(stonith_t *st, int options, const char *name); name 575 include/crm/stonith-ng.h int stonith_api_connect_retry(stonith_t *st, const char *name, name 403 include/pacemaker.h const char *name, unsigned int timeout, name 50 include/pcmki/pcmki_fence.h const char *name, unsigned int timeout, name 547 lib/cib/cib_attrs.c tag = (const char *) (result->name); name 551 lib/cib/cib_attrs.c tag = (const char *) (result->name); name 688 lib/cib/cib_attrs.c if (pcmk__str_eq((const char *)a_child->name, XML_CIB_TAG_NODE, name 491 lib/cib/cib_client.c char *name = crm_strdup_printf("shadow.%s", suffix); name 539 lib/cib/cib_client.c fullname = crm_strdup_printf("%s/%s", dir, name); name 541 lib/cib/cib_client.c free(name); name 411 lib/cib/cib_file.c cib_file_signon(cib_t *cib, const char *name, enum cib_conn_type type) name 424 lib/cib/cib_file.c private->filename, name); name 431 lib/cib/cib_file.c private->filename, name, private->id, pcmk_strerror(rc)); name 266 lib/cib/cib_native.c cib_native_signon_raw(cib_t *cib, const char *name, enum cib_conn_type type, name 321 lib/cib/cib_native.c crm_info("Could not connect to CIB manager for %s", name); name 327 lib/cib/cib_native.c cib_sync_call, NULL, name, &hello); name 360 lib/cib/cib_native.c crm_info("Successfully connected to CIB manager for %s", name); name 365 lib/cib/cib_native.c name, pcmk_strerror(rc)); name 371 lib/cib/cib_native.c cib_native_signon(cib_t *cib, const char *name, enum cib_conn_type type) name 373 lib/cib/cib_native.c return cib_native_signon_raw(cib, name, type, NULL); name 152 lib/cib/cib_ops.c g_hash_table_insert(operation_table, (gpointer) oper->name, name 194 lib/cib/cib_ops.c (const char *) obj_root->name); name 444 lib/cib/cib_ops.c crm_trace("No matching object to delete: %s=%s", child->name, ID(child)); name 449 lib/cib/cib_ops.c crm_trace("No matching object to delete: %s=%s", input->name, ID(input)); name 537 lib/cib/cib_ops.c object_name = (const char *) update->name; name 578 lib/cib/cib_ops.c replace_item, target->name); name 608 lib/cib/cib_ops.c crm_trace("Updating child <%s%s%s%s>", a_child->name, name 617 lib/cib/cib_ops.c a_child->name, name 647 lib/cib/cib_ops.c object_name = (const char *) new_obj->name; name 689 lib/cib/cib_ops.c (const char *) target->name); name 941 lib/cib/cib_ops.c (const char *) match->name); name 960 lib/cib/cib_ops.c parent->name, id, name 963 lib/cib/cib_ops.c new_path = crm_strdup_printf("/%s%s", parent->name, name 435 lib/cib/cib_remote.c cib_remote_signon(cib_t *cib, const char *name, enum cib_conn_type type) name 466 lib/cib/cib_remote.c NULL, name, &hello); name 477 lib/cib/cib_remote.c private->server, private->port, name); name 483 lib/cib/cib_remote.c private->server, private->port, name, pcmk_strerror(rc)); name 428 lib/cib/cib_utils.c top = create_xml_node(NULL, (const char *) scratch->name); name 909 lib/cib/cib_utils.c cib_pref(GHashTable * options, const char *name) name 912 lib/cib/cib_utils.c name); name 186 lib/cluster/cluster.c static char *name = NULL; name 188 lib/cluster/cluster.c if (name == NULL) { name 189 lib/cluster/cluster.c name = get_node_name(0); name 191 lib/cluster/cluster.c return name; name 206 lib/cluster/cluster.c char *name = NULL; name 212 lib/cluster/cluster.c name = pcmk__corosync_name(0, nodeid); name 220 lib/cluster/cluster.c if ((name == NULL) && (nodeid == 0)) { name 221 lib/cluster/cluster.c name = pcmk_hostname(); name 222 lib/cluster/cluster.c if (name == NULL) { name 232 lib/cluster/cluster.c if (name == NULL) { name 236 lib/cluster/cluster.c return name; name 68 lib/cluster/corosync.c node_name_is_valid(const char *key, const char *name) name 72 lib/cluster/corosync.c if (name == NULL) { name 76 lib/cluster/corosync.c } else if (sscanf(name, "%d.%d.%d.%d", &octet, &octet, &octet, &octet) == 4) { name 77 lib/cluster/corosync.c crm_trace("%s contains an IPv4 address (%s), ignoring", key, name); name 80 lib/cluster/corosync.c } else if (strstr(name, ":") != NULL) { name 81 lib/cluster/corosync.c crm_trace("%s contains an IPv6 address (%s), ignoring", key, name); name 84 lib/cluster/corosync.c crm_trace("'%s: %s' is valid", key, name); name 108 lib/cluster/corosync.c char *name = NULL; name 166 lib/cluster/corosync.c while (name == NULL && cmap_handle != 0) { name 181 lib/cluster/corosync.c nodeid, lpc, pcmk__s(name, "<null>")); name 182 lib/cluster/corosync.c if (name == NULL) { name 184 lib/cluster/corosync.c cmap_get_string(cmap_handle, key, &name); name 185 lib/cluster/corosync.c crm_trace("%s = %s", key, pcmk__s(name, "<null>")); name 188 lib/cluster/corosync.c if (name == NULL) { name 190 lib/cluster/corosync.c cmap_get_string(cmap_handle, key, &name); name 191 lib/cluster/corosync.c crm_trace("%s = %s", key, pcmk__s(name, "<null>")); name 193 lib/cluster/corosync.c if (!node_name_is_valid(key, name)) { name 194 lib/cluster/corosync.c free(name); name 195 lib/cluster/corosync.c name = NULL; name 210 lib/cluster/corosync.c if (name == NULL) { name 213 lib/cluster/corosync.c return name; name 314 lib/cluster/corosync.c char *name = pcmk__corosync_name(0, id); name 317 lib/cluster/corosync.c node = crm_get_peer(id, name); name 318 lib/cluster/corosync.c free(name); name 613 lib/cluster/corosync.c char *name = NULL; name 624 lib/cluster/corosync.c name = pcmk__corosync_name(cmap_handle, nodeid); name 625 lib/cluster/corosync.c if (name != NULL) { name 631 lib/cluster/corosync.c if(node && node->uname && strcasecmp(node->uname, name) == 0) { name 634 lib/cluster/corosync.c nodeid, name); name 641 lib/cluster/corosync.c if (nodeid > 0 || name != NULL) { name 642 lib/cluster/corosync.c crm_trace("Initializing node[%d] %u = %s", lpc, nodeid, name); name 643 lib/cluster/corosync.c crm_get_peer(nodeid, name); name 646 lib/cluster/corosync.c if (nodeid > 0 && name != NULL) { name 653 lib/cluster/corosync.c crm_xml_add(node, XML_ATTR_UNAME, name); name 657 lib/cluster/corosync.c free(name); name 28 lib/cluster/election.c char *name; // Descriptive name for this election name 54 lib/cluster/election.c crm_info("%s timed out, declaring local node as winner", e->name); name 89 lib/cluster/election.c election_init(const char *name, const char *uname, guint period_ms, GSourceFunc cb) name 110 lib/cluster/election.c e->name = name? crm_strdup_printf("election-%s", name) name 113 lib/cluster/election.c e->timeout = mainloop_timer_add(e->name, period_ms, FALSE, name 115 lib/cluster/election.c crm_trace("Created %s", e->name); name 132 lib/cluster/election.c crm_trace("Discarding %s (no-)vote from lost peer %s", e->name, uname); name 146 lib/cluster/election.c crm_trace("Resetting election %s", e->name); name 169 lib/cluster/election.c crm_trace("Destroying %s", e->name); name 172 lib/cluster/election.c free(e->name); name 304 lib/cluster/election.c e->name); name 322 lib/cluster/election.c crm_debug("Started %s round %d", e->name, e->count); name 353 lib/cluster/election.c crm_trace("%s check requested, but no votes received yet", e->name); name 372 lib/cluster/election.c crm_warn("Received too many votes in %s", e->name); name 387 lib/cluster/election.c crm_info("%s won by local node", e->name); name 393 lib/cluster/election.c e->name, num_members - voted_size, num_members); name 444 lib/cluster/election.c (e? e->name : "election")); name 456 lib/cluster/election.c (e? e->name : "election"), vote->op, vote->from); name 462 lib/cluster/election.c (e? e->name : "election"), vote->from, vote->op); name 479 lib/cluster/election.c e->name, vote->op, vote->from); name 583 lib/cluster/election.c e->name, vote.election_id, vote.op, vote.from, name 590 lib/cluster/election.c e->name, vote.election_id, vote.op, vote.from); name 638 lib/cluster/election.c e->name, e->election_wins, STORM_INTERVAL); name 661 lib/cluster/election.c e->name, vote.election_id, vote.op, e->count, vote.from, name 683 lib/cluster/election.c e->name, vote.election_id, vote.election_owner, vote.op, name 701 lib/cluster/election.c e->name, vote.election_id, vote.election_owner, vote.from, name 709 lib/cluster/election.c e->name, vote.election_id, vote.election_owner, vote.op, name 334 lib/cluster/membership.c reap_crm_member(uint32_t id, const char *name) name 345 lib/cluster/membership.c pcmk__str_update(&search.uname, name); name 71 lib/common/acl.c xml->name); name 82 lib/common/acl.c xml->name, acl->xpath); name 107 lib/common/acl.c xml->name, acl->xpath); name 132 lib/common/acl.c const char *tag = (const char *) child->name; name 152 lib/common/acl.c if (!strcmp(XML_ACL_TAG_ROLE, (const char *) role->name)) { name 158 lib/common/acl.c role_id, acl_entry->name); name 392 lib/common/acl.c xml->name, ID(xml)); name 399 lib/common/acl.c const char *prop_name = (const char *)xIter->name; name 406 lib/common/acl.c xmlUnsetProp(xml, tmp->name); name 528 lib/common/acl.c if (strcmp((const char *) prop->name, XML_ATTR_ID) != 0) { name 571 lib/common/acl.c xml->name, display_id(xml)); name 575 lib/common/acl.c xml->name, display_id(xml)); name 579 lib/common/acl.c xml->name, display_id(xml)); name 586 lib/common/acl.c xml->name, display_id(xml)); name 647 lib/common/acl.c pcmk__check_acl(xmlNode *xml, const char *name, enum xml_private_flags mode) name 663 lib/common/acl.c if (name != NULL) { name 664 lib/common/acl.c pcmk__g_strcat(xpath, "[@", name, "]", NULL); name 681 lib/common/acl.c if (name) { name 682 lib/common/acl.c xmlAttr *attr = xmlHasProp(xml, (pcmkXmlStr) name); name 699 lib/common/acl.c if (name != NULL) { name 700 lib/common/acl.c pcmk__g_strcat(xpath, "[@", name, "]", NULL); name 719 lib/common/acl.c if (name != NULL) { name 720 lib/common/acl.c pcmk__g_strcat(xpath, "[@", name, "]", NULL); name 323 lib/common/actions.c if (strncmp((const char *) a->name, CRM_META "_", name 327 lib/common/actions.c return pcmk__str_any_of((const char *) a->name, name 149 lib/common/alerts.c pcmk__add_alert_key(GHashTable *table, enum pcmk__alert_keys_e name, name 152 lib/common/alerts.c for (const char **key = pcmk__alert_keys[name]; *key; key++) { name 163 lib/common/alerts.c pcmk__add_alert_key_int(GHashTable *table, enum pcmk__alert_keys_e name, name 166 lib/common/alerts.c for (const char **key = pcmk__alert_keys[name]; *key; key++) { name 39 lib/common/attrs.c pcmk__node_attr_target(const char *name) name 41 lib/common/attrs.c if (name == NULL || pcmk__strcase_any_of(name, "auto", "localhost", NULL)) { name 49 lib/common/attrs.c name = host_physical; name 55 lib/common/attrs.c name = host_pcmk; name 63 lib/common/attrs.c return name; name 26 lib/common/cib.c const char *name; // Name of this CIB element name 116 lib/common/cib.c if (pcmk__str_eq(element_name, cib_sections[lpc].name, name 154 lib/common/cib.c if (pcmk__str_eq(element_name, cib_sections[lpc].name, name 132 lib/common/cmdline.c pcmk__add_arg_group(GOptionContext *context, const char *name, name 138 lib/common/cmdline.c group = g_option_group_new(name, header, desc, NULL, NULL); name 113 lib/common/crmcommon_private.h bool pcmk__xa_filterable(const char *name); name 234 lib/common/digest.c pcmk__xa_filterable(const char *name) name 245 lib/common/digest.c if (strcmp(name, filter[i]) == 0) { name 396 lib/common/io.c pcmk__sync_directory(const char *name) name 401 lib/common/io.c directory = opendir(name); name 403 lib/common/io.c crm_perror(LOG_ERR, "Could not open %s for syncing", name); name 409 lib/common/io.c crm_perror(LOG_ERR, "Could not obtain file descriptor for %s", name); name 414 lib/common/io.c crm_perror(LOG_ERR, "Could not sync %s", name); name 417 lib/common/io.c crm_perror(LOG_ERR, "Could not close %s after fsync", name); name 28 lib/common/ipc_attrd.c const char *name = NULL; name 31 lib/common/ipc_attrd.c name = crm_element_value(msg_data, PCMK__XA_ATTR_NAME); name 40 lib/common/ipc_attrd.c pair->name = name; name 71 lib/common/ipc_attrd.c if (pcmk__str_eq((const char *) reply->name, "ack", pcmk__str_none)) { name 257 lib/common/ipc_attrd.c pcmk__attrd_api_delete(pcmk_ipc_api_t *api, const char *node, const char *name, name 262 lib/common/ipc_attrd.c if (name == NULL) { name 276 lib/common/ipc_attrd.c return pcmk__attrd_api_update(api, node, name, NULL, NULL, NULL, NULL, options); name 321 lib/common/ipc_attrd.c pcmk__attrd_api_query(pcmk_ipc_api_t *api, const char *node, const char *name, name 328 lib/common/ipc_attrd.c if (name == NULL) { name 344 lib/common/ipc_attrd.c crm_xml_add(request, PCMK__XA_ATTR_NAME, name); name 353 lib/common/ipc_attrd.c name, node, pcmk_rc_str(rc), rc); name 356 lib/common/ipc_attrd.c name, pcmk_rc_str(rc), rc); name 416 lib/common/ipc_attrd.c populate_update_op(xmlNode *op, const char *node, const char *name, const char *value, name 420 lib/common/ipc_attrd.c crm_xml_add(op, PCMK__XA_ATTR_PATTERN, name); name 422 lib/common/ipc_attrd.c crm_xml_add(op, PCMK__XA_ATTR_NAME, name); name 450 lib/common/ipc_attrd.c pcmk__attrd_api_update(pcmk_ipc_api_t *api, const char *node, const char *name, name 459 lib/common/ipc_attrd.c if (name == NULL) { name 470 lib/common/ipc_attrd.c populate_update_op(request, node, name, value, dampen, set, options); name 491 lib/common/ipc_attrd.c name, display_host, pcmk_rc_str(rc), rc); name 555 lib/common/ipc_attrd.c populate_update_op(child, pair->node, pair->name, pair->value, dampen, name 558 lib/common/ipc_attrd.c rc = pcmk__attrd_api_update(api, pair->node, pair->name, pair->value, name 849 lib/common/ipc_client.c crm_ipc_new(const char *name, size_t max_size) name 859 lib/common/ipc_client.c client->server_name = strdup(name); name 862 lib/common/ipc_client.c name, strerror(errno)); name 870 lib/common/ipc_client.c name, strerror(errno)); name 1596 lib/common/ipc_client.c pcmk__ipc_is_authentic_process_active(const char *name, uid_t refuid, name 1610 lib/common/ipc_client.c c = qb_ipcc_connect_async(name, 0, name 1613 lib/common/ipc_client.c c = qb_ipcc_connect(name, 0); name 1616 lib/common/ipc_client.c crm_info("Could not connect to %s IPC: %s", name, strerror(errno)); name 1626 lib/common/ipc_client.c crm_info("Could not connect to %s IPC: %s", name, name 1640 lib/common/ipc_client.c name, pcmk_rc_str(rc), rc); name 1649 lib/common/ipc_client.c name, (long long) PCMK__SPECIAL_PID_AS_0(found_pid), name 1658 lib/common/ipc_client.c CRM_XS " rc=%d", name, pcmk_rc_str(rc), rc); name 1668 lib/common/ipc_client.c && strncmp(last_asked_name, name, sizeof(last_asked_name))) { name 1673 lib/common/ipc_client.c name, (long long) refuid, (long long) refgid); name 1678 lib/common/ipc_client.c name, (long long) found_uid, (long long) found_gid, name 1681 lib/common/ipc_client.c memccpy(last_asked_name, name, '\0', sizeof(last_asked_name)); name 204 lib/common/ipc_pacemakerd.c if (pcmk__str_eq((const char *) reply->name, "ack", pcmk__str_none)) { name 87 lib/common/ipc_schedulerd.c if (pcmk__str_eq((const char *) reply->name, "ack", pcmk__str_casei)) { name 103 lib/common/ipc_server.c } else if (c->name != NULL) { name 104 lib/common/ipc_server.c return c->name; name 328 lib/common/ipc_server.c free(c->name); name 999 lib/common/ipc_server.c crm_is_daemon_name(const char *name) name 1001 lib/common/ipc_server.c return pcmk__str_any_of(pcmk__message_name(name), name 736 lib/common/logging.c crm_priority2int(const char *name) name 739 lib/common/logging.c const char *name; name 755 lib/common/logging.c for (lpc = 0; name != NULL && p_names[lpc].name != NULL; lpc++) { name 756 lib/common/logging.c if (pcmk__str_eq(p_names[lpc].name, name, pcmk__str_none)) { name 1137 lib/common/logging.c pcmk__cli_init_logging(const char *name, unsigned int verbosity) name 1139 lib/common/logging.c crm_log_init(name, LOG_ERR, FALSE, FALSE, 0, NULL, TRUE); name 56 lib/common/mainloop.c char *name; name 640 lib/common/mainloop.c mainloop_add_ipc_server(const char *name, enum qb_ipc_type type, name 643 lib/common/mainloop.c return mainloop_add_ipc_server_with_prio(name, type, callbacks, QB_LOOP_MED); name 647 lib/common/mainloop.c mainloop_add_ipc_server_with_prio(const char *name, enum qb_ipc_type type, name 658 lib/common/mainloop.c server = qb_ipcs_create(name, 0, pick_ipc_type(type), callbacks); name 662 lib/common/mainloop.c name, pcmk_rc_str(errno), errno); name 676 lib/common/mainloop.c crm_err("Could not start %s IPC server: %s (%d)", name, pcmk_strerror(rc), rc); name 692 lib/common/mainloop.c char *name; name 733 lib/common/mainloop.c client->name, pcmk_strerror(read_rc), read_rc); name 740 lib/common/mainloop.c read_rc, client->name, (int) condition); name 742 lib/common/mainloop.c crm_trace("Connection to %s no longer required", client->name); name 751 lib/common/mainloop.c client->name, (int) condition); name 754 lib/common/mainloop.c crm_trace("Connection to %s no longer required", client->name); name 763 lib/common/mainloop.c client->name, client, condition); name 768 lib/common/mainloop.c client->name, client, condition); name 812 lib/common/mainloop.c char *c_name = strdup(client->name); name 839 lib/common/mainloop.c free(client->name); client->name = NULL; name 919 lib/common/mainloop.c mainloop_add_ipc_client(const char *name, int priority, size_t max_size, name 922 lib/common/mainloop.c crm_ipc_t *ipc = crm_ipc_new(name, max_size); name 930 lib/common/mainloop.c name, pcmk_rc_str(rc)); name 959 lib/common/mainloop.c mainloop_add_fd(const char *name, int priority, int fd, void *userdata, name 969 lib/common/mainloop.c client->name = strdup(name); name 994 lib/common/mainloop.c crm_trace("Added connection %d for %s[%p].%d", client->source, client->name, client, fd); name 1006 lib/common/mainloop.c crm_trace("Removing client %s[%p]", client->name, client); name 1307 lib/common/mainloop.c crm_trace("Invoking callbacks for timer %s", t->name); name 1310 lib/common/mainloop.c crm_trace("Timer %s complete", t->name); name 1337 lib/common/mainloop.c crm_trace("Starting timer %s", t->name); name 1346 lib/common/mainloop.c crm_trace("Stopping timer %s", t->name); name 1369 lib/common/mainloop.c mainloop_timer_add(const char *name, guint period_ms, bool repeat, GSourceFunc cb, void *userdata) name 1374 lib/common/mainloop.c if(name) { name 1375 lib/common/mainloop.c t->name = crm_strdup_printf("%s-%u-%d", name, period_ms, repeat); name 1377 lib/common/mainloop.c t->name = crm_strdup_printf("%p-%u-%d", t, period_ms, repeat); name 1384 lib/common/mainloop.c crm_trace("Created timer %s with %p %p", t->name, userdata, t->userdata); name 1393 lib/common/mainloop.c crm_trace("Destroying timer %s", t->name); name 1395 lib/common/mainloop.c free(t->name); name 180 lib/common/messages.c pcmk__message_name(const char *name) name 182 lib/common/messages.c if (name == NULL) { name 185 lib/common/messages.c } else if (!strcmp(name, "pacemaker-attrd")) { name 188 lib/common/messages.c } else if (!strcmp(name, "pacemaker-based")) { name 191 lib/common/messages.c } else if (!strcmp(name, "pacemaker-controld")) { name 194 lib/common/messages.c } else if (!strcmp(name, "pacemaker-execd")) { name 197 lib/common/messages.c } else if (!strcmp(name, "pacemaker-fenced")) { name 200 lib/common/messages.c } else if (!strcmp(name, "pacemaker-schedulerd")) { name 204 lib/common/messages.c return name; name 96 lib/common/mock.c __wrap_getenv(const char *name) name 99 lib/common/mock.c return __real_getenv(name); name 101 lib/common/mock.c check_expected_ptr(name); name 123 lib/common/mock.c __wrap_setenv(const char *name, const char *value, int overwrite) name 126 lib/common/mock.c return __real_setenv(name, value, overwrite); name 128 lib/common/mock.c check_expected_ptr(name); name 151 lib/common/mock.c __wrap_unsetenv(const char *name) name 154 lib/common/mock.c return __real_unsetenv(name); name 156 lib/common/mock.c check_expected_ptr(name); name 332 lib/common/mock.c __wrap_getpwnam_r(const char *name, struct passwd *pwd, char *buf, name 338 lib/common/mock.c check_expected_ptr(name); name 347 lib/common/mock.c return __real_getpwnam_r(name, pwd, buf, buflen, result); name 38 lib/common/mock_private.h char *__real_getenv(const char *name); name 39 lib/common/mock_private.h char *__wrap_getenv(const char *name); name 42 lib/common/mock_private.h int __real_setenv(const char *name, const char *value, int overwrite); name 43 lib/common/mock_private.h int __wrap_setenv(const char *name, const char *value, int overwrite); name 46 lib/common/mock_private.h int __real_unsetenv(const char *name); name 47 lib/common/mock_private.h int __wrap_unsetenv(const char *name); name 62 lib/common/mock_private.h int __real_getpwnam_r(const char *name, struct passwd *pwd, name 64 lib/common/mock_private.h int __wrap_getpwnam_r(const char *name, struct passwd *pwd, name 47 lib/common/nvpair.c pcmk__new_nvpair(const char *name, const char *value) name 51 lib/common/nvpair.c CRM_ASSERT(name); name 56 lib/common/nvpair.c pcmk__str_update(&nvpair->name, name); name 73 lib/common/nvpair.c free(nvpair->name); name 91 lib/common/nvpair.c pcmk_prepend_nvpair(GSList *nvpairs, const char *name, const char *value) name 93 lib/common/nvpair.c return g_slist_prepend(nvpairs, pcmk__new_nvpair(name, value)); name 124 lib/common/nvpair.c CRM_ASSERT(pair_a->name != NULL); name 127 lib/common/nvpair.c CRM_ASSERT(pair_b->name != NULL); name 129 lib/common/nvpair.c rc = strcmp(pair_a->name, pair_b->name); name 169 lib/common/nvpair.c (const char *) iter->name, name 191 lib/common/nvpair.c crm_xml_add(parent, pair->name, pair->value); name 221 lib/common/nvpair.c pcmk__scan_nvpair(const char *input, char **name, char **value) name 224 lib/common/nvpair.c *name = NULL; name 226 lib/common/nvpair.c if (sscanf(input, "%m[^=]=%m[^\n]", name, value) <= 0) { name 231 lib/common/nvpair.c *name = NULL; name 239 lib/common/nvpair.c *name = strndup(input, sep-input); name 241 lib/common/nvpair.c if (*name == NULL) { name 257 lib/common/nvpair.c if (*name != NULL && *value != NULL) { name 259 lib/common/nvpair.c } else if (*name != NULL || *value != NULL) { name 284 lib/common/nvpair.c pcmk__format_nvpair(const char *name, const char *value, const char *units) name 286 lib/common/nvpair.c return crm_strdup_printf("%s=\"%s%s\"", name, value, units ? units : ""); name 302 lib/common/nvpair.c crm_xml_add(xmlNode *node, const char *name, const char *value) name 308 lib/common/nvpair.c CRM_CHECK(name != NULL, return NULL); name 315 lib/common/nvpair.c const char *old = crm_element_value(node, name); name 322 lib/common/nvpair.c if (dirty && (pcmk__check_acl(node, name, pcmk__xf_acl_create) == FALSE)) { name 323 lib/common/nvpair.c crm_trace("Cannot add %s=%s to %s", name, value, node->name); name 327 lib/common/nvpair.c attr = xmlSetProp(node, (pcmkXmlStr) name, (pcmkXmlStr) value); name 349 lib/common/nvpair.c crm_xml_add_int(xmlNode *node, const char *name, int value) name 352 lib/common/nvpair.c const char *added = crm_xml_add(node, name, number); name 371 lib/common/nvpair.c crm_xml_add_ms(xmlNode *node, const char *name, guint ms) name 374 lib/common/nvpair.c const char *added = crm_xml_add(node, name, number); name 399 lib/common/nvpair.c crm_xml_add_ll(xmlNode *xml, const char *name, long long value) name 406 lib/common/nvpair.c return crm_xml_add(xml, name, s); name 447 lib/common/nvpair.c crm_element_value(const xmlNode *data, const char *name) name 452 lib/common/nvpair.c crm_err("Couldn't find %s in NULL", name ? name : "<null>"); name 456 lib/common/nvpair.c } else if (name == NULL) { name 457 lib/common/nvpair.c crm_err("Couldn't find NULL in %s", data->name); name 464 lib/common/nvpair.c attr = xmlHasProp((xmlNode *) data, (pcmkXmlStr) name); name 483 lib/common/nvpair.c crm_element_value_int(const xmlNode *data, const char *name, int *dest) name 488 lib/common/nvpair.c value = crm_element_value(data, name); name 515 lib/common/nvpair.c crm_element_value_ll(const xmlNode *data, const char *name, long long *dest) name 520 lib/common/nvpair.c value = crm_element_value(data, name); name 540 lib/common/nvpair.c crm_element_value_ms(const xmlNode *data, const char *name, guint *dest) name 547 lib/common/nvpair.c value = crm_element_value(data, name); name 568 lib/common/nvpair.c crm_element_value_epoch(const xmlNode *xml, const char *name, time_t *dest) name 572 lib/common/nvpair.c if (crm_element_value_ll(xml, name, &value_ll) < 0) { name 644 lib/common/nvpair.c crm_element_value_copy(const xmlNode *data, const char *name) name 648 lib/common/nvpair.c pcmk__str_update(&value_copy, crm_element_value(data, name)); name 668 lib/common/nvpair.c const char *name = key; name 673 lib/common/nvpair.c if (isdigit(name[0])) { name 676 lib/common/nvpair.c crm_xml_add(tmp, XML_NVPAIR_ATTR_NAME, name); name 679 lib/common/nvpair.c } else if (crm_element_value(xml_node, name) == NULL) { name 680 lib/common/nvpair.c crm_xml_add(xml_node, name, s_value); name 681 lib/common/nvpair.c crm_trace("dumped: %s=%s", name, s_value); name 684 lib/common/nvpair.c crm_trace("duplicate: %s=%s", name, s_value); name 702 lib/common/nvpair.c const char *name = key; name 707 lib/common/nvpair.c if (crm_element_value(xml_node, name) == NULL) { name 708 lib/common/nvpair.c crm_xml_add(xml_node, name, s_value); name 711 lib/common/nvpair.c crm_trace("duplicate: %s=%s", name, s_value); name 763 lib/common/nvpair.c crm_create_nvpair_xml(xmlNode *parent, const char *id, const char *name, name 771 lib/common/nvpair.c CRM_CHECK(id || name, return NULL); name 782 lib/common/nvpair.c (parent_id? parent_id : XML_CIB_TAG_NVPAIR), name); name 784 lib/common/nvpair.c crm_xml_add(nvp, XML_NVPAIR_ATTR_NAME, name); name 803 lib/common/nvpair.c const char *name = key; name 807 lib/common/nvpair.c crm_create_nvpair_xml(xml_node, name, name, s_value); name 808 lib/common/nvpair.c crm_trace("dumped: name=%s value=%s", name, s_value); name 837 lib/common/nvpair.c crm_trace("No attributes in %s", parent->name); name 846 lib/common/nvpair.c const char *p_name = (const char *)pIter->name; name 857 lib/common/nvpair.c if (strcmp((const char *)child->name, XML_TAG_PARAM) == 0) { name 872 lib/common/nvpair.c pcmk__xe_set_bool_attr(xmlNodePtr node, const char *name, bool value) name 874 lib/common/nvpair.c crm_xml_add(node, name, value ? XML_BOOLEAN_TRUE : XML_BOOLEAN_FALSE); name 878 lib/common/nvpair.c pcmk__xe_get_bool_attr(const xmlNode *node, const char *name, bool *value) name 885 lib/common/nvpair.c } else if (name == NULL || value == NULL) { name 889 lib/common/nvpair.c xml_value = crm_element_value(node, name); name 905 lib/common/nvpair.c pcmk__xe_attr_is_true(const xmlNode *node, const char *name) name 910 lib/common/nvpair.c rc = pcmk__xe_get_bool_attr(node, name, &value); name 920 lib/common/nvpair.c pcmk_scan_nvpair(const char *input, char **name, char **value) name 922 lib/common/nvpair.c return pcmk__scan_nvpair(input, name, value); name 926 lib/common/nvpair.c pcmk_format_nvpair(const char *name, const char *value, name 929 lib/common/nvpair.c return pcmk__format_nvpair(name, value, units); name 933 lib/common/nvpair.c pcmk_format_named_time(const char *name, time_t epoch_time) name 936 lib/common/nvpair.c char *result = crm_strdup_printf("%s=\"%s\"", name, pcmk__s(now_s, "")); name 943 lib/common/nvpair.c crm_xml_replace(xmlNode *node, const char *name, const char *value) name 950 lib/common/nvpair.c CRM_CHECK(name != NULL && name[0] != 0, return NULL); name 952 lib/common/nvpair.c old_value = crm_element_value(node, name); name 957 lib/common/nvpair.c if (pcmk__check_acl(node, name, pcmk__xf_acl_write) == FALSE) { name 959 lib/common/nvpair.c crm_trace("Cannot replace %s=%s to %s", name, value, node->name); name 963 lib/common/nvpair.c xml_remove_prop(node, name); name 973 lib/common/nvpair.c attr = xmlSetProp(node, (pcmkXmlStr) name, (pcmkXmlStr) value); name 276 lib/common/options.c const char *name, const char *old_name, name 282 lib/common/options.c CRM_ASSERT(name != NULL); name 285 lib/common/options.c value = g_hash_table_lookup(options, name); name 293 lib/common/options.c old_name, name); name 297 lib/common/options.c g_hash_table_insert(options, strdup(name), new_value); name 304 lib/common/options.c "because '%s' is invalid", name, value); name 318 lib/common/options.c name); name 324 lib/common/options.c crm_err("Bug: default value for cluster option '%s' is invalid", name); name 329 lib/common/options.c value, name); name 332 lib/common/options.c g_hash_table_insert(options, strdup(name), new_value); name 352 lib/common/options.c int len, const char *name) name 357 lib/common/options.c if (pcmk__str_eq(name, option_list[lpc].name, pcmk__str_casei)) { name 359 lib/common/options.c option_list[lpc].name, name 365 lib/common/options.c CRM_CHECK(FALSE, crm_err("Bug: looking for unknown option '%s'", name)); name 426 lib/common/options.c pcmk__format_option_metadata(const char *name, const char *desc_short, name 435 lib/common/options.c "<resource-agent name=\"", name, "\" " name 445 lib/common/options.c const char *opt_name = option_list[lpc].name; name 506 lib/common/options.c option_list[lpc].name, name 126 lib/common/output.c pcmk__register_format(GOptionGroup *group, const char *name, name 130 lib/common/output.c CRM_ASSERT(create != NULL && !pcmk__str_empty(name)); name 140 lib/common/output.c g_hash_table_insert(formatters, strdup(name), create); name 151 lib/common/output.c for (const pcmk__supported_format_t *entry = formats; entry->name != NULL; name 153 lib/common/output.c pcmk__register_format(group, entry->name, entry->create, entry->options); name 281 lib/common/output_html.c html_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 335 lib/common/output_html.c html_list_item(pcmk__output_t *out, const char *name, const char *format, ...) { name 351 lib/common/output_html.c if (name != NULL) { name 352 lib/common/output_html.c crm_xml_add(item_node, "class", name); name 455 lib/common/output_html.c pcmk__html_add_header(const char *name, ...) { name 459 lib/common/output_html.c va_start(ap, name); name 461 lib/common/output_html.c header_node = xmlNewDocRawNode(NULL, NULL, (pcmkXmlStr) name, NULL); name 161 lib/common/output_log.c log_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 168 lib/common/output_log.c node = create_xml_node(NULL, name); name 170 lib/common/output_log.c do_crm_log_xml(priv->log_level, name, node); name 203 lib/common/output_log.c log_list_item(pcmk__output_t *out, const char *name, const char *format, ...) { name 228 lib/common/output_log.c if ((name != NULL) && (strcmp(name, "") != 0)) { name 230 lib/common/output_log.c logger(priv, "%s: %s: %s", prefix, name, buffer); name 232 lib/common/output_log.c logger(priv, "%s: %s", name, buffer); name 68 lib/common/output_none.c none_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 177 lib/common/output_text.c text_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 283 lib/common/output_xml.c xml_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 289 lib/common/output_xml.c parent = pcmk__output_create_xml_node(out, name, NULL); name 302 lib/common/output_xml.c char *name = NULL; name 316 lib/common/output_xml.c name = g_strdup(s->to); name 322 lib/common/output_xml.c if (name == NULL) { name 323 lib/common/output_xml.c name = g_ascii_strdown(buf, -1); name 327 lib/common/output_xml.c pcmk__output_xml_create_parent(out, name, NULL); name 330 lib/common/output_xml.c "name", name, name 334 lib/common/output_xml.c g_free(name); name 340 lib/common/output_xml.c xml_list_item(pcmk__output_t *out, const char *name, const char *format, ...) { name 355 lib/common/output_xml.c if (name != NULL) { name 356 lib/common/output_xml.c crm_xml_add(item_node, "name", name); name 442 lib/common/output_xml.c pcmk__output_xml_create_parent(pcmk__output_t *out, const char *name, ...) { name 449 lib/common/output_xml.c node = pcmk__output_create_xml_node(out, name, NULL); name 451 lib/common/output_xml.c va_start(args, name); name 478 lib/common/output_xml.c pcmk__output_create_xml_node(pcmk__output_t *out, const char *name, ...) { name 488 lib/common/output_xml.c node = create_xml_node(g_queue_peek_tail(priv->parent_q), name); name 489 lib/common/output_xml.c va_start(args, name); name 497 lib/common/output_xml.c pcmk__output_create_xml_text_node(pcmk__output_t *out, const char *name, const char *content) { name 503 lib/common/output_xml.c node = pcmk__output_create_xml_node(out, name, NULL); name 97 lib/common/patchset.c crm_xml_add(attr, XML_NVPAIR_ATTR_NAME, (const char *)pIter->name); name 113 lib/common/patchset.c result = create_xml_node(change, (const char *)xml->name); name 119 lib/common/patchset.c value = crm_element_value(xml, (const char *) pIter->name); name 120 lib/common/patchset.c crm_xml_add(result, (const char *)pIter->name, value); name 136 lib/common/patchset.c xml->name, ID(xml), pcmk__xml_position(xml, pcmk__xf_skip)); name 243 lib/common/patchset.c xmlSetProp(cib, a->name, (pcmkXmlStr) p_value); name 419 lib/common/patchset.c return strcmp((const char *) attr->name, XML_ATTR_ID) != 0; name 442 lib/common/patchset.c CRM_CHECK(pcmk__xe_is(target, (const char *) patch->name), return); name 450 lib/common/patchset.c target->name, id); name 480 lib/common/patchset.c const char *name = NULL; name 490 lib/common/patchset.c name = (const char *) patch->name; name 495 lib/common/patchset.c crm_trace("We are the root of the addition: %s.id=%s", name, id); name 501 lib/common/patchset.c crm_err("Could not locate: %s.id=%s", name, id); name 509 lib/common/patchset.c CRM_CHECK(pcmk__xe_is(target, name), return); name 514 lib/common/patchset.c const char *p_name = (const char *) xIter->name; name 752 lib/common/patchset.c first_matching_xml_child(const xmlNode *parent, const char *name, name 759 lib/common/patchset.c if (strcmp((const char *) cIter->name, name) != 0) { name 930 lib/common/patchset.c crm_trace("Processing %s %s", change->name, op); name 982 lib/common/patchset.c const char *name = (const char *) pIter->name; name 985 lib/common/patchset.c crm_xml_add(match, name, value); name 1029 lib/common/patchset.c crm_trace("Adding %s at position %d", child->name, position); name 1034 lib/common/patchset.c child->name, position); name 1039 lib/common/patchset.c child->name, position); name 1066 lib/common/patchset.c match->name, position, name 1081 lib/common/patchset.c match->name, position); name 1086 lib/common/patchset.c match->name, ID(match), name 1245 lib/common/patchset.c const char *name = NULL; name 1262 lib/common/patchset.c name = (const char *) left->name; name 1267 lib/common/patchset.c name, id); name 1275 lib/common/patchset.c CRM_CHECK(name != NULL, return NULL); name 1276 lib/common/patchset.c CRM_CHECK(pcmk__xe_is(left, (const char *) right->name), return NULL); name 1281 lib/common/patchset.c crm_trace("We are the root of the deletion: %s.id=%s", name, id); name 1287 lib/common/patchset.c diff = create_xml_node(parent, name); name 1310 lib/common/patchset.c const char *p_name = (const char *)pIter->name; name 1323 lib/common/patchset.c const char *prop_name = (const char *) xIter->name; name 1351 lib/common/patchset.c const char *p_name = (const char *) pIter->name; name 1378 lib/common/patchset.c "<%s " XML_ATTR_ID "=%s>", prop_name, name, id); name 1381 lib/common/patchset.c const char *p_name = (const char *) pIter->name; name 1392 lib/common/patchset.c prop_name, left_value, right_val, name, id); name 244 lib/common/patchset_display.c const char *name = crm_element_value(child, "name"); name 255 lib/common/patchset_display.c pcmk__g_strcat(buffer_set, name, "=", value, NULL); name 259 lib/common/patchset_display.c g_string_append(buffer_unset, name); name 214 lib/common/pid.c pcmk__lock_pidfile(const char *filename, const char *name) name 221 lib/common/pid.c rc = pcmk__pidfile_matches(filename, 0, name, NULL); name 241 lib/common/pid.c rc = pcmk__pidfile_matches(filename, mypid, name, NULL); name 40 lib/common/procfs.c pcmk__procfs_process_info(const struct dirent *entry, char *name, pid_t *pid) name 82 lib/common/procfs.c if (name != NULL) { name 88 lib/common/procfs.c if (fscanf(file, "Name:\t%15[^\n]", name) != 1) { name 92 lib/common/procfs.c name[15] = 0; name 111 lib/common/procfs.c pcmk__procfs_pid_of(const char *name) name 126 lib/common/procfs.c && pcmk__str_eq(entry_name, name, pcmk__str_casei) name 129 lib/common/procfs.c crm_info("Found %s active as process %lld", name, (long long) pid); name 44 lib/common/results.c pcmk_result_get_strings(int code, enum pcmk_result_type type, const char **name, name 67 lib/common/results.c if (name != NULL) { name 68 lib/common/results.c *name = code_name; name 161 lib/common/results.c const char *name; name 344 lib/common/results.c return pcmk__rcs[pcmk_rc_error - rc].name; name 53 lib/common/schemas.c char *name; name 180 lib/common/schemas.c const char *name, const char *transform, name 202 lib/common/schemas.c known_schemas[last].name = schema_strdup_printf("pacemaker-", *version, ""); name 204 lib/common/schemas.c CRM_ASSERT(name); name 205 lib/common/schemas.c schema_scanf(name, "%*[^-]-", known_schemas[last].version, ""); name 206 lib/common/schemas.c known_schemas[last].name = strdup(name); name 223 lib/common/schemas.c last, known_schemas[last].name); name 227 lib/common/schemas.c last, known_schemas[last].name, name 233 lib/common/schemas.c last, known_schemas[last].name, name 551 lib/common/schemas.c free(known_schemas[lpc].name); name 578 lib/common/schemas.c if (pcmk__str_eq(schema->name, "pacemaker-next", pcmk__str_none)) { name 584 lib/common/schemas.c schema->name); name 697 lib/common/schemas.c known_schemas[lpc].name); name 698 lib/common/schemas.c crm_info("XML validated against %s", known_schemas[lpc].name); name 915 lib/common/schemas.c schema->name, schema->transform_enter); name 928 lib/common/schemas.c schema->name, schema->transform); name 943 lib/common/schemas.c schema->name, transform_leave); name 963 lib/common/schemas.c return known_schemas[version].name; name 967 lib/common/schemas.c get_schema_version(const char *name) name 971 lib/common/schemas.c if (name == NULL) { name 972 lib/common/schemas.c name = PCMK__VALUE_NONE; name 975 lib/common/schemas.c if (pcmk__str_eq(name, known_schemas[lpc].name, pcmk__str_casei)) { name 1027 lib/common/schemas.c known_schemas[lpc].name ? known_schemas[lpc].name : "<unset>", name 1033 lib/common/schemas.c known_schemas[lpc].name); name 1037 lib/common/schemas.c known_schemas[lpc].name ? known_schemas[lpc].name : "<unset>"); name 1048 lib/common/schemas.c known_schemas[next].name); name 1064 lib/common/schemas.c crm_trace("Stopping at %s", known_schemas[lpc].name); name 1069 lib/common/schemas.c known_schemas[lpc].name, lpc, next, max); name 1080 lib/common/schemas.c known_schemas[lpc].name, known_schemas[next].name); name 1086 lib/common/schemas.c known_schemas[lpc].name, known_schemas[next].name, name 1124 lib/common/schemas.c value ? value : "<none>", known_schemas[*best].name); name 1125 lib/common/schemas.c crm_xml_add(xml, XML_ATTR_VALIDATION, known_schemas[*best].name); name 23 lib/common/tests/io/pcmk__get_tmpdir_test.c expect_string(__wrap_getenv, name, "TMPDIR"); name 28 lib/common/tests/io/pcmk__get_tmpdir_test.c expect_string(__wrap_getenv, name, "TMPDIR"); name 33 lib/common/tests/io/pcmk__get_tmpdir_test.c expect_string(__wrap_getenv, name, "TMPDIR"); name 48 lib/common/tests/io/pcmk__get_tmpdir_test.c expect_string(__wrap_getenv, name, "TMPDIR"); name 53 lib/common/tests/io/pcmk__get_tmpdir_test.c expect_string(__wrap_getenv, name, "TMPDIR"); name 58 lib/common/tests/io/pcmk__get_tmpdir_test.c expect_string(__wrap_getenv, name, "TMPDIR"); name 29 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 33 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 46 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 50 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 63 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 67 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 71 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 75 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 89 lib/common/tests/options/pcmk__env_option_enabled_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 74 lib/common/tests/options/pcmk__env_option_test.c expect_string(__wrap_getenv, name, buf); name 87 lib/common/tests/options/pcmk__env_option_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 90 lib/common/tests/options/pcmk__env_option_test.c expect_string(__wrap_getenv, name, "HA_env_var"); name 104 lib/common/tests/options/pcmk__env_option_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 117 lib/common/tests/options/pcmk__env_option_test.c expect_string(__wrap_getenv, name, "PCMK_env_var"); name 120 lib/common/tests/options/pcmk__env_option_test.c expect_string(__wrap_getenv, name, "HA_env_var"); name 86 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_setenv, name, buf); name 97 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_unsetenv, name, buf); name 110 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_setenv, name, "PCMK_env_var"); name 114 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_setenv, name, "HA_env_var"); name 121 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_setenv, name, "PCMK_env_var"); name 125 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_setenv, name, "HA_env_var"); name 140 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_unsetenv, name, "PCMK_env_var"); name 142 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_unsetenv, name, "HA_env_var"); name 155 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_setenv, name, "PCMK_env_var"); name 166 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_unsetenv, name, "PCMK_env_var"); name 168 lib/common/tests/options/pcmk__set_env_option_test.c expect_string(__wrap_unsetenv, name, "HA_env_var"); name 44 lib/common/tests/utils/crm_user_lookup_test.c expect_string(__wrap_getpwnam_r, name, "hauser"); name 66 lib/common/tests/utils/crm_user_lookup_test.c expect_string(__wrap_getpwnam_r, name, "hauser"); name 95 lib/common/tests/utils/crm_user_lookup_test.c expect_string(__wrap_getpwnam_r, name, "hauser"); name 108 lib/common/tests/utils/crm_user_lookup_test.c expect_string(__wrap_getpwnam_r, name, "hauser"); name 29 lib/common/tests/utils/pcmk_daemon_user_test.c expect_string(__wrap_getpwnam_r, name, "hacluster"); name 58 lib/common/tests/utils/pcmk_daemon_user_test.c expect_string(__wrap_getpwnam_r, name, "hacluster"); name 17 lib/common/tests/xml/pcmk__xe_foreach_child_test.c assert_string_equal((char *) userdata, (const char *) xml->name); name 143 lib/common/tests/xml/pcmk__xe_foreach_child_test.c assert_true(pcmk__str_any_of((const char *) xml->name, name 86 lib/common/utils.c crm_user_lookup(const char *name, uid_t * uid, gid_t * gid) name 98 lib/common/utils.c rc = getpwnam_r(name, &pwd, buffer, PCMK__PW_BUFFER_LEN, &pwentry); name 106 lib/common/utils.c crm_trace("User %s has uid=%d gid=%d", name, pwentry->pw_uid, pwentry->pw_gid); name 110 lib/common/utils.c crm_info("User %s lookup: %s", name, pcmk_strerror(rc)); name 421 lib/common/utils.c pcmk__daemonize(const char *name, const char *pidfile) name 427 lib/common/utils.c rc = pcmk__pidfile_matches(pidfile, 1, name, &pid); name 430 lib/common/utils.c name, (long long) pid, pidfile); name 432 lib/common/utils.c name, (long long) pid, pidfile); name 438 lib/common/utils.c fprintf(stderr, "%s: could not start daemon\n", name); name 446 lib/common/utils.c rc = pcmk__lock_pidfile(pidfile, name); name 449 lib/common/utils.c pidfile, name, pcmk_rc_str(rc), rc); name 451 lib/common/utils.c pidfile, name, pcmk_rc_str(rc), rc); name 202 lib/common/xml.c if (node->name == NULL || node->name[0] != ' ') { name 354 lib/common/xml.c return pcmk__xe_match(haystack, (const char *) needle->name, attr, id); name 387 lib/common/xml.c const char *name = (root == NULL)? "<NULL>" : (const char *) root->name; name 396 lib/common/xml.c if (strcmp((const char *)a_child->name, search_path) == 0) { name 402 lib/common/xml.c crm_warn("Could not find %s in %s.", search_path, name); name 404 lib/common/xml.c crm_trace("Could not find %s in %s.", search_path, name); name 437 lib/common/xml.c if (pcmk__str_eq(node_name, (const char *) (child->name), name 451 lib/common/xml.c (const char *) parent->name); name 466 lib/common/xml.c const char *p_name = (const char *) a->name; name 471 lib/common/xml.c crm_trace("Cannot copy %s=%s to %s", p_name, p_value, target->name); name 495 lib/common/xml.c const char *p_name = (const char *) a->name; name 523 lib/common/xml.c expand_plus_plus(xmlNode * target, const char *name, const char *value) name 532 lib/common/xml.c if (target == NULL || value == NULL || name == NULL) { name 536 lib/common/xml.c old_value = crm_element_value(target, name); name 542 lib/common/xml.c } else if (strstr(value, name) != value) { name 546 lib/common/xml.c name_len = strlen(name); name 571 lib/common/xml.c crm_xml_add_int(target, name, int_value); name 579 lib/common/xml.c crm_xml_add(target, name, value); name 605 lib/common/xml.c (const char *) a->name, (const char *) element->name); name 638 lib/common/xml.c create_xml_node(xmlNode * parent, const char *name) name 643 lib/common/xml.c if (pcmk__str_empty(name)) { name 644 lib/common/xml.c CRM_CHECK(name != NULL && name[0] == 0, return NULL); name 654 lib/common/xml.c node = xmlNewDocRawNode(doc, NULL, (pcmkXmlStr) name, NULL); name 662 lib/common/xml.c node = xmlNewChild(parent, NULL, (pcmkXmlStr) name, NULL); name 672 lib/common/xml.c pcmk_create_xml_text_node(xmlNode * parent, const char *name, const char *content) name 674 lib/common/xml.c xmlNode *node = create_xml_node(parent, name); name 1423 lib/common/xml.c pcmk__g_strcat(buffer, "<", data->name, NULL); name 1428 lib/common/xml.c if (!filtered || !pcmk__xa_filterable((const char *) (attr->name))) { name 1454 lib/common/xml.c pcmk__g_strcat(buffer, "</", data->name, ">", NULL); name 1696 lib/common/xml.c xml_remove_prop(xmlNode * obj, const char *name) name 1698 lib/common/xml.c if (crm_element_value(obj, name) == NULL) { name 1703 lib/common/xml.c crm_trace("Cannot remove %s from %s", name, obj->name); name 1707 lib/common/xml.c xmlAttr *attr = xmlHasProp(obj, (pcmkXmlStr) name); name 1713 lib/common/xml.c xmlUnsetProp(obj, (pcmkXmlStr) name); name 1829 lib/common/xml.c old_attr->name, p_old, p_new, element); name 1854 lib/common/xml.c const char *name = (const char *) attr_iter->name; name 1856 lib/common/xml.c xmlAttr *new_attr = xmlHasProp(new_xml, attr_iter->name); name 1861 lib/common/xml.c mark_attr_deleted(new_xml, (const char *) old_xml->name, name, name 1870 lib/common/xml.c const char *new_value = crm_element_value(new_xml, name); name 1876 lib/common/xml.c mark_attr_changed(new_xml, (const char *) old_xml->name, name, name 1881 lib/common/xml.c mark_attr_moved(new_xml, (const char *) old_xml->name, name 1908 lib/common/xml.c const char *attr_name = (const char *) new_attr->name; name 1912 lib/common/xml.c new_xml->name); name 1921 lib/common/xml.c xmlUnsetProp(new_xml, new_attr->name); name 1983 lib/common/xml.c new_child->name, (ID(new_child)? ID(new_child) : "<no id>"), name 1984 lib/common/xml.c p_old, p_new, new_parent->name); name 2071 lib/common/xml.c && pcmk__xe_is(old_xml, (const char *) new_xml->name) name 2090 lib/common/xml.c if (pcmk__strcase_any_of((const char *) xml_node->name, name 2098 lib/common/xml.c const char *p_name = (const char *) a->name; name 2229 lib/common/xml.c object_name = (const char *) update->name; name 2266 lib/common/xml.c CRM_CHECK(pcmk__xe_is(target, (const char *) update->name), return); name 2279 lib/common/xml.c xmlUnsetProp(target, a->name); name 2280 lib/common/xml.c xmlSetProp(target, a->name, (pcmkXmlStr) p_value); name 2315 lib/common/xml.c if (!pcmk__xe_is(to_update, (const char *) child->name)) { name 2392 lib/common/xml.c if (!pcmk__xe_is(update, (const char *) child->name)) { name 2398 lib/common/xml.c const char *p_name = (const char *) a->name; name 2464 lib/common/xml.c result = create_xml_node(parent, (const char *) input->name); name 2484 lib/common/xml.c first_named_child(const xmlNode *parent, const char *name) name 2495 lib/common/xml.c if (pcmk__str_eq(name, (const char *)match->name, pcmk__str_null_matches)) { name 2515 lib/common/xml.c if (pcmk__xe_is(match, (const char *) sibling->name)) { name 2570 lib/common/xml.c result->name, ref); name 2639 lib/common/xml.c const char *name, *value; name 2641 lib/common/xml.c name = va_arg(pairs, const char *); name 2642 lib/common/xml.c if (name == NULL) { name 2648 lib/common/xml.c crm_xml_add(node, name, value); name 2673 lib/common/xml.c pcmk__str_eq(child_element_name, (const char *) node->name, pcmk__str_null_matches)) { name 2719 lib/common/xml.c add_node_nocopy(xmlNode *parent, const char *name, xmlNode *child) name 78 lib/common/xml_attr.c p_name = (const char *) attr->name; name 106 lib/common/xml_display.c pcmk__g_strcat(buffer, "<", data->name, NULL); name 111 lib/common/xml_display.c const char *p_name = (const char *) attr->name; name 173 lib/common/xml_display.c spaces, "", data->name); name 301 lib/common/xml_display.c const char *name = (const char *) attr->name; name 309 lib/common/xml_display.c PCMK__XML_PREFIX_DELETED, spaces, "", name, name 329 lib/common/xml_display.c prefix, spaces, "", name, value); name 298 lib/common/xpath.c g_string_append(xpath, (const gchar *) xml->name); name 300 lib/common/xpath.c pcmk__g_strcat(xpath, "/", (const char *) xml->name, NULL); name 347 lib/fencing/st_client.c stonith_api_remove_device(stonith_t * st, int call_options, const char *name) name 354 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_ID, name); name 1089 lib/fencing/st_client.c stonith_api_signon(stonith_t * stonith, const char *name, int *stonith_fd) name 1093 lib/fencing/st_client.c const char *display_name = name? name : "client"; name 1143 lib/fencing/st_client.c crm_xml_add(hello, F_STONITH_CLIENTNAME, name); name 1906 lib/fencing/st_client.c stonith_api_connect_retry(stonith_t *st, const char *name, int max_attempts) name 1911 lib/fencing/st_client.c rc = st->cmds->connect(st, name, NULL); name 1989 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); name 1992 lib/fencing/st_client.c stonith__set_call_options(opts, name, name 1995 lib/fencing/st_client.c stonith__set_call_options(opts, name, st_opt_cs_nodeid); name 1997 lib/fencing/st_client.c rc = st->cmds->fence(st, opts, name, action, timeout, 0); name 1998 lib/fencing/st_client.c free(name); name 2034 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); name 2036 lib/fencing/st_client.c stonith__set_call_options(opts, name, st_opt_sync_call); name 2038 lib/fencing/st_client.c stonith__set_call_options(opts, name, st_opt_cs_nodeid); name 2040 lib/fencing/st_client.c rc = st->cmds->history(st, opts, name, &history, 120); name 2041 lib/fencing/st_client.c free(name); name 27 lib/lrmd/lrmd_alerts.c alert_key2param(lrmd_key_value_t *head, enum pcmk__alert_keys_e name, name 35 lib/lrmd/lrmd_alerts.c for (key = pcmk__alert_keys[name]; *key; key++) { name 43 lib/lrmd/lrmd_alerts.c alert_key2param_int(lrmd_key_value_t *head, enum pcmk__alert_keys_e name, name 48 lib/lrmd/lrmd_alerts.c head = alert_key2param(head, name, value_s); name 54 lib/lrmd/lrmd_alerts.c alert_key2param_ms(lrmd_key_value_t *head, enum pcmk__alert_keys_e name, name 59 lib/lrmd/lrmd_alerts.c head = alert_key2param(head, name, value_s); name 969 lib/lrmd/lrmd_client.c lrmd_handshake(lrmd_t * lrmd, const char *name) name 978 lib/lrmd/lrmd_client.c crm_xml_add(hello, F_LRMD_CLIENTNAME, name); name 1387 lib/lrmd/lrmd_client.c char *name = crm_strdup_printf("pacemaker-remote-%s:%d", name 1397 lib/lrmd/lrmd_client.c native->source = mainloop_add_fd(name, G_PRIORITY_HIGH, native->sock, lrmd, name 1407 lib/lrmd/lrmd_client.c rc = lrmd_handshake(lrmd, name); name 1410 lib/lrmd/lrmd_client.c free(name); name 1560 lib/lrmd/lrmd_client.c lrmd_api_connect(lrmd_t * lrmd, const char *name, int *fd) name 1581 lib/lrmd/lrmd_client.c rc = lrmd_handshake(lrmd, name); name 1588 lib/lrmd/lrmd_client.c lrmd_api_connect_async(lrmd_t * lrmd, const char *name, int timeout) name 1599 lib/lrmd/lrmd_client.c rc = lrmd_api_connect(lrmd, name, NULL); name 230 lib/lrmd/proxy_common.c const char *name = crm_element_value(msg, F_LRMD_IPC_CLIENT); name 275 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name, pcmk_strerror(rc), rc); name 286 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name); name 296 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name); name 301 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name, pcmk_strerror(rc), rc); name 304 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name); name 362 lib/pacemaker/libpacemaker_private.h pcmk_action_t *pcmk__new_cancel_action(pcmk_resource_t *rsc, const char *name, name 160 lib/pacemaker/pcmk_acl.c (const char *) i_node->name, name 164 lib/pacemaker/pcmk_acl.c (const char *) i_node->name, name 179 lib/pacemaker/pcmk_acl.c (const char *) i_node->name, name 183 lib/pacemaker/pcmk_acl.c (const char *) i_node->name, name 818 lib/pacemaker/pcmk_cluster_queries.c const char *name = crm_element_value(result, XML_ATTR_UNAME); name 823 lib/pacemaker/pcmk_cluster_queries.c pcmk__s(name, id), id, data->bash_export); name 31 lib/pacemaker/pcmk_fence.c char *name; name 44 lib/pacemaker/pcmk_fence.c const char *name = NULL; name 56 lib/pacemaker/pcmk_fence.c name = target; name 67 lib/pacemaker/pcmk_fence.c name, value, fence_level, name 71 lib/pacemaker/pcmk_fence.c name, value, fence_level); name 149 lib/pacemaker/pcmk_fence.c int rc = stonith_api_connect_retry(st, async_fence_data.name, 10); name 188 lib/pacemaker/pcmk_fence.c const char *name, unsigned int timeout, name 195 lib/pacemaker/pcmk_fence.c async_fence_data.name = strdup(name); name 210 lib/pacemaker/pcmk_fence.c free(async_fence_data.name); name 225 lib/pacemaker/pcmk_fence.c const char *name, unsigned int timeout, name 228 lib/pacemaker/pcmk_fence.c return pcmk__request_fencing(st, target, action, name, timeout, tolerance, name 267 lib/pacemaker/pcmk_graph_consumer.c action->xml->name, id); name 292 lib/pacemaker/pcmk_graph_consumer.c action->xml->name, action->id, synapse->id, name 504 lib/pacemaker/pcmk_graph_consumer.c xml_action->name); name 845 lib/pacemaker/pcmk_graph_consumer.c const char *name = NULL; name 865 lib/pacemaker/pcmk_graph_consumer.c while (g_hash_table_iter_next(&iter, (void **)&name, (void **)&value)) { name 866 lib/pacemaker/pcmk_graph_consumer.c g_hash_table_insert(op->params, strdup(name), strdup(value)); name 265 lib/pacemaker/pcmk_graph_producer.c (const char *) action->rsc->xml->name); name 54 lib/pacemaker/pcmk_injections.c const char *name, const char *value) name 60 lib/pacemaker/pcmk_injections.c out->message(out, "inject-attr", name, value, cib_node); name 74 lib/pacemaker/pcmk_injections.c crm_create_nvpair_xml(instance_attrs, NULL, name, value); name 101 lib/pacemaker/pcmk_injections.c char *name = NULL; name 104 lib/pacemaker/pcmk_injections.c name = pcmk__failcount_name(resource, task, interval_ms); name 105 lib/pacemaker/pcmk_injections.c inject_transient_attr(out, cib_node, name, "value++"); name 106 lib/pacemaker/pcmk_injections.c free(name); name 108 lib/pacemaker/pcmk_injections.c name = pcmk__lastfailure_name(resource, task, interval_ms); name 109 lib/pacemaker/pcmk_injections.c inject_transient_attr(out, cib_node, name, now); name 110 lib/pacemaker/pcmk_injections.c free(name); name 909 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 915 lib/pacemaker/pcmk_output.c pcmk__s(name, "<null>"), pcmk__s(id, "")); name 918 lib/pacemaker/pcmk_output.c pcmk__s(name, "<null>"), pcmk__s(id, "<null>")); name 931 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 935 lib/pacemaker/pcmk_output.c pcmk__formatted_printf(out, "%s\n", pcmk__s(name, "<null>")); name 946 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 952 lib/pacemaker/pcmk_output.c "name", pcmk__s(name, ""), name 1475 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 1488 lib/pacemaker/pcmk_output.c name, value, node_path, ID(cib_node)); name 1498 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 1511 lib/pacemaker/pcmk_output.c "name", name, name 2136 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 2150 lib/pacemaker/pcmk_output.c pcmk__g_strcat(s, "name=\"", pcmk__s(name, ""), "\" ", NULL); name 2171 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 2178 lib/pacemaker/pcmk_output.c "name", name, name 2268 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 2278 lib/pacemaker/pcmk_output.c if ((name != NULL) && (desc != NULL)) { name 2279 lib/pacemaker/pcmk_output.c pcmk__formatted_printf(out, "%s - %s\n", name, desc); name 2281 lib/pacemaker/pcmk_output.c } else if ((name != NULL) || (desc != NULL)) { name 2282 lib/pacemaker/pcmk_output.c pcmk__formatted_printf(out, "%s\n", ((name != NULL)? name : desc)); name 2296 lib/pacemaker/pcmk_output.c if ((name != NULL) && (desc != NULL)) { name 2307 lib/pacemaker/pcmk_output.c name, desc); name 2310 lib/pacemaker/pcmk_output.c if ((name != NULL) || (desc != NULL)) { name 2312 lib/pacemaker/pcmk_output.c ((name != NULL)? name : desc)); name 2323 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 2330 lib/pacemaker/pcmk_output.c XML_ATTR_NAME, name, name 40 lib/pacemaker/pcmk_result_code.c const char *name = NULL; name 43 lib/pacemaker/pcmk_result_code.c rc = pcmk_result_get_strings(code, type, &name, &desc); name 53 lib/pacemaker/pcmk_result_code.c pcmk_is_set(flags, pcmk_rc_disp_name)? name : NULL, name 102 lib/pacemaker/pcmk_result_code.c const char *name = NULL; name 126 lib/pacemaker/pcmk_result_code.c local_rc = pcmk_result_get_strings(code, type, &name, &desc); name 128 lib/pacemaker/pcmk_result_code.c if ((local_rc != pcmk_rc_ok) || (name == NULL) name 129 lib/pacemaker/pcmk_result_code.c || pcmk__str_any_of(name, "Unknown", "CRM_EX_UNKNOWN", NULL)) { name 139 lib/pacemaker/pcmk_result_code.c pcmk_is_set(flags, pcmk_rc_disp_name)? name : NULL, name 1259 lib/pacemaker/pcmk_sched_actions.c const char *name = XML_LRM_ATTR_MIGRATE_SOURCE; name 1261 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, name, crm_meta_value(op->params, name)); name 1263 lib/pacemaker/pcmk_sched_actions.c name = XML_LRM_ATTR_MIGRATE_TARGET; name 1264 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, name, crm_meta_value(op->params, name)); name 611 lib/pacemaker/pcmk_sched_clone.c char *name = NULL; name 615 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(XML_RSC_ATTR_UNIQUE); name 616 lib/pacemaker/pcmk_sched_clone.c crm_xml_add(xml, name, pe__rsc_bool_str(rsc, pcmk_rsc_unique)); name 617 lib/pacemaker/pcmk_sched_clone.c free(name); name 619 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(XML_RSC_ATTR_NOTIFY); name 620 lib/pacemaker/pcmk_sched_clone.c crm_xml_add(xml, name, pe__rsc_bool_str(rsc, pcmk_rsc_notify)); name 621 lib/pacemaker/pcmk_sched_clone.c free(name); name 623 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(PCMK_META_CLONE_MAX); name 624 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, pe__clone_max(rsc)); name 625 lib/pacemaker/pcmk_sched_clone.c free(name); name 627 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(PCMK_META_CLONE_NODE_MAX); name 628 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, pe__clone_node_max(rsc)); name 629 lib/pacemaker/pcmk_sched_clone.c free(name); name 635 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(PCMK_META_PROMOTED_MAX); name 636 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, promoted_max); name 637 lib/pacemaker/pcmk_sched_clone.c free(name); name 639 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(PCMK_META_PROMOTED_NODE_MAX); name 640 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, promoted_node_max); name 641 lib/pacemaker/pcmk_sched_clone.c free(name); name 646 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(PCMK_XA_PROMOTED_MAX_LEGACY); name 647 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, promoted_max); name 648 lib/pacemaker/pcmk_sched_clone.c free(name); name 650 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(PCMK_XA_PROMOTED_NODE_MAX_LEGACY); name 651 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, promoted_node_max); name 652 lib/pacemaker/pcmk_sched_clone.c free(name); name 837 lib/pacemaker/pcmk_sched_colocation.c xml_obj->name); name 66 lib/pacemaker/pcmk_sched_constraints.c const char *tag = (const char *) xml_obj->name; name 351 lib/pacemaker/pcmk_sched_constraints.c xml_obj->name); name 384 lib/pacemaker/pcmk_sched_location.c xml_obj->name); name 441 lib/pacemaker/pcmk_sched_ordering.c xml_obj->name); name 1487 lib/pacemaker/pcmk_sched_primitive.c char *name = NULL; name 1500 lib/pacemaker/pcmk_sched_primitive.c name = crm_meta_name(XML_RSC_ATTR_INCARNATION); name 1501 lib/pacemaker/pcmk_sched_primitive.c crm_xml_add(xml, name, value); name 1502 lib/pacemaker/pcmk_sched_primitive.c free(name); name 1508 lib/pacemaker/pcmk_sched_primitive.c name = crm_meta_name(XML_RSC_ATTR_REMOTE_NODE); name 1509 lib/pacemaker/pcmk_sched_primitive.c crm_xml_add(xml, name, value); name 1510 lib/pacemaker/pcmk_sched_primitive.c free(name); name 655 lib/pacemaker/pcmk_sched_promotable.c const char *name) name 665 lib/pacemaker/pcmk_sched_promotable.c attr_name = pcmk_promotion_score_name(name); name 686 lib/pacemaker/pcmk_sched_promotable.c char *name = NULL; name 724 lib/pacemaker/pcmk_sched_promotable.c name = (rsc->clone_name == NULL)? rsc->id : rsc->clone_name; name 726 lib/pacemaker/pcmk_sched_promotable.c attr_value = promotion_attr_value(rsc, node, name); name 729 lib/pacemaker/pcmk_sched_promotable.c name, pe__node_name(node), pcmk__s(attr_value, "(unset)")); name 735 lib/pacemaker/pcmk_sched_promotable.c name = clone_strip(rsc->id); name 736 lib/pacemaker/pcmk_sched_promotable.c if (strcmp(rsc->id, name) != 0) { name 737 lib/pacemaker/pcmk_sched_promotable.c attr_value = promotion_attr_value(rsc, node, name); name 739 lib/pacemaker/pcmk_sched_promotable.c name, pe__node_name(node), rsc->id, name 742 lib/pacemaker/pcmk_sched_promotable.c free(name); name 24 lib/pacemaker/pcmk_sched_recurring.c const char *name; // Action name name 59 lib/pacemaker/pcmk_sched_recurring.c is_op_dup(const pcmk_resource_t *rsc, const char *name, guint interval_ms) name 67 lib/pacemaker/pcmk_sched_recurring.c if (!pcmk__str_eq(crm_element_value(op, "name"), name, pcmk__str_none) name 105 lib/pacemaker/pcmk_sched_recurring.c op_cannot_recur(const char *name) name 107 lib/pacemaker/pcmk_sched_recurring.c return pcmk__str_any_of(name, PCMK_ACTION_STOP, PCMK_ACTION_START, name 141 lib/pacemaker/pcmk_sched_recurring.c op->name = crm_element_value(xml, "name"); name 142 lib/pacemaker/pcmk_sched_recurring.c if (op_cannot_recur(op->name)) { name 144 lib/pacemaker/pcmk_sched_recurring.c op->id, pcmk__s(op->name, "unnamed")); name 149 lib/pacemaker/pcmk_sched_recurring.c if (is_op_dup(rsc, op->name, op->interval_ms)) { name 167 lib/pacemaker/pcmk_sched_recurring.c if (pcmk__find_action_config(rsc, op->name, op->interval_ms, name 172 lib/pacemaker/pcmk_sched_recurring.c op->id, pcmk__readable_interval(op->interval_ms), op->name, name 177 lib/pacemaker/pcmk_sched_recurring.c op->key = pcmk__op_key(rsc->id, op->name, op->interval_ms); name 268 lib/pacemaker/pcmk_sched_recurring.c pcmk_action_t *cancel_op = pcmk__new_cancel_action(rsc, op->name, name 312 lib/pacemaker/pcmk_sched_recurring.c mon = custom_action(rsc, strdup(op->key), op->name, node, is_optional, name 378 lib/pacemaker/pcmk_sched_recurring.c const char *key, const char *name, guint interval_ms) name 388 lib/pacemaker/pcmk_sched_recurring.c cancel_op = pcmk__new_cancel_action(rsc, name, interval_ms, node); name 408 lib/pacemaker/pcmk_sched_recurring.c pcmk__readable_interval(interval_ms), name, rsc->id, name 513 lib/pacemaker/pcmk_sched_recurring.c cancel_if_running(rsc, node, op->key, op->name, op->interval_ms); name 528 lib/pacemaker/pcmk_sched_recurring.c stopped_mon = custom_action(rsc, strdup(op->key), op->name, stop_node, name 306 lib/pacemaker/pcmk_sched_tickets.c xml_obj->name); name 377 lib/pacemaker/pcmk_sched_tickets.c xml_obj->name); name 449 lib/pacemaker/pcmk_sched_tickets.c xml_obj->name); name 337 lib/pacemaker/pcmk_scheduler.c rsc->xml->name, rsc->id); name 319 lib/pengine/bundle.c create_resource(const char *name, const char *provider, const char *kind) name 323 lib/pengine/bundle.c crm_xml_add(rsc, XML_ATTR_ID, name); name 1123 lib/pengine/bundle.c : (const char *)xml_resource->name)); name 1126 lib/pengine/bundle.c crm_xml_set_id(xml_set, "%s-%s-meta", bundle_data->prefix, xml_resource->name); name 393 lib/pengine/clone.c if (pcmk__str_any_of((const char *)a_child->name, XML_CIB_TAG_RESOURCE, XML_CIB_TAG_GROUP, NULL)) { name 314 lib/pengine/common.c pe_pref(GHashTable * options, const char *name) name 316 lib/pengine/common.c return pcmk__cluster_option(options, pe_opts, PCMK__NELEM(pe_opts), name); name 508 lib/pengine/common.c add_hash_param(GHashTable * hash, const char *name, const char *value) name 513 lib/pengine/common.c pcmk__s(name, "<null>"), pcmk__s(value, "<null>")); name 514 lib/pengine/common.c if (name == NULL || value == NULL) { name 520 lib/pengine/common.c } else if (g_hash_table_lookup(hash, name) == NULL) { name 521 lib/pengine/common.c g_hash_table_insert(hash, strdup(name), strdup(value)); name 546 lib/pengine/common.c pe__node_attribute_calculated(const pcmk_node_t *node, const char *name, name 563 lib/pengine/common.c CRM_ASSERT((node != NULL) && (name != NULL) && (rsc != NULL) name 573 lib/pengine/common.c return g_hash_table_lookup(node->details->attrs, name); name 605 lib/pengine/common.c const char *value = g_hash_table_lookup(host->details->attrs, name); name 609 lib/pengine/common.c rsc->id, name, node_type_s, pe__node_name(host), name 616 lib/pengine/common.c rsc->id, name, node_type_s, container->id, reason); name 621 lib/pengine/common.c pe_node_attribute_raw(const pcmk_node_t *node, const char *name) name 626 lib/pengine/common.c return g_hash_table_lookup(node->details->attrs, name); name 86 lib/pengine/complex.c get_resource_type(const char *name) name 88 lib/pengine/complex.c if (pcmk__str_eq(name, XML_CIB_TAG_RESOURCE, pcmk__str_casei)) { name 91 lib/pengine/complex.c } else if (pcmk__str_eq(name, XML_CIB_TAG_GROUP, pcmk__str_casei)) { name 94 lib/pengine/complex.c } else if (pcmk__str_eq(name, XML_CIB_TAG_INCARNATION, pcmk__str_casei)) { name 97 lib/pengine/complex.c } else if (pcmk__str_eq(name, PCMK_XE_PROMOTABLE_LEGACY, pcmk__str_casei)) { name 101 lib/pengine/complex.c } else if (pcmk__str_eq(name, XML_CIB_TAG_CONTAINER, pcmk__str_casei)) { name 180 lib/pengine/complex.c const char *prop_name = (const char *) a->name; name 241 lib/pengine/complex.c const char *name = crm_element_value(op, "name"); name 251 lib/pengine/complex.c key = crm_strdup_printf("%s-%s", name, role); name 281 lib/pengine/complex.c pe_err("'%s' object must have a id", xml_obj->name); name 305 lib/pengine/complex.c xmlNodeSetName(new_xml, xml_obj->name); name 321 lib/pengine/complex.c if (pcmk__str_eq((const char *)new_child->name, "operations", pcmk__str_none)) { name 389 lib/pengine/complex.c pe_err("'%s' object must have a id", xml_obj->name); name 634 lib/pengine/complex.c xml_obj->name); name 666 lib/pengine/complex.c (*rsc)->variant = get_resource_type((const char *) (*rsc)->xml->name); name 669 lib/pengine/complex.c id, (*rsc)->xml->name); name 186 lib/pengine/failcounts.c const char *name = (rsc->clone_name? rsc->clone_name : rsc->id); name 188 lib/pengine/failcounts.c return pcmk_is_set(rsc->flags, pcmk_rsc_unique)? strdup(name) : clone_strip(name); name 204 lib/pengine/group.c if (pcmk__str_eq((const char *)xml_native_rsc->name, name 330 lib/pengine/native.c const char *name, pcmk_scheduler_t *scheduler) name 337 lib/pengine/native.c CRM_CHECK(name != NULL && strlen(name) != 0, return NULL); name 339 lib/pengine/native.c pe_rsc_trace(rsc, "Looking up %s in %s", name, rsc->id); name 341 lib/pengine/native.c value = g_hash_table_lookup(params, name); name 344 lib/pengine/native.c value = g_hash_table_lookup(rsc->meta, name); name 563 lib/pengine/native.c pcmk__native_output_string(const pcmk_resource_t *rsc, const char *name, name 577 lib/pengine/native.c CRM_CHECK(name != NULL, name = "unknown"); name 597 lib/pengine/native.c name, "\t(", class, ((provider == NULL)? "" : PROVIDER_SEP), name 718 lib/pengine/native.c const char *name, const pcmk_node_t *node, name 763 lib/pengine/native.c gchar *s = pcmk__native_output_string(rsc, name, node, show_opts, name 776 lib/pengine/native.c const char *name, const pcmk_node_t *node, name 796 lib/pengine/native.c gchar *s = pcmk__native_output_string(rsc, name, node, show_opts, name 811 lib/pengine/native.c common_print(pcmk_resource_t *rsc, const char *pre_text, const char *name, name 862 lib/pengine/native.c gchar *resource_s = pcmk__native_output_string(rsc, name, node, options, name 450 lib/pengine/pe_actions.c const char *name = NULL; name 492 lib/pengine/pe_actions.c name = crm_element_value(operation, "name"); name 494 lib/pengine/pe_actions.c if (!pcmk__str_eq(name, PCMK_ACTION_MONITOR, pcmk__str_none) name 535 lib/pengine/pe_actions.c name = crm_element_value(action_config, "name"); name 540 lib/pengine/pe_actions.c if (!pcmk__str_eq(name, PCMK_ACTION_PROMOTE, pcmk__str_none) name 541 lib/pengine/pe_actions.c && (!pcmk__str_eq(name, PCMK_ACTION_MONITOR, pcmk__str_none) name 547 lib/pengine/pe_actions.c "allowed for it", rsc->id, name); name 697 lib/pengine/pe_actions.c char *name = NULL; name 743 lib/pengine/pe_actions.c name = strdup(XML_ATTR_TIMEOUT); name 745 lib/pengine/pe_actions.c CRM_ASSERT((name != NULL) && (value != NULL)); name 746 lib/pengine/pe_actions.c g_hash_table_insert(meta, name, value); name 762 lib/pengine/pe_actions.c name = strdup((const char *) attr->name); name 765 lib/pengine/pe_actions.c CRM_ASSERT((name != NULL) && (value != NULL)); name 766 lib/pengine/pe_actions.c g_hash_table_insert(meta, name, value); name 774 lib/pengine/pe_actions.c name = strdup(XML_LRM_ATTR_INTERVAL); name 775 lib/pengine/pe_actions.c CRM_ASSERT(name != NULL); name 777 lib/pengine/pe_actions.c g_hash_table_insert(meta, name, value); name 806 lib/pengine/pe_actions.c name = strdup(XML_ATTR_TIMEOUT); name 808 lib/pengine/pe_actions.c CRM_ASSERT((name != NULL) && (value != NULL)); name 809 lib/pengine/pe_actions.c g_hash_table_insert(meta, name, value); name 814 lib/pengine/pe_actions.c name = strdup(XML_ATTR_TIMEOUT); name 815 lib/pengine/pe_actions.c CRM_ASSERT(name != NULL); name 817 lib/pengine/pe_actions.c g_hash_table_insert(meta, name, pcmk__itoa(unpack_timeout(timeout_spec))); name 832 lib/pengine/pe_actions.c name = strdup(XML_OP_ATTR_START_DELAY); name 833 lib/pengine/pe_actions.c CRM_ASSERT(name != NULL); name 834 lib/pengine/pe_actions.c g_hash_table_insert(meta, name, name 1160 lib/pengine/pe_actions.c get_pseudo_op(const char *name, pcmk_scheduler_t *scheduler) name 1162 lib/pengine/pe_actions.c pcmk_action_t *op = lookup_singleton(scheduler, name); name 1165 lib/pengine/pe_actions.c op = custom_action(NULL, strdup(name), name, NULL, TRUE, scheduler); name 1453 lib/pengine/pe_actions.c get_complex_task(const pcmk_resource_t *rsc, const char *name) name 1455 lib/pengine/pe_actions.c enum action_tasks task = text2task(name); name 1464 lib/pengine/pe_actions.c name, rsc->id); name 1863 lib/pengine/pe_actions.c char *name = NULL; name 1867 lib/pengine/pe_actions.c name = strdup(XML_ATTR_TE_TARGET_RC); name 1868 lib/pengine/pe_actions.c CRM_ASSERT (name != NULL); name 1870 lib/pengine/pe_actions.c g_hash_table_insert(action->meta, name, pcmk__itoa(expected_result)); name 56 lib/pengine/pe_digest.c char *name = crm_strdup_printf(" %s ", (const char *) a->name); name 58 lib/pengine/pe_digest.c if (strstr((const char *) user_data, name) == NULL) { name 60 lib/pengine/pe_digest.c (const char *) a->name, (const char *) user_data); name 63 lib/pengine/pe_digest.c free(name); name 72 lib/pengine/pe_digest.c char *name = crm_strdup_printf(" %s ", (const char *) a->name); name 74 lib/pengine/pe_digest.c if (strstr((const char *) user_data, name) != NULL) { name 76 lib/pengine/pe_digest.c (const char *) a->name, (const char *) user_data); name 79 lib/pengine/pe_digest.c free(name); name 173 lib/pengine/pe_digest.c return pcmk_stonith_param((const char *) attr->name); name 117 lib/pengine/pe_health.c const char *name = NULL; name 131 lib/pengine/pe_health.c while (g_hash_table_iter_next(&iter, (gpointer *) &name, name 133 lib/pengine/pe_health.c if (pcmk__starts_with(name, "#health")) { name 267 lib/pengine/pe_notif.c add_hash_param(action->meta, nvpair->name, nvpair->value); name 72 lib/pengine/pe_output.c const char *name = NULL; name 87 lib/pengine/pe_output.c name = g_hash_table_lookup(params, "name"); name 89 lib/pengine/pe_output.c if (name == NULL) { name 90 lib/pengine/pe_output.c name = "pingd"; name 94 lib/pengine/pe_output.c if (pcmk__str_eq(name, attrname, pcmk__str_casei)) { name 124 lib/pengine/pe_output.c filter_attr_list(GList *attr_list, char *name) name 129 lib/pengine/pe_output.c CRM_CHECK(name != NULL, return attr_list); name 133 lib/pengine/pe_output.c if (g_str_has_prefix(name, filt_str[i])) { name 138 lib/pengine/pe_output.c return g_list_insert_sorted(attr_list, name, compare_attribute); name 169 lib/pengine/pe_output.c if (pcmk__str_eq((const char *)rsc_op->name, XML_LRM_TAG_RSC_OP, pcmk__str_none)) { name 1946 lib/pengine/pe_output.c const char *name = va_arg(args, const char *); name 1960 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s\t: Connectivity is lost", name, value); name 1962 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s\t: Connectivity is degraded (Expected=%d)", name, value, expected_score); name 1964 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s", name, value); name 1967 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s", name, value); name 1976 lib/pengine/pe_output.c const char *name = va_arg(args, const char *); name 1983 lib/pengine/pe_output.c char *s = crm_strdup_printf("%s: %s", name, value); name 2003 lib/pengine/pe_output.c out->list_item(out, NULL, "%s: %s", name, value); name 2117 lib/pengine/pe_output.c const char *name = va_arg(args, const char *); name 2123 lib/pengine/pe_output.c "name", name, name 2179 lib/pengine/pe_output.c const char *name = aIter->data; name 2184 lib/pengine/pe_output.c value = pe_node_attribute_raw(node, name); name 2187 lib/pengine/pe_output.c scheduler, name, &expected_score); name 2190 lib/pengine/pe_output.c out->message(out, "node-attribute", name, value, add_extra, name 229 lib/pengine/rules.c #define CHECK_ONE(spec, name, var) do { \ name 230 lib/pengine/rules.c int subpart_rc = check_one(spec, name, var); \ name 318 lib/pengine/rules.c const char *name; // This block's ID name 338 lib/pengine/rules.c if (pcmk__str_eq(pair_a->name, pair_a->special_name, pcmk__str_casei)) { name 341 lib/pengine/rules.c } else if (pcmk__str_eq(pair_b->name, pair_a->special_name, pcmk__str_casei)) { name 360 lib/pengine/rules.c const char *name = NULL; name 373 lib/pengine/rules.c if (pcmk__str_eq((const char *)an_attr->name, XML_CIB_TAG_NVPAIR, pcmk__str_none)) { name 376 lib/pengine/rules.c name = crm_element_value(an_attr, XML_NVPAIR_ATTR_NAME); name 377 lib/pengine/rules.c if (name == NULL) { name 378 lib/pengine/rules.c name = crm_element_value(ref_nvpair, XML_NVPAIR_ATTR_NAME); name 386 lib/pengine/rules.c if (name == NULL || value == NULL) { name 390 lib/pengine/rules.c old_value = g_hash_table_lookup(hash, name); name 395 lib/pengine/rules.c name, value); name 396 lib/pengine/rules.c g_hash_table_remove(hash, name); name 401 lib/pengine/rules.c crm_trace("Setting %s=\"%s\"", name, value); name 402 lib/pengine/rules.c g_hash_table_insert(hash, strdup(name), strdup(value)); name 406 lib/pengine/rules.c name, value, old_value); name 407 lib/pengine/rules.c g_hash_table_replace(hash, strdup(name), strdup(value)); name 433 lib/pengine/rules.c pair->name, pair->score, name 461 lib/pengine/rules.c if (pcmk__str_eq(set_name, (const char *) attr_set->name, name 473 lib/pengine/rules.c pair->name = ID(expanded_attr_set); name 1121 lib/pengine/rules.c const char *name = crm_element_value(expr, XML_NVPAIR_ATTR_NAME); name 1143 lib/pengine/rules.c if (!pcmk__str_eq(name, rule_data->op_data->op_name, pcmk__str_none)) { name 1144 lib/pengine/rules.c crm_trace("Name doesn't match: %s != %s", name, rule_data->op_data->op_name); name 104 lib/pengine/rules_alerts.c const char *name = crm_element_value(child, XML_NVPAIR_ATTR_NAME); name 110 lib/pengine/rules_alerts.c g_hash_table_insert(entry->envvars, strdup(name), strdup(value)); name 112 lib/pengine/rules_alerts.c entry->id, name, value); name 90 lib/pengine/tests/native/native_find_rsc_test.c char *name = NULL; name 98 lib/pengine/tests/native/native_find_rsc_test.c name = crm_strdup_printf("%sX", rsc->id); name 99 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(rsc, name, NULL, 0)); name 100 lib/pengine/tests/native/native_find_rsc_test.c free(name); name 102 lib/pengine/tests/native/native_find_rsc_test.c name = crm_strdup_printf("x%s", rsc->id); name 103 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(rsc, name, NULL, 0)); name 104 lib/pengine/tests/native/native_find_rsc_test.c free(name); name 106 lib/pengine/tests/native/native_find_rsc_test.c name = g_ascii_strup(rsc->id, -1); name 107 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(rsc, name, NULL, 0)); name 108 lib/pengine/tests/native/native_find_rsc_test.c g_free(name); name 530 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)attr_set->name, XML_TAG_META_SETS, name 538 lib/pengine/unpack.c const char *name = crm_element_value(attr, XML_NVPAIR_ATTR_NAME); name 540 lib/pengine/unpack.c if (pcmk__str_eq(name, XML_RSC_ATTR_REMOTE_NODE, pcmk__str_casei)) { name 542 lib/pengine/unpack.c } else if (pcmk__str_eq(name, "remote-addr", pcmk__str_casei)) { name 544 lib/pengine/unpack.c } else if (pcmk__str_eq(name, "remote-port", pcmk__str_casei)) { name 546 lib/pengine/unpack.c } else if (pcmk__str_eq(name, "remote-connect-timeout", pcmk__str_casei)) { name 548 lib/pengine/unpack.c } else if (pcmk__str_eq(name, "remote-allow-migrate", pcmk__str_casei)) { name 550 lib/pengine/unpack.c } else if (pcmk__str_eq(name, XML_RSC_ATTR_MANAGED, pcmk__str_casei)) { name 609 lib/pengine/unpack.c if (pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_NODE, pcmk__str_none)) { name 706 lib/pengine/unpack.c if (pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_RESOURCE, pcmk__str_none)) { name 726 lib/pengine/unpack.c if (pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_GROUP, pcmk__str_none)) { name 831 lib/pengine/unpack.c xml_obj->name); name 835 lib/pengine/unpack.c if (pcmk__str_eq((const char *) xml_obj->name, XML_CIB_TAG_RSC_TEMPLATE, name 847 lib/pengine/unpack.c xml_obj->name, id); name 856 lib/pengine/unpack.c xml_obj->name, id); name 896 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)xml_tag->name, XML_CIB_TAG_TAG, pcmk__str_none)) { name 902 lib/pengine/unpack.c (const char *) xml_tag->name); name 911 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)xml_obj_ref->name, XML_CIB_TAG_OBJ_REF, pcmk__str_none)) { name 917 lib/pengine/unpack.c xml_obj_ref->name, tag_id); name 959 lib/pengine/unpack.c const char *prop_name = (const char *)xIter->name; name 1008 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_TICKET_STATE, pcmk__str_none)) { name 1025 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)state->name, XML_CIB_TAG_STATE, pcmk__str_none)) { name 1332 lib/pengine/unpack.c if (pcmk__str_eq((const char *)state->name, XML_CIB_TAG_TICKETS, pcmk__str_none)) { name 1335 lib/pengine/unpack.c } else if (pcmk__str_eq((const char *)state->name, XML_CIB_TAG_STATE, pcmk__str_none)) { name 2733 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)rsc_entry->name, XML_LRM_TAG_RESOURCE, pcmk__str_casei)) { name 4967 lib/pengine/unpack.c if (pcmk__str_eq((const char *)rsc_op->name, XML_LRM_TAG_RSC_OP, name 5028 lib/pengine/unpack.c if (pcmk__str_eq((const char *)node_state->name, XML_CIB_TAG_STATE, pcmk__str_none)) { name 5061 lib/pengine/unpack.c if (pcmk__str_eq((const char *)lrm_rsc->name, name 869 lib/pengine/utils.c pe__failed_probe_for_rsc(const pcmk_resource_t *rsc, const char *name) name 892 lib/pengine/utils.c if (value == NULL || !pcmk__str_eq(value, name, pcmk__str_casei|pcmk__str_null_matches)) { name 383 lib/services/dbus.c error.name, error.message); name 566 lib/services/dbus.c typedef void (*property_callback_func)(const char *name, // Property name name 572 lib/services/dbus.c char *name; // Property name being queried name 584 lib/services/dbus.c free(data->name); name 602 lib/services/dbus.c data->object, data->name, error.message); name 612 lib/services/dbus.c data->object, data->name); name 621 lib/services/dbus.c "Unexpected variant type", data->object, data->name); name 631 lib/services/dbus.c data->object, data->name); name 637 lib/services/dbus.c "Too many arguments in reply", data->object, data->name); name 642 lib/services/dbus.c data->object, data->name, (value.str? value.str : "")); name 645 lib/services/dbus.c data->callback(data->name, (value.str? value.str : ""), data->userdata); name 696 lib/services/dbus.c const char *obj, const gchar * iface, const char *name, name 705 lib/services/dbus.c && (iface != NULL) && (name != NULL), return NULL); name 708 lib/services/dbus.c target, obj, name); name 714 lib/services/dbus.c "Unable to create message", obj, name); name 721 lib/services/dbus.c DBUS_TYPE_STRING, &name, name 724 lib/services/dbus.c "Could not append arguments", obj, name); name 732 lib/services/dbus.c obj, name); name 741 lib/services/dbus.c query_data->name = strdup(name); name 744 lib/services/dbus.c && (query_data->name != NULL), name 37 lib/services/pcmk-dbus.h DBusConnection *connection, const char *target, const char *obj, const gchar * iface, const char *name, name 38 lib/services/pcmk-dbus.h void (*callback)(const char *name, const char *value, void *userdata), void *userdata, name 178 lib/services/services.c required_argument_missing(uint32_t ra_caps, const char *name, name 182 lib/services/services.c if (pcmk__str_empty(name)) { name 189 lib/services/services.c name); name 196 lib/services/services.c "without provider (bug?)", standard, name); name 202 lib/services/services.c name); name 208 lib/services/services.c name); name 216 lib/services/services.c copy_action_arguments(svc_action_t *op, uint32_t ra_caps, const char *name, name 220 lib/services/services.c op->rsc = strdup(name); name 230 lib/services/services.c op->standard = expand_resource_class(name, standard, agent); name 254 lib/services/services.c services__create_resource_action(const char *name, const char *standard, name 285 lib/services/services.c if (required_argument_missing(ra_caps, name, standard, provider, agent, name 293 lib/services/services.c op->id = pcmk__op_key(name, action, interval_ms); name 295 lib/services/services.c if (copy_action_arguments(op, ra_caps, name, standard, provider, agent, name 298 lib/services/services.c action, name, strerror(ENOMEM)); name 328 lib/services/services.c action, name, strerror(rc)); name 335 lib/services/services.c resources_action_create(const char *name, const char *standard, name 340 lib/services/services.c svc_action_t *op = services__create_resource_action(name, standard, name 664 lib/services/services.c services_action_cancel(const char *name, const char *action, guint interval_ms) name 667 lib/services/services.c char *id = pcmk__op_key(name, action, interval_ms); name 732 lib/services/services.c services_action_kick(const char *name, const char *action, guint interval_ms) name 735 lib/services/services.c char *id = pcmk__op_key(name, action, interval_ms); name 861 lib/services/services_linux.c const char *name = op->opaque->exec; name 863 lib/services/services_linux.c if (name == NULL) { name 864 lib/services/services_linux.c name = op->agent; name 865 lib/services/services_linux.c if (name == NULL) { name 866 lib/services/services_linux.c name = op->id; name 878 lib/services/services_linux.c name, pcmk_rc_str(error)); name 884 lib/services/services_linux.c name, pcmk_rc_str(error)); name 328 lib/services/services_lsb.c services_action_create(const char *name, const char *action, name 331 lib/services/services_lsb.c return resources_action_create(name, PCMK_RESOURCE_CLASS_LSB, NULL, name, name 155 lib/services/services_nagios.c services__nagios_agent_exists(const char *name) name 161 lib/services/services_nagios.c if (name == NULL) { name 165 lib/services/services_nagios.c buf = crm_strdup_printf(NAGIOS_PLUGIN_DIR "/%s", name); name 123 lib/services/systemd.c method, error.message, error.name); name 160 lib/services/systemd.c systemd_get_property(const char *unit, const char *name, name 161 lib/services/systemd.c void (*callback)(const char *name, const char *value, void *userdata), name 166 lib/services/systemd.c name, callback, userdata, pending, timeout) name 192 lib/services/systemd.c systemd_unit_extension(const char *name) name 194 lib/services/systemd.c if (name) { name 195 lib/services/systemd.c const char *dot = strrchr(name, '.'); name 209 lib/services/systemd.c systemd_service_name(const char *name, bool add_instance_name) name 213 lib/services/systemd.c if (pcmk__str_empty(name)) { name 226 lib/services/systemd.c dot = systemd_unit_extension(name); name 229 lib/services/systemd.c if (dot != name && *(dot-1) == '@') { name 232 lib/services/systemd.c if (asprintf(&s, "%.*spacemaker%s", (int) (dot-name), name, dot) == -1) { name 234 lib/services/systemd.c return strdup(name); name 239 lib/services/systemd.c return strdup(name); name 242 lib/services/systemd.c } else if (add_instance_name && *(name+strlen(name)-1) == '@') { name 243 lib/services/systemd.c return crm_strdup_printf("%spacemaker.service", name); name 246 lib/services/systemd.c return crm_strdup_printf("%s.service", name); name 307 lib/services/systemd.c if (strstr(error->name, "org.freedesktop.systemd1.InvalidName") name 308 lib/services/systemd.c || strstr(error->name, "org.freedesktop.systemd1.LoadFailed") name 309 lib/services/systemd.c || strstr(error->name, "org.freedesktop.systemd1.NoSuchUnit")) { name 314 lib/services/systemd.c error->name, pcmk__s(op->rsc, "unknown resource")); name 440 lib/services/systemd.c char *name = NULL; name 462 lib/services/systemd.c name = systemd_service_name(arg_name, name 467 lib/services/systemd.c CRM_LOG_ASSERT(dbus_message_append_args(msg, DBUS_TYPE_STRING, &name, name 469 lib/services/systemd.c free(name); name 638 lib/services/systemd.c systemd_unit_exists(const char *name) name 646 lib/services/systemd.c if ((invoke_unit_by_name(name, NULL, &path) != pcmk_rc_ok) name 687 lib/services/systemd.c systemd_unit_metadata(const char *name, int timeout) name 695 lib/services/systemd.c if (invoke_unit_by_name(name, NULL, &path) == pcmk_rc_ok) { name 700 lib/services/systemd.c desc = crm_strdup_printf("Systemd unit file for %s", name); name 705 lib/services/systemd.c meta = crm_strdup_printf(METADATA_FORMAT, name, escaped, name); name 897 lib/services/systemd.c parse_status_result(const char *name, const char *state, void *userdata) name 902 lib/services/systemd.c pcmk__s(op->rsc, "(unspecified)"), name, name 998 lib/services/systemd.c char *name = systemd_service_name(op->agent, name 1003 lib/services/systemd.c CRM_LOG_ASSERT(dbus_message_append_args(msg, DBUS_TYPE_STRING, &name, DBUS_TYPE_INVALID)); name 1006 lib/services/systemd.c free(name); name 27 lib/services/systemd.h G_GNUC_INTERNAL gboolean systemd_unit_exists(const gchar * name); name 283 lib/services/upstart.c upstart_job_exists(const char *name) name 285 lib/services/upstart.c return object_path_for_job(name, NULL, DBUS_TIMEOUT_USE_DEFAULT); name 357 lib/services/upstart.c parse_status_result(const char *name, const char *state, void *userdata) name 395 lib/services/upstart.c upstart_job_metadata(const char *name) name 397 lib/services/upstart.c return crm_strdup_printf(METADATA_FORMAT, name, name, name); name 413 lib/services/upstart.c if (strstr(error->name, UPSTART_06_API ".Error.UnknownInstance")) { name 418 lib/services/upstart.c error->name, pcmk__s(op->rsc, "unknown resource")); name 427 lib/services/upstart.c && strstr(error->name, UPSTART_06_API ".Error.AlreadyStarted")) { name 430 lib/services/upstart.c error->name, pcmk__s(op->rsc, "unknown resource")); name 28 lib/services/upstart.h G_GNUC_INTERNAL gboolean upstart_job_exists(const gchar * name); name 137 libltdl/libltdl/lt__private.h #define LT__STRERROR(name) lt__error_string(LT_CONC(LT_ERROR_,name)) name 63 libltdl/libltdl/lt_dlloader.h const char * name; name 77 libltdl/libltdl/lt_dlloader.h LT_SCOPE lt_dlvtable * lt_dlloader_remove (const char *name); name 78 libltdl/libltdl/lt_dlloader.h LT_SCOPE const lt_dlvtable *lt_dlloader_find (const char *name); name 68 libltdl/loaders/dld_link.c if (vtable && !vtable->name) name 70 libltdl/loaders/dld_link.c vtable->name = "lt_dld_link"; name 148 libltdl/loaders/dld_link.c const char *name) name 150 libltdl/loaders/dld_link.c void *address = dld_get_func (name); name 68 libltdl/loaders/dlopen.c if (vtable && !vtable->name) name 70 libltdl/loaders/dlopen.c vtable->name = "lt_dlopen"; name 265 libltdl/loaders/dlopen.c vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module, const char *name) name 267 libltdl/loaders/dlopen.c void *address = dlsym (module, name); name 69 libltdl/loaders/dyld.c if (vtable && !vtable->name) name 71 libltdl/loaders/dyld.c vtable->name = "lt_dyld"; name 170 libltdl/loaders/dyld.c static const mach_header *lt__match_loadedlib (const char *name); name 322 libltdl/loaders/dyld.c vm_sym (lt_user_data loader_data, lt_module module, const char *name) name 331 libltdl/loaders/dyld.c _dyld_lookup_and_bind (name, (unsigned long*) &address, &unused); name 339 libltdl/loaders/dyld.c if (lt__image_symbol_p (mh, name)) name 341 libltdl/loaders/dyld.c nssym = lt__image_symbol (mh, name, LT__SYMLOOKUP_OPTS); name 348 libltdl/loaders/dyld.c nssym = NSLookupSymbolInModule (module, name); name 359 libltdl/loaders/dyld.c nssym = lt__linkedlib_symbol (name, mh); name 437 libltdl/loaders/dyld.c result=(char*)(((dylib_command*) lc)->dylib.name.offset + name 447 libltdl/loaders/dyld.c lt__match_loadedlib (const char *name) name 458 libltdl/loaders/dyld.c if (id && strneq (id, name)) name 485 libltdl/loaders/dyld.c unsigned long base = ((dylib_command *) lc)->dylib.name.offset; name 486 libltdl/loaders/dyld.c char *name = (char *) (base + (unsigned long) lc); name 487 libltdl/loaders/dyld.c const mach_header *mh1 = lt__match_loadedlib (name); name 492 libltdl/loaders/dyld.c mh1 = lt__addimage (name, name 68 libltdl/loaders/load_add_on.c if (vtable && !vtable->name) name 70 libltdl/loaders/load_add_on.c vtable->name = "lt_load_add_on"; name 122 libltdl/loaders/load_add_on.c image = load_add_on (info.name); name 155 libltdl/loaders/load_add_on.c vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module, const char *name) name 160 libltdl/loaders/load_add_on.c if (get_image_symbol (image, name, B_SYMBOL_TYPE_ANY, address) != B_OK) name 74 libltdl/loaders/loadlibrary.c if (vtable && !vtable->name) name 76 libltdl/loaders/loadlibrary.c vtable->name = "lt_loadlibrary"; name 265 libltdl/loaders/loadlibrary.c vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module, const char *name) name 267 libltdl/loaders/loadlibrary.c void *address = (void *) GetProcAddress ((HMODULE) module, name); name 69 libltdl/loaders/preopen.c if (vtable && !vtable->name) name 71 libltdl/loaders/preopen.c vtable->name = "lt_preopen"; name 169 libltdl/loaders/preopen.c for (symbol= lists->symlist; symbol->name; ++symbol) name 171 libltdl/loaders/preopen.c if (!symbol->address && STREQ (symbol->name, filename)) name 179 libltdl/loaders/preopen.c if (next_symbol->address && next_symbol->name) name 209 libltdl/loaders/preopen.c vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module, const char *name) name 213 libltdl/loaders/preopen.c if (symbol[1].name && STREQ (symbol[1].name, "@INIT@")) name 220 libltdl/loaders/preopen.c while (symbol->name) name 222 libltdl/loaders/preopen.c if (STREQ (symbol->name, name)) name 282 libltdl/loaders/preopen.c if (symlist[1].name && STREQ (symlist[1].name, "@INIT@")) name 351 libltdl/loaders/preopen.c if ((originator && STREQ (list->symlist->name, originator)) name 352 libltdl/loaders/preopen.c || (!originator && STREQ (list->symlist->name, "@PROGRAM@"))) name 361 libltdl/loaders/preopen.c while ((symbol = &list->symlist[++idx])->name != 0) name 364 libltdl/loaders/preopen.c && (STRNEQ (symbol->name, "@PROGRAM@"))) name 366 libltdl/loaders/preopen.c lt_dlhandle handle = lt_dlopen (symbol->name); name 68 libltdl/loaders/shl_load.c if (vtable && !vtable->name) name 70 libltdl/loaders/shl_load.c vtable->name = "lt_shl_load"; name 204 libltdl/loaders/shl_load.c vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module, const char *name) name 213 libltdl/loaders/shl_load.c else if (!shl_findsym((shl_t*) &module, name, TYPE_UNDEFINED, &address)) name 52 libltdl/lt_dlloader.c const char * name = (const char *) userdata; name 56 libltdl/lt_dlloader.c return STREQ (vtable->name, name) ? (void *) item : NULL; name 106 libltdl/lt_dlloader.c fprintf (stderr, ", %s", (vtable && vtable->name) ? vtable->name : "(null)"); name 121 libltdl/lt_dlloader.c fprintf (stderr, "%s", (head && head->name) ? head->name : "(null)"); name 154 libltdl/lt_dlloader.c lt_dlloader_remove (const char *name) name 156 libltdl/lt_dlloader.c const lt_dlvtable * vtable = lt_dlloader_find (name); name 203 libltdl/lt_dlloader.c slist_unbox ((SList *) slist_remove (&loaders, loader_callback, (void *) name)); name 208 libltdl/lt_dlloader.c lt_dlloader_find (const char *name) name 210 libltdl/lt_dlloader.c return lt_dlloader_get (slist_find (loaders, loader_callback, (void *) name)); name 38 libltdl/lt_error.c #define LT_ERROR(name, diagnostic) diagnostic, name 340 libltdl/ltdl.c if ((vtable = lt_dlloader_remove ((char *) vtable->name))) name 378 libltdl/ltdl.c vtable ? vtable->name : "(ALL)"); name 441 libltdl/ltdl.c (loader_vtable && loader_vtable->name) ? loader_vtable->name : "(null)", name 914 libltdl/ltdl.c char *name; name 920 libltdl/ltdl.c name = MALLOC (char, 1+ name_len); name 921 libltdl/ltdl.c if (name) name 922 libltdl/ltdl.c sprintf (name, "lib%s", p+2); name 925 libltdl/ltdl.c name = lt__strdup(p); name 927 libltdl/ltdl.c if (!name) name 930 libltdl/ltdl.c names[depcount++] = name; name 1167 libltdl/ltdl.c char * name = 0; name 1260 libltdl/ltdl.c name = MALLOC (char, ext - base_name + 1); name 1261 libltdl/ltdl.c if (!name) name 1274 libltdl/ltdl.c name[i] = base_name[i]; name 1278 libltdl/ltdl.c name[i] = '_'; name 1281 libltdl/ltdl.c name[ext - base_name] = LT_EOS_CHAR; name 1293 libltdl/ltdl.c archive_name = MALLOC (char, strlen (libprefix) + LT_STRLEN (name) + strlen (libext) + 2); name 1305 libltdl/ltdl.c if (strncmp(name, "lib", 3) == 0) name 1307 libltdl/ltdl.c sprintf (archive_name, "%s%s.%s", libprefix, name + 3, libext); name 1311 libltdl/ltdl.c sprintf (archive_name, "%s.%s", name, libext); name 1501 libltdl/ltdl.c MEMREASSIGN ((*phandle)->info.name, name); name 1512 libltdl/ltdl.c FREE (name); name 1996 libltdl/ltdl.c FREE (cur->info.name); name 2037 libltdl/ltdl.c + LT_STRLEN (handle->info.name); name 2054 libltdl/ltdl.c if (handle->info.name) name 2064 libltdl/ltdl.c strcat(sym, handle->info.name); name 2068 libltdl/ltdl.c strcpy(sym, handle->info.name); name 2438 libltdl/ltdl.c if (cur && cur->info.name && STREQ (cur->info.name, module_name)) name 81 libltdl/ltdl.h LT_SCOPE void * lt_dlsym (lt_dlhandle handle, const char *name); name 93 libltdl/ltdl.h const char *name; name 133 libltdl/ltdl.h char * name; /* module name */ name 131 maint/gnulib/lib/acl-internal.h # define acl_extended_file(name) (-1) name 117 maint/gnulib/lib/argp-help.c const char name[14]; /* User name. */ name 154 maint/gnulib/lib/argp-help.c "rmargin", up->name); name 221 maint/gnulib/lib/argp-help.c if (strlen (un->name) == var_len name 222 maint/gnulib/lib/argp-help.c && strncmp (var, un->name, var_len) == 0) name 488 maint/gnulib/lib/argp-help.c : ((!o->name && !o->key) name 602 maint/gnulib/lib/argp-help.c if (opt->name) name 636 maint/gnulib/lib/argp-help.c if (opt->name && ovisible (opt)) name 637 maint/gnulib/lib/argp-help.c return opt->name; name 644 maint/gnulib/lib/argp-help.c hol_find_entry (struct hol *hol, const char *name) name 655 maint/gnulib/lib/argp-help.c if (opt->name && ovisible (opt) && strcmp (opt->name, name) == 0) name 669 maint/gnulib/lib/argp-help.c hol_set_group (struct hol *hol, const char *name, int group) name 671 maint/gnulib/lib/argp-help.c struct hol_entry *entry = hol_find_entry (hol, name); name 779 maint/gnulib/lib/argp-help.c canon_doc_option (const char **name) name 783 maint/gnulib/lib/argp-help.c while (isspace ((unsigned char) **name)) name 784 maint/gnulib/lib/argp-help.c (*name)++; name 786 maint/gnulib/lib/argp-help.c non_opt = (**name != '-'); name 788 maint/gnulib/lib/argp-help.c while (**name && !isalnum ((unsigned char) **name)) name 789 maint/gnulib/lib/argp-help.c (*name)++; name 1240 maint/gnulib/lib/argp-help.c if (opt->name && ovisible (opt)) name 1273 maint/gnulib/lib/argp-help.c if (opt->name && ovisible (opt)) name 1282 maint/gnulib/lib/argp-help.c opt->name)); name 1290 maint/gnulib/lib/argp-help.c if (opt->name && ovisible (opt)) name 1293 maint/gnulib/lib/argp-help.c __argp_fmtstream_printf (stream, "--%s", opt->name); name 1305 maint/gnulib/lib/argp-help.c if (!oshort (real) && !real->name) name 1448 maint/gnulib/lib/argp-help.c __argp_fmtstream_printf (stream, " [--%s[=%s]]", opt->name, arg); name 1450 maint/gnulib/lib/argp-help.c __argp_fmtstream_printf (stream, " [--%s=%s]", opt->name, arg); name 1453 maint/gnulib/lib/argp-help.c __argp_fmtstream_printf (stream, " [--%s]", opt->name); name 1677 maint/gnulib/lib/argp-help.c unsigned flags, char *name) name 1731 maint/gnulib/lib/argp-help.c name); name 1735 maint/gnulib/lib/argp-help.c name); name 1775 maint/gnulib/lib/argp-help.c name, name); name 1819 maint/gnulib/lib/argp-help.c unsigned flags, char *name) name 1821 maint/gnulib/lib/argp-help.c _help (argp, 0, stream, flags, name); name 1832 maint/gnulib/lib/argp-help.c char *name = strrchr (program_invocation_name, '/'); name 1833 maint/gnulib/lib/argp-help.c return name ? name + 1 : program_invocation_name; name 1857 maint/gnulib/lib/argp-help.c state ? state->name : __argp_short_program_name ()); name 1899 maint/gnulib/lib/argp-help.c state ? state->name : __argp_short_program_name (), buf); name 1903 maint/gnulib/lib/argp-help.c fputs_unlocked (state ? state->name : __argp_short_program_name (), name 1951 maint/gnulib/lib/argp-help.c state ? state->name : __argp_short_program_name ()); name 1953 maint/gnulib/lib/argp-help.c fputs_unlocked (state ? state->name : __argp_short_program_name (), name 112 maint/gnulib/lib/argp-parse.c state->name = __argp_base_name (arg); name 115 maint/gnulib/lib/argp-parse.c program_invocation_short_name = state->name; name 177 maint/gnulib/lib/argp-parse.c find_long_option (struct option *long_options, const char *name) name 180 maint/gnulib/lib/argp-parse.c while (l->name != NULL) name 181 maint/gnulib/lib/argp-parse.c if (name != NULL && strcmp (l->name, name) == 0) name 185 maint/gnulib/lib/argp-parse.c if (name == NULL) name 325 maint/gnulib/lib/argp-parse.c if (opt->name name 326 maint/gnulib/lib/argp-parse.c && find_long_option (cvt->parser->long_opts, opt->name) < 0) name 329 maint/gnulib/lib/argp-parse.c cvt->long_end->name = opt->name; name 348 maint/gnulib/lib/argp-parse.c (++cvt->long_end)->name = NULL; name 407 maint/gnulib/lib/argp-parse.c cvt.long_end->name = NULL; name 562 maint/gnulib/lib/argp-parse.c parser->state.name = __argp_base_name (argv[0]); name 564 maint/gnulib/lib/argp-parse.c parser->state.name = __argp_short_program_name (); name 614 maint/gnulib/lib/argp-parse.c parser->state.name); name 766 maint/gnulib/lib/argp-parse.c while (long_opt->val != opt && long_opt->name) name 769 maint/gnulib/lib/argp-parse.c long_opt->name ? long_opt->name : "???", name 33 maint/gnulib/lib/argp-version-etc.c argp_version_setup (const char *name, const char * const *authors) name 36 maint/gnulib/lib/argp-version-etc.c program_canonical_name = name; name 34 maint/gnulib/lib/argp-version-etc.h extern void argp_version_setup (const char *name, const char * const *authors); name 73 maint/gnulib/lib/argp.h const char *name; name 346 maint/gnulib/lib/argp.h char *name; name 627 maint/gnulib/lib/argp.h return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; name 30 maint/gnulib/lib/basename-lgpl.c last_component (char const *name) name 32 maint/gnulib/lib/basename-lgpl.c char const *base = name + FILE_SYSTEM_PREFIX_LEN (name); name 54 maint/gnulib/lib/basename-lgpl.c base_len (char const *name) name 57 maint/gnulib/lib/basename-lgpl.c size_t prefix_len = FILE_SYSTEM_PREFIX_LEN (name); name 59 maint/gnulib/lib/basename-lgpl.c for (len = strlen (name); 1 < len && ISSLASH (name[len - 1]); len--) name 63 maint/gnulib/lib/basename-lgpl.c && ISSLASH (name[0]) && ISSLASH (name[1]) && ! name[2]) name 67 maint/gnulib/lib/basename-lgpl.c && len == prefix_len && ISSLASH (name[prefix_len])) name 27 maint/gnulib/lib/basename.c base_name (char const *name) name 29 maint/gnulib/lib/basename.c char const *base = last_component (name); name 48 maint/gnulib/lib/basename.c base = name; name 108 maint/gnulib/lib/bitset/stats.c bitset_percent_histogram_print (FILE *file, const char *name, const char *msg, name 118 maint/gnulib/lib/bitset/stats.c fprintf (file, "%s %s", name, msg); name 129 maint/gnulib/lib/bitset/stats.c bitset_log_histogram_print (FILE *file, const char *name, const char *msg, name 150 maint/gnulib/lib/bitset/stats.c fprintf (file, "%s %s", name, msg); name 176 maint/gnulib/lib/bitset/stats.c bitset_stats_print_1 (FILE *file, const char *name, name 182 maint/gnulib/lib/bitset/stats.c fprintf (file, "%s:\n", name); name 198 maint/gnulib/lib/bitset/stats.c bitset_log_histogram_print (file, name, _("count log histogram\n"), name 201 maint/gnulib/lib/bitset/stats.c bitset_log_histogram_print (file, name, _("size log histogram\n"), name 204 maint/gnulib/lib/bitset/stats.c bitset_percent_histogram_print (file, name, _("density histogram\n"), name 202 maint/gnulib/lib/canonicalize-lgpl.c realpath_stk (const char *name, char *resolved, name 210 maint/gnulib/lib/canonicalize-lgpl.c if (name == NULL) name 220 maint/gnulib/lib/canonicalize-lgpl.c if (name[0] == '\0') name 239 maint/gnulib/lib/canonicalize-lgpl.c idx_t prefix_len = FILE_SYSTEM_PREFIX_LEN (name); name 241 maint/gnulib/lib/canonicalize-lgpl.c if (!IS_ABSOLUTE_FILE_NAME (name)) name 255 maint/gnulib/lib/canonicalize-lgpl.c start = name; name 260 maint/gnulib/lib/canonicalize-lgpl.c dest = __mempcpy (rname, name, prefix_len); name 265 maint/gnulib/lib/canonicalize-lgpl.c && ISSLASH (name[1]) && !ISSLASH (name[2])) name 269 maint/gnulib/lib/canonicalize-lgpl.c start = name + prefix_len; name 362 maint/gnulib/lib/canonicalize-lgpl.c name = end = memcpy (extra_buf, buf, n); name 435 maint/gnulib/lib/canonicalize-lgpl.c __realpath (const char *name, char *resolved) name 442 maint/gnulib/lib/canonicalize-lgpl.c return realpath_stk (name, resolved, &rname_buffer); name 453 maint/gnulib/lib/canonicalize-lgpl.c __old_realpath (const char *name, char *resolved) name 461 maint/gnulib/lib/canonicalize-lgpl.c return __realpath (name, resolved); name 468 maint/gnulib/lib/canonicalize-lgpl.c __canonicalize_file_name (const char *name) name 470 maint/gnulib/lib/canonicalize-lgpl.c return __realpath (name, NULL); name 130 maint/gnulib/lib/canonicalize.c canonicalize_file_name (const char *name) name 132 maint/gnulib/lib/canonicalize.c return canonicalize_filename_mode (name, CAN_EXISTING); name 186 maint/gnulib/lib/canonicalize.c canonicalize_filename_mode_stk (const char *name, canonicalize_mode_t can_mode, name 203 maint/gnulib/lib/canonicalize.c if (name == NULL) name 209 maint/gnulib/lib/canonicalize.c if (name[0] == '\0') name 226 maint/gnulib/lib/canonicalize.c idx_t prefix_len = FILE_SYSTEM_PREFIX_LEN (name); name 228 maint/gnulib/lib/canonicalize.c if (!IS_ABSOLUTE_FILE_NAME (name)) name 248 maint/gnulib/lib/canonicalize.c start = name; name 253 maint/gnulib/lib/canonicalize.c dest = mempcpy (rname, name, prefix_len); name 258 maint/gnulib/lib/canonicalize.c && ISSLASH (name[1]) && !ISSLASH (name[2])) name 266 maint/gnulib/lib/canonicalize.c for (i = 2; name[i] != '\0' && !ISSLASH (name[i]); ) name 268 maint/gnulib/lib/canonicalize.c if (name[i] != '\0' /* implies ISSLASH (name[i]) */ name 272 maint/gnulib/lib/canonicalize.c memcpy (dest, name + 2, i - 2 + 1); name 287 maint/gnulib/lib/canonicalize.c start = name + prefix_len; name 405 maint/gnulib/lib/canonicalize.c name = end = memcpy (extra_buf, buf, n); name 481 maint/gnulib/lib/canonicalize.c canonicalize_filename_mode (const char *name, canonicalize_mode_t can_mode) name 488 maint/gnulib/lib/canonicalize.c return canonicalize_filename_mode_stk (name, can_mode, &rname_buffer); name 50 maint/gnulib/lib/cdefs.h # define __glibc_has_builtin(name) __has_builtin (name) name 52 maint/gnulib/lib/cdefs.h # define __glibc_has_builtin(name) 0 name 203 maint/gnulib/lib/cdefs.h # define __errordecl(name, msg) \ name 204 maint/gnulib/lib/cdefs.h extern void name (void) __attribute__((__error__ (msg))) name 207 maint/gnulib/lib/cdefs.h # define __errordecl(name, msg) extern void name (void) name 246 maint/gnulib/lib/cdefs.h # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) name 248 maint/gnulib/lib/cdefs.h # define __REDIRECT_NTH(name, proto, alias) \ name 249 maint/gnulib/lib/cdefs.h name proto __THROW __asm__ (__ASMNAME (#alias)) name 250 maint/gnulib/lib/cdefs.h # define __REDIRECT_NTHNL(name, proto, alias) \ name 251 maint/gnulib/lib/cdefs.h name proto __THROWNL __asm__ (__ASMNAME (#alias)) name 253 maint/gnulib/lib/cdefs.h # define __REDIRECT_NTH(name, proto, alias) \ name 254 maint/gnulib/lib/cdefs.h name proto __asm__ (__ASMNAME (#alias)) __THROW name 255 maint/gnulib/lib/cdefs.h # define __REDIRECT_NTHNL(name, proto, alias) \ name 256 maint/gnulib/lib/cdefs.h name proto __asm__ (__ASMNAME (#alias)) __THROWNL name 566 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR(name, proto) ... unused__ldbl_redir name 567 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR_DECL(name) \ name 568 maint/gnulib/lib/cdefs.h extern __typeof (name) name __asm (__ASMNAME ("__" #name "ieee128")); name 571 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR2_DECL(name) \ name 572 maint/gnulib/lib/cdefs.h extern __typeof (__##name) __##name \ name 573 maint/gnulib/lib/cdefs.h __asm (__ASMNAME ("__" #name "ieee128")); name 576 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR1(name, proto, alias) ... unused__ldbl_redir1 name 577 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR1_DECL(name, alias) \ name 578 maint/gnulib/lib/cdefs.h extern __typeof (name) name __asm (__ASMNAME (#alias)); name 580 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR1_NTH(name, proto, alias) \ name 581 maint/gnulib/lib/cdefs.h __REDIRECT_NTH (name, proto, alias) name 582 maint/gnulib/lib/cdefs.h # define __REDIRECT_NTH_LDBL(name, proto, alias) \ name 583 maint/gnulib/lib/cdefs.h __LDBL_REDIR1_NTH (name, proto, __##alias##ieee128) name 586 maint/gnulib/lib/cdefs.h # define __REDIRECT_LDBL(name, proto, alias) ... unused__redirect_ldbl name 587 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR_NTH(name, proto) ... unused__ldbl_redir_nth name 595 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR1(name, proto, alias) __REDIRECT (name, proto, alias) name 596 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR(name, proto) \ name 597 maint/gnulib/lib/cdefs.h __LDBL_REDIR1 (name, proto, __nldbl_##name) name 598 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR1_NTH(name, proto, alias) __REDIRECT_NTH (name, proto, alias) name 599 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR_NTH(name, proto) \ name 600 maint/gnulib/lib/cdefs.h __LDBL_REDIR1_NTH (name, proto, __nldbl_##name) name 601 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR2_DECL(name) \ name 602 maint/gnulib/lib/cdefs.h extern __typeof (__##name) __##name __asm (__ASMNAME ("__nldbl___" #name)); name 603 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR1_DECL(name, alias) \ name 604 maint/gnulib/lib/cdefs.h extern __typeof (name) name __asm (__ASMNAME (#alias)); name 605 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR_DECL(name) \ name 606 maint/gnulib/lib/cdefs.h extern __typeof (name) name __asm (__ASMNAME ("__nldbl_" #name)); name 607 maint/gnulib/lib/cdefs.h # define __REDIRECT_LDBL(name, proto, alias) \ name 608 maint/gnulib/lib/cdefs.h __LDBL_REDIR1 (name, proto, __nldbl_##alias) name 609 maint/gnulib/lib/cdefs.h # define __REDIRECT_NTH_LDBL(name, proto, alias) \ name 610 maint/gnulib/lib/cdefs.h __LDBL_REDIR1_NTH (name, proto, __nldbl_##alias) name 615 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR1(name, proto, alias) name proto name 616 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR(name, proto) name proto name 617 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR1_NTH(name, proto, alias) name proto __THROW name 618 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR_NTH(name, proto) name proto __THROW name 619 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR2_DECL(name) name 620 maint/gnulib/lib/cdefs.h # define __LDBL_REDIR_DECL(name) name 622 maint/gnulib/lib/cdefs.h # define __REDIRECT_LDBL(name, proto, alias) __REDIRECT (name, proto, alias) name 623 maint/gnulib/lib/cdefs.h # define __REDIRECT_NTH_LDBL(name, proto, alias) \ name 624 maint/gnulib/lib/cdefs.h __REDIRECT_NTH (name, proto, alias) name 908 maint/gnulib/lib/dfa.c const char *name; name 932 maint/gnulib/lib/dfa.c for (int i = 0; prednames[i].name; i++) name 933 maint/gnulib/lib/dfa.c if (streq (str, prednames[i].name)) name 26 maint/gnulib/lib/dirent-safer.h DIR *opendir_safer (const char *name) name 89 maint/gnulib/lib/duplocale.c char name[SETLOCALE_NULL_MAX]; name 91 maint/gnulib/lib/duplocale.c err = setlocale_null_r (category, name, sizeof (name)); name 97 maint/gnulib/lib/duplocale.c if (strcmp (name, base_name) != 0) name 99 maint/gnulib/lib/duplocale.c locale_t copy = newlocale (category_mask, name, base_copy); name 37 maint/gnulib/lib/faccessat.c orig_faccessat (int fd, char const *name, int mode, int flag) name 39 maint/gnulib/lib/faccessat.c return faccessat (fd, name, mode, flag); name 51 maint/gnulib/lib/fchdir.c char *name; /* Absolute name of the directory, or NULL. */ name 64 maint/gnulib/lib/fchdir.c free (dirs[fd].name); name 118 maint/gnulib/lib/fchdir.c free (dirs[fd].name); name 119 maint/gnulib/lib/fchdir.c dirs[fd].name = NULL; name 138 maint/gnulib/lib/fchdir.c || (dirs[fd].name = get_name (filename)) == NULL) name 158 maint/gnulib/lib/fchdir.c if (oldfd < dirs_allocated && dirs[oldfd].name) name 162 maint/gnulib/lib/fchdir.c || (dirs[newfd].name = strdup (dirs[oldfd].name)) == NULL) name 173 maint/gnulib/lib/fchdir.c free (dirs[newfd].name); name 174 maint/gnulib/lib/fchdir.c dirs[newfd].name = NULL; name 184 maint/gnulib/lib/fchdir.c if (0 <= fd && fd < dirs_allocated && dirs[fd].name != NULL) name 185 maint/gnulib/lib/fchdir.c return dirs[fd].name; name 204 maint/gnulib/lib/fchdir.c const char *name = _gl_directory_name (fd); name 205 maint/gnulib/lib/fchdir.c return name ? chdir (name) : -1; name 194 maint/gnulib/lib/fdopendir.c char const *name = _gl_directory_name (fd); name 195 maint/gnulib/lib/fdopendir.c DIR *dp = name ? opendir (name) : NULL; name 45 maint/gnulib/lib/file-has-acl.c file_has_acl (char const *name, struct stat const *sb) name 55 maint/gnulib/lib/file-has-acl.c ret = getxattr (name, XATTR_NAME_POSIX_ACL_ACCESS, NULL, 0); name 63 maint/gnulib/lib/file-has-acl.c ret = getxattr (name, XATTR_NAME_POSIX_ACL_DEFAULT, NULL, 0); name 85 maint/gnulib/lib/file-has-acl.c ret = acl_extended_file (name); name 95 maint/gnulib/lib/file-has-acl.c acl_t acl = acl_get_file (name, ACL_TYPE_EXTENDED); name 104 maint/gnulib/lib/file-has-acl.c acl_t acl = acl_get_file (name, ACL_TYPE_ACCESS); name 125 maint/gnulib/lib/file-has-acl.c acl = acl_get_file (name, ACL_TYPE_DEFAULT); name 158 maint/gnulib/lib/file-has-acl.c return acl_trivial (name); name 181 maint/gnulib/lib/file-has-acl.c count = acl (name, GETACL, alloc, entries); name 255 maint/gnulib/lib/file-has-acl.c count = acl (name, ACE_GETACL, alloc, entries); name 323 maint/gnulib/lib/file-has-acl.c count = getacl (name, NACLENTRIES, entries); name 352 maint/gnulib/lib/file-has-acl.c if (stat (name, &statbuf) == -1 && errno != EOVERFLOW) name 366 maint/gnulib/lib/file-has-acl.c count = acl ((char *) name, ACL_GET, NACLVENTRIES, entries); name 410 maint/gnulib/lib/file-has-acl.c if (aclx_get (name, 0, &type, aclbuf, &aclsize, &mode) >= 0) name 459 maint/gnulib/lib/file-has-acl.c if (statacl ((char *) name, STX_NORMAL, &u.a, sizeof (u)) < 0) name 470 maint/gnulib/lib/file-has-acl.c count = acl ((char *) name, ACL_GET, NACLENTRIES, entries); name 37 maint/gnulib/lib/file-set.c ent->name = xstrdup (file); name 69 maint/gnulib/lib/file-set.c new_ent.name = (char *) file; name 83 maint/gnulib/lib/fnmatch.in.h (const char *pattern, const char *name, int flags) name 86 maint/gnulib/lib/fnmatch.in.h (const char *pattern, const char *name, int flags)); name 90 maint/gnulib/lib/fnmatch.in.h (const char *pattern, const char *name, int flags) name 94 maint/gnulib/lib/fnmatch.in.h (const char *pattern, const char *name, int flags)); name 27 maint/gnulib/lib/forkpty.c rpl_forkpty (int *amaster, char *name, struct termios const *termp, name 31 maint/gnulib/lib/forkpty.c return forkpty (amaster, name, (struct termios *) termp, name 43 maint/gnulib/lib/forkpty.c forkpty (int *amaster, char *name, name 48 maint/gnulib/lib/forkpty.c if (openpty (&master, &slave, name, termp, winp) == -1) name 56 maint/gnulib/lib/freopen-safer.c freopen_safer (char const *name, char const *mode, FILE *f) name 94 maint/gnulib/lib/freopen-safer.c f = freopen (name, mode, f); name 73 maint/gnulib/lib/fstat.c const char *name = _gl_directory_name (fd); name 74 maint/gnulib/lib/fstat.c if (name != NULL) name 75 maint/gnulib/lib/fstat.c return stat (name, buf); name 114 maint/gnulib/lib/fstatat.c stat_func (char const *name, struct stat *st) name 116 maint/gnulib/lib/fstatat.c return stat (name, st); name 94 maint/gnulib/lib/fsusage.c struct utsname name; name 96 maint/gnulib/lib/fsusage.c statvfs_works_cache = (uname (&name) == 0 name 97 maint/gnulib/lib/fsusage.c && 0 <= strverscmp (name.release, "2.6.36")); name 39 maint/gnulib/lib/ftoastr.c # define PREFIX(name) c_ ## name name 41 maint/gnulib/lib/ftoastr.c # define PREFIX(name) name name 938 maint/gnulib/lib/fts.c goto name; name 961 maint/gnulib/lib/fts.c goto name; name 1003 maint/gnulib/lib/fts.c name: t = sp->fts_path + NAPPEND(p->fts_parent); name 1874 maint/gnulib/lib/fts.c fts_alloc (FTS *sp, const char *name, register size_t namelen) name 1888 maint/gnulib/lib/fts.c memcpy(p->fts_name, name, namelen); name 56 maint/gnulib/lib/gen-uni-tables.c const char *name; /* Character name */ name 102 maint/gnulib/lib/gen-uni-tables.c uni->name = strdup (field1); name 178 maint/gnulib/lib/gen-uni-tables.c unicode_attributes[i].name = NULL; name 352 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 360 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 370 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 378 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 386 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 394 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 402 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 410 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 417 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 425 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 433 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 441 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 448 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 456 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 464 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 472 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 479 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 487 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 495 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 503 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 511 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 519 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 527 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 535 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 542 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 550 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 558 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 566 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 574 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 581 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 589 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 597 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 605 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name == NULL name 612 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 620 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 634 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 642 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name == NULL name 751 maint/gnulib/lib/gen-uni-tables.c output_predicate (const char *filename, bool (*predicate) (unsigned int), const char *name, const char *comment, const char *version) name 810 maint/gnulib/lib/gen-uni-tables.c fprintf (stream, "%s =\n", name); name 1100 maint/gnulib/lib/gen-uni-tables.c else if (unicode_attributes[ch].name != NULL) name 1265 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name != NULL) name 1571 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name != NULL) name 1759 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name != NULL name 1964 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name != NULL name 2165 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name != NULL name 2502 maint/gnulib/lib/gen-uni-tables.c mirrored = (unicode_attributes[ch].name != NULL name 2789 maint/gnulib/lib/gen-uni-tables.c #define PROP(name,value) \ name 2790 maint/gnulib/lib/gen-uni-tables.c if (strcmp (propname, name) == 0) propvalue = value; else name 3161 maint/gnulib/lib/gen-uni-tables.c bool result2 = (unicode_attributes[ch].name != NULL name 3471 maint/gnulib/lib/gen-uni-tables.c || (unicode_attributes[ch].name != NULL name 3472 maint/gnulib/lib/gen-uni-tables.c && strstr (unicode_attributes[ch].name, "ZERO WIDTH") != NULL); name 3511 maint/gnulib/lib/gen-uni-tables.c (unicode_attributes[ch].name != NULL name 3512 maint/gnulib/lib/gen-uni-tables.c && strcmp (unicode_attributes[ch].name, "<control>") == 0); name 3634 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 3646 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 3659 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name != NULL name 3975 maint/gnulib/lib/gen-uni-tables.c #define TRY(name) else if (strcmp (joining_type_name, #name + 16) == 0) joining_type = name; name 3996 maint/gnulib/lib/gen-uni-tables.c #define TRY(value,name) else if (strcmp (joining_group_name, name) == 0) joining_group = value; name 4944 maint/gnulib/lib/gen-uni-tables.c typedef struct { unsigned int start; unsigned int end; const char *name; } name 4981 maint/gnulib/lib/gen-uni-tables.c blocks[numblocks].name = strdup (blockname); name 5071 maint/gnulib/lib/gen-uni-tables.c blocks[i].end, blocks[i].name); name 5464 maint/gnulib/lib/gen-uni-tables.c output_ident_category (const char *filename, int (*predicate) (unsigned int), const char *name, const char *version) name 5527 maint/gnulib/lib/gen-uni-tables.c fprintf (stream, "%s =\n", name); name 5627 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name != NULL name 5637 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name != NULL name 5647 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name != NULL name 5673 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 5691 maint/gnulib/lib/gen-uni-tables.c && strstr (unicode_attributes[ch].name, " LETTER ") name 5705 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 5734 maint/gnulib/lib/gen-uni-tables.c || (unicode_attributes[ch].name != NULL name 5752 maint/gnulib/lib/gen-uni-tables.c || (unicode_attributes[ch].name != NULL name 5764 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 5765 maint/gnulib/lib/gen-uni-tables.c && (strcmp (unicode_attributes[ch].name, "<control>") == 0 name 5797 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 5798 maint/gnulib/lib/gen-uni-tables.c && strcmp (unicode_attributes[ch].name, "<control>") name 5805 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 5806 maint/gnulib/lib/gen-uni-tables.c && strcmp (unicode_attributes[ch].name, "<control>") name 5808 maint/gnulib/lib/gen-uni-tables.c && !(unicode_attributes[ch].name != NULL name 5818 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 5859 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 6188 maint/gnulib/lib/gen-uni-tables.c unicode_width[i] = (unicode_attributes[i].name != NULL ? "N" : NULL); name 6260 maint/gnulib/lib/gen-uni-tables.c return (unicode_attributes[ch].name != NULL name 6263 maint/gnulib/lib/gen-uni-tables.c || strncmp (unicode_attributes[ch].name, "ZERO WIDTH ", 11) == 0)); name 6529 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name == NULL && (ch >= 0x20BC && ch <= 0x20CF)) name 6532 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name != NULL) name 6955 maint/gnulib/lib/gen-uni-tables.c || strstr (unicode_attributes[ch].name, "HIRAGANA LETTER SMALL ") != NULL name 6956 maint/gnulib/lib/gen-uni-tables.c || strstr (unicode_attributes[ch].name, "KATAKANA LETTER SMALL ") != NULL) name 7018 maint/gnulib/lib/gen-uni-tables.c && strstr (unicode_attributes[ch].name, "FULLWIDTH") == NULL) name 7237 maint/gnulib/lib/gen-uni-tables.c || strstr (unicode_attributes[ch].name, "FULLWIDTH LATIN ") != NULL name 8041 maint/gnulib/lib/gen-uni-tables.c if (unicode_attributes[ch].name != NULL) name 8266 maint/gnulib/lib/gen-uni-tables.c #define PROP(name,value) \ name 8267 maint/gnulib/lib/gen-uni-tables.c if (strcmp (propname, name) == 0) propvalue = value; else name 8320 maint/gnulib/lib/gen-uni-tables.c #define PROP(name,value) \ name 8321 maint/gnulib/lib/gen-uni-tables.c if (propvalue == value) fprintf (stream, " " name); else name 8855 maint/gnulib/lib/gen-uni-tables.c #define PROP(name,value) \ name 8856 maint/gnulib/lib/gen-uni-tables.c if (strcmp (propname, name) == 0) propvalue = value; else name 33 maint/gnulib/lib/get-permissions.c get_permissions (const char *name, int desc, mode_t mode, name 48 maint/gnulib/lib/get-permissions.c ctx->acl = acl_get_file (name, ACL_TYPE_ACCESS); name 58 maint/gnulib/lib/get-permissions.c ctx->default_acl = acl_get_file (name, ACL_TYPE_DEFAULT); name 88 maint/gnulib/lib/get-permissions.c ctx->acl = acl_get_file (name, ACL_TYPE_EXTENDED); name 120 maint/gnulib/lib/get-permissions.c ret = acl (name, ACE_GETACLCNT, 0, NULL); name 143 maint/gnulib/lib/get-permissions.c ret = acl (name, ACE_GETACL, ctx->ace_count, ctx->ace_entries); name 175 maint/gnulib/lib/get-permissions.c ret = acl (name, GETACLCNT, 0, NULL); name 198 maint/gnulib/lib/get-permissions.c ret = acl (name, GETACL, ctx->count, ctx->entries); name 230 maint/gnulib/lib/get-permissions.c ret = getacl (name, NACLENTRIES, ctx->entries); name 244 maint/gnulib/lib/get-permissions.c ret = acl ((char *) name, ACL_GET, NACLVENTRIES, ctx->aclv_entries); name 270 maint/gnulib/lib/get-permissions.c ret = statacl ((char *) name, STX_NORMAL, &ctx->u.a, sizeof ctx->u); name 278 maint/gnulib/lib/get-permissions.c int ret = acl ((char *) name, ACL_GET, NACLENTRIES, ctx->entries); name 401 maint/gnulib/lib/get_progname_of.c char *name = buf.pr_fname; name 404 maint/gnulib/lib/get_progname_of.c char *namenul = memchr (name, '\0', namesize); name 405 maint/gnulib/lib/get_progname_of.c size_t namelen = namenul ? namenul - name : namesize; name 410 maint/gnulib/lib/get_progname_of.c return memcpy (namecopy, name, namelen); name 423 maint/gnulib/lib/get_progname_of.c const char *name = info->progname; name 426 maint/gnulib/lib/get_progname_of.c const char *namenul = memchr (name, '\0', namesize); name 427 maint/gnulib/lib/get_progname_of.c size_t namelen = namenul ? namenul - name : namesize; name 432 maint/gnulib/lib/get_progname_of.c const char *backslash = memchr (name, '\\', namelen); name 435 maint/gnulib/lib/get_progname_of.c const char *name_end = name + namelen; name 444 maint/gnulib/lib/get_progname_of.c name = backslash + 1; name 445 maint/gnulib/lib/get_progname_of.c namelen = name_end - name; name 454 maint/gnulib/lib/get_progname_of.c return memcpy (namecopy, name, namelen); name 466 maint/gnulib/lib/get_progname_of.c const char *name = info.args; name 469 maint/gnulib/lib/get_progname_of.c const char *namenul = memchr (name, '\0', namesize); name 470 maint/gnulib/lib/get_progname_of.c size_t namelen = namenul ? namenul - name : namesize; name 474 maint/gnulib/lib/get_progname_of.c const char *space = memchr (name, ' ', namelen); name 476 maint/gnulib/lib/get_progname_of.c namelen = space - name; name 481 maint/gnulib/lib/get_progname_of.c const char *slash = memchr (name, '/', namelen); name 484 maint/gnulib/lib/get_progname_of.c const char *name_end = name + namelen; name 493 maint/gnulib/lib/get_progname_of.c name = slash + 1; name 494 maint/gnulib/lib/get_progname_of.c namelen = name_end - name; name 503 maint/gnulib/lib/get_progname_of.c return memcpy (namecopy, name, namelen); name 44 maint/gnulib/lib/getdomainname.c getdomainname (char *name, size_t len) name 52 maint/gnulib/lib/getdomainname.c return getdomainname (name, (int) len); name 59 maint/gnulib/lib/getdomainname.c ret = sysinfo (SI_SRPC_DOMAIN, name, len > INT_MAX ? INT_MAX : len); name 78 maint/gnulib/lib/getdomainname.c memcpy (name, result, result_len); name 80 maint/gnulib/lib/getdomainname.c name[result_len] = '\0'; name 42 maint/gnulib/lib/gethostname.c gethostname (char *name, size_t len) name 52 maint/gnulib/lib/gethostname.c name[sizeof (uts.nodename)] = '\0'; name 55 maint/gnulib/lib/gethostname.c strncpy (name, uts.nodename, len); name 57 maint/gnulib/lib/gethostname.c strcpy (name, ""); /* Hardcode your system name if you want. */ name 90 maint/gnulib/lib/gethostname.c rpl_gethostname (char *name, size_t len) name 97 maint/gnulib/lib/gethostname.c r = gethostname (name, (int) len); name 44 maint/gnulib/lib/getlogin_r.c getlogin_r (char *name, size_t size) name 57 maint/gnulib/lib/getlogin_r.c if (!GetUserName (name, &sz)) name 69 maint/gnulib/lib/getlogin_r.c int ret = getlogin_r (name, size); name 73 maint/gnulib/lib/getlogin_r.c const char *nul = memchr (name, '\0', size); name 77 maint/gnulib/lib/getlogin_r.c if (size > 0 && nul == name + size - 1) name 86 maint/gnulib/lib/getlogin_r.c if (ret == 0 && memcmp (name, room, size) != 0) name 107 maint/gnulib/lib/getlogin_r.c memcpy (name, n, nlen + 1); name 52 maint/gnulib/lib/getopt-ext.h const char *name; name 212 maint/gnulib/lib/getopt.c for (p = longopts, n_options = 0; p->name; p++, n_options++) name 213 maint/gnulib/lib/getopt.c if (!strncmp (p->name, d->__nextchar, namelen) name 214 maint/gnulib/lib/getopt.c && namelen == strlen (p->name)) name 230 maint/gnulib/lib/getopt.c for (p = longopts, option_index = 0; p->name; p++, option_index++) name 231 maint/gnulib/lib/getopt.c if (!strncmp (p->name, d->__nextchar, namelen)) name 290 maint/gnulib/lib/getopt.c prefix, longopts[option_index].name); name 346 maint/gnulib/lib/getopt.c argv[0], prefix, pfound->name); name 361 maint/gnulib/lib/getopt.c argv[0], prefix, pfound->name); name 102 maint/gnulib/lib/getopt1.c printf ("option %s", long_options[option_index].name); name 244 maint/gnulib/lib/getprogname.c char *name = buf.pr_fname; name 247 maint/gnulib/lib/getprogname.c char *namenul = memchr (name, '\0', namesize); name 248 maint/gnulib/lib/getprogname.c size_t namelen = namenul ? namenul - name : namesize; name 253 maint/gnulib/lib/getprogname.c return memcpy (namecopy, name, namelen); name 141 maint/gnulib/lib/getusershell.c readname (char **name, idx_t *size, FILE *stream) name 153 maint/gnulib/lib/getusershell.c *name = xpalloc (*name, size, 1, -1, sizeof **name); name 156 maint/gnulib/lib/getusershell.c (*name)[name_index++] = c; name 159 maint/gnulib/lib/getusershell.c (*name)[name_index] = '\0'; name 58 maint/gnulib/lib/glob.c # define opendir(name) __opendir (name) name 60 maint/gnulib/lib/glob.c # define getpwnam_r(name, bufp, buf, len, res) \ name 61 maint/gnulib/lib/glob.c __getpwnam_r (name, bufp, buf, len, res) name 122 maint/gnulib/lib/glob.c const char *name; name 1287 maint/gnulib/lib/glob.c struct globnames *next; size_t count; char *name[nnames]; name 1303 maint/gnulib/lib/glob.c - offsetof (struct globnames, name)) name 1304 maint/gnulib/lib/glob.c / sizeof init_names->name[0]); name 1376 maint/gnulib/lib/glob.c if (d.name == NULL) name 1388 maint/gnulib/lib/glob.c if (fnmatch (pattern, d.name, fnm_flags) == 0) name 1394 maint/gnulib/lib/glob.c size_t nameoff = offsetof (struct globnames, name); name 1395 maint/gnulib/lib/glob.c size_t size = FLEXSIZEOF (struct globnames, name, name 1411 maint/gnulib/lib/glob.c names->name[cur] = strdup (d.name); name 1412 maint/gnulib/lib/glob.c if (names->name[cur] == NULL) name 1427 maint/gnulib/lib/glob.c names->name[cur] = malloc (len + 1); name 1428 maint/gnulib/lib/glob.c if (names->name[cur] == NULL) name 1430 maint/gnulib/lib/glob.c *((char *) mempcpy (names->name[cur++], pattern, len)) = '\0'; name 1455 maint/gnulib/lib/glob.c free (names->name[i]); name 1481 maint/gnulib/lib/glob.c = names->name[i]; name 37 maint/gnulib/lib/hash-triple-simple.c size_t tmp = hash_pjw (p->name, table_size); name 49 maint/gnulib/lib/hash-triple-simple.c return (SAME_INODE (*a, *b) && STREQ (a->name, b->name)) ? true : false; name 57 maint/gnulib/lib/hash-triple-simple.c free (a->name); name 43 maint/gnulib/lib/hash-triple.c return (SAME_INODE (*a, *b) && same_name (a->name, b->name)) ? true : false; name 29 maint/gnulib/lib/hash-triple.h char *name; name 45 maint/gnulib/lib/idcache.c char name[FLEXIBLE_ARRAY_MEMBER]; name 86 maint/gnulib/lib/idcache.c char const *name = pwent ? pwent->pw_name : ""; name 87 maint/gnulib/lib/idcache.c match = xmalloc (FLEXSIZEOF (struct userid, name, strlen (name) + 1)); name 89 maint/gnulib/lib/idcache.c strcpy (match->name, name); name 96 maint/gnulib/lib/idcache.c return match->name[0] ? match->name : NULL; name 112 maint/gnulib/lib/idcache.c if (*tail->name == *user && !strcmp (tail->name, user)) name 117 maint/gnulib/lib/idcache.c if (*tail->name == *user && !strcmp (tail->name, user)) name 131 maint/gnulib/lib/idcache.c tail = xmalloc (FLEXSIZEOF (struct userid, name, strlen (user) + 1)); name 132 maint/gnulib/lib/idcache.c strcpy (tail->name, user); name 168 maint/gnulib/lib/idcache.c char const *name = grent ? grent->gr_name : ""; name 169 maint/gnulib/lib/idcache.c match = xmalloc (FLEXSIZEOF (struct userid, name, strlen (name) + 1)); name 171 maint/gnulib/lib/idcache.c strcpy (match->name, name); name 178 maint/gnulib/lib/idcache.c return match->name[0] ? match->name : NULL; name 194 maint/gnulib/lib/idcache.c if (*tail->name == *group && !strcmp (tail->name, group)) name 199 maint/gnulib/lib/idcache.c if (*tail->name == *group && !strcmp (tail->name, group)) name 213 maint/gnulib/lib/idcache.c tail = xmalloc (FLEXSIZEOF (struct userid, name, strlen (group) + 1)); name 214 maint/gnulib/lib/idcache.c strcpy (tail->name, group); name 181 maint/gnulib/lib/libc-config.h #define libc_hidden_proto(name) name 182 maint/gnulib/lib/libc-config.h #define libc_hidden_def(name) name 183 maint/gnulib/lib/libc-config.h #define libc_hidden_weak(name) name 184 maint/gnulib/lib/libc-config.h #define libc_hidden_ver(local, name) name 185 maint/gnulib/lib/libc-config.h #define strong_alias(name, aliasname) name 186 maint/gnulib/lib/libc-config.h #define weak_alias(name, aliasname) name 93 maint/gnulib/lib/linkat.c char *name = (char *) file1; name 101 maint/gnulib/lib/linkat.c while (i-- && (target = areadlink (name))) name 105 maint/gnulib/lib/linkat.c if (name != file1) name 106 maint/gnulib/lib/linkat.c free (name); name 107 maint/gnulib/lib/linkat.c name = target; name 111 maint/gnulib/lib/linkat.c char *dir = mdir_name (name); name 112 maint/gnulib/lib/linkat.c if (name != file1) name 113 maint/gnulib/lib/linkat.c free (name); name 120 maint/gnulib/lib/linkat.c name = mfile_name_concat (dir, target, NULL); name 123 maint/gnulib/lib/linkat.c if (!name) name 137 maint/gnulib/lib/linkat.c if (name != file1) name 138 maint/gnulib/lib/linkat.c free (name); name 141 maint/gnulib/lib/linkat.c result = link (name, file2); name 142 maint/gnulib/lib/linkat.c if (name != file1) name 143 maint/gnulib/lib/linkat.c free (name); name 211 maint/gnulib/lib/linkat.c char *name = (char *) file1; name 217 maint/gnulib/lib/linkat.c while (i-- && (target = areadlinkat (fd1, name))) name 221 maint/gnulib/lib/linkat.c if (name != file1) name 222 maint/gnulib/lib/linkat.c free (name); name 223 maint/gnulib/lib/linkat.c name = target; name 227 maint/gnulib/lib/linkat.c char *dir = mdir_name (name); name 228 maint/gnulib/lib/linkat.c if (name != file1) name 229 maint/gnulib/lib/linkat.c free (name); name 236 maint/gnulib/lib/linkat.c name = mfile_name_concat (dir, target, NULL); name 239 maint/gnulib/lib/linkat.c if (!name) name 253 maint/gnulib/lib/linkat.c if (name != file1) name 254 maint/gnulib/lib/linkat.c free (name); name 257 maint/gnulib/lib/linkat.c result = linkat (fd1, name, fd2, file2, 0); name 258 maint/gnulib/lib/linkat.c if (name != file1) name 259 maint/gnulib/lib/linkat.c free (name); name 222 maint/gnulib/lib/locale.in.h (int category_mask, const char *name, locale_t base) name 225 maint/gnulib/lib/locale.in.h (int category_mask, const char *name, locale_t base)); name 229 maint/gnulib/lib/locale.in.h (int category_mask, const char *name, locale_t base)); name 1163 maint/gnulib/lib/localename.c gl_locale_name_canonicalize (char *name) name 1374 maint/gnulib/lib/localename.c if (name[0] >= 'A' && name[0] <= 'Z') name 1385 maint/gnulib/lib/localename.c if (strcmp (name, p->legacy) < 0) name 1390 maint/gnulib/lib/localename.c if (strcmp (name, legacy_table[i1].legacy) == 0) name 1392 maint/gnulib/lib/localename.c strcpy (name, legacy_table[i1].unixy); name 1398 maint/gnulib/lib/localename.c if (strlen (name) == 7 && name[2] == '-') name 1409 maint/gnulib/lib/localename.c if (strcmp (name, p->langtag) < 0) name 1414 maint/gnulib/lib/localename.c if (strcmp (name, langtag_table[i1].langtag) == 0) name 1416 maint/gnulib/lib/localename.c strcpy (name, langtag_table[i1].unixy); name 1428 maint/gnulib/lib/localename.c if (strcmp (name + 3, p->script) < 0) name 1433 maint/gnulib/lib/localename.c if (strcmp (name + 3, script_table[i1].script) == 0) name 1435 maint/gnulib/lib/localename.c name[2] = '@'; name 1436 maint/gnulib/lib/localename.c strcpy (name + 3, script_table[i1].unixy); name 1444 maint/gnulib/lib/localename.c for (p = name; *p != '\0'; p++) name 1463 maint/gnulib/lib/localename.c gl_locale_name_canonicalize (char *name) name 1469 maint/gnulib/lib/localename.c for (p = name; *p != '\0'; p++) name 2728 maint/gnulib/lib/localename.c const char *name = setlocale_null (category); name 2729 maint/gnulib/lib/localename.c if (name != NULL) name 2730 maint/gnulib/lib/localename.c return struniq (name); name 2743 maint/gnulib/lib/localename.c const char *name = ""; name 2750 maint/gnulib/lib/localename.c name = p->names.category_name[category]; name 2754 maint/gnulib/lib/localename.c return name; name 2764 maint/gnulib/lib/localename.c newlocale (int category_mask, const char *name, locale_t base) name 2775 maint/gnulib/lib/localename.c name = struniq (name); name 2785 maint/gnulib/lib/localename.c name = struniq (name); name 2787 maint/gnulib/lib/localename.c names.category_name[category] = name; name 2824 maint/gnulib/lib/localename.c ((mask & category_mask) != 0 ? name : "C"); name 2860 maint/gnulib/lib/localename.c ? name name 2908 maint/gnulib/lib/localename.c ? name name 2921 maint/gnulib/lib/localename.c result = newlocale (category_mask, name, base); name 3109 maint/gnulib/lib/localename.c const char *name = name 3111 maint/gnulib/lib/localename.c if (name[0] == '\0') name 3114 maint/gnulib/lib/localename.c name = thread_locale->__names[category]; name 3115 maint/gnulib/lib/localename.c return name; name 3216 maint/gnulib/lib/localename.c const char *name = gl_locale_name_thread_unsafe (category, categoryname); name 3217 maint/gnulib/lib/localename.c if (name != NULL) name 3218 maint/gnulib/lib/localename.c return struniq (name); name 3401 maint/gnulib/lib/localename.c CFStringRef name = (CFStringRef)value; name 3403 maint/gnulib/lib/localename.c if (CFStringGetCString (name, namebuf, sizeof (namebuf), name 149 maint/gnulib/lib/malloc/dynarray-skeleton.c #define DYNARRAY_CONCAT0(prefix, name) prefix##name name 150 maint/gnulib/lib/malloc/dynarray-skeleton.c #define DYNARRAY_CONCAT1(prefix, name) DYNARRAY_CONCAT0(prefix, name) name 151 maint/gnulib/lib/malloc/dynarray-skeleton.c #define DYNARRAY_NAME(name) DYNARRAY_CONCAT1(DYNARRAY_PREFIX, name) name 42 maint/gnulib/lib/mkdir.c # define mkdir(name,mode) _mkdir (name) name 30 maint/gnulib/lib/mkfifo.c mkfifo (_GL_UNUSED char const *name, _GL_UNUSED mode_t mode) name 44 maint/gnulib/lib/mkfifo.c rpl_mkfifo (char const *name, mode_t mode) name 47 maint/gnulib/lib/mkfifo.c size_t len = strlen (name); name 48 maint/gnulib/lib/mkfifo.c if (len && name[len - 1] == '/') name 51 maint/gnulib/lib/mkfifo.c if (stat (name, &st) == 0 || errno == EOVERFLOW) name 56 maint/gnulib/lib/mkfifo.c return mkfifo (name, mode); name 30 maint/gnulib/lib/mknod.c mknod (_GL_UNUSED char const *name, _GL_UNUSED mode_t mode, name 47 maint/gnulib/lib/mknod.c rpl_mknod (char const *name, mode_t mode, dev_t dev) name 55 maint/gnulib/lib/mknod.c size_t len = strlen (name); name 56 maint/gnulib/lib/mknod.c if (len && name[len - 1] == '/') name 59 maint/gnulib/lib/mknod.c if (stat (name, &st) == 0 || errno == EOVERFLOW) name 69 maint/gnulib/lib/mknod.c return mkfifo (name, mode & ~S_IFIFO); name 71 maint/gnulib/lib/mknod.c return mknod (name, mode, dev); name 668 maint/gnulib/lib/mountlist.c char *name; name 689 maint/gnulib/lib/mountlist.c char *name; name 696 maint/gnulib/lib/mountlist.c name = xstrdup ("/"); name 699 maint/gnulib/lib/mountlist.c name = xmalloc (1 + strlen (d->d_name) + 1); name 700 maint/gnulib/lib/mountlist.c name[0] = '/'; name 701 maint/gnulib/lib/mountlist.c strcpy (name + 1, d->d_name); name 704 maint/gnulib/lib/mountlist.c if (lstat (name, &statbuf) >= 0 && S_ISDIR (statbuf.st_mode)) name 707 maint/gnulib/lib/mountlist.c re->name = name; name 716 maint/gnulib/lib/mountlist.c free (name); name 735 maint/gnulib/lib/mountlist.c me->me_mountdir = xstrdup (re != NULL ? re->name : fi.fsh_name); name 753 maint/gnulib/lib/mountlist.c free (re->name); name 102 maint/gnulib/lib/openat.h statat (int fd, char const *name, struct stat *st) name 104 maint/gnulib/lib/openat.h return fstatat (fd, name, st, 0); name 108 maint/gnulib/lib/openat.h lstatat (int fd, char const *name, struct stat *st) name 110 maint/gnulib/lib/openat.h return fstatat (fd, name, st, AT_SYMLINK_NOFOLLOW); name 31 maint/gnulib/lib/opendir-safer.c opendir_safer (char const *name) name 33 maint/gnulib/lib/opendir-safer.c DIR *dp = opendir (name); name 66 maint/gnulib/lib/opendir-safer.c newdp = opendir_safer (name); name 27 maint/gnulib/lib/openpty.c rpl_openpty (int *amaster, int *aslave, char *name, name 31 maint/gnulib/lib/openpty.c return openpty (amaster, aslave, name, (struct termios *) termp, name 41 maint/gnulib/lib/openpty.c _GL_UNUSED char *name, name 63 maint/gnulib/lib/openpty.c openpty (int *amaster, int *aslave, char *name, name 126 maint/gnulib/lib/openpty.c if (name != NULL) name 127 maint/gnulib/lib/openpty.c strcpy (name, slave_name); name 149 maint/gnulib/lib/parse-datetime.y char const *name; name 523 maint/gnulib/lib/parse-datetime.y print_rel_part (bool space, intmax_t val, char const *name) name 527 maint/gnulib/lib/parse-datetime.y fprintf (stderr, &" %+"PRIdMAX" %s"[!space], val, name); name 1297 maint/gnulib/lib/parse-datetime.y lookup_zone (parser_control const *pc, char const *name) name 1301 maint/gnulib/lib/parse-datetime.y for (tp = universal_time_zone_table; tp->name; tp++) name 1302 maint/gnulib/lib/parse-datetime.y if (strcmp (name, tp->name) == 0) name 1307 maint/gnulib/lib/parse-datetime.y for (tp = pc->local_time_zone_table; tp->name; tp++) name 1308 maint/gnulib/lib/parse-datetime.y if (strcmp (name, tp->name) == 0) name 1311 maint/gnulib/lib/parse-datetime.y for (tp = time_zone_table; tp->name; tp++) name 1312 maint/gnulib/lib/parse-datetime.y if (strcmp (name, tp->name) == 0) name 1359 maint/gnulib/lib/parse-datetime.y for (tp = meridian_table; tp->name; tp++) name 1360 maint/gnulib/lib/parse-datetime.y if (strcmp (word, tp->name) == 0) name 1367 maint/gnulib/lib/parse-datetime.y for (tp = month_and_day_table; tp->name; tp++) name 1368 maint/gnulib/lib/parse-datetime.y if ((abbrev ? strncmp (word, tp->name, 3) : strcmp (word, tp->name)) == 0) name 1374 maint/gnulib/lib/parse-datetime.y if (strcmp (word, dst_table[0].name) == 0) name 1377 maint/gnulib/lib/parse-datetime.y for (tp = time_units_table; tp->name; tp++) name 1378 maint/gnulib/lib/parse-datetime.y if (strcmp (word, tp->name) == 0) name 1385 maint/gnulib/lib/parse-datetime.y for (tp = time_units_table; tp->name; tp++) name 1386 maint/gnulib/lib/parse-datetime.y if (strcmp (word, tp->name) == 0) name 1391 maint/gnulib/lib/parse-datetime.y for (tp = relative_time_table; tp->name; tp++) name 1392 maint/gnulib/lib/parse-datetime.y if (strcmp (word, tp->name) == 0) name 1397 maint/gnulib/lib/parse-datetime.y for (tp = military_table; tp->name; tp++) name 1398 maint/gnulib/lib/parse-datetime.y if (word[0] == tp->name[0]) name 1842 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[0].name = tmp.tm_zone; name 1845 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[1].name = NULL; name 1861 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[1].name = probe_tm.tm_zone; name 1864 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[2].name = NULL; name 1879 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[i].name = tzname[i]; name 1883 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[i].name = NULL; name 1886 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[0].name = NULL; name 1890 maint/gnulib/lib/parse-datetime.y if (pc.local_time_zone_table[0].name && pc.local_time_zone_table[1].name name 1891 maint/gnulib/lib/parse-datetime.y && ! strcmp (pc.local_time_zone_table[0].name, name 1892 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[1].name)) name 1898 maint/gnulib/lib/parse-datetime.y pc.local_time_zone_table[1].name = NULL; name 81 maint/gnulib/lib/progreloc.c extern char * canonicalize_file_name (const char *name); name 158 maint/gnulib/lib/propername.c proper_name (const char *name) name 161 maint/gnulib/lib/propername.c const char *translation = gettext (name); name 163 maint/gnulib/lib/propername.c if (translation != name) name 166 maint/gnulib/lib/propername.c if (mbsstr_trimmed_wordbounded (translation, name)) name 172 maint/gnulib/lib/propername.c XNMALLOC (strlen (translation) + 2 + strlen (name) + 1 + 1, char); name 174 maint/gnulib/lib/propername.c sprintf (result, "%s (%s)", translation, name); name 179 maint/gnulib/lib/propername.c return name; name 199 maint/gnulib/lib/propername.c const char *name; name 248 maint/gnulib/lib/propername.c name = (name_converted != NULL ? name_converted : name 274 maint/gnulib/lib/propername.c XNMALLOC (strlen (translation) + 2 + strlen (name) + 1 + 1, char); name 276 maint/gnulib/lib/propername.c sprintf (result, "%s (%s)", translation, name); name 287 maint/gnulib/lib/propername.c if (alloc_name_converted != NULL && alloc_name_converted != name) name 290 maint/gnulib/lib/propername.c && alloc_name_converted_translit != name) name 292 maint/gnulib/lib/propername.c return name; name 82 maint/gnulib/lib/propername.h extern const char * proper_name (const char *name) /* NOT attribute const */; name 71 maint/gnulib/lib/pty.in.h (int *amaster, char *name, name 74 maint/gnulib/lib/pty.in.h (int *amaster, char *name, name 79 maint/gnulib/lib/pty.in.h (int *amaster, char *name, name 83 maint/gnulib/lib/pty.in.h (int *amaster, char *name, name 105 maint/gnulib/lib/pty.in.h (int *amaster, int *aslave, char *name, name 108 maint/gnulib/lib/pty.in.h (int *amaster, int *aslave, char *name, name 113 maint/gnulib/lib/pty.in.h (int *amaster, int *aslave, char *name, name 117 maint/gnulib/lib/pty.in.h (int *amaster, int *aslave, char *name, name 68 maint/gnulib/lib/putenv.c _unsetenv (const char *name) name 75 maint/gnulib/lib/putenv.c if (name == NULL || *name == '\0' || strchr (name, '=') != NULL) name 81 maint/gnulib/lib/putenv.c len = strlen (name); name 87 maint/gnulib/lib/putenv.c memcpy (name_, name, len); name 100 maint/gnulib/lib/putenv.c if (!strncmp (*ep, name, len) && (*ep)[len] == '=') name 39 maint/gnulib/lib/qset-acl.c qset_acl (char const *name, int desc, mode_t mode) name 46 maint/gnulib/lib/qset-acl.c ret = set_permissions (&ctx, name, desc); name 71 maint/gnulib/lib/random.c # define __libc_lock_define_initialized(class, name) name 72 maint/gnulib/lib/random.c # define __libc_lock_lock(name) ((void) 0) name 73 maint/gnulib/lib/random.c # define __libc_lock_unlock(name) ((void) 0) name 91 maint/gnulib/lib/regcomp.c const unsigned char *name); name 2655 maint/gnulib/lib/regcomp.c && strlen ((char *) start_elem->opr.name) > 1) name 2657 maint/gnulib/lib/regcomp.c && strlen ((char *) end_elem->opr.name) > 1))) name 2662 maint/gnulib/lib/regcomp.c : ((start_elem->type == COLL_SYM) ? start_elem->opr.name[0] name 2665 maint/gnulib/lib/regcomp.c : ((end_elem->type == COLL_SYM) ? end_elem->opr.name[0] name 2739 maint/gnulib/lib/regcomp.c Idx *coll_sym_alloc, const unsigned char *name, name 2743 maint/gnulib/lib/regcomp.c size_t name_len = strlen ((const char *) name); name 2748 maint/gnulib/lib/regcomp.c bitset_set (sbcset, name[0]); name 2761 maint/gnulib/lib/regcomp.c seek_collating_symbol_entry (const unsigned char *name, size_t name_len, name 2777 maint/gnulib/lib/regcomp.c && memcmp (name, &extra[idx + 1], name_len) == 0) name 2814 maint/gnulib/lib/regcomp.c size_t sym_name_len = strlen ((char *) br_elem->opr.name); name 2818 maint/gnulib/lib/regcomp.c elem = seek_collating_symbol_entry (br_elem->opr.name, name 2844 maint/gnulib/lib/regcomp.c return collseqmb[br_elem->opr.name[0]]; name 2848 maint/gnulib/lib/regcomp.c return collseqmb[br_elem->opr.name[0]]; name 2950 maint/gnulib/lib/regcomp.c Idx *coll_sym_alloc, const unsigned char *name, name 2955 maint/gnulib/lib/regcomp.c size_t name_len = strlen ((const char *) name); name 2958 maint/gnulib/lib/regcomp.c elem = seek_collating_symbol_entry (name, name_len, symb_table, name 2971 maint/gnulib/lib/regcomp.c bitset_set (sbcset, name[0]); name 3002 maint/gnulib/lib/regcomp.c bitset_set (sbcset, name[0]); name 3093 maint/gnulib/lib/regcomp.c start_elem.opr.name = start_name_buf; name 3137 maint/gnulib/lib/regcomp.c end_elem.opr.name = end_name_buf; name 3183 maint/gnulib/lib/regcomp.c start_elem.opr.name); name 3190 maint/gnulib/lib/regcomp.c start_elem.opr.name, name 3198 maint/gnulib/lib/regcomp.c (const char *) start_elem.opr.name, name 3345 maint/gnulib/lib/regcomp.c elem->opr.name[i] = ch; name 3348 maint/gnulib/lib/regcomp.c elem->opr.name[i] = '\0'; name 3374 maint/gnulib/lib/regcomp.c Idx *equiv_class_alloc, const unsigned char *name) name 3387 maint/gnulib/lib/regcomp.c cp = name; name 3440 maint/gnulib/lib/regcomp.c if (__glibc_unlikely (strlen ((const char *) name) != 1)) name 3442 maint/gnulib/lib/regcomp.c bitset_set (sbcset, *name); name 3459 maint/gnulib/lib/regcomp.c const char *name = class_name; name 3464 maint/gnulib/lib/regcomp.c && (strcmp (name, "upper") == 0 || strcmp (name, "lower") == 0)) name 3465 maint/gnulib/lib/regcomp.c name = "alpha"; name 3481 maint/gnulib/lib/regcomp.c mbcset->char_classes[mbcset->nchar_classes++] = __wctype (name); name 3499 maint/gnulib/lib/regcomp.c if (strcmp (name, "alnum") == 0) name 3501 maint/gnulib/lib/regcomp.c else if (strcmp (name, "cntrl") == 0) name 3503 maint/gnulib/lib/regcomp.c else if (strcmp (name, "lower") == 0) name 3505 maint/gnulib/lib/regcomp.c else if (strcmp (name, "space") == 0) name 3507 maint/gnulib/lib/regcomp.c else if (strcmp (name, "alpha") == 0) name 3509 maint/gnulib/lib/regcomp.c else if (strcmp (name, "digit") == 0) name 3511 maint/gnulib/lib/regcomp.c else if (strcmp (name, "print") == 0) name 3513 maint/gnulib/lib/regcomp.c else if (strcmp (name, "upper") == 0) name 3515 maint/gnulib/lib/regcomp.c else if (strcmp (name, "blank") == 0) name 3517 maint/gnulib/lib/regcomp.c else if (strcmp (name, "graph") == 0) name 3519 maint/gnulib/lib/regcomp.c else if (strcmp (name, "punct") == 0) name 3521 maint/gnulib/lib/regcomp.c else if (strcmp (name, "xdigit") == 0) name 408 maint/gnulib/lib/regex.h # define __REPB_PREFIX(name) name name 410 maint/gnulib/lib/regex.h # define __REPB_PREFIX(name) __##name name 51 maint/gnulib/lib/regex_internal.h # define lock_define(name) __libc_lock_define (, name) name 58 maint/gnulib/lib/regex_internal.h # define lock_define(name) gl_lock_define (, name) name 65 maint/gnulib/lib/regex_internal.h # define lock_define(name) pthread_mutex_t name; name 71 maint/gnulib/lib/regex_internal.h # define lock_define(name) name 698 maint/gnulib/lib/regex_internal.h unsigned char *name; name 32 maint/gnulib/lib/remove.c rpl_remove (char const *name) name 39 maint/gnulib/lib/remove.c int result = rmdir (name); name 41 maint/gnulib/lib/remove.c result = unlink (name); name 64 maint/gnulib/lib/save-cwd.c cwd->name = NULL; name 71 maint/gnulib/lib/save-cwd.c cwd->name = getcwd (NULL, 0); name 72 maint/gnulib/lib/save-cwd.c return cwd->name ? 0 : -1; name 88 maint/gnulib/lib/save-cwd.c return chdir_long (cwd->name); name 96 maint/gnulib/lib/save-cwd.c free (cwd->name); name 27 maint/gnulib/lib/save-cwd.h char *name; name 42 maint/gnulib/lib/savedir.c char *name; name 56 maint/gnulib/lib/savedir.c return strcmp (dea->name, deb->name); name 125 maint/gnulib/lib/savedir.c entries[entries_used].name = xstrdup (entry); name 159 maint/gnulib/lib/savedir.c used += stpcpy (dest, entries[i].name) - dest + 1; name 160 maint/gnulib/lib/savedir.c free (entries[i].name); name 117 maint/gnulib/lib/se-selinux.in.h string_to_security_class (char const *name) name 29 maint/gnulib/lib/secure_getenv.c secure_getenv (char const *name) name 32 maint/gnulib/lib/secure_getenv.c return __secure_getenv (name); name 36 maint/gnulib/lib/secure_getenv.c return getenv (name); name 40 maint/gnulib/lib/secure_getenv.c return getenv (name); name 50 maint/gnulib/lib/secure_getenv.c return getenv (name); name 42 maint/gnulib/lib/set-acl.c set_acl (char const *name, int desc, mode_t mode) name 44 maint/gnulib/lib/set-acl.c int ret = qset_acl (name, desc, mode); name 46 maint/gnulib/lib/set-acl.c error (0, errno, _("setting permissions for %s"), quote (name)); name 56 maint/gnulib/lib/set-permissions.c set_acls_from_mode (const char *name, int desc, mode_t mode, bool *must_chmod) name 88 maint/gnulib/lib/set-permissions.c : acl (name, ACE_GETACL, alloc, entries)); name 228 maint/gnulib/lib/set-permissions.c ret = acl (name, ACE_SETACL, count, entries); name 261 maint/gnulib/lib/set-permissions.c ret = acl (name, SETACL, name 278 maint/gnulib/lib/set-permissions.c context_acl_from_mode (struct permission_context *ctx, const char *name, int desc) name 286 maint/gnulib/lib/set-permissions.c ret = stat (name, &statbuf); name 332 maint/gnulib/lib/set-permissions.c set_acls_from_mode (const char *name, int desc, mode_t mode, bool *must_chmod) name 338 maint/gnulib/lib/set-permissions.c if (aclx_gettypes (name, &types, &types_size) < 0 name 363 maint/gnulib/lib/set-permissions.c ret = aclx_put (name, SET_ACL | SET_MODE_S_BITS, name 434 maint/gnulib/lib/set-permissions.c ret = aclx_put (name, SET_ACL | SET_MODE_S_BITS, name 485 maint/gnulib/lib/set-permissions.c set_acls (struct permission_context *ctx, const char *name, int desc, name 519 maint/gnulib/lib/set-permissions.c ret = acl_set_file (name, ACL_TYPE_ACCESS, ctx->acl); name 536 maint/gnulib/lib/set-permissions.c ret = acl_set_file (name, ACL_TYPE_DEFAULT, name 539 maint/gnulib/lib/set-permissions.c ret = acl_delete_def_file (name); name 578 maint/gnulib/lib/set-permissions.c acl = acl_get_file (name, ACL_TYPE_EXTENDED); name 589 maint/gnulib/lib/set-permissions.c ret = acl_set_file (name, ACL_TYPE_EXTENDED, acl); name 601 maint/gnulib/lib/set-permissions.c ret = acl_set_file (name, ACL_TYPE_EXTENDED, ctx->acl); name 624 maint/gnulib/lib/set-permissions.c return set_acls_from_mode (name, desc, ctx->mode, must_chmod); name 631 maint/gnulib/lib/set-permissions.c ret = acl (name, SETACL, ctx->count, ctx->entries); name 648 maint/gnulib/lib/set-permissions.c ret = acl (name, ACE_SETACL, ctx->ace_count, ctx->ace_entries); name 663 maint/gnulib/lib/set-permissions.c ret = context_acl_from_mode (ctx, name, desc); name 670 maint/gnulib/lib/set-permissions.c ret = setacl (name, ctx->count, ctx->entries); name 687 maint/gnulib/lib/set-permissions.c ret = acl ((char *) name, ACL_SET, ctx->aclv_count, ctx->aclv_entries); name 704 maint/gnulib/lib/set-permissions.c ret = set_acls_from_mode (name, desc, mode, must_chmod); name 716 maint/gnulib/lib/set-permissions.c ret = chacl ((char *) name, &ctx->u.a, ctx->u.a.acl_len); name 733 maint/gnulib/lib/set-permissions.c ret = acl ((char *) name, ACL_SET, ctx->count, ctx->entries); name 760 maint/gnulib/lib/set-permissions.c chmod_or_fchmod (const char *name, int desc, mode_t mode) name 765 maint/gnulib/lib/set-permissions.c return chmod (name, mode); name 776 maint/gnulib/lib/set-permissions.c set_permissions (struct permission_context *ctx, const char *name, int desc) name 806 maint/gnulib/lib/set-permissions.c ret = chmod_or_fchmod (name, desc, ctx->mode); name 812 maint/gnulib/lib/set-permissions.c ret = set_acls (ctx, name, desc, false, &must_chmod, &acls_set); name 821 maint/gnulib/lib/set-permissions.c ret = set_acls (ctx, name, desc, true, &must_chmod, &acls_set); name 837 maint/gnulib/lib/set-permissions.c ret = chmod_or_fchmod (name, desc, ctx->mode); name 113 maint/gnulib/lib/setenv.c __add_to_environ (const char *name, const char *value, const char *combined, name 118 maint/gnulib/lib/setenv.c const size_t namelen = strlen (name); name 131 maint/gnulib/lib/setenv.c if (!strncmp (*ep, name, namelen) && (*ep)[namelen] == '=') name 169 maint/gnulib/lib/setenv.c __mempcpy (__mempcpy (__mempcpy (new_value, name, namelen), "=", 1), name 179 maint/gnulib/lib/setenv.c memcpy (new_value, name, namelen); name 202 maint/gnulib/lib/setenv.c memcpy (new_environ[size], name, namelen); name 237 maint/gnulib/lib/setenv.c __mempcpy (__mempcpy (__mempcpy (new_value, name, namelen), "=", 1), name 247 maint/gnulib/lib/setenv.c memcpy (new_value, name, namelen); name 270 maint/gnulib/lib/setenv.c memcpy (np, name, namelen); name 291 maint/gnulib/lib/setenv.c setenv (const char *name, const char *value, int replace) name 293 maint/gnulib/lib/setenv.c if (name == NULL || *name == '\0' || strchr (name, '=') != NULL) name 299 maint/gnulib/lib/setenv.c return __add_to_environ (name, value, NULL, replace); name 359 maint/gnulib/lib/setenv.c rpl_setenv (const char *name, const char *value, int replace) name 362 maint/gnulib/lib/setenv.c if (!name || !*name || strchr (name, '=')) name 369 maint/gnulib/lib/setenv.c result = setenv (name, value, replace); name 372 maint/gnulib/lib/setenv.c char *tmp = getenv (name); name 381 maint/gnulib/lib/setenv.c result = setenv (name, tmp, replace); name 36 maint/gnulib/lib/sethostname.c sethostname (const char *name, size_t len) name 60 maint/gnulib/lib/sethostname.c fprintf (hostf, "%.*s\n", (int) len, name); name 117 maint/gnulib/lib/sethostname.c sethostname (const char *name, size_t len) name 132 maint/gnulib/lib/sethostname.c memcpy (name_asciz, name, len); name 47 maint/gnulib/lib/setlocale.c extern void gl_locale_name_canonicalize (char *name); name 1477 maint/gnulib/lib/setlocale.c const char *name; name 1479 maint/gnulib/lib/setlocale.c name = gl_locale_name_environ (cat, category_to_name (cat)); name 1480 maint/gnulib/lib/setlocale.c if (name == NULL) name 1481 maint/gnulib/lib/setlocale.c name = gl_locale_name_default (); name 1485 maint/gnulib/lib/setlocale.c if (strcmp (name, base_name) != 0 name 1490 maint/gnulib/lib/setlocale.c if (setlocale_single (cat, name) == NULL) name 1560 maint/gnulib/lib/setlocale.c get_main_locale_with_same_language (name); name 1584 maint/gnulib/lib/setlocale.c get_main_locale_with_same_territory (name); name 1601 maint/gnulib/lib/setlocale.c category_to_name (cat), name); name 1621 maint/gnulib/lib/setlocale.c const char *name = name 1623 maint/gnulib/lib/setlocale.c if (name == NULL) name 1624 maint/gnulib/lib/setlocale.c name = gl_locale_name_default (); name 1626 maint/gnulib/lib/setlocale.c return setlocale_single (category, name); name 38 maint/gnulib/lib/sig2str.c #define NUMNAME(name) { SIG##name, #name } name 41 maint/gnulib/lib/sig2str.c static struct numname { int num; char const name[8]; } numname_table[] = name 289 maint/gnulib/lib/sig2str.c if (strcmp (numname_table[i].name, signame) == 0) name 336 maint/gnulib/lib/sig2str.c strcpy (signame, numname_table[i].name); name 204 maint/gnulib/lib/spawni.c open_handle (const char *name, int flags, mode_t mode) name 207 maint/gnulib/lib/spawni.c if (strcmp (name, "/dev/null") == 0) name 208 maint/gnulib/lib/spawni.c name = "NUL"; name 213 maint/gnulib/lib/spawni.c if (ISSLASH (name[0]) && ISSLASH (name[1]) && ISSLASH (name[2])) name 215 maint/gnulib/lib/spawni.c name += 2; name 216 maint/gnulib/lib/spawni.c while (ISSLASH (name[1])) name 217 maint/gnulib/lib/spawni.c name++; name 220 maint/gnulib/lib/spawni.c size_t len = strlen (name); name 221 maint/gnulib/lib/spawni.c size_t drive_prefix_len = (HAS_DEVICE (name) ? 2 : 0); name 229 maint/gnulib/lib/spawni.c while (rlen > drive_prefix_len && ISSLASH (name[rlen-1])) name 245 maint/gnulib/lib/spawni.c if (rlen == 1 && ISSLASH (name[0]) && len >= 2) name 255 maint/gnulib/lib/spawni.c rname = name; name 266 maint/gnulib/lib/spawni.c memcpy (malloca_rname, name, rlen); name 730 maint/gnulib/lib/spawni.c char *path, *p, *name; name 917 maint/gnulib/lib/spawni.c name = alloca (pathlen + len + 1); name 919 maint/gnulib/lib/spawni.c name = (char *) memcpy (name + pathlen + 1, file, len); name 921 maint/gnulib/lib/spawni.c *--name = '/'; name 934 maint/gnulib/lib/spawni.c startp = name + 1; name 936 maint/gnulib/lib/spawni.c startp = (char *) memcpy (name - (p - path), path, p - path); name 74 maint/gnulib/lib/stack.h #define _GL_STACK_PREFIX(name) _GL_CONCAT(GL_STACK_NAME, _GL_CONCAT(_, name)) name 112 maint/gnulib/lib/stat.c rpl_stat (char const *name, struct stat *buf) name 126 maint/gnulib/lib/stat.c if (ISSLASH (name[0]) && ISSLASH (name[1]) && ISSLASH (name[2])) name 128 maint/gnulib/lib/stat.c name += 2; name 129 maint/gnulib/lib/stat.c while (ISSLASH (name[1])) name 130 maint/gnulib/lib/stat.c name++; name 133 maint/gnulib/lib/stat.c size_t len = strlen (name); name 134 maint/gnulib/lib/stat.c size_t drive_prefix_len = (HAS_DEVICE (name) ? 2 : 0); name 142 maint/gnulib/lib/stat.c while (rlen > drive_prefix_len && ISSLASH (name[rlen-1])) name 158 maint/gnulib/lib/stat.c if (rlen == 1 && ISSLASH (name[0]) && len >= 2) name 168 maint/gnulib/lib/stat.c rname = name; name 179 maint/gnulib/lib/stat.c memcpy (malloca_rname, name, rlen); name 420 maint/gnulib/lib/stat.c int result = orig_stat (name, buf); name 428 maint/gnulib/lib/stat.c size_t len = strlen (name); name 429 maint/gnulib/lib/stat.c if (ISSLASH (name[len - 1])) name 1203 maint/gnulib/lib/stdio.in.h _GL_FUNCDECL_RPL (remove, int, (const char *name) _GL_ARG_NONNULL ((1))); name 1204 maint/gnulib/lib/stdio.in.h _GL_CXXALIAS_RPL (remove, int, (const char *name)); name 1206 maint/gnulib/lib/stdio.in.h _GL_CXXALIAS_SYS (remove, int, (const char *name)); name 305 maint/gnulib/lib/stdlib.in.h (const char *name) name 308 maint/gnulib/lib/stdlib.in.h _GL_CXXALIAS_RPL (canonicalize_file_name, char *, (const char *name)); name 312 maint/gnulib/lib/stdlib.in.h (const char *name) name 316 maint/gnulib/lib/stdlib.in.h _GL_CXXALIAS_SYS (canonicalize_file_name, char *, (const char *name)); name 328 maint/gnulib/lib/stdlib.in.h (const char *name) name 1172 maint/gnulib/lib/stdlib.in.h (const char *restrict name, char *restrict resolved) name 1175 maint/gnulib/lib/stdlib.in.h (const char *restrict name, char *restrict resolved)); name 1179 maint/gnulib/lib/stdlib.in.h (const char *restrict name, char *restrict resolved) name 1183 maint/gnulib/lib/stdlib.in.h (const char *restrict name, char *restrict resolved)); name 1214 maint/gnulib/lib/stdlib.in.h (char const *name) _GL_ARG_NONNULL ((1))); name 1216 maint/gnulib/lib/stdlib.in.h _GL_CXXALIAS_SYS (secure_getenv, char *, (char const *name)); name 1235 maint/gnulib/lib/stdlib.in.h (const char *name, const char *value, int replace) name 1238 maint/gnulib/lib/stdlib.in.h (const char *name, const char *value, int replace)); name 1242 maint/gnulib/lib/stdlib.in.h (const char *name, const char *value, int replace) name 1246 maint/gnulib/lib/stdlib.in.h (const char *name, const char *value, int replace)); name 1507 maint/gnulib/lib/stdlib.in.h _GL_FUNCDECL_RPL (unsetenv, int, (const char *name) _GL_ARG_NONNULL ((1))); name 1508 maint/gnulib/lib/stdlib.in.h _GL_CXXALIAS_RPL (unsetenv, int, (const char *name)); name 1511 maint/gnulib/lib/stdlib.in.h _GL_FUNCDECL_SYS (unsetenv, int, (const char *name) _GL_ARG_NONNULL ((1))); name 1513 maint/gnulib/lib/stdlib.in.h _GL_CXXALIAS_SYS (unsetenv, int, (const char *name)); name 39 maint/gnulib/lib/striconveha.c const char *name; name 84 maint/gnulib/lib/striconveha.c uniconv_register_autodetect (const char *name, name 105 maint/gnulib/lib/striconveha.c namelen = strlen (name) + 1; name 121 maint/gnulib/lib/striconveha.c memcpy (new_name, name, namelen); name 134 maint/gnulib/lib/striconveha.c new_alias->name = new_name; name 168 maint/gnulib/lib/striconveha.c if (strcmp (from_codeset, alias->name) == 0) name 272 maint/gnulib/lib/striconveha.c if (strcmp (from_codeset, alias->name) == 0) name 87 maint/gnulib/lib/striconveha.h uniconv_register_autodetect (const char *name, name 33 maint/gnulib/lib/symlink.c rpl_symlink (char const *contents, char const *name) name 35 maint/gnulib/lib/symlink.c size_t len = strlen (name); name 36 maint/gnulib/lib/symlink.c if (len && name[len - 1] == '/') name 39 maint/gnulib/lib/symlink.c if (lstat (name, &st) == 0 || errno == EOVERFLOW) name 43 maint/gnulib/lib/symlink.c return symlink (contents, name); name 51 maint/gnulib/lib/symlink.c _GL_UNUSED char const *name) name 36 maint/gnulib/lib/symlinkat.c rpl_symlinkat (char const *contents, int fd, char const *name) name 38 maint/gnulib/lib/symlinkat.c size_t len = strlen (name); name 39 maint/gnulib/lib/symlinkat.c if (len && name[len - 1] == '/') name 42 maint/gnulib/lib/symlinkat.c if (fstatat (fd, name, &st, AT_SYMLINK_NOFOLLOW) == 0 name 47 maint/gnulib/lib/symlinkat.c return symlinkat (contents, fd, name); name 478 maint/gnulib/lib/sys_stat.in.h (int fd, char const *restrict name, struct stat *restrict st, name 482 maint/gnulib/lib/sys_stat.in.h (int fd, char const *restrict name, struct stat *restrict st, name 487 maint/gnulib/lib/sys_stat.in.h (int fd, char const *restrict name, struct stat *restrict st, name 492 maint/gnulib/lib/sys_stat.in.h (int fd, char const *restrict name, struct stat *restrict st, name 581 maint/gnulib/lib/sys_stat.in.h (const char *restrict name, struct stat *restrict buf)); name 588 maint/gnulib/lib/sys_stat.in.h (const char *restrict name, struct stat *restrict buf) name 591 maint/gnulib/lib/sys_stat.in.h (const char *restrict name, struct stat *restrict buf)); name 594 maint/gnulib/lib/sys_stat.in.h (const char *restrict name, struct stat *restrict buf)); name 617 maint/gnulib/lib/sys_stat.in.h _GL_FUNCDECL_RPL (mkdir, int, (char const *name, mode_t mode) name 619 maint/gnulib/lib/sys_stat.in.h _GL_CXXALIAS_RPL (mkdir, int, (char const *name, mode_t mode)); name 627 maint/gnulib/lib/sys_stat.in.h rpl_mkdir (char const *name, mode_t mode) name 629 maint/gnulib/lib/sys_stat.in.h return _mkdir (name); name 637 maint/gnulib/lib/sys_stat.in.h _GL_CXXALIAS_RPL (mkdir, int, (char const *name, mode_t mode)); name 639 maint/gnulib/lib/sys_stat.in.h _GL_CXXALIAS_SYS (mkdir, int, (char const *name, mode_t mode)); name 655 maint/gnulib/lib/sys_stat.in.h rpl_mkdir (char const *name, mode_t mode) name 657 maint/gnulib/lib/sys_stat.in.h return _mkdir (name); name 665 maint/gnulib/lib/sys_stat.in.h _GL_CXXALIAS_RPL (mkdir, int, (char const *name, mode_t mode)); name 667 maint/gnulib/lib/sys_stat.in.h _GL_CXXALIAS_SYS (mkdir, int, (char const *name, mode_t mode)); name 808 maint/gnulib/lib/sys_stat.in.h # define stat64(name, st) rpl_stat (name, st) name 815 maint/gnulib/lib/sys_stat.in.h # define _stat64(name, st) rpl_stat (name, st) name 821 maint/gnulib/lib/sys_stat.in.h # define _stat32i64(name, st) rpl_stat (name, st) name 825 maint/gnulib/lib/sys_stat.in.h # define _stat64(name, st) rpl_stat (name, st) name 829 maint/gnulib/lib/sys_stat.in.h # define _stati64(name, st) rpl_stat (name, st) name 835 maint/gnulib/lib/sys_stat.in.h # define _stat32i64(name, st) rpl_stat (name, st) name 839 maint/gnulib/lib/sys_stat.in.h # define _stat64(name, st) rpl_stat (name, st) name 845 maint/gnulib/lib/sys_stat.in.h # define _stat32(name, st) rpl_stat (name, st) name 849 maint/gnulib/lib/sys_stat.in.h # define _stat64i32(name, st) rpl_stat (name, st) name 853 maint/gnulib/lib/sys_stat.in.h # define stat(name, st) rpl_stat (name, st) name 856 maint/gnulib/lib/sys_stat.in.h _GL_EXTERN_C int stat (const char *restrict name, struct stat *restrict buf) name 900 maint/gnulib/lib/sys_stat.in.h _GL_FUNCDECL_RPL (utimensat, int, (int fd, char const *name, name 903 maint/gnulib/lib/sys_stat.in.h _GL_CXXALIAS_RPL (utimensat, int, (int fd, char const *name, name 907 maint/gnulib/lib/sys_stat.in.h _GL_FUNCDECL_SYS (utimensat, int, (int fd, char const *name, name 911 maint/gnulib/lib/sys_stat.in.h _GL_CXXALIAS_SYS (utimensat, int, (int fd, char const *name, name 66 maint/gnulib/lib/time_rz.c tzalloc (char const *name) name 68 maint/gnulib/lib/time_rz.c size_t name_size = name ? strlen (name) + 1 : 0; name 77 maint/gnulib/lib/time_rz.c tz->tz_is_set = !!name; name 79 maint/gnulib/lib/time_rz.c if (name) name 80 maint/gnulib/lib/time_rz.c extend_abbrs (tz->abbrs, name, name_size); name 54 maint/gnulib/lib/timevar.c const char *name; name 154 maint/gnulib/lib/timevar.c timevars[identifier__].name = name__; name 340 maint/gnulib/lib/timevar.c fprintf (fp, " %-22s", tv->name); name 347 maint/gnulib/lib/timevar.c fprintf (fp, " %-22s", timevars[tv_total].name); name 82 maint/gnulib/lib/ttyname_r.c char *name = name 86 maint/gnulib/lib/ttyname_r.c if (name == NULL) name 88 maint/gnulib/lib/ttyname_r.c if (name != buf) name 90 maint/gnulib/lib/ttyname_r.c size_t namelen = strlen (name) + 1; name 93 maint/gnulib/lib/ttyname_r.c memmove (buf, name, namelen); name 99 maint/gnulib/lib/ttyname_r.c char *name; name 102 maint/gnulib/lib/ttyname_r.c name = ttyname (fd); name 103 maint/gnulib/lib/ttyname_r.c if (name == NULL) name 105 maint/gnulib/lib/ttyname_r.c namelen = strlen (name) + 1; name 108 maint/gnulib/lib/ttyname_r.c memcpy (buf, name, namelen); name 143 maint/gnulib/lib/uname.c const char *name; name 150 maint/gnulib/lib/uname.c #define VERSION1(major, minor, name) \ name 151 maint/gnulib/lib/uname.c { major, minor, 0, name } name 175 maint/gnulib/lib/uname.c base = v->name + v->server_offset; name 177 maint/gnulib/lib/uname.c base = v->name; name 882 maint/gnulib/lib/unictype.in.h const char *name; name 913 maint/gnulib/lib/unictype.in.h const char *name; name 46 maint/gnulib/lib/uniname.in.h unicode_name_character (const char *name) name 315 maint/gnulib/lib/uniname/uniname.c words = &unicode_names[unicode_index_to_name[i].name]; name 367 maint/gnulib/lib/uniname/uniname.c unicode_name_character (const char *name) name 369 maint/gnulib/lib/uniname/uniname.c size_t len = strlen (name); name 377 maint/gnulib/lib/uniname/uniname.c char c = *name++; name 606 maint/gnulib/lib/uniname/uniname.c const uint16_t *p = &unicode_names[unicode_name_to_index[i].name]; name 41133 maint/gnulib/lib/uniname/uninames.h static const struct { uint16_t index; uint32_t name:24; } ATTRIBUTE_PACKED unicode_name_to_index[29282] = { name 70417 maint/gnulib/lib/uniname/uninames.h static const struct { uint16_t index; uint32_t name:24; } ATTRIBUTE_PACKED unicode_index_to_name[29234] = { name 901 maint/gnulib/lib/unistd.in.h (int fd, char const *name, int mode, int flag) name 904 maint/gnulib/lib/unistd.in.h (int fd, char const *name, int mode, int flag)); name 1122 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_RPL (getdomainname, int, (char *name, size_t len) name 1124 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_RPL (getdomainname, int, (char *name, size_t len)); name 1127 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_SYS (getdomainname, int, (char *name, size_t len) name 1130 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS (getdomainname, int, (char *name, size_t len)); name 1228 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_RPL (gethostname, int, (char *name, size_t len) name 1230 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_RPL (gethostname, int, (char *name, size_t len)); name 1233 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_SYS (gethostname, int, (char *name, size_t len) name 1239 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS_CAST (gethostname, int, (char *name, size_t len)); name 1298 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_RPL (getlogin_r, int, (char *name, size_t size) name 1300 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_RPL (getlogin_r, int, (char *name, size_t size)); name 1303 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_SYS (getlogin_r, int, (char *name, size_t size) name 1308 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS_CAST (getlogin_r, int, (char *name, size_t size)); name 1938 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_RPL (rmdir, int, (char const *name) _GL_ARG_NONNULL ((1))); name 1939 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_RPL (rmdir, int, (char const *name)); name 1945 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_MDA (rmdir, int, (char const *name)); name 1947 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS (rmdir, int, (char const *name)); name 1965 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_MDA (rmdir, int, (char const *name)); name 1967 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS (rmdir, int, (char const *name)); name 1983 maint/gnulib/lib/unistd.in.h _GL_FUNCDECL_SYS (sethostname, int, (const char *name, size_t len) name 1989 maint/gnulib/lib/unistd.in.h _GL_CXXALIAS_SYS_CAST (sethostname, int, (const char *name, size_t len)); name 38 maint/gnulib/lib/unlink.c rpl_unlink (char const *name) name 41 maint/gnulib/lib/unlink.c size_t len = strlen (name); name 43 maint/gnulib/lib/unlink.c if (len && ISSLASH (name[len - 1])) name 65 maint/gnulib/lib/unlink.c result = lstat (name, &st); name 72 maint/gnulib/lib/unlink.c memcpy (short_name, name, len); name 88 maint/gnulib/lib/unlink.c if (len >= 2 && name[len - 1] == '.' && name[len - 2] == '.' name 89 maint/gnulib/lib/unlink.c && (len == 2 || ISSLASH (name[len - 3]))) name 95 maint/gnulib/lib/unlink.c result = unlink (name); name 46 maint/gnulib/lib/unlinkat.c rpl_unlinkat (int fd, char const *name, int flag) name 52 maint/gnulib/lib/unlinkat.c return unlinkat (fd, name, flag); name 54 maint/gnulib/lib/unlinkat.c len = strlen (name); name 55 maint/gnulib/lib/unlinkat.c if (len && ISSLASH (name[len - 1])) name 61 maint/gnulib/lib/unlinkat.c result = lstatat (fd, name, &st); name 71 maint/gnulib/lib/unlinkat.c memcpy (short_name, name, len); name 87 maint/gnulib/lib/unlinkat.c if (len >= 2 && name[len - 1] == '.' && name[len - 2] == '.' name 88 maint/gnulib/lib/unlinkat.c && (len == 2 || ISSLASH (name[len - 3]))) name 94 maint/gnulib/lib/unlinkat.c result = unlinkat (fd, name, flag); name 33 maint/gnulib/lib/unlockpt.c char *name = ptsname (fd); name 34 maint/gnulib/lib/unlockpt.c if (name == NULL) name 36 maint/gnulib/lib/unlockpt.c return revoke (name); name 57 maint/gnulib/lib/unsetenv.c unsetenv (const char *name) name 62 maint/gnulib/lib/unsetenv.c if (name == NULL || *name == '\0' || strchr (name, '=') != NULL) name 68 maint/gnulib/lib/unsetenv.c len = strlen (name); name 74 maint/gnulib/lib/unsetenv.c if (!strncmp (*ep, name, len) && (*ep)[len] == '=') name 111 maint/gnulib/lib/unsetenv.c rpl_unsetenv (const char *name) name 114 maint/gnulib/lib/unsetenv.c if (!name || !*name || strchr (name, '=')) name 119 maint/gnulib/lib/unsetenv.c while (getenv (name)) name 123 maint/gnulib/lib/unsetenv.c unsetenv (name); name 39 maint/gnulib/lib/utime.c _gl_utimens_windows (const char *name, struct timespec ts[2]) name 44 maint/gnulib/lib/utime.c if (ISSLASH (name[0]) && ISSLASH (name[1]) && ISSLASH (name[2])) name 46 maint/gnulib/lib/utime.c name += 2; name 47 maint/gnulib/lib/utime.c while (ISSLASH (name[1])) name 48 maint/gnulib/lib/utime.c name++; name 51 maint/gnulib/lib/utime.c size_t len = strlen (name); name 52 maint/gnulib/lib/utime.c size_t drive_prefix_len = (HAS_DEVICE (name) ? 2 : 0); name 60 maint/gnulib/lib/utime.c while (rlen > drive_prefix_len && ISSLASH (name[rlen-1])) name 72 maint/gnulib/lib/utime.c rname = name; name 83 maint/gnulib/lib/utime.c memcpy (malloca_rname, name, rlen); name 247 maint/gnulib/lib/utime.c utime (const char *name, const struct utimbuf *ts) name 250 maint/gnulib/lib/utime.c return _gl_utimens_windows (name, NULL); name 258 maint/gnulib/lib/utime.c return _gl_utimens_windows (name, ts_with_nanoseconds); name 269 maint/gnulib/lib/utime.c utime (const char *name, const struct utimbuf *ts) name 275 maint/gnulib/lib/utime.c size_t len = strlen (name); name 276 maint/gnulib/lib/utime.c if (len > 0 && ISSLASH (name[len - 1])) name 280 maint/gnulib/lib/utime.c if (stat (name, &buf) == -1 && errno != EOVERFLOW) name 285 maint/gnulib/lib/utime.c return utime (name, ts); name 37 maint/gnulib/lib/utimens.h int fdutimensat (int fd, int dir, char const *name, struct timespec const [2], name 19 maint/gnulib/lib/wctrans-impl.h wctrans (const char *name) name 21 maint/gnulib/lib/wctrans-impl.h if (name[0] == 't' name 22 maint/gnulib/lib/wctrans-impl.h && name[1] == 'o') name 23 maint/gnulib/lib/wctrans-impl.h switch (name[2]) name 26 maint/gnulib/lib/wctrans-impl.h if (strcmp (name + 3, "ower") == 0) name 30 maint/gnulib/lib/wctrans-impl.h if (strcmp (name + 3, "pper") == 0) name 19 maint/gnulib/lib/wctype-impl.h wctype (const char* name) name 21 maint/gnulib/lib/wctype-impl.h switch (name[0]) name 24 maint/gnulib/lib/wctype-impl.h switch (name[1]) name 27 maint/gnulib/lib/wctype-impl.h switch (name[2]) name 30 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 3, "um") == 0) name 34 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 3, "ha") == 0) name 46 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 1, "lank") == 0) name 50 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 1, "ntrl") == 0) name 54 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 1, "igit") == 0) name 58 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 1, "raph") == 0) name 62 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 1, "ower") == 0) name 66 maint/gnulib/lib/wctype-impl.h switch (name[1]) name 69 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 2, "int") == 0) name 73 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 2, "nct") == 0) name 81 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 1, "pace") == 0) name 85 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 1, "pper") == 0) name 89 maint/gnulib/lib/wctype-impl.h if (strcmp (name + 1, "digit") == 0) name 631 maint/gnulib/lib/wctype.in.h _GL_FUNCDECL_SYS (wctype, wctype_t, (const char *name)); name 633 maint/gnulib/lib/wctype.in.h _GL_CXXALIAS_SYS (wctype, wctype_t, (const char *name)); name 695 maint/gnulib/lib/wctype.in.h _GL_FUNCDECL_SYS (wctrans, wctrans_t, (const char *name)); name 697 maint/gnulib/lib/wctype.in.h _GL_CXXALIAS_SYS (wctrans, wctrans_t, (const char *name)); name 36 maint/gnulib/lib/xgetaname-impl.h char *name = buf; name 45 maint/gnulib/lib/xgetaname-impl.h name[size_1] = '\0'; name 47 maint/gnulib/lib/xgetaname-impl.h if (GETANAME (name, size_1) == 0) name 51 maint/gnulib/lib/xgetaname-impl.h idx_t actual_size = strlen (name) + 1; name 53 maint/gnulib/lib/xgetaname-impl.h return alloc ? alloc : ximemdup (name, actual_size); name 61 maint/gnulib/lib/xgetaname-impl.h name = alloc = xpalloc (NULL, &size, 1, -1, 1); name 34 maint/gnulib/lib/xsetenv.c xsetenv (const char *name, const char *value, int replace) name 36 maint/gnulib/lib/xsetenv.c if (setenv (name, value, replace) < 0) name 27 maint/gnulib/lib/xsetenv.h extern void xsetenv (const char *name, const char *value, int replace); name 84 maint/gnulib/lib/xstrtol-error.c option = long_options[opt_idx].name; name 41 maint/gnulib/lib/xstrtol.h # define _DECLARE_XSTRTOL(name, type) \ name 42 maint/gnulib/lib/xstrtol.h strtol_error name (const char *, char **, int, type *, const char *); name 93 maint/gnulib/tests/atomic-int-gnulib.h char name[80]; name 99 maint/gnulib/tests/atomic-int-gnulib.h sprintf (name, "test-lock-%lu-%p-%u", name 101 maint/gnulib/tests/atomic-int-gnulib.h s = sem_open (name, O_CREAT | O_EXCL, 0600, 0); name 117 maint/gnulib/tests/atomic-int-gnulib.h sem_unlink (name); name 93 maint/gnulib/tests/atomic-int-isoc.h char name[80]; name 99 maint/gnulib/tests/atomic-int-isoc.h sprintf (name, "test-lock-%lu-%p-%u", name 101 maint/gnulib/tests/atomic-int-isoc.h s = sem_open (name, O_CREAT | O_EXCL, 0600, 0); name 117 maint/gnulib/tests/atomic-int-isoc.h sem_unlink (name); name 93 maint/gnulib/tests/atomic-int-posix.h char name[80]; name 99 maint/gnulib/tests/atomic-int-posix.h sprintf (name, "test-lock-%lu-%p-%u", name 101 maint/gnulib/tests/atomic-int-posix.h s = sem_open (name, O_CREAT | O_EXCL, 0600, 0); name 117 maint/gnulib/tests/atomic-int-posix.h sem_unlink (name); name 41 maint/gnulib/tests/test-areadlink.c do_areadlink (char const *name, _GL_UNUSED size_t ignored) name 43 maint/gnulib/tests/test-areadlink.c return areadlink (name); name 43 maint/gnulib/tests/test-areadlinkat-with-size.c do_areadlinkat_with_size (char const *name, size_t size) name 45 maint/gnulib/tests/test-areadlinkat-with-size.c return areadlinkat_with_size (dfd, name, size); name 43 maint/gnulib/tests/test-areadlinkat.c do_areadlinkat (char const *name, _GL_UNUSED size_t ignored) name 45 maint/gnulib/tests/test-areadlinkat.c return areadlinkat (dfd, name); name 32 maint/gnulib/tests/test-c32rtomb-w32.c test_one_locale (const char *name, int codepage) name 42 maint/gnulib/tests/test-c32rtomb-w32.c sprintf (name_with_codepage, "%s.%d", name, codepage); name 57 maint/gnulib/tests/test-c32rtomb-w32.c if (setlocale (LC_ALL, name) == NULL) name 27 maint/gnulib/tests/test-dirname.c const char *name; /* Name under test. */ name 137 maint/gnulib/tests/test-dirname.c for (t = tests; t->name; t++) name 139 maint/gnulib/tests/test-dirname.c char *dir = dir_name (t->name); name 140 maint/gnulib/tests/test-dirname.c int dirlen = dir_len (t->name); name 141 maint/gnulib/tests/test-dirname.c char *last = last_component (t->name); name 142 maint/gnulib/tests/test-dirname.c char *base = base_name (t->name); name 144 maint/gnulib/tests/test-dirname.c char *stripped = strdup (t->name); name 146 maint/gnulib/tests/test-dirname.c bool absolute = IS_ABSOLUTE_FILE_NAME (t->name); name 154 maint/gnulib/tests/test-dirname.c t->name, dir, dirlen, name 161 maint/gnulib/tests/test-dirname.c t->name, last, t->last); name 171 maint/gnulib/tests/test-dirname.c t->name, base, baselen, name 178 maint/gnulib/tests/test-dirname.c t->name, stripped, modified ? "changed" : "unchanged", name 184 maint/gnulib/tests/test-dirname.c printf ("'%s': got %s, expected %s\n", t->name, name 33 maint/gnulib/tests/test-execle-main.c get_environ_assignment (const char *name) name 35 maint/gnulib/tests/test-execle-main.c size_t name_len = strlen (name); name 40 maint/gnulib/tests/test-execle-main.c if (strncmp (assignment, name, name_len) == 0 name 33 maint/gnulib/tests/test-execve-main.c get_environ_assignment (const char *name) name 35 maint/gnulib/tests/test-execve-main.c size_t name_len = strlen (name); name 40 maint/gnulib/tests/test-execve-main.c if (strncmp (assignment, name, name_len) == 0 name 33 maint/gnulib/tests/test-execvpe-main.c get_environ_assignment (const char *name) name 35 maint/gnulib/tests/test-execvpe-main.c size_t name_len = strlen (name); name 40 maint/gnulib/tests/test-execvpe-main.c if (strncmp (assignment, name, name_len) == 0 name 50 maint/gnulib/tests/test-fchownat.c do_chown (char const *name, uid_t user, gid_t group) name 53 maint/gnulib/tests/test-fchownat.c return chownat (dfd, name, user, group); name 55 maint/gnulib/tests/test-fchownat.c return fchownat (dfd, name, user, group, 0); name 61 maint/gnulib/tests/test-fchownat.c do_lchown (char const *name, uid_t user, gid_t group) name 64 maint/gnulib/tests/test-fchownat.c return lchownat (dfd, name, user, group); name 66 maint/gnulib/tests/test-fchownat.c return fchownat (dfd, name, user, group, AT_SYMLINK_NOFOLLOW); name 48 maint/gnulib/tests/test-fdutimensat.c do_fdutimens (char const *name, struct timespec const times[2]) name 53 maint/gnulib/tests/test-fdutimensat.c int fd = openat (dfd, name, O_WRONLY); name 55 maint/gnulib/tests/test-fdutimensat.c fd = openat (dfd, name, O_RDONLY); name 57 maint/gnulib/tests/test-fdutimensat.c nofollow_result = fdutimensat (fd, dfd, name, times, AT_SYMLINK_NOFOLLOW); name 59 maint/gnulib/tests/test-fdutimensat.c result = fdutimensat (fd, dfd, name, times, 0); name 73 maint/gnulib/tests/test-fdutimensat.c do_lutimens (const char *name, struct timespec const times[2]) name 75 maint/gnulib/tests/test-fdutimensat.c return lutimensat (dfd, name, times); name 80 maint/gnulib/tests/test-fdutimensat.c do_lutimens1 (const char *name, struct timespec const times[2]) name 82 maint/gnulib/tests/test-fdutimensat.c return fdutimensat (-1, dfd, name, times, AT_SYMLINK_NOFOLLOW); name 87 maint/gnulib/tests/test-fdutimensat.c do_utimens (const char *name, struct timespec const times[2]) name 89 maint/gnulib/tests/test-fdutimensat.c return fdutimensat (-1, dfd, name, times, 0); name 49 maint/gnulib/tests/test-fstatat.c do_stat (char const *name, struct stat *st) name 52 maint/gnulib/tests/test-fstatat.c return statat (dfd, name, st); name 54 maint/gnulib/tests/test-fstatat.c return fstatat (dfd, name, st, 0); name 60 maint/gnulib/tests/test-fstatat.c do_lstat (char const *name, struct stat *st) name 63 maint/gnulib/tests/test-fstatat.c return lstatat (dfd, name, st); name 65 maint/gnulib/tests/test-fstatat.c return fstatat (dfd, name, st, AT_SYMLINK_NOFOLLOW); name 87 maint/gnulib/tests/test-getlogin.h const char *name = getenv ("USERNAME"); name 88 maint/gnulib/tests/test-getlogin.h if (name != NULL && name[0] != '\0') name 89 maint/gnulib/tests/test-getlogin.h ASSERT (strcmp (buf, name) == 0); name 33 maint/gnulib/tests/test-hard-locale.c test_one (const char *name, int failure_bitmask) name 35 maint/gnulib/tests/test-hard-locale.c if (setlocale (LC_ALL, name) != NULL) name 52 maint/gnulib/tests/test-hard-locale.c name); name 55 maint/gnulib/tests/test-hard-locale.c name); name 65 maint/gnulib/tests/test-hard-locale.c expected = strcmp (name, "C.UTF-8") != 0; name 75 maint/gnulib/tests/test-hard-locale.c name); name 78 maint/gnulib/tests/test-hard-locale.c name); name 71 maint/gnulib/tests/test-localename.c const char *name; name 176 maint/gnulib/tests/test-localename.c name = gl_locale_name (LC_CTYPE, "LC_CTYPE"); name 183 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "de_DE") == 0 || strcmp (name, "de_DE.UTF-8") == 0); name 185 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "de_DE.UTF-8") == 0); name 187 maint/gnulib/tests/test-localename.c name = gl_locale_name (LC_MESSAGES, "LC_MESSAGES"); name 188 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); name 197 maint/gnulib/tests/test-localename.c name = gl_locale_name (LC_CTYPE, "LC_CTYPE"); name 198 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, gl_locale_name_default ()) == 0); name 199 maint/gnulib/tests/test-localename.c name = gl_locale_name (LC_MESSAGES, "LC_MESSAGES"); name 200 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); name 210 maint/gnulib/tests/test-localename.c name = gl_locale_name (LC_CTYPE, "LC_CTYPE"); name 211 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); name 212 maint/gnulib/tests/test-localename.c name = gl_locale_name (LC_MESSAGES, "LC_MESSAGES"); name 213 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); name 275 maint/gnulib/tests/test-localename.c const char *name; name 278 maint/gnulib/tests/test-localename.c name = gl_locale_name_thread (LC_CTYPE, "LC_CTYPE"); name 279 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); name 280 maint/gnulib/tests/test-localename.c name = gl_locale_name_thread (LC_MESSAGES, "LC_MESSAGES"); name 281 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); name 483 maint/gnulib/tests/test-localename.c const char *name = gl_locale_name_thread (categories[i].cat, categories[i].string); name 484 maint/gnulib/tests/test-localename.c ASSERT (strcmp (unsaved_names[j][i], name) == 0); name 515 maint/gnulib/tests/test-localename.c const char *name; name 545 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); name 546 maint/gnulib/tests/test-localename.c ASSERT (name == NULL || strcmp (name, gl_locale_name_default ()) == 0); name 547 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_NUMERIC, "LC_NUMERIC"); name 548 maint/gnulib/tests/test-localename.c ASSERT (name == NULL || strcmp (name, gl_locale_name_default ()) == 0); name 558 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); name 559 maint/gnulib/tests/test-localename.c ASSERT (name == NULL || strcmp (name, gl_locale_name_default ()) == 0); name 566 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); name 567 maint/gnulib/tests/test-localename.c ASSERT (name == NULL || strcmp (name, gl_locale_name_default ()) == 0); name 574 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); name 575 maint/gnulib/tests/test-localename.c ASSERT (name == NULL || strcmp (name, gl_locale_name_default ()) == 0); name 582 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); name 583 maint/gnulib/tests/test-localename.c ASSERT (name == NULL || strcmp (name, gl_locale_name_default ()) == 0); name 593 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); name 594 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "C") == 0); name 601 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); name 602 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "C") == 0); name 609 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); name 610 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "C") == 0); name 620 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_CTYPE, "LC_CTYPE"); name 622 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "de_DE") == 0 || strcmp (name, "de_DE.UTF-8") == 0); name 624 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "de_DE.UTF-8") == 0); name 626 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); name 627 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); name 636 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_CTYPE, "LC_CTYPE"); name 637 maint/gnulib/tests/test-localename.c ASSERT (name == NULL || strcmp (name, gl_locale_name_default ()) == 0); name 638 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); name 639 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); name 654 maint/gnulib/tests/test-localename.c name = gl_locale_name_posix (LC_MESSAGES, "LC_MESSAGES"); name 655 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "C") == 0); name 667 maint/gnulib/tests/test-localename.c const char *name; name 719 maint/gnulib/tests/test-localename.c name = gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES"); name 720 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "C") == 0); name 726 maint/gnulib/tests/test-localename.c name = gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES"); name 727 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "C") == 0); name 733 maint/gnulib/tests/test-localename.c name = gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES"); name 734 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "C") == 0); name 742 maint/gnulib/tests/test-localename.c name = gl_locale_name_environ (LC_CTYPE, "LC_CTYPE"); name 743 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "de_DE.UTF-8") == 0); name 744 maint/gnulib/tests/test-localename.c name = gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES"); name 745 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); name 751 maint/gnulib/tests/test-localename.c name = gl_locale_name_environ (LC_CTYPE, "LC_CTYPE"); name 752 maint/gnulib/tests/test-localename.c ASSERT (name == NULL); name 753 maint/gnulib/tests/test-localename.c name = gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES"); name 754 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "fr_FR.UTF-8") == 0); name 768 maint/gnulib/tests/test-localename.c name = gl_locale_name_environ (LC_MESSAGES, "LC_MESSAGES"); name 769 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "C") == 0); name 781 maint/gnulib/tests/test-localename.c const char *name = gl_locale_name_default (); name 783 maint/gnulib/tests/test-localename.c ASSERT (name != NULL); name 788 maint/gnulib/tests/test-localename.c ASSERT (strcmp (name, "C") == 0); name 798 maint/gnulib/tests/test-localename.c ASSERT (strcmp (gl_locale_name_default (), name) == 0); name 48 maint/gnulib/tests/test-lstat.c do_lstat (char const *name, struct stat *st) name 50 maint/gnulib/tests/test-lstat.c return lstat (name, st); name 33 maint/gnulib/tests/test-mbrtoc32-w32.c test_one_locale (const char *name, int codepage) name 44 maint/gnulib/tests/test-mbrtoc32-w32.c sprintf (name_with_codepage, "%s.%d", name, codepage); name 59 maint/gnulib/tests/test-mbrtoc32-w32.c if (setlocale (LC_ALL, name) == NULL) name 33 maint/gnulib/tests/test-mbrtowc-w32.c test_one_locale (const char *name, int codepage) name 44 maint/gnulib/tests/test-mbrtowc-w32.c sprintf (name_with_codepage, "%s.%d", name, codepage); name 59 maint/gnulib/tests/test-mbrtowc-w32.c if (setlocale (LC_ALL, name) == NULL) name 44 maint/gnulib/tests/test-mkdirat.c do_mkdir (char const *name, mode_t mode) name 46 maint/gnulib/tests/test-mkdirat.c return mkdirat (dfd, name, mode); name 48 maint/gnulib/tests/test-mkfifoat.c test_mknodat (int fd, char const *name, mode_t mode) name 51 maint/gnulib/tests/test-mkfifoat.c return mknodat (fd, name, mode | S_IFIFO, 0); name 56 maint/gnulib/tests/test-mkfifoat.c do_mkfifoat (char const *name, mode_t mode) name 58 maint/gnulib/tests/test-mkfifoat.c return mkfifoat (dfd, name, mode); name 63 maint/gnulib/tests/test-mkfifoat.c do_mknodat (char const *name, mode_t mode) name 65 maint/gnulib/tests/test-mkfifoat.c return mknodat (dfd, name, mode | S_IFIFO, 0); name 42 maint/gnulib/tests/test-mknod.c do_mknod (char const *name, mode_t mode) name 44 maint/gnulib/tests/test-mknod.c return mknod (name, mode | S_IFIFO, 0); name 42 maint/gnulib/tests/test-openat.c do_open (char const *name, int flags, ...) name 55 maint/gnulib/tests/test-openat.c return openat (dfd, name, flags, mode); name 57 maint/gnulib/tests/test-openat.c return openat (dfd, name, flags); name 42 maint/gnulib/tests/test-posix_openpt.c char *name; name 53 maint/gnulib/tests/test-posix_openpt.c name = ptsname (master); name 54 maint/gnulib/tests/test-posix_openpt.c ASSERT (name); name 57 maint/gnulib/tests/test-posix_openpt.c slave = open (name, O_RDWR); name 48 maint/gnulib/tests/test-readlinkat.c do_readlink (char const *name, char *buf, size_t len) name 50 maint/gnulib/tests/test-readlinkat.c return readlinkat (dfd, name, buf, len); name 26 maint/gnulib/tests/test-rmdir.h test_rmdir_func (int (*func) (char const *name), bool print) name 47 maint/gnulib/tests/test-stat.c do_stat (char const *name, struct stat *st) name 49 maint/gnulib/tests/test-stat.c return stat (name, st); name 48 maint/gnulib/tests/test-symlinkat.c do_symlink (char const *contents, char const *name) name 50 maint/gnulib/tests/test-symlinkat.c return symlinkat (contents, dfd, name); name 26 maint/gnulib/tests/test-unlink.h test_unlink_func (int (*func) (char const *name), bool print) name 46 maint/gnulib/tests/test-unlinkat.c rmdirat (char const *name) name 48 maint/gnulib/tests/test-unlinkat.c return unlinkat (dfd, name, AT_REMOVEDIR); name 53 maint/gnulib/tests/test-unlinkat.c unlinker (char const *name) name 55 maint/gnulib/tests/test-unlinkat.c return unlinkat (dfd, name, 0); name 45 maint/gnulib/tests/test-utimens.c do_fdutimens (char const *name, struct timespec const times[2]) name 48 maint/gnulib/tests/test-utimens.c int fd = open (name, O_WRONLY); name 50 maint/gnulib/tests/test-utimens.c fd = open (name, O_RDONLY); name 52 maint/gnulib/tests/test-utimens.c result = fdutimens (fd, name, times); name 50 maint/gnulib/tests/test-utimensat.c do_utimensat (char const *name, struct timespec const times[2]) name 52 maint/gnulib/tests/test-utimensat.c return utimensat (dfd, name, times, 0); name 57 maint/gnulib/tests/test-utimensat.c do_lutimensat (char const *name, struct timespec const times[2]) name 59 maint/gnulib/tests/test-utimensat.c return utimensat (dfd, name, times, AT_SYMLINK_NOFOLLOW); name 32 maint/gnulib/tests/test-wcrtomb-w32.c test_one_locale (const char *name, int codepage) name 42 maint/gnulib/tests/test-wcrtomb-w32.c sprintf (name_with_codepage, "%s.%d", name, codepage); name 57 maint/gnulib/tests/test-wcrtomb-w32.c if (setlocale (LC_ALL, name) == NULL) name 40 maint/gnulib/tests/unictype/test-block_list.c if (strcmp (blocks[i].name, "Latin") == 0) name 42 maint/gnulib/tests/unictype/test-block_list.c if (strcmp (blocks[i].name, "Hebrew") == 0) name 28 maint/gnulib/tests/unictype/test-block_of.c ASSERT (strcmp (uc_block ('x')->name, "Basic Latin") == 0); name 29 maint/gnulib/tests/unictype/test-block_of.c ASSERT (strcmp (uc_block (0x20AC)->name, "Currency Symbols") == 0); name 50 maint/gnulib/tests/unictype/test-block_of.c if (strcmp (blocks[i].name, "Hebrew") == 0) name 32 maint/gnulib/tests/unictype/test-block_test.c b.name = "CJK Supplemental Area"; name 29 maint/gnulib/tests/unictype/test-scripts.c ASSERT (strcmp (uc_script ('A')->name, "Latin") == 0); name 30 maint/gnulib/tests/unictype/test-scripts.c ASSERT (strcmp (uc_script ('%')->name, "Common") == 0); name 34 maint/gnulib/tests/unictype/test-scripts.c ASSERT (strcmp (uc_script_byname ("Armenian")->name, "Armenian") == 0); name 66 maint/gnulib/tests/unictype/test-scripts.c ASSERT (scripts[i].name != NULL); name 67 maint/gnulib/tests/unictype/test-scripts.c if (strcmp (scripts[i].name, "Hebrew") == 0) name 37 maint/gnulib/tests/uniname/test-uninames.c const char *name; name 176 maint/gnulib/tests/uniname/test-uninames.c unicode_aliases[aliases_count].name = xstrdup (field1); name 346 maint/gnulib/tests/uniname/test-uninames.c unsigned int result = unicode_name_character (unicode_aliases[i].name); name 351 maint/gnulib/tests/uniname/test-uninames.c unicode_aliases[i].name); name 355 maint/gnulib/tests/uniname/test-uninames.c unicode_aliases[i].name, result); name 400 tools/attrd_updater.c out->message(out, "attribute", NULL, NULL, pair->name, pair->value, name 84 tools/cibadmin.c if (pcmk__str_eq((const char *)xml->name, "xpath-query", pcmk__str_casei)) { name 55 tools/crm_attribute.c const char *name = va_arg(args, const char *); name 67 tools/crm_attribute.c name ? "name=" : "", name ? name : "", name 510 tools/crm_attribute.c const char *name = crm_element_value(node, XML_NVPAIR_ATTR_NAME); name 517 tools/crm_attribute.c if (od->use_pattern && !pcmk__str_eq(name, options.attr_pattern, pcmk__str_regex)) { name 521 tools/crm_attribute.c od->out->message(od->out, "attribute", type, attr_id, name, value, host); name 524 tools/crm_attribute.c pcmk__s(name, "<null>"), pcmk__s(value, ""), name 278 tools/crm_mon.c const char *name; name 304 tools/crm_mon.c find_section_bit(const char *name) { name 305 tools/crm_mon.c for (int i = 0; sections[i].name != NULL; i++) { name 306 tools/crm_mon.c if (pcmk__str_eq(sections[i].name, name, pcmk__str_casei)) { name 1817 tools/crm_mon.c if(strcmp((const char*)xml->name, XML_LRM_TAG_RSC_OP) != 0) { name 1923 tools/crm_mon.c const char *name = NULL; name 1949 tools/crm_mon.c name = (const char *)match->name; name 1952 tools/crm_mon.c crm_trace("Handling %s operation for %s %p, %s", op, xpath, match, name); name 1956 tools/crm_mon.c } else if(name == NULL) { name 1960 tools/crm_mon.c } else if(strcmp(name, XML_TAG_CIB) == 0) { name 1964 tools/crm_mon.c } else if(strcmp(name, XML_CIB_TAG_STATUS) == 0) { name 1967 tools/crm_mon.c } else if(strcmp(name, XML_CIB_TAG_STATE) == 0) { name 1974 tools/crm_mon.c } else if(strcmp(name, XML_CIB_TAG_LRM) == 0) { name 1978 tools/crm_mon.c } else if(strcmp(name, XML_LRM_TAG_RESOURCES) == 0) { name 1984 tools/crm_mon.c } else if(strcmp(name, XML_LRM_TAG_RESOURCE) == 0) { name 1990 tools/crm_mon.c } else if(strcmp(name, XML_LRM_TAG_RSC_OP) == 0) { name 1997 tools/crm_mon.c crm_trace("Ignoring %s operation for %s %p, %s", op, xpath, match, name); name 175 tools/crm_mon_curses.c curses_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 468 tools/crm_node.c const char *name = getenv("OCF_RESKEY_" CRM_META "_" XML_LRM_ATTR_TARGET); name 470 tools/crm_node.c if (name != NULL) { name 471 tools/crm_node.c rc = out->message(out, "node-name", 0, name); name 784 tools/crm_resource.c char *name = NULL; name 787 tools/crm_resource.c if (pcmk__scan_nvpair(optarg, &name, &value) != 2) { name 793 tools/crm_resource.c g_hash_table_replace(options.cmdline_params, name, value); name 1511 tools/crm_resource.c char *name = calloc(1, strlen(*s)); name 1513 tools/crm_resource.c int rc = sscanf(*s, "%[^=]=%s", name, value); name 1516 tools/crm_resource.c g_hash_table_replace(options.override_params, name, value); name 1524 tools/crm_resource.c free(name); name 43 tools/crm_resource_print.c xml_obj->name, name 83 tools/crm_resource_print.c rsc->xml->name, rsc->id, name 161 tools/crm_resource_print.c const char *name = va_arg(args, const char *); name 174 tools/crm_resource_print.c ((name == NULL)? "" : " for "), ((name == NULL)? "" : name), name 188 tools/crm_resource_print.c ((name == NULL)? "" : " for "), ((name == NULL)? "" : name), name 206 tools/crm_resource_print.c const char *name G_GNUC_UNUSED = va_arg(args, const char *); name 250 tools/crm_resource_print.c const char *name = va_arg(args, const char *); name 255 tools/crm_resource_print.c name, value); name 258 tools/crm_resource_print.c rsc_name, name, value); name 268 tools/crm_resource_print.c const char *name = va_arg(args, const char *); name 272 tools/crm_resource_print.c "name", name, name 336 tools/crm_resource_print.c const char *name = NULL; name 342 tools/crm_resource_print.c while (g_hash_table_iter_next(&iter, (gpointer *) &name, (gpointer *) &value)) { name 343 tools/crm_resource_print.c out->message(out, "override", rsc_name, name, value); name 410 tools/crm_resource_print.c const char *name = NULL; name 416 tools/crm_resource_print.c while (g_hash_table_iter_next(&iter, (gpointer *) &name, (gpointer *) &value)) { name 417 tools/crm_resource_print.c out->message(out, "override", rsc_name, name, value); name 366 tools/crm_resource_runtime.c xml_top = create_xml_node(NULL, (const char *) rsc->xml->name); name 628 tools/crm_resource_runtime.c const char *name = (rsc->clone_name? rsc->clone_name : rsc->id); name 631 tools/crm_resource_runtime.c return strdup(name); name 633 tools/crm_resource_runtime.c return clone_strip(name); name 1986 tools/crm_resource_runtime.c char *name = NULL; name 1990 tools/crm_resource_runtime.c while (g_hash_table_iter_next(&iter, (gpointer *) &name, name 1992 tools/crm_resource_runtime.c g_hash_table_replace(params, strdup(name), strdup(value)); name 292 tools/crm_ticket.c const char *name = NULL; name 299 tools/crm_ticket.c while (g_hash_table_iter_next(&iter, (void **)&name, (void **)&value)) { name 303 tools/crm_ticket.c fprintf(stdout, "%s=", name); name 304 tools/crm_ticket.c if (pcmk__str_any_of(name, "last-granted", "expires", NULL)) { name 240 tools/stonith_admin.c static char *name = NULL; name 274 tools/stonith_admin.c char *name = NULL; name 281 tools/stonith_admin.c rc = pcmk__scan_nvpair(optarg, &name, &value); name 288 tools/stonith_admin.c crm_info("Got: '%s'='%s'", name, value); name 289 tools/stonith_admin.c options.params = stonith_key_value_add(options.params, name, value); name 292 tools/stonith_admin.c free(name); name 299 tools/stonith_admin.c free(name); name 300 tools/stonith_admin.c name = crm_strdup_printf("%s.%s", crm_system_name, optarg); name 340 tools/stonith_admin.c int rc = pcmk__request_fencing(st, target, command, name, name 399 tools/stonith_admin.c if (name == NULL) { name 400 tools/stonith_admin.c name = strdup(crm_system_name); name 537 tools/stonith_admin.c rc = st->cmds->connect(st, name, NULL); name 669 tools/stonith_admin.c free(name);