name 1077 daemons/attrd/attrd_commands.c char *name = user_data; name 1078 daemons/attrd/attrd_commands.c attribute_t *a = g_hash_table_lookup(attributes, name); name 1081 daemons/attrd/attrd_commands.c crm_info("Attribute %s no longer exists", name); name 1143 daemons/attrd/attrd_commands.c a->timeout_ms, name); name 246 daemons/attrd/pacemaker-attrd.c if (client->name == NULL) { name 248 daemons/attrd/pacemaker-attrd.c client->name = crm_strdup_printf("%s.%d", value?value:"unknown", client->pid); name 235 daemons/based/based_callbacks.c if (cib_client->name == NULL) { name 239 daemons/based/based_callbacks.c cib_client->name = pcmk__itoa(cib_client->pid); name 241 daemons/based/based_callbacks.c cib_client->name = strdup(value); name 260 daemons/based/based_callbacks.c crm_xml_add(op_request, F_CIB_CLIENTNAME, cib_client->name); name 189 daemons/based/based_io.c const char *name = NULL; name 268 daemons/based/based_io.c name = XML_ATTR_GENERATION_ADMIN; name 269 daemons/based/based_io.c value = crm_element_value(root, name); name 271 daemons/based/based_io.c crm_warn("No value for %s was specified in the configuration.", name); name 277 daemons/based/based_io.c crm_xml_add_int(root, name, 0); name 280 daemons/based/based_io.c name = XML_ATTR_GENERATION; name 281 daemons/based/based_io.c value = crm_element_value(root, 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_NUMUPDATES; 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 419 daemons/based/based_remote.c if (client->name == NULL) { name 422 daemons/based/based_remote.c client->name = strdup(client->id); name 424 daemons/based/based_remote.c client->name = strdup(value); name 446 daemons/based/based_remote.c crm_xml_add(command, F_CIB_CLIENTNAME, client->name); name 523 daemons/based/based_remote.c client->name = crm_element_value_copy(command, "name"); name 32 daemons/controld/controld_attrd.c log_attrd_error(const char *host, const char *name, const char *value, name 42 daemons/controld/controld_attrd.c CRM_XS " rc=%d", (name? name : "all resources"), node_type, name 59 daemons/controld/controld_attrd.c CRM_XS " rc=%d", name, value, node_type, host, when, name 79 daemons/controld/controld_attrd.c update_attrd_helper(const char *host, const char *name, const char *value, name 112 daemons/controld/controld_attrd.c rc = pcmk__node_attr_request(attrd_ipc, command, host, name, name 119 daemons/controld/controld_attrd.c rc = pcmk__node_attr_request_clear(attrd_ipc, host, name, name 148 daemons/controld/controld_attrd.c log_attrd_error(host, name, value, is_remote_node, command, rc); name 153 daemons/controld/controld_attrd.c update_attrd(const char *host, const char *name, const char *value, name 156 daemons/controld/controld_attrd.c update_attrd_helper(host, name, value, NULL, user_name, is_remote_node, name 682 daemons/controld/controld_control.c crmd_pref(GHashTable * options, const char *name) name 685 daemons/controld/controld_control.c name); name 1087 daemons/controld/controld_messages.c const char *name = NULL; name 1090 daemons/controld/controld_messages.c name = crm_element_value(stored_msg, XML_ATTR_UNAME); name 1095 daemons/controld/controld_messages.c crm_err("Could not instruct peers to remove references to node %s/%u", name, id); name 1097 daemons/controld/controld_messages.c crm_notice("Instructing peers to remove references to node %s/%u", name, id); name 1102 daemons/controld/controld_messages.c reap_crm_member(id, name); name 1108 daemons/controld/controld_messages.c st_fail_count_reset(name); name 415 daemons/controld/controld_te_actions.c char *name; name 424 daemons/controld/controld_te_actions.c free(peer->name); name 456 daemons/controld/controld_te_actions.c r->name = strdup(target); name 457 daemons/controld/controld_te_actions.c g_hash_table_insert(te_targets, r->name, r); name 521 daemons/controld/controld_te_actions.c r->name = strdup(target); name 522 daemons/controld/controld_te_actions.c g_hash_table_insert(te_targets, r->name, r); name 401 daemons/controld/controld_te_callbacks.c const char *name = NULL; name 441 daemons/controld/controld_te_callbacks.c name = (const char *)match->name; name 446 daemons/controld/controld_te_callbacks.c (name? " matched by " : ""), (name? name : "")); name 454 daemons/controld/controld_te_callbacks.c || pcmk__str_eq(name, XML_CIB_TAG_TICKETS, pcmk__str_casei)) { name 459 daemons/controld/controld_te_callbacks.c || pcmk__str_eq(name, XML_TAG_TRANSIENT_NODEATTRS, pcmk__str_casei)) { name 466 daemons/controld/controld_te_callbacks.c } else if (name == NULL) { name 470 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_TAG_CIB) == 0) { name 473 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_CIB_TAG_STATUS) == 0) { name 476 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_CIB_TAG_STATE) == 0) { name 479 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_CIB_TAG_LRM) == 0) { name 482 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_LRM_TAG_RESOURCES) == 0) { name 488 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_LRM_TAG_RESOURCE) == 0) { name 494 daemons/controld/controld_te_callbacks.c } else if (strcmp(name, XML_LRM_TAG_RSC_OP) == 0) { name 502 daemons/controld/controld_te_callbacks.c op, xpath, name); name 86 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 551 daemons/execd/execd_commands.c if (client->name == NULL) { name 124 daemons/execd/pacemaker-execd.c if (!client->name) { name 128 daemons/execd/pacemaker-execd.c client->name = pcmk__itoa(pcmk__client_pid(c)); name 130 daemons/execd/pacemaker-execd.c client->name = strdup(value); name 140 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 257 daemons/execd/remoted_pidone.c const char *name = "pcmk-init"; name 272 daemons/execd/remoted_pidone.c i = strlen(name); name 275 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 111 daemons/execd/remoted_tls.c if (!client->name) { name 115 daemons/execd/remoted_tls.c client->name = strdup(value); name 125 daemons/execd/remoted_tls.c crm_xml_add(request, F_LRMD_CLIENTNAME, client->name); name 682 daemons/fenced/fenced_commands.c char *name = NULL; name 702 daemons/fenced/fenced_commands.c free(name); name 703 daemons/fenced/fenced_commands.c name = calloc(1, 1 + lpc - last); name 704 daemons/fenced/fenced_commands.c memcpy(name, hostmap + last, lpc - last); name 715 daemons/fenced/fenced_commands.c if (name) { name 729 daemons/fenced/fenced_commands.c crm_debug("Adding alias '%s'='%s'", name, value); name 730 daemons/fenced/fenced_commands.c g_hash_table_replace(aliases, name, value); name 735 daemons/fenced/fenced_commands.c name = NULL; name 755 daemons/fenced/fenced_commands.c free(name); name 942 daemons/fenced/fenced_commands.c xml2device_params(const char *name, xmlNode *dev) name 954 daemons/fenced/fenced_commands.c name, STONITH_ATTR_ACTION_OP); name 2775 daemons/fenced/fenced_commands.c const char *name = NULL; name 2789 daemons/fenced/fenced_commands.c name = names[lpc]; name 2790 daemons/fenced/fenced_commands.c value = crm_element_value(request, name); name 2791 daemons/fenced/fenced_commands.c crm_xml_add(reply, name, value); name 3337 daemons/fenced/fenced_commands.c const char *name = NULL; name 3340 daemons/fenced/fenced_commands.c name = crm_element_value(request->xml, XML_ATTR_UNAME); name 3341 daemons/fenced/fenced_commands.c reap_crm_member(node_id, name); name 125 daemons/fenced/pacemaker-fenced.c if (c->name == NULL) { name 131 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 761 daemons/fenced/pacemaker-fenced.c const char *name = NULL; name 772 daemons/fenced/pacemaker-fenced.c while (g_hash_table_iter_next(&gIter, (gpointer *) & name, (gpointer *) & value)) { name 773 daemons/fenced/pacemaker-fenced.c if (!name || !value) { name 776 daemons/fenced/pacemaker-fenced.c params = stonith_key_value_add(params, name, value); name 777 daemons/fenced/pacemaker-fenced.c crm_trace(" %s=%s", name, value); name 996 daemons/fenced/pacemaker-fenced.c node_has_attr(const char *node, const char *name, const char *value) name 1012 daemons/fenced/pacemaker-fenced.c node, name, value); name 215 daemons/fenced/pacemaker-fenced.h uint64_t get_stonith_flag(const char *name); name 272 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 135 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, name 149 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, name 162 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, name 194 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, name 201 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, name 207 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[next_child].name, name 236 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Child %s not terminating in a timely manner, forcing", child->name); name 246 daemons/pacemakerd/pcmkd_subdaemons.c const char *name = mainloop_child_name(p); name 251 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, signo, strsignal(signo), name 258 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, exitcode, crm_exit_str(exitcode)); name 263 daemons/pacemakerd/pcmkd_subdaemons.c name, pid); name 270 daemons/pacemakerd/pcmkd_subdaemons.c crm_emerg("%s[%d] instructed the machine to reset", name, pid); name 279 daemons/pacemakerd/pcmkd_subdaemons.c name, pid, exitcode, crm_exit_str(exitcode)); name 296 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Child respawn count exceeded by %s", child->name); name 308 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Rebooting system because of %s", child->name); name 314 daemons/pacemakerd/pcmkd_subdaemons.c child->name, child->endpoint); name 318 daemons/pacemakerd/pcmkd_subdaemons.c child->name); name 323 daemons/pacemakerd/pcmkd_subdaemons.c child->name); name 355 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long) SHUTDOWN_ESCALATION_PERIOD, name 370 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long long) child->pid); name 376 daemons/pacemakerd/pcmkd_subdaemons.c crm_debug("%s confirmed stopped", child->name); name 430 daemons/pacemakerd/pcmkd_subdaemons.c crm_info("Nothing to do for child \"%s\"", child->name); name 438 daemons/pacemakerd/pcmkd_subdaemons.c } else if (env_callgrind != NULL && strstr(env_callgrind, child->name)) { name 445 daemons/pacemakerd/pcmkd_subdaemons.c } else if (env_valgrind != NULL && strstr(env_valgrind, child->name)) { name 451 daemons/pacemakerd/pcmkd_subdaemons.c " The location of the valgrind binary is unknown", child->name); name 457 daemons/pacemakerd/pcmkd_subdaemons.c crm_err("Invalid user (%s) for %s: not found", child->uid, child->name); name 460 daemons/pacemakerd/pcmkd_subdaemons.c crm_info("Using uid=%u and group=%u for process %s", uid, gid, child->name); name 468 daemons/pacemakerd/pcmkd_subdaemons.c mainloop_child_add(child->pid, 0, child->name, child, pcmk_child_exit); name 471 daemons/pacemakerd/pcmkd_subdaemons.c (long long) child->pid, child->name, name 575 daemons/pacemakerd/pcmkd_subdaemons.c child->name); name 623 daemons/pacemakerd/pcmkd_subdaemons.c int ret = pcmk__pid_active(child->pid, child->name); name 628 daemons/pacemakerd/pcmkd_subdaemons.c child->name) == pcmk_rc_ok))) { name 742 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].name, WAIT_TRIES - 1); name 750 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].name, name 763 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].name, name 789 daemons/pacemakerd/pcmkd_subdaemons.c pcmk_children[i].name, pcmk_rc_str(rc), rc); name 847 daemons/pacemakerd/pcmkd_subdaemons.c crm_notice("Respawning cluster-based subdaemon: %s", pcmk_children[i].name); name 867 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long long) PCMK__SPECIAL_PID_AS_0(child->pid)); name 872 daemons/pacemakerd/pcmkd_subdaemons.c crm_trace("Client %s not running", child->name); name 879 daemons/pacemakerd/pcmkd_subdaemons.c child->name, signal, (long long) child->pid); name 883 daemons/pacemakerd/pcmkd_subdaemons.c child->name, (long long) child->pid, signal, strerror(errno)); name 43 daemons/schedulerd/schedulerd_messages.c const char *name; name 111 daemons/schedulerd/schedulerd_messages.c if (pcmk__read_series_sequence(PE_STATE_DIR, series[series_id].name, name 117 daemons/schedulerd/schedulerd_messages.c series[series_id].name, series_wrap, seq, value); name 130 daemons/schedulerd/schedulerd_messages.c series[series_id].name, seq, true); name 174 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 73 include/crm/cib/cib_types.h int (*signon) (cib_t *cib, const char *name, enum cib_conn_type type); name 74 include/crm/cib/cib_types.h int (*signon_raw) (cib_t *cib, const char *name, enum cib_conn_type type, name 63 include/crm/cib/util.h const char *cib_pref(GHashTable * options, const char *name); name 141 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 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 33 include/crm/common/attrd_internal.h const char *name, const char *value, name 43 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 58 include/crm/common/internal.h bool pcmk__check_acl(xmlNode *xml, const char *name, name 89 include/crm/common/internal.h void pcmk__sync_directory(const char *name); name 126 include/crm/common/internal.h int pcmk__scan_nvpair(const char *input, char **name, char **value); name 127 include/crm/common/internal.h char *pcmk__format_nvpair(const char *name, const char *value, name 129 include/crm/common/internal.h char *pcmk__format_named_time(const char *name, time_t epoch_time); name 140 include/crm/common/internal.h pcmk__xe_set_bool_attr(xmlNodePtr node, const char *name, bool value); name 153 include/crm/common/internal.h pcmk__xe_attr_is_true(xmlNodePtr node, const char *name); name 171 include/crm/common/internal.h pcmk__xe_get_bool_attr(xmlNodePtr node, const char *name, bool *value); name 176 include/crm/common/internal.h pid_t pcmk__procfs_pid_of(const char *name); name 209 include/crm/common/internal.h int pcmk__lock_pidfile(const char *filename, const char *name); name 298 include/crm/common/internal.h void pcmk__daemonize(const char *name, const char *pidfile); name 165 include/crm/common/ipc.h crm_ipc_t *crm_ipc_new(const char *name, size_t max_size); name 88 include/crm/common/ipc_internal.h int pcmk__ipc_is_authentic_process_active(const char *name, uid_t refuid, name 140 include/crm/common/ipc_internal.h char *name; name 148 include/crm/common/logging.h # define CRM_TRACE_INIT_DATA(name) name 151 include/crm/common/logging.h # define CRM_TRACE_INIT_DATA(name) QB_LOG_INIT_DATA(name) name 76 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 72 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_replace(xmlNode *node, const char *name, const char *value); name 50 include/crm/common/nvpair.h const char *crm_xml_add_int(xmlNode *node, const char *name, int value); name 51 include/crm/common/nvpair.h const char *crm_xml_add_ll(xmlNode *node, const char *name, long long value); name 52 include/crm/common/nvpair.h const char *crm_xml_add_ms(xmlNode *node, const char *name, guint ms); name 57 include/crm/common/nvpair.h const char *crm_element_value(const xmlNode *data, const char *name); name 58 include/crm/common/nvpair.h int crm_element_value_int(const xmlNode *data, const char *name, int *dest); name 59 include/crm/common/nvpair.h int crm_element_value_ll(const xmlNode *data, const char *name, long long *dest); name 60 include/crm/common/nvpair.h int crm_element_value_ms(const xmlNode *data, const char *name, guint *dest); name 61 include/crm/common/nvpair.h int crm_element_value_epoch(const xmlNode *xml, const char *name, time_t *dest); name 64 include/crm/common/nvpair.h char *crm_element_value_copy(const xmlNode *data, const char *name); name 44 include/crm/common/options_internal.h const char *name; name 83 include/crm/common/options_internal.h const char *name; name 98 include/crm/common/options_internal.h const char *name); name 100 include/crm/common/options_internal.h char *pcmk__format_option_metadata(const char *name, const char *desc_short, name 126 include/crm/common/output_internal.h const char *name; name 395 include/crm/common/output_internal.h void (*output_xml) (pcmk__output_t *out, const char *name, const char *buf); name 429 include/crm/common/output_internal.h void (*list_item) (pcmk__output_t *out, const char *name, const char *format, ...) name 573 include/crm/common/output_internal.h pcmk__register_format(GOptionGroup *group, const char *name, name 724 include/crm/common/output_internal.h pcmk__output_xml_create_parent(pcmk__output_t *out, const char *name, ...) name 748 include/crm/common/output_internal.h pcmk__output_create_xml_node(pcmk__output_t *out, const char *name, ...) name 761 include/crm/common/output_internal.h pcmk__output_create_xml_text_node(pcmk__output_t *out, const char *name, const char *content); name 847 include/crm/common/output_internal.h pcmk__html_add_header(const char *name, ...) name 132 include/crm/common/util.h bool crm_is_daemon_name(const char *name); name 134 include/crm/common/util.h int crm_user_lookup(const char *name, uid_t * uid, gid_t * gid); name 66 include/crm/common/util_compat.h int pcmk_scan_nvpair(const char *input, char **name, char **value); name 69 include/crm/common/util_compat.h char *pcmk_format_nvpair(const char *name, const char *value, name 73 include/crm/common/util_compat.h char *pcmk_format_named_time(const char *name, time_t epoch_time); name 69 include/crm/common/xml.h void expand_plus_plus(xmlNode * target, const char *name, const char *value); name 79 include/crm/common/xml.h xmlNode *create_xml_node(xmlNode * parent, const char *name); name 89 include/crm/common/xml.h xmlNode *pcmk_create_xml_text_node(xmlNode * parent, const char *name, const char *content); name 116 include/crm/common/xml.h int add_node_nocopy(xmlNode * parent, const char *name, xmlNode * child); name 153 include/crm/common/xml.h void xml_remove_prop(xmlNode * obj, const char *name); name 170 include/crm/common/xml.h return xml? (const char *)(xml->name) : NULL; name 176 include/crm/common/xml.h const char *name = crm_element_name(xml); name 178 include/crm/common/xml.h if (strcmp(name, "master") == 0) { name 181 include/crm/common/xml.h return name; name 236 include/crm/common/xml.h int get_schema_version(const char *name); name 252 include/crm/common/xml.h xmlNode *first_named_child(const xmlNode *parent, const char *name); name 38 include/crm/common/xml_compat.h crm_xml_add_boolean(xmlNode *node, const char *name, gboolean value) name 40 include/crm/common/xml_compat.h return crm_xml_add(node, name, (value? "true" : "false")); 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 144 include/crm/pengine/common.h const char *pe_pref(GHashTable * options, const char *name); name 218 include/crm/pengine/internal.h void add_hash_param(GHashTable * hash, const char *name, const char *value); name 220 include/crm/pengine/internal.h char *native_parameter(pe_resource_t * rsc, pe_node_t * node, gboolean create, const char *name, name 249 include/crm/pengine/internal.h gchar * pcmk__native_output_string(pe_resource_t *rsc, const char *name, pe_node_t *node, name 343 include/crm/pengine/internal.h extern pe_action_t *get_pseudo_op(const char *name, pe_working_set_t * data_set); name 419 include/crm/pengine/internal.h extern enum action_tasks get_complex_task(pe_resource_t * rsc, const char *name, name 520 include/crm/pengine/internal.h void common_print(pe_resource_t * rsc, const char *pre_text, const char *name, pe_node_t *node, long options, void *print_data); name 521 include/crm/pengine/internal.h int pe__common_output_text(pcmk__output_t *out, pe_resource_t * rsc, const char *name, pe_node_t *node, unsigned int options); name 522 include/crm/pengine/internal.h int pe__common_output_html(pcmk__output_t *out, pe_resource_t * rsc, const char *name, pe_node_t *node, unsigned int options); name 531 include/crm/pengine/internal.h const char *name, name 533 include/crm/pengine/internal.h const char *pe_node_attribute_raw(pe_node_t *node, const char *name); name 579 include/crm/pengine/internal.h xmlNode *pe__failed_probe_for_rsc(pe_resource_t *rsc, const char *name); name 254 include/crm/services.h svc_action_t *resources_action_create(const char *name, const char *standard, name 263 include/crm/services.h gboolean services_action_kick(const char *name, const char *action, name 361 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 36 include/crm/services_internal.h svc_action_t *services__create_resource_action(const char *name, const char *standard, name 162 include/crm/stonith-ng.h int (*connect) (stonith_t *st, const char *name, int *stonith_fd); name 178 include/crm/stonith-ng.h stonith_t *st, int options, const char *name); name 456 include/crm/stonith-ng.h int stonith_api_connect_retry(stonith_t *st, const char *name, name 213 include/pacemaker.h const char *name, unsigned int timeout, name 50 include/pcmki/pcmki_fence.h const char *name, unsigned int timeout, name 39 include/portability.h int setenv(const char *name, const char *value, int why); name 524 lib/cib/cib_attrs.c tag = (const char *) (result->name); name 528 lib/cib/cib_attrs.c tag = (const char *) (result->name); name 666 lib/cib/cib_attrs.c if (pcmk__str_eq((const char *)a_child->name, XML_CIB_TAG_NODE, name 214 lib/cib/cib_client.c char *name = crm_strdup_printf("shadow.%s", suffix); name 262 lib/cib/cib_client.c fullname = crm_strdup_printf("%s/%s", dir, name); name 264 lib/cib/cib_client.c free(name); name 67 lib/cib/cib_file.c int cib_file_signon(cib_t * cib, const char *name, enum cib_conn_type type); name 590 lib/cib/cib_file.c cib_file_signon(cib_t * cib, const char *name, enum cib_conn_type type) name 603 lib/cib/cib_file.c private->filename, name); name 609 lib/cib/cib_file.c private->filename, name, pcmk_strerror(rc)); name 50 lib/cib/cib_native.c int cib_native_signon(cib_t * cib, const char *name, enum cib_conn_type type); name 51 lib/cib/cib_native.c int cib_native_signon_raw(cib_t * cib, const char *name, enum cib_conn_type type, int *event_fd); name 93 lib/cib/cib_native.c cib_native_signon(cib_t * cib, const char *name, enum cib_conn_type type) name 95 lib/cib/cib_native.c return cib_native_signon_raw(cib, name, type, NULL); name 156 lib/cib/cib_native.c cib_native_signon_raw(cib_t * cib, const char *name, enum cib_conn_type type, int *async_fd) name 205 lib/cib/cib_native.c crm_info("Could not connect to CIB manager for %s", name); name 215 lib/cib/cib_native.c crm_xml_add(hello, F_CIB_CLIENTNAME, name); name 245 lib/cib/cib_native.c crm_info("Successfully connected to CIB manager for %s", name); name 250 lib/cib/cib_native.c name, pcmk_strerror(rc)); name 303 lib/cib/cib_ops.c crm_trace("No matching object to delete: %s=%s", child->name, ID(child)); name 308 lib/cib/cib_ops.c crm_trace("No matching object to delete: %s=%s", input->name, ID(input)); name 770 lib/cib/cib_ops.c parent->name, id, name 773 lib/cib/cib_ops.c new_path = crm_strdup_printf("/%s%s", parent->name, name 67 lib/cib/cib_remote.c int cib_remote_signon(cib_t * cib, const char *name, enum cib_conn_type type); name 73 lib/cib/cib_remote.c const char *name); name 374 lib/cib/cib_remote.c cib_remote_signon(cib_t * cib, const char *name, enum cib_conn_type type) name 405 lib/cib/cib_remote.c crm_xml_add(hello, F_CIB_CLIENTNAME, name); name 412 lib/cib/cib_remote.c private->server, private->port, name); name 418 lib/cib/cib_remote.c private->server, private->port, name, pcmk_strerror(rc)); name 467 lib/cib/cib_remote.c xmlNode * data, xmlNode ** output_data, int call_options, const char *name) name 226 lib/cib/cib_utils.c current_cib = create_xml_node(NULL, (const char *)scratch->name); name 590 lib/cib/cib_utils.c cib_pref(GHashTable * options, const char *name) name 593 lib/cib/cib_utils.c name); name 157 lib/cluster/cluster.c static char *name = NULL; name 159 lib/cluster/cluster.c if (name == NULL) { name 160 lib/cluster/cluster.c name = get_node_name(0); name 162 lib/cluster/cluster.c return name; name 177 lib/cluster/cluster.c char *name = NULL; name 183 lib/cluster/cluster.c name = pcmk__corosync_name(0, nodeid); name 191 lib/cluster/cluster.c if ((name == NULL) && (nodeid == 0)) { name 192 lib/cluster/cluster.c name = pcmk_hostname(); name 193 lib/cluster/cluster.c if (name == NULL) { name 203 lib/cluster/cluster.c if (name == NULL) { name 207 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, crm_str(name)); 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, crm_str(name)); 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, crm_str(name)); 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 303 lib/cluster/election.c e->name); name 321 lib/cluster/election.c crm_debug("Started %s round %d", e->name, e->count); name 352 lib/cluster/election.c crm_trace("%s check requested, but no votes received yet", e->name); name 371 lib/cluster/election.c crm_warn("Received too many votes in %s", e->name); name 386 lib/cluster/election.c crm_info("%s won by local node", e->name); name 392 lib/cluster/election.c e->name, num_members - voted_size, num_members); name 442 lib/cluster/election.c (e? e->name : "election")); name 454 lib/cluster/election.c (e? e->name : "election"), vote->op, vote->from); name 460 lib/cluster/election.c (e? e->name : "election"), vote->from, vote->op); name 477 lib/cluster/election.c e->name, vote->op, vote->from); name 581 lib/cluster/election.c e->name, vote.election_id, vote.op, vote.from, name 588 lib/cluster/election.c e->name, vote.election_id, vote.op, vote.from); name 636 lib/cluster/election.c e->name, e->election_wins, STORM_INTERVAL); name 659 lib/cluster/election.c e->name, vote.election_id, vote.op, e->count, vote.from, name 681 lib/cluster/election.c e->name, vote.election_id, vote.election_owner, vote.op, name 699 lib/cluster/election.c e->name, vote.election_id, vote.election_owner, vote.from, name 707 lib/cluster/election.c e->name, vote.election_id, vote.election_owner, vote.op, name 333 lib/cluster/membership.c reap_crm_member(uint32_t id, const char *name) name 344 lib/cluster/membership.c pcmk__str_update(&search.uname, name); name 173 lib/common/acl.c if (!strcmp(XML_ACL_TAG_ROLE, (const char *) role->name)) { name 381 lib/common/acl.c const char *prop_name = (const char *)xIter->name; name 388 lib/common/acl.c xmlUnsetProp(xml, tmp->name); name 510 lib/common/acl.c if (strcmp((const char *) prop->name, XML_ATTR_ID) != 0) { name 611 lib/common/acl.c pcmk__check_acl(xmlNode *xml, const char *name, enum xml_private_flags mode) name 625 lib/common/acl.c if (name) { name 627 lib/common/acl.c "[@%s]", name); name 643 lib/common/acl.c if (name) { name 644 lib/common/acl.c xmlAttr *attr = xmlHasProp(xml, (pcmkXmlStr) 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 234 lib/common/alerts.c const char *name = NULL; name 238 lib/common/alerts.c ((name = crm_element_name(section)) == NULL) || name 239 lib/common/alerts.c (strcmp(name, XML_CIB_TAG_ALERTS) != 0)) { name 134 lib/common/attrd_client.c const char *name, const char *value, name 153 lib/common/attrd_client.c if (name == NULL && command == 'U') { name 191 lib/common/attrd_client.c if (name == NULL) { name 195 lib/common/attrd_client.c crm_xml_add(update, name_as, name); name 219 lib/common/attrd_client.c name, value, display_host, pcmk_rc_str(rc), rc); name 279 lib/common/attrd_client.c pcmk__node_attr_target(const char *name) name 281 lib/common/attrd_client.c if (name == NULL || pcmk__strcase_any_of(name, "auto", "localhost", NULL)) { name 289 lib/common/attrd_client.c name = host_physical; name 295 lib/common/attrd_client.c name = host_pcmk; name 303 lib/common/attrd_client.c return name; name 24 lib/common/cib.c const char *name; // Name of this CIB element name 114 lib/common/cib.c if (pcmk__str_eq(element_name, cib_sections[lpc].name, name 135 lib/common/cib.c if (pcmk__str_eq(element_name, cib_sections[lpc].name, name 134 lib/common/cmdline.c pcmk__add_arg_group(GOptionContext *context, const char *name, name 140 lib/common/cmdline.c group = g_option_group_new(name, header, desc, NULL, NULL); name 109 lib/common/crmcommon_private.h bool pcmk__xa_filterable(const char *name); name 252 lib/common/digest.c pcmk__xa_filterable(const char *name) name 263 lib/common/digest.c if (strcmp(name, filter[i]) == 0) { name 395 lib/common/io.c pcmk__sync_directory(const char *name) name 400 lib/common/io.c directory = opendir(name); name 402 lib/common/io.c crm_perror(LOG_ERR, "Could not open %s for syncing", name); name 408 lib/common/io.c crm_perror(LOG_ERR, "Could not obtain file descriptor for %s", name); name 413 lib/common/io.c crm_perror(LOG_ERR, "Could not sync %s", name); name 416 lib/common/io.c crm_perror(LOG_ERR, "Could not close %s after fsync", name); name 800 lib/common/ipc_client.c crm_ipc_new(const char *name, size_t max_size) name 810 lib/common/ipc_client.c client->server_name = strdup(name); name 813 lib/common/ipc_client.c name, strerror(errno)); name 821 lib/common/ipc_client.c name, strerror(errno)); name 1458 lib/common/ipc_client.c pcmk__ipc_is_authentic_process_active(const char *name, uid_t refuid, name 1472 lib/common/ipc_client.c c = qb_ipcc_connect_async(name, 0, name 1475 lib/common/ipc_client.c c = qb_ipcc_connect(name, 0); name 1478 lib/common/ipc_client.c crm_info("Could not connect to %s IPC: %s", name, strerror(errno)); name 1488 lib/common/ipc_client.c crm_info("Could not connect to %s IPC: %s", name, name 1502 lib/common/ipc_client.c name, pcmk_rc_str(rc), rc); name 1511 lib/common/ipc_client.c name, (long long) PCMK__SPECIAL_PID_AS_0(found_pid), name 1520 lib/common/ipc_client.c CRM_XS " rc=%d", name, pcmk_rc_str(rc), rc); name 1530 lib/common/ipc_client.c && strncmp(last_asked_name, name, sizeof(last_asked_name))) { name 1535 lib/common/ipc_client.c name, (long long) refuid, (long long) refgid); name 1540 lib/common/ipc_client.c name, (long long) found_uid, (long long) found_gid, name 1543 lib/common/ipc_client.c memccpy(last_asked_name, name, '\0', sizeof(last_asked_name)); name 147 lib/common/ipc_pacemakerd.c if (pcmk__str_eq((const char *) reply->name, "ack", pcmk__str_casei)) { name 87 lib/common/ipc_schedulerd.c if (pcmk__str_eq((const char *) reply->name, "ack", pcmk__str_casei)) { name 104 lib/common/ipc_server.c } else if (c->name != NULL) { name 105 lib/common/ipc_server.c return c->name; name 334 lib/common/ipc_server.c free(c->name); name 995 lib/common/ipc_server.c crm_is_daemon_name(const char *name) name 997 lib/common/ipc_server.c name = pcmk__message_name(name); name 998 lib/common/ipc_server.c return (!strcmp(name, CRM_SYSTEM_CRMD) name 999 lib/common/ipc_server.c || !strcmp(name, CRM_SYSTEM_STONITHD) name 1000 lib/common/ipc_server.c || !strcmp(name, "stonith-ng") name 1001 lib/common/ipc_server.c || !strcmp(name, "attrd") name 1002 lib/common/ipc_server.c || !strcmp(name, CRM_SYSTEM_CIB) name 1003 lib/common/ipc_server.c || !strcmp(name, CRM_SYSTEM_MCP) name 1004 lib/common/ipc_server.c || !strcmp(name, CRM_SYSTEM_DC) name 1005 lib/common/ipc_server.c || !strcmp(name, CRM_SYSTEM_TENGINE) name 1006 lib/common/ipc_server.c || !strcmp(name, CRM_SYSTEM_LRMD)); name 691 lib/common/logging.c crm_priority2int(const char *name) name 694 lib/common/logging.c const char *name; name 710 lib/common/logging.c for (lpc = 0; name != NULL && p_names[lpc].name != NULL; lpc++) { name 711 lib/common/logging.c if (pcmk__str_eq(p_names[lpc].name, name, pcmk__str_none)) { name 1091 lib/common/logging.c pcmk__cli_init_logging(const char *name, unsigned int verbosity) name 1093 lib/common/logging.c crm_log_init(name, LOG_ERR, FALSE, FALSE, 0, NULL, TRUE); name 56 lib/common/mainloop.c char *name; name 670 lib/common/mainloop.c mainloop_add_ipc_server(const char *name, enum qb_ipc_type type, name 673 lib/common/mainloop.c return mainloop_add_ipc_server_with_prio(name, type, callbacks, QB_LOOP_MED); name 677 lib/common/mainloop.c mainloop_add_ipc_server_with_prio(const char *name, enum qb_ipc_type type, name 688 lib/common/mainloop.c server = qb_ipcs_create(name, 0, pick_ipc_type(type), callbacks); name 691 lib/common/mainloop.c crm_err("Could not create %s IPC server: %s (%d)", name, pcmk_strerror(rc), rc); name 705 lib/common/mainloop.c crm_err("Could not start %s IPC server: %s (%d)", name, pcmk_strerror(rc), rc); name 722 lib/common/mainloop.c char *name; name 763 lib/common/mainloop.c client->name, pcmk_strerror(read_rc), read_rc); name 770 lib/common/mainloop.c read_rc, client->name, (int) condition); name 772 lib/common/mainloop.c crm_trace("Connection to %s no longer required", client->name); name 781 lib/common/mainloop.c client->name, (int) condition); name 784 lib/common/mainloop.c crm_trace("Connection to %s no longer required", client->name); name 793 lib/common/mainloop.c client->name, client, condition); name 798 lib/common/mainloop.c client->name, client, condition); name 842 lib/common/mainloop.c char *c_name = strdup(client->name); name 869 lib/common/mainloop.c free(client->name); client->name = NULL; name 936 lib/common/mainloop.c mainloop_add_ipc_client(const char *name, int priority, size_t max_size, name 939 lib/common/mainloop.c crm_ipc_t *ipc = crm_ipc_new(name, max_size); name 947 lib/common/mainloop.c name, pcmk_rc_str(rc)); name 976 lib/common/mainloop.c mainloop_add_fd(const char *name, int priority, int fd, void *userdata, name 986 lib/common/mainloop.c client->name = strdup(name); name 1011 lib/common/mainloop.c crm_trace("Added connection %d for %s[%p].%d", client->source, client->name, client, fd); name 1023 lib/common/mainloop.c crm_trace("Removing client %s[%p]", client->name, client); name 1324 lib/common/mainloop.c crm_trace("Invoking callbacks for timer %s", t->name); name 1327 lib/common/mainloop.c crm_trace("Timer %s complete", t->name); name 1354 lib/common/mainloop.c crm_trace("Starting timer %s", t->name); name 1363 lib/common/mainloop.c crm_trace("Stopping timer %s", t->name); name 1386 lib/common/mainloop.c mainloop_timer_add(const char *name, guint period_ms, bool repeat, GSourceFunc cb, void *userdata) name 1391 lib/common/mainloop.c if(name) { name 1392 lib/common/mainloop.c t->name = crm_strdup_printf("%s-%u-%d", name, period_ms, repeat); name 1394 lib/common/mainloop.c t->name = crm_strdup_printf("%p-%u-%d", t, period_ms, repeat); name 1401 lib/common/mainloop.c crm_trace("Created timer %s with %p %p", t->name, userdata, t->userdata); name 1410 lib/common/mainloop.c crm_trace("Destroying timer %s", t->name); name 1412 lib/common/mainloop.c free(t->name); name 182 lib/common/messages.c pcmk__message_name(const char *name) name 184 lib/common/messages.c if (name == NULL) { name 187 lib/common/messages.c } else if (!strcmp(name, "pacemaker-attrd")) { name 190 lib/common/messages.c } else if (!strcmp(name, "pacemaker-based")) { name 193 lib/common/messages.c } else if (!strcmp(name, "pacemaker-controld")) { name 196 lib/common/messages.c } else if (!strcmp(name, "pacemaker-execd")) { name 199 lib/common/messages.c } else if (!strcmp(name, "pacemaker-fenced")) { name 202 lib/common/messages.c } else if (!strcmp(name, "pacemaker-schedulerd")) { name 206 lib/common/messages.c return name; name 63 lib/common/mock.c __wrap_getenv(const char *name) { name 64 lib/common/mock.c return __real_getenv(name); name 68 lib/common/mock.c __wrap_getpwnam_r(const char *name, struct passwd *pwd, name 70 lib/common/mock.c return __real_getpwnam_r(name, pwd, buf, buflen, result); name 23 lib/common/mock_private.h char *__real_getenv(const char *name); name 24 lib/common/mock_private.h char *__wrap_getenv(const char *name); name 26 lib/common/mock_private.h int __real_getpwnam_r(const char *name, struct passwd *pwd, name 28 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 303 lib/common/nvpair.c pcmk__format_named_time(const char *name, time_t epoch_time) name 307 lib/common/nvpair.c return crm_strdup_printf("%s=\"%s\"", name, now_str ? now_str : ""); name 323 lib/common/nvpair.c crm_xml_add(xmlNode *node, const char *name, const char *value) name 329 lib/common/nvpair.c CRM_CHECK(name != NULL, return NULL); name 338 lib/common/nvpair.c old_value = crm_element_value(node, name); name 342 lib/common/nvpair.c crm_err("Cannot reset %s with crm_xml_add(%s)", name, value); name 348 lib/common/nvpair.c const char *old = crm_element_value(node, name); name 355 lib/common/nvpair.c if (dirty && (pcmk__check_acl(node, name, pcmk__xf_acl_create) == FALSE)) { name 356 lib/common/nvpair.c crm_trace("Cannot add %s=%s to %s", name, value, node->name); name 360 lib/common/nvpair.c attr = xmlSetProp(node, (pcmkXmlStr) name, (pcmkXmlStr) value); name 380 lib/common/nvpair.c crm_xml_replace(xmlNode *node, const char *name, const char *value) name 387 lib/common/nvpair.c CRM_CHECK(name != NULL && name[0] != 0, return NULL); name 389 lib/common/nvpair.c old_value = crm_element_value(node, name); name 394 lib/common/nvpair.c if (pcmk__check_acl(node, name, pcmk__xf_acl_write) == FALSE) { name 396 lib/common/nvpair.c crm_trace("Cannot replace %s=%s to %s", name, value, node->name); name 400 lib/common/nvpair.c xml_remove_prop(node, name); name 410 lib/common/nvpair.c attr = xmlSetProp(node, (pcmkXmlStr) name, (pcmkXmlStr) value); name 431 lib/common/nvpair.c crm_xml_add_int(xmlNode *node, const char *name, int value) name 434 lib/common/nvpair.c const char *added = crm_xml_add(node, name, number); name 453 lib/common/nvpair.c crm_xml_add_ms(xmlNode *node, const char *name, guint ms) name 456 lib/common/nvpair.c const char *added = crm_xml_add(node, name, number); name 481 lib/common/nvpair.c crm_xml_add_ll(xmlNode *xml, const char *name, long long value) name 488 lib/common/nvpair.c return crm_xml_add(xml, name, s); name 529 lib/common/nvpair.c crm_element_value(const xmlNode *data, const char *name) name 534 lib/common/nvpair.c crm_err("Couldn't find %s in NULL", name ? name : "<null>"); name 538 lib/common/nvpair.c } else if (name == NULL) { name 546 lib/common/nvpair.c attr = xmlHasProp((xmlNode *) data, (pcmkXmlStr) name); name 565 lib/common/nvpair.c crm_element_value_int(const xmlNode *data, const char *name, int *dest) name 570 lib/common/nvpair.c value = crm_element_value(data, name); name 597 lib/common/nvpair.c crm_element_value_ll(const xmlNode *data, const char *name, long long *dest) name 602 lib/common/nvpair.c value = crm_element_value(data, name); name 622 lib/common/nvpair.c crm_element_value_ms(const xmlNode *data, const char *name, guint *dest) name 629 lib/common/nvpair.c value = crm_element_value(data, name); name 650 lib/common/nvpair.c crm_element_value_epoch(const xmlNode *xml, const char *name, time_t *dest) name 654 lib/common/nvpair.c if (crm_element_value_ll(xml, name, &value_ll) < 0) { name 726 lib/common/nvpair.c crm_element_value_copy(const xmlNode *data, const char *name) name 730 lib/common/nvpair.c pcmk__str_update(&value_copy, crm_element_value(data, name)); name 750 lib/common/nvpair.c const char *name = key; name 755 lib/common/nvpair.c if (isdigit(name[0])) { name 758 lib/common/nvpair.c crm_xml_add(tmp, XML_NVPAIR_ATTR_NAME, name); name 761 lib/common/nvpair.c } else if (crm_element_value(xml_node, name) == NULL) { name 762 lib/common/nvpair.c crm_xml_add(xml_node, name, s_value); name 763 lib/common/nvpair.c crm_trace("dumped: %s=%s", name, s_value); name 766 lib/common/nvpair.c crm_trace("duplicate: %s=%s", name, s_value); name 784 lib/common/nvpair.c const char *name = key; name 789 lib/common/nvpair.c if (crm_element_value(xml_node, name) == NULL) { name 790 lib/common/nvpair.c crm_xml_add(xml_node, name, s_value); name 793 lib/common/nvpair.c crm_trace("duplicate: %s=%s", name, s_value); name 845 lib/common/nvpair.c crm_create_nvpair_xml(xmlNode *parent, const char *id, const char *name, name 853 lib/common/nvpair.c CRM_CHECK(id || name, return NULL); name 864 lib/common/nvpair.c (parent_id? parent_id : XML_CIB_TAG_NVPAIR), name); name 866 lib/common/nvpair.c crm_xml_add(nvp, XML_NVPAIR_ATTR_NAME, name); name 885 lib/common/nvpair.c const char *name = key; name 889 lib/common/nvpair.c crm_create_nvpair_xml(xml_node, name, name, s_value); name 890 lib/common/nvpair.c crm_trace("dumped: name=%s value=%s", name, s_value); name 928 lib/common/nvpair.c const char *p_name = (const char *)pIter->name; name 939 lib/common/nvpair.c if (strcmp((const char *)child->name, XML_TAG_PARAM) == 0) { name 954 lib/common/nvpair.c pcmk__xe_set_bool_attr(xmlNodePtr node, const char *name, bool value) name 956 lib/common/nvpair.c crm_xml_add(node, name, value ? XML_BOOLEAN_TRUE : XML_BOOLEAN_FALSE); name 960 lib/common/nvpair.c pcmk__xe_get_bool_attr(xmlNodePtr node, const char *name, bool *value) { name 966 lib/common/nvpair.c } else if (name == NULL || value == NULL) { name 970 lib/common/nvpair.c xml_value = crm_element_value(node, name); name 986 lib/common/nvpair.c pcmk__xe_attr_is_true(xmlNodePtr node, const char *name) name 991 lib/common/nvpair.c rc = pcmk__xe_get_bool_attr(node, name, &value); name 1001 lib/common/nvpair.c pcmk_scan_nvpair(const char *input, char **name, char **value) name 1003 lib/common/nvpair.c return pcmk__scan_nvpair(input, name, value); name 1007 lib/common/nvpair.c pcmk_format_nvpair(const char *name, const char *value, name 1010 lib/common/nvpair.c return pcmk__format_nvpair(name, value, units); name 1014 lib/common/nvpair.c pcmk_format_named_time(const char *name, time_t epoch_time) name 1016 lib/common/nvpair.c return pcmk__format_named_time(name, epoch_time); name 369 lib/common/operations.c if (strncmp((const char *) a->name, CRM_META "_", name 373 lib/common/operations.c return pcmk__str_any_of((const char *) a->name, name 61 lib/common/options.c long_opts[index].name = "__dummmy__"; name 69 lib/common/options.c for (lpc = 0; long_options[lpc].name != NULL; lpc++) { name 70 lib/common/options.c if (long_options[lpc].name[0] == '-') { name 77 lib/common/options.c long_opts[index].name = long_options[lpc].name; name 86 lib/common/options.c long_opts[index].name = NULL; name 116 lib/common/options.c for (lpc = 0; long_options[lpc].name != NULL; lpc++) { name 165 lib/common/options.c *longname = long_opts[*index].name; name 167 lib/common/options.c crm_notice("Unhandled option --%s", long_opts[*index].name); name 217 lib/common/options.c for (i = 0; crm_long_options[i].name != NULL; i++) { name 236 lib/common/options.c fprintf(stream, " --%s%s\t%s\n", crm_long_options[i].name, name 465 lib/common/options.c const char *name, const char *old_name, name 471 lib/common/options.c CRM_ASSERT(name != NULL); name 474 lib/common/options.c value = g_hash_table_lookup(options, name); name 482 lib/common/options.c old_name, name); name 486 lib/common/options.c g_hash_table_insert(options, strdup(name), new_value); name 493 lib/common/options.c "because '%s' is invalid", name, value); name 507 lib/common/options.c name); name 513 lib/common/options.c crm_err("Bug: default value for cluster option '%s' is invalid", name); name 518 lib/common/options.c value, name); name 521 lib/common/options.c g_hash_table_insert(options, strdup(name), new_value); name 539 lib/common/options.c int len, const char *name) name 544 lib/common/options.c if (pcmk__str_eq(name, option_list[lpc].name, pcmk__str_casei)) { name 546 lib/common/options.c option_list[lpc].name, name 552 lib/common/options.c CRM_CHECK(FALSE, crm_err("Bug: looking for unknown option '%s'", name)); name 607 lib/common/options.c pcmk__format_option_metadata(const char *name, const char *desc_short, name 620 lib/common/options.c name, PCMK_OCF_VERSION); name 641 lib/common/options.c option_list[lpc].name); name 688 lib/common/options.c option_list[lpc].name, name 80 lib/common/output.c pcmk__register_format(GOptionGroup *group, const char *name, name 94 lib/common/output.c g_hash_table_insert(formatters, strdup(name), create); name 106 lib/common/output.c for (entry = formats; entry->name != NULL; entry++) { name 107 lib/common/output.c pcmk__register_format(group, entry->name, entry->create, entry->options); name 272 lib/common/output_html.c html_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 326 lib/common/output_html.c html_list_item(pcmk__output_t *out, const char *name, const char *format, ...) { name 342 lib/common/output_html.c if (name != NULL) { name 343 lib/common/output_html.c crm_xml_add(item_node, "class", name); name 444 lib/common/output_html.c pcmk__html_add_header(const char *name, ...) { name 448 lib/common/output_html.c va_start(ap, name); name 450 lib/common/output_html.c header_node = xmlNewNode(NULL, (pcmkXmlStr) name); name 124 lib/common/output_log.c log_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 131 lib/common/output_log.c node = create_xml_node(NULL, name); name 133 lib/common/output_log.c do_crm_log_xml(priv->log_level, name, node); name 166 lib/common/output_log.c log_list_item(pcmk__output_t *out, const char *name, const char *format, ...) { name 191 lib/common/output_log.c if ((name != NULL) && (strcmp(name, "") != 0)) { name 193 lib/common/output_log.c do_crm_log(priv->log_level, "%s: %s: %s", prefix, name, buffer); name 195 lib/common/output_log.c do_crm_log(priv->log_level, "%s: %s", name, buffer); name 67 lib/common/output_none.c none_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 164 lib/common/output_text.c text_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 278 lib/common/output_xml.c xml_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 284 lib/common/output_xml.c parent = pcmk__output_create_xml_node(out, name, NULL); name 294 lib/common/output_xml.c char *name = NULL; name 308 lib/common/output_xml.c name = g_strdup(s->to); name 314 lib/common/output_xml.c if (name == NULL) { name 315 lib/common/output_xml.c name = g_ascii_strdown(buf, -1); name 319 lib/common/output_xml.c pcmk__output_xml_create_parent(out, name, NULL); name 322 lib/common/output_xml.c "name", name, name 326 lib/common/output_xml.c g_free(name); name 332 lib/common/output_xml.c xml_list_item(pcmk__output_t *out, const char *name, const char *format, ...) { name 347 lib/common/output_xml.c if (name != NULL) { name 348 lib/common/output_xml.c crm_xml_add(item_node, "name", name); name 433 lib/common/output_xml.c pcmk__output_xml_create_parent(pcmk__output_t *out, const char *name, ...) { name 439 lib/common/output_xml.c node = pcmk__output_create_xml_node(out, name, NULL); name 441 lib/common/output_xml.c va_start(args, name); name 466 lib/common/output_xml.c pcmk__output_create_xml_node(pcmk__output_t *out, const char *name, ...) { name 476 lib/common/output_xml.c node = create_xml_node(g_queue_peek_tail(priv->parent_q), name); name 477 lib/common/output_xml.c va_start(args, name); name 485 lib/common/output_xml.c pcmk__output_create_xml_text_node(pcmk__output_t *out, const char *name, const char *content) { name 490 lib/common/output_xml.c node = pcmk__output_create_xml_node(out, name, NULL); name 140 lib/common/patchset.c crm_xml_add(attr, XML_NVPAIR_ATTR_NAME, (const char *)pIter->name); name 147 lib/common/patchset.c value = crm_element_value(xml, (const char *) pIter->name); name 156 lib/common/patchset.c result = create_xml_node(change, (const char *)xml->name); name 162 lib/common/patchset.c value = crm_element_value(xml, (const char *) pIter->name); name 163 lib/common/patchset.c crm_xml_add(result, (const char *)pIter->name, value); name 180 lib/common/patchset.c xml->name, ID(xml), pcmk__xml_position(xml, pcmk__xf_skip)); name 282 lib/common/patchset.c const char *p_value = crm_element_value(next, (const char *) a->name); name 284 lib/common/patchset.c xmlSetProp(cib, a->name, (pcmkXmlStr) p_value); name 553 lib/common/patchset.c const char *name = crm_element_value(child, "name"); name 566 lib/common/patchset.c name, value); name 576 lib/common/patchset.c name); name 639 lib/common/patchset.c return strcmp((const char *) attr->name, XML_ATTR_ID) != 0; name 650 lib/common/patchset.c const char *name = NULL; name 663 lib/common/patchset.c name = crm_element_name(target); name 664 lib/common/patchset.c CRM_CHECK(name != NULL, return); name 674 lib/common/patchset.c crm_trace("We are the root of the deletion: %s.id=%s", name, id); name 704 lib/common/patchset.c const char *name = NULL; name 718 lib/common/patchset.c name = crm_element_name(patch); name 719 lib/common/patchset.c crm_trace("We are the root of the addition: %s.id=%s", name, id); name 725 lib/common/patchset.c name = crm_element_name(patch); name 726 lib/common/patchset.c crm_err("Could not locate: %s.id=%s", name, id); name 734 lib/common/patchset.c name = crm_element_name(target); name 735 lib/common/patchset.c CRM_CHECK(name != NULL, return); name 743 lib/common/patchset.c const char *p_name = (const char *) xIter->name; name 982 lib/common/patchset.c first_matching_xml_child(xmlNode *parent, const char *name, const char *id, name 989 lib/common/patchset.c if (strcmp((const char *) cIter->name, name) != 0) { name 1160 lib/common/patchset.c crm_trace("Processing %s %s", change->name, op); name 1212 lib/common/patchset.c const char *name = (const char *) pIter->name; name 1213 lib/common/patchset.c const char *value = crm_element_value(attrs, name); name 1215 lib/common/patchset.c crm_xml_add(match, name, value); name 1255 lib/common/patchset.c crm_trace("Adding %s at position %d", child->name, position); name 1260 lib/common/patchset.c child->name, position); name 1265 lib/common/patchset.c child->name, position); name 1292 lib/common/patchset.c match->name, position, name 1307 lib/common/patchset.c match->name, position); name 1312 lib/common/patchset.c match->name, ID(match), name 1478 lib/common/patchset.c const char *name = NULL; name 1507 lib/common/patchset.c name = crm_element_name(left); name 1508 lib/common/patchset.c CRM_CHECK(name != NULL, return NULL); name 1516 lib/common/patchset.c crm_trace("We are the root of the deletion: %s.id=%s", name, id); name 1522 lib/common/patchset.c diff = create_xml_node(parent, name); name 1545 lib/common/patchset.c const char *p_name = (const char *)pIter->name; name 1558 lib/common/patchset.c const char *prop_name = (const char *) xIter->name; name 1586 lib/common/patchset.c const char *p_name = (const char *) pIter->name; name 1616 lib/common/patchset.c const char *p_name = (const char *) pIter->name; name 228 lib/common/pid.c pcmk__lock_pidfile(const char *filename, const char *name) name 235 lib/common/pid.c rc = pcmk__pidfile_matches(filename, 0, name, NULL); name 255 lib/common/pid.c rc = pcmk__pidfile_matches(filename, mypid, name, NULL); name 40 lib/common/procfs.c pcmk__procfs_process_info(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 70 lib/common/results.c const char *name; name 213 lib/common/results.c return pcmk__rcs[pcmk_rc_error - rc].name; name 53 lib/common/schemas.c char *name; name 179 lib/common/schemas.c const char *name, const char *transform, name 201 lib/common/schemas.c known_schemas[last].name = schema_strdup_printf("pacemaker-", *version, ""); name 203 lib/common/schemas.c CRM_ASSERT(name); name 204 lib/common/schemas.c schema_scanf(name, "%*[^-]-", known_schemas[last].version, ""); name 205 lib/common/schemas.c known_schemas[last].name = strdup(name); name 222 lib/common/schemas.c last, known_schemas[last].name); name 226 lib/common/schemas.c last, known_schemas[last].name, name 232 lib/common/schemas.c last, known_schemas[last].name, name 580 lib/common/schemas.c free(known_schemas[lpc].name); name 608 lib/common/schemas.c known_schemas[method].name); name 714 lib/common/schemas.c known_schemas[lpc].name); name 715 lib/common/schemas.c crm_info("XML validated against %s", known_schemas[lpc].name); name 972 lib/common/schemas.c schema->name, schema->transform_enter); name 985 lib/common/schemas.c schema->name, schema->transform); name 1000 lib/common/schemas.c schema->name, transform_leave); name 1020 lib/common/schemas.c return known_schemas[version].name; name 1024 lib/common/schemas.c get_schema_version(const char *name) name 1028 lib/common/schemas.c if (name == NULL) { name 1029 lib/common/schemas.c name = PCMK__VALUE_NONE; name 1032 lib/common/schemas.c if (pcmk__str_eq(name, known_schemas[lpc].name, pcmk__str_casei)) { name 1081 lib/common/schemas.c known_schemas[lpc].name ? known_schemas[lpc].name : "<unset>", name 1087 lib/common/schemas.c known_schemas[lpc].name); name 1091 lib/common/schemas.c known_schemas[lpc].name ? known_schemas[lpc].name : "<unset>"); name 1102 lib/common/schemas.c known_schemas[next].name); name 1118 lib/common/schemas.c crm_trace("Stopping at %s", known_schemas[lpc].name); name 1123 lib/common/schemas.c known_schemas[lpc].name, lpc, next, max); name 1134 lib/common/schemas.c known_schemas[lpc].name, known_schemas[next].name); name 1140 lib/common/schemas.c known_schemas[lpc].name, known_schemas[next].name, name 1178 lib/common/schemas.c value ? value : "<none>", known_schemas[*best].name); name 1179 lib/common/schemas.c crm_xml_add(xml, XML_ATTR_VALIDATION, known_schemas[*best].name); name 25 lib/common/tests/io/pcmk__get_tmpdir_test.c __wrap_getenv(const char *name) name 35 lib/common/tests/io/pcmk__get_tmpdir_test.c return __real_getenv(name); name 34 lib/common/tests/utils/crm_user_lookup_test.c __wrap_getpwnam_r(const char *name, struct passwd *pwd, char *buf, size_t buflen, name 22 lib/common/tests/utils/pcmk_daemon_user_test.c __wrap_getpwnam_r(const char *name, struct passwd *pwd, char *buf, size_t buflen, name 57 lib/common/utils.c crm_user_lookup(const char *name, uid_t * uid, gid_t * gid) name 69 lib/common/utils.c rc = getpwnam_r(name, &pwd, buffer, PW_BUFFER_LEN, &pwentry); name 77 lib/common/utils.c crm_trace("User %s has uid=%d gid=%d", name, pwentry->pw_uid, pwentry->pw_gid); name 81 lib/common/utils.c crm_info("User %s lookup: %s", name, pcmk_strerror(rc)); name 392 lib/common/utils.c pcmk__daemonize(const char *name, const char *pidfile) name 398 lib/common/utils.c rc = pcmk__pidfile_matches(pidfile, 1, name, &pid); name 401 lib/common/utils.c name, (long long) pid, pidfile); name 403 lib/common/utils.c name, (long long) pid, pidfile); name 409 lib/common/utils.c fprintf(stderr, "%s: could not start daemon\n", name); name 417 lib/common/utils.c rc = pcmk__lock_pidfile(pidfile, name); name 420 lib/common/utils.c pidfile, name, pcmk_rc_str(rc), rc); name 422 lib/common/utils.c pidfile, name, pcmk_rc_str(rc), rc); name 231 lib/common/xml.c if (node->type != XML_DOCUMENT_NODE || node->name == NULL name 232 lib/common/xml.c || node->name[0] != ' ') { name 448 lib/common/xml.c const char *name = "NULL"; name 451 lib/common/xml.c name = crm_element_name(root); name 461 lib/common/xml.c if (strcmp((const char *)a_child->name, search_path) == 0) { name 468 lib/common/xml.c crm_warn("Could not find %s in %s.", search_path, name); name 470 lib/common/xml.c crm_trace("Could not find %s in %s.", search_path, name); name 503 lib/common/xml.c if (pcmk__str_eq(node_name, (const char *) (child->name), name 530 lib/common/xml.c const char *p_name = (const char *) a->name; name 547 lib/common/xml.c const char *p_name = (const char *) a->name; name 559 lib/common/xml.c expand_plus_plus(xmlNode * target, const char *name, const char *value) name 568 lib/common/xml.c if (value == NULL || name == NULL) { name 572 lib/common/xml.c old_value = crm_element_value(target, name); name 578 lib/common/xml.c } else if (strstr(value, name) != value) { name 582 lib/common/xml.c name_len = strlen(name); name 607 lib/common/xml.c crm_xml_add_int(target, name, int_value); name 615 lib/common/xml.c crm_xml_add(target, name, value); name 641 lib/common/xml.c (const char *) a->name, (const char *) element->name); name 688 lib/common/xml.c add_node_nocopy(xmlNode * parent, const char *name, xmlNode * child) name 696 lib/common/xml.c create_xml_node(xmlNode * parent, const char *name) name 701 lib/common/xml.c if (pcmk__str_empty(name)) { name 702 lib/common/xml.c CRM_CHECK(name != NULL && name[0] == 0, return NULL); name 708 lib/common/xml.c node = xmlNewDocRawNode(doc, NULL, (pcmkXmlStr) name, NULL); name 713 lib/common/xml.c node = xmlNewDocRawNode(doc, NULL, (pcmkXmlStr) name, NULL); name 721 lib/common/xml.c pcmk_create_xml_text_node(xmlNode * parent, const char *name, const char *content) name 723 lib/common/xml.c xmlNode *node = create_xml_node(parent, name); name 1435 lib/common/xml.c p_name = (const char *)attr->name; name 1449 lib/common/xml.c const char *name = NULL; name 1458 lib/common/xml.c name = crm_element_name(data); name 1469 lib/common/xml.c buffer_print(buffer, max, offset, "<%s", name); name 1476 lib/common/xml.c const char *p_name = (const char *) a->name; name 1537 lib/common/xml.c buffer_print(buffer, max, offset, "</%s>", name); name 1592 lib/common/xml.c const char *aname = (const char*) a->name; name 1710 lib/common/xml.c if (!pcmk__xa_filterable((const char *) (a->name))) { name 1719 lib/common/xml.c const char *name = NULL; name 1735 lib/common/xml.c name = crm_element_name(data); name 1736 lib/common/xml.c CRM_ASSERT(name != NULL); name 1739 lib/common/xml.c buffer_print(*buffer, *max, *offset, "<%s", name); name 1768 lib/common/xml.c buffer_print(*buffer, *max, *offset, "</%s>", name); name 2037 lib/common/xml.c xml_remove_prop(xmlNode * obj, const char *name) name 2040 lib/common/xml.c crm_trace("Cannot remove %s from %s", name, obj->name); name 2045 lib/common/xml.c xmlAttr *attr = xmlHasProp(obj, (pcmkXmlStr) name); name 2051 lib/common/xml.c xmlUnsetProp(obj, (pcmkXmlStr) name); name 2154 lib/common/xml.c old_attr->name, p_old, p_new, element); name 2177 lib/common/xml.c xmlAttr *new_attr = xmlHasProp(new_xml, attr_iter->name); name 2178 lib/common/xml.c const char *name = (const char *) attr_iter->name; name 2179 lib/common/xml.c const char *old_value = crm_element_value(old_xml, name); name 2183 lib/common/xml.c mark_attr_deleted(new_xml, (const char *) old_xml->name, name, name 2192 lib/common/xml.c const char *new_value = crm_element_value(new_xml, name); name 2198 lib/common/xml.c mark_attr_changed(new_xml, (const char *) old_xml->name, name, name 2203 lib/common/xml.c mark_attr_moved(new_xml, (const char *) old_xml->name, name 2225 lib/common/xml.c const char *attr_name = (const char *) new_attr->name; name 2229 lib/common/xml.c new_xml->name); name 2238 lib/common/xml.c xmlUnsetProp(new_xml, new_attr->name); name 2294 lib/common/xml.c new_child->name, (ID(new_child)? ID(new_child) : "<no id>"), name 2295 lib/common/xml.c p_old, p_new, new_parent->name); name 2396 lib/common/xml.c const char *name = crm_element_name(xml_node); name 2398 lib/common/xml.c if (pcmk__strcase_any_of(name, XML_TAG_RESOURCE_REF, XML_CIB_TAG_OBJ_REF, name 2404 lib/common/xml.c const char *p_name = (const char *) a->name; name 2586 lib/common/xml.c xmlUnsetProp(target, a->name); name 2587 lib/common/xml.c xmlSetProp(target, a->name, (pcmkXmlStr) p_value); name 2704 lib/common/xml.c const char *p_name = (const char *) a->name; name 2767 lib/common/xml.c const char *name = NULL; name 2771 lib/common/xml.c name = crm_element_name(input); name 2772 lib/common/xml.c CRM_CHECK(name != NULL, return NULL); name 2774 lib/common/xml.c result = create_xml_node(parent, name); name 2794 lib/common/xml.c first_named_child(const xmlNode *parent, const char *name) name 2805 lib/common/xml.c if (pcmk__str_eq(name, (const char *)match->name, pcmk__str_null_matches)) { name 2823 lib/common/xml.c const char *name = crm_element_name(sibling); name 2826 lib/common/xml.c if (!strcmp(crm_element_name(match), name)) { name 2959 lib/common/xml.c const char *name, *value; name 2961 lib/common/xml.c name = va_arg(pairs, const char *); name 2962 lib/common/xml.c if (name == NULL) { name 2968 lib/common/xml.c crm_xml_add(node, name, value); name 281 lib/common/xpath.c "/%s[@id='%s']", (const char *) xml->name, id); name 282 lib/common/xpath.c } else if(xml->name) { name 284 lib/common/xpath.c "/%s", (const char *) xml->name); name 345 lib/fencing/st_client.c stonith_api_remove_device(stonith_t * st, int call_options, const char *name) name 352 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_ID, name); name 1071 lib/fencing/st_client.c stonith_api_signon(stonith_t * stonith, const char *name, int *stonith_fd) name 1075 lib/fencing/st_client.c const char *display_name = name? name : "client"; name 1118 lib/fencing/st_client.c crm_xml_add(hello, F_STONITH_CLIENTNAME, name); name 1844 lib/fencing/st_client.c stonith_api_connect_retry(stonith_t *st, const char *name, int max_attempts) name 1849 lib/fencing/st_client.c rc = st->cmds->connect(st, name, NULL); name 1927 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); name 1930 lib/fencing/st_client.c stonith__set_call_options(opts, name, name 1933 lib/fencing/st_client.c stonith__set_call_options(opts, name, st_opt_cs_nodeid); name 1935 lib/fencing/st_client.c rc = st->cmds->fence(st, opts, name, action, timeout, 0); name 1936 lib/fencing/st_client.c free(name); name 1972 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); name 1974 lib/fencing/st_client.c stonith__set_call_options(opts, name, st_opt_sync_call); name 1976 lib/fencing/st_client.c stonith__set_call_options(opts, name, st_opt_cs_nodeid); name 1978 lib/fencing/st_client.c rc = st->cmds->history(st, opts, name, &history, 120); name 1979 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 954 lib/lrmd/lrmd_client.c lrmd_handshake(lrmd_t * lrmd, const char *name) name 963 lib/lrmd/lrmd_client.c crm_xml_add(hello, F_LRMD_CLIENTNAME, name); name 1354 lib/lrmd/lrmd_client.c char *name = crm_strdup_printf("pacemaker-remote-%s:%d", name 1364 lib/lrmd/lrmd_client.c native->source = mainloop_add_fd(name, G_PRIORITY_HIGH, native->sock, lrmd, name 1374 lib/lrmd/lrmd_client.c rc = lrmd_handshake(lrmd, name); name 1377 lib/lrmd/lrmd_client.c free(name); name 1527 lib/lrmd/lrmd_client.c lrmd_api_connect(lrmd_t * lrmd, const char *name, int *fd) name 1548 lib/lrmd/lrmd_client.c rc = lrmd_handshake(lrmd, name); name 1555 lib/lrmd/lrmd_client.c lrmd_api_connect_async(lrmd_t * lrmd, const char *name, int timeout) name 1566 lib/lrmd/lrmd_client.c rc = lrmd_api_connect(lrmd, name, NULL); name 229 lib/lrmd/proxy_common.c const char *name = crm_element_value(msg, F_LRMD_IPC_CLIENT); name 274 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name, pcmk_strerror(rc), rc); name 285 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name); name 295 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name); name 300 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name, pcmk_strerror(rc), rc); name 303 lib/lrmd/proxy_common.c op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name); name 33 lib/pacemaker/libpacemaker_private.h pe_action_t *pcmk__new_cancel_action(pe_resource_t *rsc, const char *name, name 149 lib/pacemaker/pcmk_acl.c (const char *) i_node->name, name 153 lib/pacemaker/pcmk_acl.c (const char *) i_node->name, name 163 lib/pacemaker/pcmk_acl.c if (!pcmk__check_acl(i_node->parent, (const char *) i_node->name, pcmk__xf_acl_read)) name 167 lib/pacemaker/pcmk_acl.c else if (!pcmk__check_acl(i_node->parent, (const char *) i_node->name, pcmk__xf_acl_write)) name 420 lib/pacemaker/pcmk_cluster_queries.c const char *name = crm_element_value(result, XML_ATTR_UNAME); name 425 lib/pacemaker/pcmk_cluster_queries.c name ? name : id, name 30 lib/pacemaker/pcmk_fence.c char *name; name 42 lib/pacemaker/pcmk_fence.c char *name = NULL; name 54 lib/pacemaker/pcmk_fence.c name = target; name 65 lib/pacemaker/pcmk_fence.c name, value, fence_level, name 69 lib/pacemaker/pcmk_fence.c name, value, fence_level); name 146 lib/pacemaker/pcmk_fence.c int rc = stonith_api_connect_retry(st, async_fence_data.name, 10); name 182 lib/pacemaker/pcmk_fence.c const char *name, unsigned int timeout, name 189 lib/pacemaker/pcmk_fence.c async_fence_data.name = strdup(name); name 204 lib/pacemaker/pcmk_fence.c free(async_fence_data.name); name 219 lib/pacemaker/pcmk_fence.c const char *name, unsigned int timeout, name 222 lib/pacemaker/pcmk_fence.c return pcmk__request_fencing(st, target, action, name, timeout, tolerance, name 817 lib/pacemaker/pcmk_graph_consumer.c const char *name = NULL; name 837 lib/pacemaker/pcmk_graph_consumer.c while (g_hash_table_iter_next(&iter, (void **)&name, (void **)&value)) { name 838 lib/pacemaker/pcmk_graph_consumer.c g_hash_table_insert(op->params, strdup(name), strdup(value)); name 53 lib/pacemaker/pcmk_injections.c const char *name, const char *value) name 59 lib/pacemaker/pcmk_injections.c out->message(out, "inject-attr", name, value, cib_node); name 73 lib/pacemaker/pcmk_injections.c crm_create_nvpair_xml(instance_attrs, NULL, name, value); name 100 lib/pacemaker/pcmk_injections.c char *name = NULL; name 103 lib/pacemaker/pcmk_injections.c name = pcmk__failcount_name(resource, task, interval_ms); name 104 lib/pacemaker/pcmk_injections.c inject_transient_attr(out, cib_node, name, "value++"); name 105 lib/pacemaker/pcmk_injections.c free(name); name 107 lib/pacemaker/pcmk_injections.c name = pcmk__lastfailure_name(resource, task, interval_ms); name 108 lib/pacemaker/pcmk_injections.c inject_transient_attr(out, cib_node, name, now); name 109 lib/pacemaker/pcmk_injections.c free(name); name 729 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 734 lib/pacemaker/pcmk_output.c pcmk__formatted_printf(out, "%s\n", crm_str(name)); name 737 lib/pacemaker/pcmk_output.c return out->info(out, "export %s=%s", crm_str(name), crm_str(id)); name 740 lib/pacemaker/pcmk_output.c crm_str(name), crm_str(id)); name 749 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 754 lib/pacemaker/pcmk_output.c "name", crm_str(name), name 1193 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 1206 lib/pacemaker/pcmk_output.c name, value, node_path, ID(cib_node)); name 1216 lib/pacemaker/pcmk_output.c const char *name = va_arg(args, const char *); name 1229 lib/pacemaker/pcmk_output.c "name", name, name 1806 lib/pacemaker/pcmk_output.c char *name = va_arg(args, char *); name 1820 lib/pacemaker/pcmk_output.c g_string_append_printf(s, "name=\"%s\" ", name); name 1840 lib/pacemaker/pcmk_output.c char *name = va_arg(args, char *); name 1847 lib/pacemaker/pcmk_output.c "name", name, name 1032 lib/pacemaker/pcmk_sched_actions.c const char *name = XML_LRM_ATTR_MIGRATE_SOURCE; name 1034 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, name, crm_meta_value(op->params, name)); name 1036 lib/pacemaker/pcmk_sched_actions.c name = XML_LRM_ATTR_MIGRATE_TARGET; name 1037 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, name, crm_meta_value(op->params, name)); name 1478 lib/pacemaker/pcmk_sched_clone.c char *name = NULL; name 1483 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(XML_RSC_ATTR_UNIQUE); name 1484 lib/pacemaker/pcmk_sched_clone.c crm_xml_add(xml, name, pe__rsc_bool_str(rsc, pe_rsc_unique)); name 1485 lib/pacemaker/pcmk_sched_clone.c free(name); name 1487 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(XML_RSC_ATTR_NOTIFY); name 1488 lib/pacemaker/pcmk_sched_clone.c crm_xml_add(xml, name, pe__rsc_bool_str(rsc, pe_rsc_notify)); name 1489 lib/pacemaker/pcmk_sched_clone.c free(name); name 1491 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(XML_RSC_ATTR_INCARNATION_MAX); name 1492 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_max); name 1493 lib/pacemaker/pcmk_sched_clone.c free(name); name 1495 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(XML_RSC_ATTR_INCARNATION_NODEMAX); name 1496 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_node_max); name 1497 lib/pacemaker/pcmk_sched_clone.c free(name); name 1500 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(XML_RSC_ATTR_PROMOTED_MAX); name 1501 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_max); name 1502 lib/pacemaker/pcmk_sched_clone.c free(name); name 1504 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(XML_RSC_ATTR_PROMOTED_NODEMAX); name 1505 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_node_max); name 1506 lib/pacemaker/pcmk_sched_clone.c free(name); name 1511 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(PCMK_XE_PROMOTED_MAX_LEGACY); name 1512 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_max); name 1513 lib/pacemaker/pcmk_sched_clone.c free(name); name 1515 lib/pacemaker/pcmk_sched_clone.c name = crm_meta_name(PCMK_XE_PROMOTED_NODE_MAX_LEGACY); name 1516 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_node_max); name 1517 lib/pacemaker/pcmk_sched_clone.c free(name); name 651 lib/pacemaker/pcmk_sched_native.c is_op_dup(pe_resource_t *rsc, const char *name, guint interval_ms) name 663 lib/pacemaker/pcmk_sched_native.c if (pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { name 665 lib/pacemaker/pcmk_sched_native.c if (!pcmk__str_eq(value, name, pcmk__str_casei)) { name 691 lib/pacemaker/pcmk_sched_native.c op_cannot_recur(const char *name) name 693 lib/pacemaker/pcmk_sched_native.c return pcmk__strcase_any_of(name, RSC_STOP, RSC_START, RSC_DEMOTE, RSC_PROMOTE, NULL); name 701 lib/pacemaker/pcmk_sched_native.c const char *name = NULL; name 725 lib/pacemaker/pcmk_sched_native.c name = crm_element_value(operation, "name"); name 726 lib/pacemaker/pcmk_sched_native.c if (is_op_dup(rsc, name, interval_ms)) { name 728 lib/pacemaker/pcmk_sched_native.c ID(operation), interval_ms, name); name 732 lib/pacemaker/pcmk_sched_native.c if (op_cannot_recur(name)) { name 734 lib/pacemaker/pcmk_sched_native.c ID(operation), name); name 738 lib/pacemaker/pcmk_sched_native.c key = pcmk__op_key(rsc->id, name, interval_ms); name 791 lib/pacemaker/pcmk_sched_native.c cancel_op = pcmk__new_cancel_action(rsc, name, interval_ms, node); name 825 lib/pacemaker/pcmk_sched_native.c mon = custom_action(rsc, key, name, node, is_optional, TRUE, data_set); name 886 lib/pacemaker/pcmk_sched_native.c if (pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { name 898 lib/pacemaker/pcmk_sched_native.c const char *name = NULL; name 919 lib/pacemaker/pcmk_sched_native.c name = crm_element_value(operation, "name"); name 920 lib/pacemaker/pcmk_sched_native.c if (is_op_dup(rsc, name, interval_ms)) { name 922 lib/pacemaker/pcmk_sched_native.c ID(operation), interval_ms, name); name 926 lib/pacemaker/pcmk_sched_native.c if (op_cannot_recur(name)) { name 928 lib/pacemaker/pcmk_sched_native.c ID(operation), name); name 932 lib/pacemaker/pcmk_sched_native.c key = pcmk__op_key(rsc->id, name, interval_ms); name 960 lib/pacemaker/pcmk_sched_native.c cancel_op = pcmk__new_cancel_action(rsc, name, interval_ms, node); name 1006 lib/pacemaker/pcmk_sched_native.c stopped_mon = custom_action(rsc, strdup(key), name, stop_node, is_optional, TRUE, data_set); name 1093 lib/pacemaker/pcmk_sched_native.c if (pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { name 2498 lib/pacemaker/pcmk_sched_native.c char *name = NULL; name 2500 lib/pacemaker/pcmk_sched_native.c name = crm_meta_name(XML_RSC_ATTR_INCARNATION); name 2501 lib/pacemaker/pcmk_sched_native.c crm_xml_add(xml, name, value); name 2502 lib/pacemaker/pcmk_sched_native.c free(name); name 2507 lib/pacemaker/pcmk_sched_native.c char *name = NULL; name 2509 lib/pacemaker/pcmk_sched_native.c name = crm_meta_name(XML_RSC_ATTR_REMOTE_NODE); name 2510 lib/pacemaker/pcmk_sched_native.c crm_xml_add(xml, name, value); name 2511 lib/pacemaker/pcmk_sched_native.c free(name); name 270 lib/pacemaker/pcmk_sched_notif.c add_hash_param(action->meta, nvpair->name, nvpair->value); name 473 lib/pacemaker/pcmk_sched_promotable.c lookup_promotion_score(pe_resource_t *rsc, const pe_node_t *node, const char *name) name 477 lib/pacemaker/pcmk_sched_promotable.c if (node && name) { name 478 lib/pacemaker/pcmk_sched_promotable.c char *attr_name = pcmk_promotion_score_name(name); name 489 lib/pacemaker/pcmk_sched_promotable.c char *name = rsc->id; name 548 lib/pacemaker/pcmk_sched_promotable.c name = rsc->clone_name; name 551 lib/pacemaker/pcmk_sched_promotable.c attr_value = lookup_promotion_score(rsc, node, name); name 553 lib/pacemaker/pcmk_sched_promotable.c name, node->details->uname, crm_str(attr_value)); name 560 lib/pacemaker/pcmk_sched_promotable.c name = clone_strip(rsc->id); name 561 lib/pacemaker/pcmk_sched_promotable.c if (strcmp(rsc->id, name)) { name 562 lib/pacemaker/pcmk_sched_promotable.c attr_value = lookup_promotion_score(rsc, node, name); name 564 lib/pacemaker/pcmk_sched_promotable.c name, node->details->uname, crm_str(attr_value)); name 566 lib/pacemaker/pcmk_sched_promotable.c free(name); name 86 lib/pengine/bundle.c create_resource(const char *name, const char *provider, const char *kind) name 90 lib/pengine/bundle.c crm_xml_add(rsc, XML_ATTR_ID, name); name 1146 lib/pengine/bundle.c : (const char *)xml_resource->name)); name 1149 lib/pengine/bundle.c crm_xml_set_id(xml_set, "%s-%s-meta", bundle_data->prefix, xml_resource->name); name 297 lib/pengine/clone.c if (pcmk__str_any_of((const char *)a_child->name, XML_CIB_TAG_RESOURCE, XML_CIB_TAG_GROUP, NULL)) { name 305 lib/pengine/common.c pe_pref(GHashTable * options, const char *name) name 307 lib/pengine/common.c return pcmk__cluster_option(options, pe_opts, PCMK__NELEM(pe_opts), name); name 504 lib/pengine/common.c add_hash_param(GHashTable * hash, const char *name, const char *value) name 508 lib/pengine/common.c crm_trace("adding: name=%s value=%s", crm_str(name), crm_str(value)); name 509 lib/pengine/common.c if (name == NULL || value == NULL) { name 515 lib/pengine/common.c } else if (g_hash_table_lookup(hash, name) == NULL) { name 516 lib/pengine/common.c g_hash_table_insert(hash, strdup(name), strdup(value)); name 521 lib/pengine/common.c pe_node_attribute_calculated(const pe_node_t *node, const char *name, name 530 lib/pengine/common.c return g_hash_table_lookup(node->details->attrs, name); name 535 lib/pengine/common.c return g_hash_table_lookup(node->details->attrs, name); name 550 lib/pengine/common.c pe_rsc_trace(rsc, "%s: Looking for %s on the container host %s", rsc->id, name, host->details->uname); name 551 lib/pengine/common.c return g_hash_table_lookup(host->details->attrs, name); name 555 lib/pengine/common.c rsc->id, name, node->details->remote_rsc->container->id); name 560 lib/pengine/common.c pe_node_attribute_raw(pe_node_t *node, const char *name) name 565 lib/pengine/common.c return g_hash_table_lookup(node->details->attrs, name); name 71 lib/pengine/complex.c get_resource_type(const char *name) name 73 lib/pengine/complex.c if (pcmk__str_eq(name, XML_CIB_TAG_RESOURCE, pcmk__str_casei)) { name 76 lib/pengine/complex.c } else if (pcmk__str_eq(name, XML_CIB_TAG_GROUP, pcmk__str_casei)) { name 79 lib/pengine/complex.c } else if (pcmk__str_eq(name, XML_CIB_TAG_INCARNATION, pcmk__str_casei)) { name 82 lib/pengine/complex.c } else if (pcmk__str_eq(name, PCMK_XE_PROMOTABLE_LEGACY, pcmk__str_casei)) { name 86 lib/pengine/complex.c } else if (pcmk__str_eq(name, XML_CIB_TAG_CONTAINER, pcmk__str_casei)) { name 163 lib/pengine/complex.c const char *prop_name = (const char *) a->name; name 253 lib/pengine/complex.c const char *name = crm_element_value(op, "name"); name 263 lib/pengine/complex.c key = crm_strdup_printf("%s-%s", name, role); name 315 lib/pengine/complex.c xmlNodeSetName(new_xml, xml_obj->name); name 331 lib/pengine/complex.c if (pcmk__str_eq((const char *)new_child->name, "operations", pcmk__str_none)) { name 179 lib/pengine/failcounts.c const char *name = (rsc->clone_name? rsc->clone_name : rsc->id); name 181 lib/pengine/failcounts.c return pcmk_is_set(rsc->flags, pe_rsc_unique)? strdup(name) : clone_strip(name); name 131 lib/pengine/group.c if (pcmk__str_eq((const char *)xml_native_rsc->name, name 324 lib/pengine/native.c native_parameter(pe_resource_t * rsc, pe_node_t * node, gboolean create, const char *name, name 332 lib/pengine/native.c CRM_CHECK(name != NULL && strlen(name) != 0, return NULL); name 334 lib/pengine/native.c pe_rsc_trace(rsc, "Looking up %s in %s", name, rsc->id); name 336 lib/pengine/native.c value = g_hash_table_lookup(params, name); name 339 lib/pengine/native.c value = g_hash_table_lookup(rsc->meta, name); name 543 lib/pengine/native.c pcmk__native_output_string(pe_resource_t *rsc, const char *name, pe_node_t *node, name 557 lib/pengine/native.c CRM_CHECK(name != NULL, name = "unknown"); name 574 lib/pengine/native.c outstr = g_string_sized_new(strlen(name) + strlen(class) + strlen(kind) name 580 lib/pengine/native.c g_string_printf(outstr, "%s\t(%s%s%s:%s):\t", name, class, name 687 lib/pengine/native.c const char *name, pe_node_t *node, uint32_t show_opts) name 730 lib/pengine/native.c gchar *s = pcmk__native_output_string(rsc, name, node, show_opts, name 743 lib/pengine/native.c const char *name, pe_node_t *node, uint32_t show_opts) name 762 lib/pengine/native.c gchar *s = pcmk__native_output_string(rsc, name, node, show_opts, name 773 lib/pengine/native.c common_print(pe_resource_t * rsc, const char *pre_text, const char *name, pe_node_t *node, long options, void *print_data) name 823 lib/pengine/native.c gchar *resource_s = pcmk__native_output_string(rsc, name, node, options, 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 197 lib/pengine/pe_digest.c return pcmk_stonith_param((const char *) attr->name); name 115 lib/pengine/pe_health.c const char *name = NULL; name 129 lib/pengine/pe_health.c while (g_hash_table_iter_next(&iter, (gpointer *) &name, name 131 lib/pengine/pe_health.c if (pcmk__starts_with(name, "#health")) { name 55 lib/pengine/pe_output.c const char *name = NULL; name 70 lib/pengine/pe_output.c name = g_hash_table_lookup(params, "name"); name 72 lib/pengine/pe_output.c if (name == NULL) { name 73 lib/pengine/pe_output.c name = "pingd"; name 77 lib/pengine/pe_output.c if (pcmk__str_eq(name, attrname, pcmk__str_casei)) { name 107 lib/pengine/pe_output.c filter_attr_list(GList *attr_list, char *name) name 112 lib/pengine/pe_output.c CRM_CHECK(name != NULL, return attr_list); name 116 lib/pengine/pe_output.c if (g_str_has_prefix(name, filt_str[i])) { name 121 lib/pengine/pe_output.c return g_list_insert_sorted(attr_list, name, compare_attribute); name 150 lib/pengine/pe_output.c if (pcmk__str_eq((const char *)rsc_op->name, XML_LRM_TAG_RSC_OP, pcmk__str_none)) { name 1734 lib/pengine/pe_output.c const char *name = va_arg(args, const char *); name 1748 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s\t: Connectivity is lost", name, value); name 1750 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s\t: Connectivity is degraded (Expected=%d)", name, value, expected_score); name 1752 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s", name, value); name 1755 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s", name, value); name 1764 lib/pengine/pe_output.c const char *name = va_arg(args, const char *); name 1771 lib/pengine/pe_output.c char *s = crm_strdup_printf("%s: %s", name, value); name 1791 lib/pengine/pe_output.c out->list_item(out, NULL, "%s: %s", name, value); name 1907 lib/pengine/pe_output.c const char *name = va_arg(args, const char *); name 1913 lib/pengine/pe_output.c "name", name, name 1969 lib/pengine/pe_output.c const char *name = aIter->data; name 1974 lib/pengine/pe_output.c value = pe_node_attribute_raw(node, name); name 1977 lib/pengine/pe_output.c data_set, name, &expected_score); name 1980 lib/pengine/pe_output.c out->message(out, "node-attribute", name, value, add_extra, name 235 lib/pengine/rules.c #define CHECK_ONE(spec, name, var) do { \ name 236 lib/pengine/rules.c int subpart_rc = check_one(spec, name, var); \ name 321 lib/pengine/rules.c const char *name; // This block's ID name 340 lib/pengine/rules.c if (pcmk__str_eq(pair_a->name, pair_a->special_name, pcmk__str_casei)) { name 343 lib/pengine/rules.c } else if (pcmk__str_eq(pair_b->name, pair_a->special_name, pcmk__str_casei)) { name 358 lib/pengine/rules.c const char *name = NULL; name 364 lib/pengine/rules.c name = crm_element_name(list->children); name 365 lib/pengine/rules.c if (pcmk__str_eq(XML_TAG_ATTRS, name, pcmk__str_casei)) { name 372 lib/pengine/rules.c if (pcmk__str_eq((const char *)an_attr->name, XML_CIB_TAG_NVPAIR, pcmk__str_none)) { name 375 lib/pengine/rules.c name = crm_element_value(an_attr, XML_NVPAIR_ATTR_NAME); name 376 lib/pengine/rules.c if (name == NULL) { name 377 lib/pengine/rules.c name = crm_element_value(ref_nvpair, XML_NVPAIR_ATTR_NAME); name 385 lib/pengine/rules.c if (name == NULL || value == NULL) { name 389 lib/pengine/rules.c old_value = g_hash_table_lookup(hash, name); name 394 lib/pengine/rules.c name, value); name 395 lib/pengine/rules.c g_hash_table_remove(hash, name); name 400 lib/pengine/rules.c crm_trace("Setting %s=\"%s\"", name, value); name 401 lib/pengine/rules.c g_hash_table_insert(hash, strdup(name), strdup(value)); name 405 lib/pengine/rules.c name, value, old_value); name 406 lib/pengine/rules.c g_hash_table_replace(hash, strdup(name), strdup(value)); name 422 lib/pengine/rules.c if (pcmk__str_eq((const char *)rule->name, XML_TAG_RULE, name 501 lib/pengine/rules.c pair->name, pair->score, name 543 lib/pengine/rules.c if (pcmk__str_eq(set_name, (const char *) attr_set->name, name 555 lib/pengine/rules.c pair->name = ID(expanded_attr_set); name 1219 lib/pengine/rules.c const char *name = crm_element_value(expr, XML_NVPAIR_ATTR_NAME); name 1241 lib/pengine/rules.c if (!pcmk__str_eq(name, rule_data->op_data->op_name, pcmk__str_none)) { name 1242 lib/pengine/rules.c crm_trace("Name doesn't match: %s != %s", name, rule_data->op_data->op_name); name 84 lib/pengine/rules_alerts.c const char *name = crm_element_value(child, XML_NVPAIR_ATTR_NAME); name 90 lib/pengine/rules_alerts.c g_hash_table_insert(entry->envvars, strdup(name), strdup(value)); name 92 lib/pengine/rules_alerts.c entry->id, name, value); name 97 lib/pengine/tests/native/native_find_rsc_test.c char *name = NULL; name 105 lib/pengine/tests/native/native_find_rsc_test.c name = crm_strdup_printf("%sX", rsc->id); name 106 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(rsc, name, NULL, 0)); name 107 lib/pengine/tests/native/native_find_rsc_test.c free(name); name 109 lib/pengine/tests/native/native_find_rsc_test.c name = crm_strdup_printf("x%s", rsc->id); name 110 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(rsc, name, NULL, 0)); name 111 lib/pengine/tests/native/native_find_rsc_test.c free(name); name 113 lib/pengine/tests/native/native_find_rsc_test.c name = g_ascii_strup(rsc->id, -1); name 114 lib/pengine/tests/native/native_find_rsc_test.c assert_null(native_find_rsc(rsc, name, NULL, 0)); name 115 lib/pengine/tests/native/native_find_rsc_test.c g_free(name); name 470 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)attr_set->name, XML_TAG_META_SETS, name 478 lib/pengine/unpack.c const char *name = crm_element_value(attr, XML_NVPAIR_ATTR_NAME); name 480 lib/pengine/unpack.c if (pcmk__str_eq(name, XML_RSC_ATTR_REMOTE_NODE, pcmk__str_casei)) { name 482 lib/pengine/unpack.c } else if (pcmk__str_eq(name, "remote-addr", pcmk__str_casei)) { name 484 lib/pengine/unpack.c } else if (pcmk__str_eq(name, "remote-port", pcmk__str_casei)) { name 486 lib/pengine/unpack.c } else if (pcmk__str_eq(name, "remote-connect-timeout", pcmk__str_casei)) { name 488 lib/pengine/unpack.c } else if (pcmk__str_eq(name, "remote-allow-migrate", pcmk__str_casei)) { name 490 lib/pengine/unpack.c } else if (pcmk__str_eq(name, XML_RSC_ATTR_MANAGED, pcmk__str_casei)) { name 557 lib/pengine/unpack.c if (pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_NODE, pcmk__str_none)) { name 660 lib/pengine/unpack.c if (pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_RESOURCE, pcmk__str_none)) { name 678 lib/pengine/unpack.c if (pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_GROUP, pcmk__str_none)) { name 778 lib/pengine/unpack.c if (pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_RSC_TEMPLATE, pcmk__str_none)) { name 839 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)xml_tag->name, XML_CIB_TAG_TAG, pcmk__str_none)) { name 854 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)xml_obj_ref->name, XML_CIB_TAG_OBJ_REF, pcmk__str_none)) { name 902 lib/pengine/unpack.c const char *prop_name = (const char *)xIter->name; name 951 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_TICKET_STATE, pcmk__str_none)) { name 967 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)state->name, XML_CIB_TAG_STATE, pcmk__str_none)) { name 1262 lib/pengine/unpack.c if (pcmk__str_eq((const char *)state->name, XML_CIB_TAG_TICKETS, pcmk__str_none)) { name 1265 lib/pengine/unpack.c } else if (pcmk__str_eq((const char *)state->name, XML_CIB_TAG_STATE, pcmk__str_none)) { name 2456 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)rsc_entry->name, XML_LRM_TAG_RESOURCE, pcmk__str_casei)) { name 4029 lib/pengine/unpack.c if (pcmk__str_eq((const char *)rsc_op->name, XML_LRM_TAG_RSC_OP, name 4090 lib/pengine/unpack.c if (pcmk__str_eq((const char *)node_state->name, XML_CIB_TAG_STATE, pcmk__str_none)) { name 4123 lib/pengine/unpack.c if (pcmk__str_eq((const char *)lrm_rsc->name, name 776 lib/pengine/utils.c const char *name = NULL; name 801 lib/pengine/utils.c if (!pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { name 804 lib/pengine/utils.c name = crm_element_value(operation, "name"); name 812 lib/pengine/utils.c } else if (!pcmk__str_eq(name, "monitor", pcmk__str_casei) name 829 lib/pengine/utils.c name = crm_element_value(action->op_entry, "name"); name 834 lib/pengine/utils.c if (!pcmk__str_eq(name, CRMD_ACTION_PROMOTE, pcmk__str_casei) name 835 lib/pengine/utils.c && (!pcmk__str_eq(name, CRMD_ACTION_STATUS, pcmk__str_casei) name 841 lib/pengine/utils.c "allowed for it", action->rsc->id, name); name 854 lib/pengine/utils.c const char *name = NULL; name 863 lib/pengine/utils.c if (pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { name 866 lib/pengine/utils.c name = crm_element_value(operation, "name"); name 873 lib/pengine/utils.c if (!pcmk__str_eq(name, RSC_STATUS, pcmk__str_casei)) { name 1024 lib/pengine/utils.c const char *name = crm_element_value(attr, XML_NVPAIR_ATTR_NAME); name 1027 lib/pengine/utils.c if (pcmk__str_eq(name, XML_OP_ATTR_START_DELAY, pcmk__str_casei)) { name 1031 lib/pengine/utils.c } else if (pcmk__str_eq(name, XML_OP_ATTR_ORIGIN, pcmk__str_casei)) { name 1040 lib/pengine/utils.c } else if (pcmk__str_eq(name, XML_ATTR_TIMEOUT, pcmk__str_casei)) { name 1141 lib/pengine/utils.c const char *prop_name = (const char *)xIter->name; name 1377 lib/pengine/utils.c const char *name = NULL; name 1387 lib/pengine/utils.c if (pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { name 1390 lib/pengine/utils.c name = crm_element_value(operation, "name"); name 1398 lib/pengine/utils.c match_key = pcmk__op_key(rsc->id, name, interval_ms); name 1405 lib/pengine/utils.c match_key = pcmk__op_key(rsc->clone_name, name, interval_ms); name 1518 lib/pengine/utils.c get_complex_task(pe_resource_t * rsc, const char *name, gboolean allow_non_atomic) name 1520 lib/pengine/utils.c enum action_tasks task = text2task(name); name 1531 lib/pengine/utils.c crm_trace("Folding %s back into its atomic counterpart for %s", name, rsc->id); name 1953 lib/pengine/utils.c get_pseudo_op(const char *name, pe_working_set_t * data_set) name 1955 lib/pengine/utils.c pe_action_t *op = lookup_singleton(data_set, name); name 1958 lib/pengine/utils.c op = custom_action(NULL, strdup(name), name, NULL, TRUE, TRUE, data_set); name 2570 lib/pengine/utils.c pe__failed_probe_for_rsc(pe_resource_t *rsc, const char *name) name 2595 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 600 lib/services/dbus.c data->object, data->name, error.message); name 610 lib/services/dbus.c data->object, data->name); name 619 lib/services/dbus.c "Unexpected variant type", data->object, data->name); name 629 lib/services/dbus.c data->object, data->name); name 635 lib/services/dbus.c "Too many arguments in reply", data->object, data->name); name 640 lib/services/dbus.c data->object, data->name, (value.str? value.str : "")); name 643 lib/services/dbus.c data->callback(data->name, (value.str? value.str : ""), data->userdata); name 694 lib/services/dbus.c const char *obj, const gchar * iface, const char *name, name 703 lib/services/dbus.c && (iface != NULL) && (name != NULL), return NULL); name 706 lib/services/dbus.c target, obj, name); name 712 lib/services/dbus.c "Unable to create message", obj, name); name 719 lib/services/dbus.c DBUS_TYPE_STRING, &name, name 722 lib/services/dbus.c "Could not append arguments", obj, name); name 730 lib/services/dbus.c obj, name); name 739 lib/services/dbus.c query_data->name = strdup(name); name 742 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 329 lib/services/services_lsb.c services_action_create(const char *name, const char *action, name 332 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, crm_str(op->rsc)); name 438 lib/services/systemd.c char *name = NULL; name 460 lib/services/systemd.c name = systemd_service_name(arg_name, op == NULL || pcmk__str_eq(op->action, "meta-data", pcmk__str_none)); name 461 lib/services/systemd.c CRM_LOG_ASSERT(dbus_message_append_args(msg, DBUS_TYPE_STRING, &name, name 463 lib/services/systemd.c free(name); name 632 lib/services/systemd.c systemd_unit_exists(const char *name) name 640 lib/services/systemd.c if ((invoke_unit_by_name(name, NULL, &path) != pcmk_rc_ok) name 681 lib/services/systemd.c systemd_unit_metadata(const char *name, int timeout) name 689 lib/services/systemd.c if (invoke_unit_by_name(name, NULL, &path) == pcmk_rc_ok) { name 694 lib/services/systemd.c desc = crm_strdup_printf("Systemd unit file for %s", name); name 699 lib/services/systemd.c meta = crm_strdup_printf(METADATA_FORMAT, name, escaped, name); name 888 lib/services/systemd.c parse_status_result(const char *name, const char *state, void *userdata) name 893 lib/services/systemd.c crm_str(op->rsc), name, crm_str(state)); name 985 lib/services/systemd.c char *name = systemd_service_name(op->agent, pcmk__str_eq(op->action, "meta-data", pcmk__str_none)); name 987 lib/services/systemd.c CRM_LOG_ASSERT(dbus_message_append_args(msg, DBUS_TYPE_STRING, &name, DBUS_TYPE_INVALID)); name 990 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, crm_str(op->rsc)); name 427 lib/services/upstart.c && strstr(error->name, UPSTART_06_API ".Error.AlreadyStarted")) { name 430 lib/services/upstart.c error->name, crm_str(op->rsc)); 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 292 tools/attrd_updater.c send_attrd_query(const char *name, const char *host, xmlNode **reply) name 307 tools/attrd_updater.c crm_xml_add(query, PCMK__XA_ATTR_NAME, name); name 310 tools/attrd_updater.c crm_debug("Sending query for value of %s on %s", name, (host? host : "all nodes")); name 393 tools/attrd_updater.c if (!pcmk__str_eq((const char *)child->name, XML_CIB_TAG_NODE, name 395 tools/attrd_updater.c crm_warn("Ignoring unexpected %s tag in query reply", child->name); name 390 tools/cibadmin.c if (pcmk__str_eq((const char *)xml->name, "xpath-query", pcmk__str_casei)) { name 53 tools/crm_attribute.c char *name = va_arg(args, char *); name 63 tools/crm_attribute.c name ? "name=" : "", name ? name : "", name 45 tools/crm_error.c get_strings(int rc, const char **name, const char **str) name 49 tools/crm_error.c *name = crm_exit_name(rc); name 52 tools/crm_error.c *name = pcmk_rc_name(rc); name 55 tools/crm_error.c *name = pcmk_errorname(rc); name 75 tools/crm_error.c const char *name = NULL; name 118 tools/crm_error.c get_strings(rc, &name, &desc); name 119 tools/crm_error.c if (pcmk__str_eq(name, "Unknown", pcmk__str_null_matches) || !strcmp(name, "CRM_EX_UNKNOWN")) { name 122 tools/crm_error.c printf("% .*d: %-26s %s\n", width, rc, name, desc); name 140 tools/crm_error.c get_strings(rc, &name, &desc); name 142 tools/crm_error.c printf("%s - %s\n", name, desc); name 180 tools/crm_mon.c const char *name; name 206 tools/crm_mon.c find_section_bit(const char *name) { name 207 tools/crm_mon.c for (int i = 0; sections[i].name != NULL; i++) { name 208 tools/crm_mon.c if (pcmk__str_eq(sections[i].name, name, pcmk__str_casei)) { name 1712 tools/crm_mon.c if(strcmp((const char*)xml->name, XML_LRM_TAG_RSC_OP) != 0) { name 1812 tools/crm_mon.c const char *name = NULL; name 1838 tools/crm_mon.c name = (const char *)match->name; name 1841 tools/crm_mon.c crm_trace("Handling %s operation for %s %p, %s", op, xpath, match, name); name 1845 tools/crm_mon.c } else if(name == NULL) { name 1849 tools/crm_mon.c } else if(strcmp(name, XML_TAG_CIB) == 0) { name 1863 tools/crm_mon.c } else if(strcmp(name, XML_CIB_TAG_STATUS) == 0) { name 1876 tools/crm_mon.c } else if(strcmp(name, XML_CIB_TAG_STATE) == 0) { name 1883 tools/crm_mon.c } else if(strcmp(name, XML_CIB_TAG_LRM) == 0) { name 1887 tools/crm_mon.c } else if(strcmp(name, XML_LRM_TAG_RESOURCES) == 0) { name 1893 tools/crm_mon.c } else if(strcmp(name, XML_LRM_TAG_RESOURCE) == 0) { name 1899 tools/crm_mon.c } else if(strcmp(name, XML_LRM_TAG_RSC_OP) == 0) { name 1906 tools/crm_mon.c crm_trace("Ignoring %s operation for %s %p, %s", op, xpath, match, name); name 176 tools/crm_mon_curses.c curses_output_xml(pcmk__output_t *out, const char *name, const char *buf) { name 316 tools/crm_node.c const char *name = getenv("OCF_RESKEY_" CRM_META "_" XML_LRM_ATTR_TARGET); name 318 tools/crm_node.c if (name != NULL) { name 319 tools/crm_node.c printf("%s\n", name); name 330 tools/crm_node.c cib_remove_node(long id, const char *name) name 337 tools/crm_node.c crm_trace("Removing %s from the CIB", name); name 339 tools/crm_node.c if(name == NULL && id == 0) { name 346 tools/crm_node.c crm_xml_add(node, XML_ATTR_UNAME, name); name 347 tools/crm_node.c crm_xml_add(node_state, XML_ATTR_UNAME, name); name 359 tools/crm_node.c name, id, pcmk_strerror(rc)); name 364 tools/crm_node.c name, id, pcmk_strerror(rc)); name 770 tools/crm_resource.c char *name = NULL; name 773 tools/crm_resource.c if (pcmk__scan_nvpair(optarg, &name, &value) != 2) { name 779 tools/crm_resource.c g_hash_table_replace(options.cmdline_params, name, value); name 1595 tools/crm_resource.c char *name = calloc(1, strlen(*s)); name 1597 tools/crm_resource.c int rc = sscanf(*s, "%[^=]=%s", name, value); name 1600 tools/crm_resource.c g_hash_table_replace(options.override_params, name, value); name 1608 tools/crm_resource.c free(name); name 160 tools/crm_resource_print.c const char *name = va_arg(args, const char *); name 173 tools/crm_resource_print.c ((name == NULL)? "" : " for "), ((name == NULL)? "" : name), name 187 tools/crm_resource_print.c ((name == NULL)? "" : " for "), ((name == NULL)? "" : name), name 205 tools/crm_resource_print.c const char *name G_GNUC_UNUSED = va_arg(args, const char *); name 254 tools/crm_resource_print.c const char *name = va_arg(args, const char *); name 259 tools/crm_resource_print.c name, value); name 262 tools/crm_resource_print.c rsc_name, name, value); name 272 tools/crm_resource_print.c const char *name = va_arg(args, const char *); name 276 tools/crm_resource_print.c "name", name, name 340 tools/crm_resource_print.c const char *name = NULL; name 346 tools/crm_resource_print.c while (g_hash_table_iter_next(&iter, (gpointer *) &name, (gpointer *) &value)) { name 347 tools/crm_resource_print.c out->message(out, "override", rsc_name, name, value); name 413 tools/crm_resource_print.c const char *name = NULL; name 419 tools/crm_resource_print.c while (g_hash_table_iter_next(&iter, (gpointer *) &name, (gpointer *) &value)) { name 420 tools/crm_resource_print.c out->message(out, "override", rsc_name, name, value); name 594 tools/crm_resource_runtime.c const char *name = (rsc->clone_name? rsc->clone_name : rsc->id); name 596 tools/crm_resource_runtime.c return pcmk_is_set(rsc->flags, pe_rsc_unique)? strdup(name) : clone_strip(name); name 1798 tools/crm_resource_runtime.c char *name = NULL; name 1802 tools/crm_resource_runtime.c while (g_hash_table_iter_next(&iter, (gpointer *) &name, name 1804 tools/crm_resource_runtime.c g_hash_table_replace(params, strdup(name), strdup(value)); name 37 tools/crm_shadow.c get_shadow_prompt(const char *name) name 39 tools/crm_shadow.c return crm_strdup_printf("shadow[%.40s] # ", name); name 43 tools/crm_shadow.c shadow_setup(char *name, gboolean do_switch) name 47 tools/crm_shadow.c char *new_prompt = get_shadow_prompt(name); name 57 tools/crm_shadow.c setenv("CIB_shadow", name, 1); name 73 tools/crm_shadow.c printf(" CIB_shadow=%s ; export CIB_shadow\n", name); name 80 tools/crm_shadow.c shadow_teardown(char *name) name 83 tools/crm_shadow.c char *our_prompt = get_shadow_prompt(name); name 291 tools/crm_ticket.c const char *name = NULL; name 298 tools/crm_ticket.c while (g_hash_table_iter_next(&iter, (void **)&name, (void **)&value)) { name 302 tools/crm_ticket.c fprintf(stdout, "%s=", name); name 303 tools/crm_ticket.c if (pcmk__str_any_of(name, "last-granted", "expires", NULL)) { name 76 tools/ipmiservicelogd.c static void con_usage(const char *name, const char *help, void *cb_data); name 246 tools/ipmiservicelogd.c con_usage(const char *name, const char *help, void *cb_data) name 266 tools/ipmiservicelogd.c struct utsname name; name 271 tools/ipmiservicelogd.c if (uname(&name) == -1) { name 307 tools/ipmiservicelogd.c sl_event.platform = name.machine; /* ppc64, etc */ name 310 tools/ipmiservicelogd.c sl_event.nodename = name.nodename; name 352 tools/ipmiservicelogd.c char name[IPMI_ENTITY_NAME_LEN]; name 365 tools/ipmiservicelogd.c ipmi_sensor_get_id(sensor, name, sizeof(name)); name 413 tools/ipmiservicelogd.c char name[IPMI_ENTITY_NAME_LEN]; name 426 tools/ipmiservicelogd.c ipmi_sensor_get_id(sensor, name, sizeof(name)); 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 395 tools/stonith_admin.c if (name == NULL) { name 396 tools/stonith_admin.c name = strdup(crm_system_name); name 533 tools/stonith_admin.c rc = st->cmds->connect(st, name, NULL); name 647 tools/stonith_admin.c free(name);